repo
stringclasses
350 values
file_path
stringlengths
29
200
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.01M
tokens
int64
2
598k
Roblox/gear
Roblox-gear-28b88df/src/gear/134109039/src/RaiseSkeletons/SkeletonScript.server.luau
luau
.luau
--Made by Stickmasterluke --Zombie artificial stupidity script --(Modified for skeletons) sp=script.Parent lastattack=0 nextrandom=0 --nextsound=0 nextjump=0 chasing=false variance=4 damage=11 attackrange=4.5 sightrange=60 runspeed=18 wonderspeed=8 healthregen=false --colors={"Sand red","Dusty Rose","Medium blue","...
2,327
Roblox/gear
Roblox-gear-28b88df/src/gear/134109039/src/RaiseSkeletons/init.client.luau
luau
.luau
----------------- --| Constants |-- ----------------- local SPAWN_RADIUS = 8 -- Studs local SUMMON_COOLDOWN = 8 local SKELETON_ASSET_ID = 53604463 local SKELETON_DURATION = 30 ----------------- --| Variables |-- ----------------- local InsertService = Game:GetService('InsertService') local DebrisService = Game:Ge...
1,342
Roblox/gear
Roblox-gear-28b88df/src/gear/134111541/src/LocalSpearScript.client.luau
luau
.luau
local Tool = script.Parent local Spear = Tool.Handle local vCharacter local myTorso local myHumanoid Tool.Enabled = true local slashAnim local debris = game:GetService("Debris") local damage = 17 local runService = game:service("RunService") local dashTime = 0 local lastKeyDown = 0 local ...
1,178
Roblox/gear
Roblox-gear-28b88df/src/gear/13477890/src/SandwichScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripForward = Vector3.new(0.675, -0.675, -0.3) Tool.GripPos = Vector3.new(0.2, -0.65, 1.2) Tool.GripRight = Vector3.new(0.212, -0.212, 0.954) Tool.GripUp = Vector3.new(0....
318
Roblox/gear
Roblox-gear-28b88df/src/gear/13477940/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,688
Roblox/gear
Roblox-gear-28b88df/src/gear/13478015/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,689
Roblox/gear
Roblox-gear-28b88df/src/gear/135472231/src/Script/MeltFaces/MeltFaceScript/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Figure = script.Parent Humanoid = Figure:FindFirstChild("Humanoid") Head = Figure:FindFirstChild("Head") Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Gravity = 196.20 Sounds = { Applause = scrip...
631
Roblox/gear
Roblox-gear-28b88df/src/gear/135472231/src/Script/MeltFaces/init.luau
luau
.luau
--Rescripted by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create MeltFaceScript = script:WaitForChild("MeltFaceScript") Rate = (1 / 60) function IsTeamMate(Player1, Player2) return (Player1 and Player2 and not Play...
1,304
Roblox/gear
Roblox-gear-28b88df/src/gear/135472231/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
2,149
Roblox/gear
Roblox-gear-28b88df/src/gear/135518721/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke local Tool = script.Parent local OriginalGrip = Tool.Grip --local OriginalGrip = CFrame.new(0.0500000045, 1.93715096e-007, -1.90000033, 0, 0, -1, -1, 1.31134158e-007, 0, 1.31134158e-007, 1, 0) local CurrentGrip = OriginalGrip local Enabled = true local Equipped = false local Debris = game:Get...
1,579
Roblox/gear
Roblox-gear-28b88df/src/gear/135518721/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke local Tool = script.Parent local Sword = Tool.Handle local Debris = game:GetService("Debris") local Anims = {'RightSlash', 'OverHeadSwing', 'SwordSpin'} --,"LeftSlash" local UnsheathSound = Instance.new("Sound") UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav" UnsheathSound.Parent = Sword U...
791
Roblox/gear
Roblox-gear-28b88df/src/gear/135949859/src/MouseIcon.client.luau
luau
.luau
local MOUSE_ICON = 'rbxasset://textures/GunCursor.png' local RELOADING_ICON = 'rbxasset://textures/GunWaitCursor.png' local Tool = script.Parent local Mouse = nil local function UpdateIcon() Mouse.Icon = Tool.Enabled and MOUSE_ICON or RELOADING_ICON end local function OnEquipped(mouse) Mouse = mouse UpdateIcon()...
106
Roblox/gear
Roblox-gear-28b88df/src/gear/135949859/src/Script.server.luau
luau
.luau
local SPEED_INCREASE = 12 local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local MyCharacter = nil local MyHumanoid = nil function OnEquipped(mouse) if not MyCharacter and not MyHumanoid then MyCharacter = Tool.Parent MyHumanoid = MyCharacter and MyCharacter:FindFirstChild('Humanoid') if M...
182
Roblox/gear
Roblox-gear-28b88df/src/gear/135949881/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy func...
3,876
Roblox/gear
Roblox-gear-28b88df/src/gear/1360077860/src/Script.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local ...
507
Roblox/gear
Roblox-gear-28b88df/src/gear/1360078533/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") Camera = game:GetService("Workspace").CurrentCamera Animations = {} LocalObjects = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitFor...
1,124
Roblox/gear
Roblox-gear-28b88df/src/gear/1360078533/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data BaseUrl = Assets.BaseUrl BasePart = Instance.new("Part") BasePart.Material = Enum.Material.Plastic ...
4,211
Roblox/gear
Roblox-gear-28b88df/src/gear/136170437/src/LocalScript/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent damage=11 alive=true check=true nextjump=0 nextgrowl=0 lastmove=0 cycle=0 amplitude=.2 frequency=2 local link="http://www.roblox.com/asset/?id=" head=sp:WaitForChild("Head") hum=sp:WaitForChild("Humanoid") torso=sp:WaitForChild("Torso") mesh=torso:WaitForChild("Mesh") c...
932
Roblox/gear
Roblox-gear-28b88df/src/gear/136170437/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent check=true debris=game:GetService("Debris") cooldown=.2 function findsquirrel() for _,v in pairs(game.Workspace:GetChildren()) do if v.Name=="Friendly Turkey" then local creatortag=v:FindFirstChild("creator") if creatortag and creatortag.Value==game.Players.Local...
1,395
Roblox/gear
Roblox-gear-28b88df/src/gear/136172718/src/LocalScript.client.luau
luau
.luau
--------------------------------- -- scripted by jmargh -- --------------------------------- --------------------------------- -- Tool Variables -- --------------------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local DebrisService = game:GetService('Debris') local IsOnCoolD...
386
Roblox/gear
Roblox-gear-28b88df/src/gear/136172718/src/Script.server.luau
luau
.luau
--------------------------------- -- scripted by jmargh -- --------------------------------- --------------------------------- -- Tool Variables -- --------------------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local DebrisService = game:GetService('Debris') local InsertSer...
892
Roblox/gear
Roblox-gear-28b88df/src/gear/136213778/src/LocalScript/FreezeOtherScript.server.luau
luau
.luau
local Part = script.Parent local DebrisService = game:GetService('Debris') local Players = game:GetService('Players') local RestorePlayer = Part:WaitForChild('RestorePlayer') local RestorePlayerScript = RestorePlayer.Value:clone() local IsPlayerFrozen = false local function createFreezeEffect(c, torso, humanoid, hit)...
550
Roblox/gear
Roblox-gear-28b88df/src/gear/136213778/src/LocalScript/RestorePlayerScript.server.luau
luau
.luau
local Humanoid = script.Parent wait(8) if Humanoid then Humanoid.WalkSpeed = 16 end script:Destroy() script.Parent = nil
36
Roblox/gear
Roblox-gear-28b88df/src/gear/136213778/src/LocalScript/init.client.luau
luau
.luau
-- Tool Variables -- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local IsFreezing = Tool:WaitForChild('IsFreezing') local FreezeAnim = Tool:WaitForChild('FreezeAnim') local FreezeOtherScript = script:WaitForChild('FreezeOtherScript') local RestorePlayerScript = script:WaitForChild('RestorePlay...
2,101
Roblox/gear
Roblox-gear-28b88df/src/gear/136213778/src/SwordScript.server.luau
luau
.luau
local Tool = script.Parent local RunService = game:service('RunService') local DebrisService = game:GetService('Debris') local Handle = Tool:WaitForChild('Handle') local IsFreezing = Tool:WaitForChild('IsFreezing') IsFreezing.Value = false local RunAnim = Tool:WaitForChild('RunAnim') local NumHits = Tool:WaitForChild('...
1,466
Roblox/gear
Roblox-gear-28b88df/src/gear/1363010936/src/RemoteScript.client.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local Debris = game:GetService("Debris") local Lighting = game:GetService("Lighting") local TweenService = game:GetService("TweenService") local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") local Player = Players.LocalPlayer loc...
528
Roblox/gear
Roblox-gear-28b88df/src/gear/1363010936/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Debris = game:GetService("Debris") local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local BeamInfo = TweenInfo.new(0.5) local Tool = script.Parent Tool.RequiresHandle = false local Handle = Tool.Handle Handle.Name = "Right Gaunlet" local ...
1,438
Roblox/gear
Roblox-gear-28b88df/src/gear/1363011928/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local SpearTweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, true) local Tool = script.Parent local Remotes = Tool.Remotes local ClientControls = Remotes.Client...
722
Roblox/gear
Roblox-gear-28b88df/src/gear/1363019628/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local GearService = require(1075123174) GearService:BindGear(script.Parent, "Sword") local Tool = script.Parent local Player = nil local Character = nil local Humanoid = nil local SPEED_BUFF_MODIFIER = 1.5 local ToolEquipped = false function Chec...
267
Roblox/gear
Roblox-gear-28b88df/src/gear/1363020083/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local GearService = require(1075123174) local Tool = script.Parent local Remotes = Tool.Remotes local ClientControls = Remotes.ClientControls local ServerControls = Remotes.ServerControls local ToolEquipped = false local Player = nil local Charac...
1,123
Roblox/gear
Roblox-gear-28b88df/src/gear/1363023036/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local RobotDog = InsertService:LoadAsset(1374012...
277
Roblox/gear
Roblox-gear-28b88df/src/gear/13745494/src/SandwichScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripForward = Vector3.new(0.675, -0.675, -0.3) Tool.GripPos = Vector3.new(0.4, -0.59, 1.1) Tool.GripRight = Vector3.new(0.212, -0.212, 0.954) Tool.GripUp = Vector3.new(0....
322
Roblox/gear
Roblox-gear-28b88df/src/gear/1380774367/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Mesh.MeshId = "rbxassetid://1383568584" local BaseFanPart = Instance.new("Part") BaseFanPart.Size = Vector3.new(0.05, 0.05, 0.05) BaseFanPart.CanCollide = false local BaseFanMesh = Instance.new("SpecialMesh") BaseFanMesh.MeshI...
2,011
Roblox/gear
Roblox-gear-28b88df/src/gear/13841367/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,671
Roblox/gear
Roblox-gear-28b88df/src/gear/138761013/src/PelletScript.server.luau
luau
.luau
local debris = game:service("Debris") pellet = script.Parent damage = 8 function onTouched(hit) humanoid = hit.Parent:findFirstChild("Humanoid") if humanoid~=nil then tagHumanoid(humanoid) humanoid:TakeDamage(damage) else damage = damage / 2 if damage < 1 then connection:disconnect() end end end func...
218
Roblox/gear
Roblox-gear-28b88df/src/gear/138761013/src/Slingshot.server.luau
luau
.luau
Tool = script.Parent VELOCITY = 50 -- constant loaded=false local Pellet = Instance.new("Part") Pellet.Name="Snowball" Pellet.Locked = true Pellet.BackSurface = 0 Pellet.BottomSurface = 0 Pellet.FrontSurface = 0 Pellet.LeftSurface = 0 Pellet.RightSurface = 0 Pellet.TopSurface = 0 Pellet.Shape = 0 Pellet.Size = Vector3...
917
Roblox/gear
Roblox-gear-28b88df/src/gear/139574344/src/CrystalSword/Despawn/init.server.luau
luau
.luau
wait(script:WaitForChild("Time").Value) script.Parent:Destroy()
16
Roblox/gear
Roblox-gear-28b88df/src/gear/139577901/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) local MouseInput = Tool:WaitForChild("MouseInput",10) local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService ...
455
Roblox/gear
Roblox-gear-28b88df/src/gear/139577901/src/Handle/PointLight/LightFade.server.luau
luau
.luau
local Light = script.Parent local TweenService = (game:FindService("TweenService") or game:GetService("TweenService")) local LightFade = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0) local ColorCycle = {} ColorCycle[#ColorCycle+1]=Color3.fromRGB(255,0,0) ColorCycle[#ColorCycle+1]=Color3.fro...
145
Roblox/gear
Roblox-gear-28b88df/src/gear/139577901/src/Server/OrnamentSummon/OrnamentCleanup.server.luau
luau
.luau
local Ornament = script.Parent delay(25,function() Ornament:Destroy() end)
21
Roblox/gear
Roblox-gear-28b88df/src/gear/139577901/src/Server/OrnamentSummon/OrnamentControl/init.client.luau
luau
.luau
--Script to become the Indiana Jones boulder! local Character = script.Parent local Humanoid = Character:FindFirstChildOfClass("Humanoid") local Root = Character:WaitForChild("HumanoidRootPart",10) local Orb = script:WaitForChild("Orb",10).Value local Camera = workspace.CurrentCamera local Services = { Players =...
203
Roblox/gear
Roblox-gear-28b88df/src/gear/139577901/src/Server/OrnamentSummon/init.server.luau
luau
.luau
local Character = script.Parent local Root = Character:WaitForChild("HumanoidRootPart",10) local OrnamentControl = script:WaitForChild("OrnamentControl",10) local Humanoid = Character:FindFirstChildOfClass("Humanoid") local Tool = script:WaitForChild("Tool",10).Value if not Humanoid or Humanoid.Health <= 0 or not ...
1,405
Roblox/gear
Roblox-gear-28b88df/src/gear/139577956/src/Assets.luau
luau
.luau
--Made by Luckymaxer BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a func...
1,472
Roblox/gear
Roblox-gear-28b88df/src/gear/139577956/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data BaseUrl = Assets.BaseUrl BasePart = Instance.new("Part") BasePart.Material = Enum.Material.Pl...
3,986
Roblox/gear
Roblox-gear-28b88df/src/gear/139577997/src/SentryTurret_SentryCleanup/init.server.luau
luau
.luau
function Create(ty) return function(data) local obj = Instance.new(ty) for k, v in pairs(data) do if type(k) == 'number' then v.Parent = obj else obj[k] = v end end return obj end end local Model = script.Parent local Humanoid = Model:FindFirstChild("Humanoid") local Player =...
527
Roblox/gear
Roblox-gear-28b88df/src/gear/139578061/src/DrumScript/Cleaner.server.luau
luau
.luau
local Debris = Game:GetService('Debris') local DebrisItem = script.Parent Debris:AddItem(DebrisItem, 5)
31
Roblox/gear
Roblox-gear-28b88df/src/gear/139578061/src/DrumScript/Ragdoller/init.server.luau
luau
.luau
local Debris = Game:GetService('Debris') local Character = script.Parent local Humanoid = Character:FindFirstChild('Humanoid') local BAV = script:WaitForChild('BAV') local Torso = Character:FindFirstChild('Torso') if Humanoid then Humanoid.PlatformStand = true if Torso then BAV.angularvelocity = Vector3.new(math.r...
157
Roblox/gear
Roblox-gear-28b88df/src/gear/139578061/src/DrumScript/init.client.luau
luau
.luau
local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local HandleTouchConn = nil local MyCharacter = nil local MyHumanoid = nil local MyPlayer = nil local Players = Game:GetService('Players') local Cleaner = script:WaitForChild('Cleaner') local Ragdoller = script:WaitForChild('Ragdoller') local Rimshot...
1,235
Roblox/gear
Roblox-gear-28b88df/src/gear/139578136/src/SoSGui/SoSGuiScript.client.luau
luau
.luau
local SoSGui = script.Parent local Tool = SoSGui.Parent local SoSServerScript = Tool:WaitForChild('SoSScript') local AbilityRemoteEvent = SoSServerScript:WaitForChild('AbilityRemoteEvent') local Frame = SoSGui:WaitForChild('Frame') local BtnSmash = Frame:WaitForChild('BtnSmash') local BtnSpin = Frame:WaitForChild('BtnS...
182
Roblox/gear
Roblox-gear-28b88df/src/gear/139578136/src/SoSLocalScript.client.luau
luau
.luau
--------------------------------------------------- -- Tool Variables -- --------------------------------------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local Humanoid = nil local ServerScript = Tool:WaitForChild('SoSScript') local AbilityRemoteEvent = ServerScript:WaitFor...
819
Roblox/gear
Roblox-gear-28b88df/src/gear/139578207/src/InputScript.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() script.Parent.Click:FireServer(mouse.Hit.p) end) end)
33
Roblox/gear
Roblox-gear-28b88df/src/gear/139578207/src/Script/init.server.luau
luau
.luau
--[[ Fixed by ArceusInator 2/18/2015 - Made it FE-compatible - No longer ignores forcefields - No longer damages teammates - No longer damages the user when you shoot something dangerous --]] ----------------- --| Constants |-- ----------------- local SHOT_SPEED = 100 local SHOT_TIME = 1 local NOZZLE_OFFSET = V...
1,647
Roblox/gear
Roblox-gear-28b88df/src/gear/139578571/src/SwordScript.server.luau
luau
.luau
--Fixed by Luckymaxer --Updated for R15 Avatars by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") DamageValues = { BaseDamage = 10, SlashDamage = 12, LungeDamage = 24 } Damage = ...
1,018
Roblox/gear
Roblox-gear-28b88df/src/gear/139581823/src/SwordScript/init.client.luau
luau
.luau
-------------- Sword Script ---------------- -- Waits for the child of the specified parent local function WaitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local PlayersService = Game:GetService('Players') local DebrisService = Ga...
4,024
Roblox/gear
Roblox-gear-28b88df/src/gear/139586244/src/InsertBoard.client.luau
luau
.luau
--Stickmasterluke was here last --Making boards and uploading models is frustrating local skateboardId=140984100 local Tool=script.Parent; function insert() --This call will cause a "wait" until the data comes back local root=game:GetService("InsertService"):LoadAsset(skateboardId) local instances=root:GetChi...
270
Roblox/gear
Roblox-gear-28b88df/src/gear/1402292509/src/GuiScript.client.luau
luau
.luau
local Tool = script.Parent local Lantern = Tool.Handle local vCharacter local vPlayer local sg local frame function onEquipped() vCharacter = Tool.Parent vPlayer = game.Players:GetPlayerFromCharacter(vCharacter) if vPlayer then local playerGui = vPlayer:FindFirstChild("PlayerGui") if playerGui and playe...
394
Roblox/gear
Roblox-gear-28b88df/src/gear/1402292509/src/LanternScript.server.luau
luau
.luau
local Tool = script.Parent local Lantern = Tool.Handle local vCharacter local myTorso local myHumanoid Tool.Enabled = true local equipped = false local activated = false local hauntDamage = 45 local dogSpirit local dogPart = Instance.new("Part") dogPart.Name = "DOGE" dogPart.Size = Vector3.new(1, 1, 3) dogPar...
1,339
Roblox/gear
Roblox-gear-28b88df/src/gear/1402445648/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") InputCheck = Instance.new("ScreenGui") InputCheck.Name = "InputCheck" InputButton = Instance.new("Frame...
1,380
Roblox/gear
Roblox-gear-28b88df/src/gear/1402445648/src/Script/DeathEffect/init.server.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") RunService = game:GetService("RunService") Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Smoke = script:FindFirstChild("Smoke") function DestroyScript() Debris:AddItem(script, 0.5) end if not Smoke or not Humanoid or Humanoid.Hea...
480
Roblox/gear
Roblox-gear-28b88df/src/gear/1402445648/src/Script/ParticleScript.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Duration = Part:WaitForChild("Duration") wait(Duration.Value) if Part:IsA("Part") then for i, v in pairs(Part:GetChildren()) do if v:IsA("ParticleEmitter") then v.Enabled = false end end elseif Part:IsA("ParticleEmitter") then Part.Enabled = false end
87
Roblox/gear
Roblox-gear-28b88df/src/gear/1402446243/src/Assets.luau
luau
.luau
BaseUrl = "rbxassetid://" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a function call using Lua's single-string-argum...
2,366
Roblox/gear
Roblox-gear-28b88df/src/gear/1402446243/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data BaseUrl = Assets.Base...
5,007
Roblox/gear
Roblox-gear-28b88df/src/gear/1402452608/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local BabyElephant = InsertService:LoadAsset(142...
292
Roblox/gear
Roblox-gear-28b88df/src/gear/140490812/src/GyserEffect/init.server.luau
luau
.luau
--------------------------------------------------- -- This script is being added to the characer -- --------------------------------------------------- local character = script.Parent local torso = character:FindFirstChild('Torso') local DebrisService = game:GetService('Debris') local GyserSound = script:WaitForChild(...
615
Roblox/gear
Roblox-gear-28b88df/src/gear/140490812/src/StPunkLocalScript.client.luau
luau
.luau
--------------------------------------------------- -- Tool Variables -- --------------------------------------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local ServerScript = Tool:WaitForChild('StPunkScript') local AbilityRemoteEvent = ServerScript:WaitForChild('AbilityRemo...
776
Roblox/gear
Roblox-gear-28b88df/src/gear/140490812/src/StPunkScript/StunScript.server.luau
luau
.luau
local MyCharacter = script.Parent local Humanoid = MyCharacter:FindFirstChild('Humanoid') if MyCharacter and Humanoid then local origSpeed = Humanoid.WalkSpeed Humanoid.WalkSpeed = 0 wait(0.75) Humanoid.WalkSpeed = origSpeed end script:Destroy() script.Parent = nil
75
Roblox/gear
Roblox-gear-28b88df/src/gear/140490812/src/StPunkScript/init.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local AbilityRemoteEvent = script:WaitForChild('AbilityRemoteEvent') local GyserEffectScript = Tool:WaitForChild('GyserEffect') local StunScript = script:WaitForChild('StunScript') local ThisCharacter = nil local AnimValue = Tool:WaitForChild('Anim')...
2,604
Roblox/gear
Roblox-gear-28b88df/src/gear/140821168/src/SnowballLauncher.server.luau
luau
.luau
Tool = script.Parent VELOCITY = 50 -- constant loaded=false local Pellet = Instance.new("Part") Pellet.Size = Vector3.new(1,1,1) Pellet.Shape = 0 Pellet.BrickColor = BrickColor.new("Institutional white") Pellet.Material = Enum.Material.Concrete Pellet.Locked = true Pellet.TopSurface = 0 Pellet.BottomSurface...
487
Roblox/gear
Roblox-gear-28b88df/src/gear/140821168/src/SnowballScript.server.luau
luau
.luau
arrow = script.Parent debris = game:GetService("Debris") local hitsounds = {"19326853", "19326880", "19326891"} local flakes = {"19003948", "19003957", "19003971", "19003978", "19003982", "19003990", "19003998"} local globs = {"19323823", "19323854"} local HitSound = Instance.new("Sound") HitSound.Sou...
891
Roblox/gear
Roblox-gear-28b88df/src/gear/14130887/src/Bomb.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=13378571" FuseSound.Parent = script.Parent FuseSound:Play() local total_time = 5 -- seconds local cur_time = 0 function update(frac) script.Parent.Fuse.Color = Color3.new(1,1 - frac,0) end function blowUp() local ...
477
Roblox/gear
Roblox-gear-28b88df/src/gear/14131296/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then err...
2,095
Roblox/gear
Roblox-gear-28b88df/src/gear/14131602/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then err...
2,282
Roblox/gear
Roblox-gear-28b88df/src/gear/141759818/src/SleepScript/init.server.luau
luau
.luau
local vCharacter = script.Parent local vPlayer = game.Players:GetPlayerFromCharacter(vCharacter) local backpack = nil if vPlayer then backpack = vPlayer:FindFirstChild("Backpack") end local sleeping = false local myTorso = vCharacter:FindFirstChild("Torso") or vCharacter:FindFirstChild("UpperTorso") local myHuma...
947
Roblox/gear
Roblox-gear-28b88df/src/gear/141759818/src/WandScript.client.luau
luau
.luau
local Tool = script.Parent local Wand = Tool.Handle local vCharacter local myTorso local myHumanoid local throwAnim Tool.Enabled = true local debris = game:GetService("Debris") function sleep(hit, WandClone) if hit and hit.Parent and WandClone then local humanoid = hit.Parent:FindFirstChild("Humanoid") if ...
806
Roblox/gear
Roblox-gear-28b88df/src/gear/142498104/src/HockeyStick/init.server.luau
luau
.luau
---------------------- --| Tool Variables |-- ---------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local Ragdoller = script:WaitForChild('Ragdoller') local IsCheckValue = Tool:WaitForChild('IsCheck') local CanSwing = true local HitList = {} ---------------------- --| Services...
1,015
Roblox/gear
Roblox-gear-28b88df/src/gear/142498104/src/HockeyStickLocal.client.luau
luau
.luau
---------------------- --| Tool Variables |-- ---------------------- local Tool = script.Parent Tool.Enabled = true local IsCheckValue = Tool:WaitForChild('IsCheck') local Mouse = nil ---------------------- --| Constants |-- ---------------------- local SWING_TIME = 0.85 local CHECK_TIME = 0.5 local CHECK_SPEED =...
702
Roblox/gear
Roblox-gear-28b88df/src/gear/1427401206/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Speed = 100 Duration = 1 NozzleOffset = Vector3.new(0, 0.4, -1.1) Sounds = { Fire = Handle:WaitForChild("Fire"), Reload = Handle:WaitForChild("Reload"), HitFade = Handle:WaitForChild(...
1,695
Roblox/gear
Roblox-gear-28b88df/src/gear/1427401206/src/ToolScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ClientControl.OnClientInvoke = (function(Mode, Value) if Mode == "PlaySound" and Value then Value:Play() end end) f...
221
Roblox/gear
Roblox-gear-28b88df/src/gear/1427402073/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local GhostDog = InsertService:LoadAsset(1239320...
277
Roblox/gear
Roblox-gear-28b88df/src/gear/143517948/src/Deploy/Script.server.luau
luau
.luau
--Made by Stickmasterluke --Fixed by TakeoHonorable sp=script.Parent scale=.5 jumpcooldown=1 color=BrickColor.new("Bright red") transparency=.5 rate=1/30 local lastjump=tick() local debris=game:GetService("Debris") local cf=CFrame.new() local mesh=sp:WaitForChild("Mesh") function waitfor(a,b,c) local c=c or 5*60 ...
964
Roblox/gear
Roblox-gear-28b88df/src/gear/143517948/src/Deploy/init.server.luau
luau
.luau
--Made by Stickmasterluke --Fixed by TakeoHonorable sp=script.Parent local debris=game:GetService("Debris") equipped=false check=true sp.Activated:Connect(function() local chr=sp.Parent if chr and check and equipped then local t=chr:FindFirstChild("HumanoidRootPart") local h=chr:FindFirstChildOfClass("Humano...
508
Roblox/gear
Roblox-gear-28b88df/src/gear/143606297/src/ToolScript.client.luau
luau
.luau
local SLED_ID = 143604477 local SPAWN_OFFSET = CFrame.new(0, 0, 3) local InsertService = Game:GetService('InsertService') local Tool = script.Parent local Torso = nil local SledModel = nil local function OnEquipped() local character = Tool.Parent Torso = character:WaitForChild('Torso') end local function OnActiv...
227
Roblox/gear
Roblox-gear-28b88df/src/gear/143606363/src/HCCLocal.client.luau
luau
.luau
----------------------- --| Variables |-- ----------------------- local Tool = script.Parent local MyMouse = nil ----------------------- --| Constants |-- ----------------------- local RELOAD_TIME = 0.5 local RELOAD_CURSOR = 'rbxasset://textures\\GunWaitCursor.png' local GUN_CURSOR = 'rbxasset://textures\\...
420
Roblox/gear
Roblox-gear-28b88df/src/gear/143606363/src/HCCScript.server.luau
luau
.luau
------------------------ --| Variables |-- ------------------------ local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local Player = nil local Character = nil local ChocolateClone = nil local HitConnection = nil Tool.Enabled = true ------------------------ --| Constants |-- ----------...
1,791
Roblox/gear
Roblox-gear-28b88df/src/gear/143606407/src/SkisScript.client.luau
luau
.luau
-- SolarCrane local SwingTrack = nil local TuckTrack = nil local SKI_MESH = 142468161 local POLE_MESH = 142468332 local SKI_TX1 = 142465527 local SKI_TX2 = 142465545 --- FRICTION COEFFIECIENTS --- local KineticWoodSnow = 0.1 local KineticSkiSnow = 0.05 local StaticWoodSnow = 0.14 local StaticSkiSnow = 0.1 local ...
4,042
Roblox/gear
Roblox-gear-28b88df/src/gear/144510568/src/InsertScript/init.server.luau
luau
.luau
-- Script that will be inserted into the target character for damage over time function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait(1.0) print("Waiting") end print("Found Child") end waitForChild(script, "Poison") waitForChild(script, "creator") poison = script:FindFirstC...
337
Roblox/gear
Roblox-gear-28b88df/src/gear/144510568/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = true function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then print("Mouse not found") return end while stillEquipped do print("Setting Mouse to go") mouse.Icon ="rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEqu...
181
Roblox/gear
Roblox-gear-28b88df/src/gear/144510568/src/PirateSwordScript.client.luau
luau
.luau
Tool = script.Parent Tool.Enabled = true Sword = Tool.Handle local damage = 5 print("RUNNING SCRIPT") smoke = Instance.new("Smoke") smoke.Color = Color3.new(0.0, 0.9, 0.0) smoke.Enabled = true smoke.Size = 0.1 smoke.Opacity = 0.05 smoke.RiseVelocity = 0.0 smoke.Parent = Tool.Handle local slashSound ...
868
Roblox/gear
Roblox-gear-28b88df/src/gear/14492601/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,671
Roblox/gear
Roblox-gear-28b88df/src/gear/144980658/src/PonyScript.server.luau
luau
.luau
local Tool = script.Parent local neigh = Instance.new("Sound") neigh.SoundId = "http://www.roblox.com/asset/?id=25697118" neigh.Parent = Tool.Handle neigh.Volume = 0.6 function makeRainbow(h, torso,rightLeg) redBrick = Instance.new("Part") lookVector = torso.CFrame.lookVector print(lookVector) look...
1,657
Roblox/gear
Roblox-gear-28b88df/src/gear/14516975/src/RayGun/ProjectileScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Part = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Part:WaitForChild("Creator") Sounds = { Hit = Part:WaitForChild("Hit") } Damage = 30 function IsTeamMate(Player1, Player2) return (Player1 and Player2 and not Player1.Neutral and not...
458
Roblox/gear
Roblox-gear-28b88df/src/gear/146026904/src/MinifigureScript.server.luau
luau
.luau
local Tool = script.Parent local Figure = Tool.Handle local vCharacter local myTorso local clapSound local sparkles Tool.Enabled = true local connection function glow(hit) if hit and hit.Parent and hit.Parent ~= vCharacter then if hit.Size.X <= 5 and hit.Size.Y <= 5 and hit.Size.Z <= 5 then hit.Material = ...
358
Roblox/gear
Roblox-gear-28b88df/src/gear/146026928/src/MinifigureScript.server.luau
luau
.luau
local Tool = script.Parent local Figure = Tool.Handle local vCharacter local myTorso local clapSound local sparkles Tool.Enabled = true local connection function glow(hit) if hit and hit.Parent and hit.Parent ~= vCharacter then if hit.Size.X <= 5 and hit.Size.Y <= 5 and hit.Size.Z <= 5 then hit.Material = ...
356
Roblox/gear
Roblox-gear-28b88df/src/gear/146026944/src/MinifigureScript.server.luau
luau
.luau
local Tool = script.Parent local Figure = Tool.Handle local vCharacter local myTorso local clapSound local sparkles Tool.Enabled = true local connection function glow(hit) if hit and hit.Parent and hit.Parent ~= vCharacter then if hit.Size.X <= 5 and hit.Size.Y <= 5 and hit.Size.Z <= 5 then hit.Material = ...
358
Roblox/gear
Roblox-gear-28b88df/src/gear/146047188/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(.5) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onEquippedLocal(mouse) i...
140
Roblox/gear
Roblox-gear-28b88df/src/gear/146047188/src/SwordScript.server.luau
luau
.luau
--By Luckymaxer r = game:service("RunService") local damage = 1 local slash_damage = 5 sword = script.Parent.Handle Tool = script.Parent local SlashSound = sword:WaitForChild("SlashSound") function blow(hit) if not hit or not hit.Parent then return end local humanoid = hit.Parent:findFirstChild("Humanoid") ...
846
Roblox/gear
Roblox-gear-28b88df/src/gear/146047220/src/LocalScript/SlowDownScript/init.client.luau
luau
.luau
Humanoid = script.Parent OriginalWalkSpeed = Humanoid.WalkSpeed Humanoid.WalkSpeed = (OriginalWalkSpeed / 2) Duration = script:WaitForChild("Duration") while Duration.Value > 0 do wait(1) Duration.Value = Duration.Value - 1 end Humanoid.WalkSpeed = OriginalWalkSpeed script:Destroy()
78
Roblox/gear
Roblox-gear-28b88df/src/gear/146047220/src/LocalScript/init.client.luau
luau
.luau
--By Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SlowDownScript = script:WaitForChild("SlowDownScript") Character = nil Debris = game:GetService("Debris") MouseDown = false function OnTouch(Hit) if Hit and Hit.Parent then if Hit.Parent:FindFirstChild("Humanoid") and Hit.Parent ~= Charac...
624
Roblox/gear
Roblox-gear-28b88df/src/gear/146047247/src/LocalScript.client.luau
luau
.luau
local ContentProvider = game:GetService("ContentProvider") Mouse_Icon = "rbxasset://textures/GunCursor.png" Reloading_Icon = "rbxasset://textures/GunWaitCursor.png" Tool = script.Parent local Event = Tool:WaitForChild("Event") local Assets = {"rbxassetid://145815814", "rbxassetid://145815862"} local MOUSE_DOWN = 0...
270
Roblox/gear
Roblox-gear-28b88df/src/gear/146047247/src/Script.server.luau
luau
.luau
--Made by Luckymaxer --Rescripted by StarWars local Debris = game:GetService("Debris") local Players = game:GetService("Players") local Tool = script.Parent local Handle = Tool.Handle local Player = nil local Character = nil local Humanoid = nil local Event = Instance.new("RemoteEvent") Event.Name = "Event" Event.Pa...
1,244