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/55302141/src/LocalTorchScript.client.luau
luau
.luau
local Tool = script.Parent local Torch = Tool.Handle local vCharacter local myHumanoid local storeWeld = Torch:FindFirstChild("FireWeld") Tool.Enabled = true function inAwe(hit) if hit.Parent then humanoid = hit.Parent:FindFirstChild("Humanoid") end vCharacter = Tool.Parent vPlayer = game.Players:Ge...
572
Roblox/gear
Roblox-gear-28b88df/src/gear/55302225/src/BombScript.server.luau
luau
.luau
local FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378" FuseSound.Parent = script.Parent FuseSound:Play() local force = Instance.new("BodyForce") local candle = script.Parent local initPos = candle.Position local debris = game:GetService("Debris") local particles...
1,071
Roblox/gear
Roblox-gear-28b88df/src/gear/55302225/src/PlantBomb.server.luau
luau
.luau
local Tool = script.Parent local Candle = Tool.Handle local vCharacter Tool.Enabled = true function plant(pos) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local spawnPos = vCharacter.PrimaryPart.Position bg = Instance.new("BodyGyro") bg.P =...
479
Roblox/gear
Roblox-gear-28b88df/src/gear/553937189/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") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a stri...
3,615
Roblox/gear
Roblox-gear-28b88df/src/gear/553939167/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...
2,363
Roblox/gear
Roblox-gear-28b88df/src/gear/55642223/src/SlurpeeScript.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, 0.4472, -0.8944) Tool.GripPos = Vector3.new(1.5, -0.5, -0.1) Tool.GripRight = Vector3.new(1.0, 0.0, 0.0) Tool.GripUp = Vector3.new(0, 0.8944, 0.4472) Tool.H...
321
Roblox/gear
Roblox-gear-28b88df/src/gear/55642223/src/SpeedEffect.server.luau
luau
.luau
print("run latte") -- assume we are in the character, let's check function sepuku() script.Parent = nil end local h = script.Parent:FindFirstChild("Humanoid") if (h == nil) then sepuku() end local oldSpeed = h.WalkSpeed h.WalkSpeed = h.WalkSpeed * 1.5 local torso = script.Parent:FindFirstChild("Torso") or sc...
357
Roblox/gear
Roblox-gear-28b88df/src/gear/55917409/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent local stillEquipped = true function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then return end while stillEquipped do mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon = "rbxasse...
157
Roblox/gear
Roblox-gear-28b88df/src/gear/55917409/src/MorningStarScript.server.luau
luau
.luau
local Tool = script.Parent local Mace = Tool.Handle Tool.Enabled = true local vCharacter local staticDamage = 10 local damage = 14 local debris = game:GetService("Debris") local MaceSound,EquipSound local Services = { Players = (game:FindService("Players") or game:GetService("Players")), Debris = (game:FindSe...
798
Roblox/gear
Roblox-gear-28b88df/src/gear/55917420/src/FlightControl.client.luau
luau
.luau
local Tool = script.Parent local flightPower local flightSpin local flightHold local camSpeedZ = 60 local camSpeedX = 40 local forwards = false local back = false local left = false local right = false local movementHandlerCo local hover = -.1 local wingActive local myTorso local vCharacter function handleM...
928
Roblox/gear
Roblox-gear-28b88df/src/gear/55917420/src/FlyScript.server.luau
luau
.luau
local Tool = script.Parent local Elixir = Tool.Handle local flightSpin local flightPower local flightHold local wing = Instance.new("Part") wing.CanCollide = false wing.Shape = "Block" wing.FormFactor = 3 wing.Size = Vector3.new(3, 1, 3) local wingM = Instance.new("SpecialMesh") wingM.TextureId = "http://www.rob...
1,765
Roblox/gear
Roblox-gear-28b88df/src/gear/55917429/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local vCharacter local walkAnim local arrowAnim local iceArrow local co local debounce = false function onKeyDown(key) if key:lower() == "q" then if debounce == false then iceArrow = Tool:FindFirstChild("IceArrow") if iceArrow then ...
392
Roblox/gear
Roblox-gear-28b88df/src/gear/55917429/src/BowScript.server.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local vCharacter local quiver local quiverWeld local arrows = {} local debris = game:GetService("Debris") Tool.Enabled = true arrow = Instance.new("Part") arrow.FormFactor = 3 arrow.Shape = "Block" arrow.Size = Vector3.new(0.5, 3.0, 0.5) arrow.CanC...
1,222
Roblox/gear
Roblox-gear-28b88df/src/gear/55917432/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Ballista = Tool.Handle local vCharacter local holdAnim local ballistaActive local myHumanoid local firebolt function wait15() wait(5) firebolt = Tool:FindFirstChild("FireBolt") if firebolt then firebolt.Value = false end wait(10) end function fireb(key) if key:lower() == "x"...
353
Roblox/gear
Roblox-gear-28b88df/src/gear/55917432/src/BallistaScript/BallistaColdScript.server.luau
luau
.luau
vCharacter = script.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") myTorso = vCharacter:FindFirstChild("Torso") local count = 6 while myHumanoid and count > 0 do myHumanoid:TakeDamage(10) myHumanoid.WalkSpeed = myHumanoid.WalkSpeed - 16.0 count = count - 1 wait(1.0) end if (myHumanoid.W...
188
Roblox/gear
Roblox-gear-28b88df/src/gear/55917432/src/BallistaScript/init.server.luau
luau
.luau
--Fixed by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BallistaActive = Tool:FindFirstChild("BallistaActive") FireBolt = Tool:FindFirstChild("FireBolt") BallistaColdScript = script:WaitForChild("BallistaColdScript") Ba...
1,866
Roblox/gear
Roblox-gear-28b88df/src/gear/55917432/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent local stillEquipped = true function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then return end while stillEquipped do mouse.Icon = "http://www.roblox.com/asset/?id=55912939" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon = ...
170
Roblox/gear
Roblox-gear-28b88df/src/gear/55917432/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ToolEquipped = false function CheckIfAlive() return (((Player and Player.Paren...
349
Roblox/gear
Roblox-gear-28b88df/src/gear/561842836/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Size = { Wall = Vector3.new(60, 25, 2), Brick = Vector3.new(6, 4, 2), } Grips = { Up = CFrame.new(-0.3, 0, 0.3, 1, 0, 0, 0, 1, 0, 0, 0, 1), Out = CFrame.new(-0.3...
2,312
Roblox/gear
Roblox-gear-28b88df/src/gear/563287969/src/RayGun/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "http://www.roblox.com/asset/?id=" Creator = Part:FindFirstChild("Creator") Damage = Part:WaitForChild("Damage") EffectScrip...
1,105
Roblox/gear
Roblox-gear-28b88df/src/gear/563288952/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Materia...
1,339
Roblox/gear
Roblox-gear-28b88df/src/gear/56561570/src/CauldronScript.server.luau
luau
.luau
local Tool = script.Parent local Cauldron = Tool.Handle local vCharacter local myTorso local vPlayer local smoke Tool.Enabled = true local humanoids = {} local cauldronClone local dropSound function onActivated() if Tool.Enabled == false then return end Tool.Enabled = false vCharacter = Tool...
600
Roblox/gear
Roblox-gear-28b88df/src/gear/56561570/src/ConfusionScript.server.luau
luau
.luau
vCharacter = script.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") myTorso = vCharacter:FindFirstChild("Torso") local duration = 6 if vCharacter ~= nil and myHumanoid ~= nil and myTorso ~= nil then smoke = myTorso:FindFirstChild("Smoke") myHumanoid.WalkSpeed = -16 while duration > 0 do du...
143
Roblox/gear
Roblox-gear-28b88df/src/gear/56561579/src/Client.client.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent local Remote = Tool:WaitForChild("ClientInput") local MouseLoc = Tool:WaitForChild("MouseLoc") local Input = (game:FindService("ContextActionService") or game:GetService("ContextActionService")) local function SetSpell(ActionName,InputState,InputObj) if Inp...
240
Roblox/gear
Roblox-gear-28b88df/src/gear/56561579/src/Server/RootScript/init.server.luau
luau
.luau
local vCharacter = script.Parent local myHumanoid = vCharacter:FindFirstChildOfClass("Humanoid") local myTorso = vCharacter:FindFirstChild("Torso") or vCharacter:FindFirstChild("UpperTorso") local Smoke = script:WaitForChild("Smoke",10) if vCharacter and myHumanoid and myTorso then myHumanoid.WalkSpeed = 0.0 spar...
144
Roblox/gear
Roblox-gear-28b88df/src/gear/56561579/src/Server/SpeedScript.server.luau
luau
.luau
local Character = script.Parent local Humanoid = Character:FindFirstChild("Humanoid") if Humanoid then Humanoid.WalkSpeed = 0 wait(4) Humanoid.WalkSpeed = 16 end script:Destroy()
53
Roblox/gear
Roblox-gear-28b88df/src/gear/56561579/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") Handle:WaitForChild("Smoke").Enabled = true local SpellGui = Tool:WaitForChild("SpellGui"):Clone() local EffectsFolder = Tool:WaitForChild("Effects") local BookSound = Handle:WaitForChild("BookSound") local Remot...
2,996
Roblox/gear
Roblox-gear-28b88df/src/gear/56561593/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Potion = Tool.Handle local vCharacter local myHumanoid local potionAnim function onActivated() vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChildOfClass("Humanoid") if myHumanoid == nil then return end if myHumanoid then if myHumanoid.RigType =...
239
Roblox/gear
Roblox-gear-28b88df/src/gear/56561593/src/PotionScript.server.luau
luau
.luau
local Tool = script.Parent local Potion = Tool.Handle local vCharacter local myTorso Tool.Enabled = true local potionSound local fireHand = Instance.new("Part") fireHand.Size = Vector3.new(1, 2, 1) fireHand.Shape = "Block" fireHand.FormFactor = 3 fireHand.CanCollide = false fireHand.Transparency = 1.0 fire = Ins...
872
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/FireScript/LitOnFire.server.luau
luau
.luau
local Part = script.Parent local hitCharacter = Part.Parent local hitHumanoid = hitCharacter:FindFirstChild("Humanoid") local Fire = Instance.new("Fire") Fire.Size = Part:GetMass() * 2 Fire.Heat = Part:GetMass() * 2 Fire.Parent = Part if hitHumanoid then for i = 1, 5 do hitHumanoid:TakeDamage(1) wait...
112
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/FireScript/init.server.luau
luau
.luau
local Tool = script.Parent local myCharacter = Tool.Parent if not myCharacter then script:Remove() end local Torso = myCharacter:FindFirstChild("Torso") local myHumanoid = myCharacter:FindFirstChild("Humanoid") if not (Torso and myHumanoid) then script:Remove() end local myPlayer local debris = game:GetServi...
628
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/IceScript.server.luau
luau
.luau
local Tool = script.Parent local myCharacter = Tool.Parent if not myCharacter then script:Remove() end local Torso = myCharacter:FindFirstChild("Torso") local myHumanoid = myCharacter:FindFirstChild("Humanoid") if not (Torso and myHumanoid) then script:Remove() end local myPlayer local debris = game:GetServi...
1,214
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/PoisonScript/WizardWandPoisoned.server.luau
luau
.luau
local Part = script.Parent local hitCharacter = Part.Parent if not hitCharacter then script:Remove() end local hitHumanoid = hitCharacter:FindFirstChild("Humanoid") if hitHumanoid then local oldBrickColor = Part.BrickColor Part.BrickColor = BrickColor.new("Bright violet") for i = 1, 15 do hitHumanoid:Tak...
114
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/PoisonScript/init.server.luau
luau
.luau
local Tool = script.Parent local myCharacter = Tool.Parent if not myCharacter then script:Remove() end local myHumanoid = myCharacter:FindFirstChild("Humanoid") local Torso = myCharacter:FindFirstChild("Torso") if not (myHumanoid and Torso) then script:Remove() end local myPlayer local debris = game:GetServi...
642
Roblox/gear
Roblox-gear-28b88df/src/gear/56561607/src/DrawSpell/init.client.luau
luau
.luau
---------CHECKS/VARIABLES------------------- local Tool = script.Parent local myCharacter = Tool.Parent if not myCharacter then script:Remove() end local Torso = myCharacter:FindFirstChild("Torso") local RightArm = myCharacter:FindFirstChild("Right Arm") local myPlayer = game.Players:GetPlayerFromCharacter(myCha...
2,162
Roblox/gear
Roblox-gear-28b88df/src/gear/566780253/src/Script.server.luau
luau
.luau
--Made by Luckymaxer 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 error("Argument of Create must be a stri...
2,342
Roblox/gear
Roblox-gear-28b88df/src/gear/566780416/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...
993
Roblox/gear
Roblox-gear-28b88df/src/gear/566780416/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...
3,108
Roblox/gear
Roblox-gear-28b88df/src/gear/569676258/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "http://www...
4,225
Roblox/gear
Roblox-gear-28b88df/src/gear/569678090/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") UserInputService = game:GetService("UserInputService") Animations = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitForChild("ServerControl") ClientControl = Remotes:WaitForChild...
616
Roblox/gear
Roblox-gear-28b88df/src/gear/569678090/src/Script/ProjectileScript/StunScript.server.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart") Direction = script:...
258
Roblox/gear
Roblox-gear-28b88df/src/gear/569678090/src/Script/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Mesh = Part:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") OrigSize = Part.Size OrigScale = Mesh.Scale RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "http://www.roblox.com/asset/?id=" Creator = Pa...
1,496
Roblox/gear
Roblox-gear-28b88df/src/gear/57229313/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Juice = Tool.Handle local vCharacter local myHumanoid function onActivated() vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") if myHumanoid == nil then return end juiceAnim = myHumanoid:LoadAnimation(Tool.JuiceAnim) if juiceAnim th...
129
Roblox/gear
Roblox-gear-28b88df/src/gear/57229313/src/PotionScript.server.luau
luau
.luau
local Tool = script.Parent local Juice = Tool.Handle local vCharacter local myTorso local myHumanoid local myHead Tool.Enabled = true local juiceSound local sparkles local connection newBV = Instance.new("BodyVelocity") newBV.P = 10000 newBV.maxForce = Vector3.new(0.0, newBV.P, 0.0) newBV.Name ...
603
Roblox/gear
Roblox-gear-28b88df/src/gear/57229337/src/TentScript.server.luau
luau
.luau
-- Open tent asset IDs: -- Mesh: 56824172 -- Texture: 56824061 local Tool = script.Parent local Bag = Tool.Handle local vCharacter local myTorso Tool.Enabled = true local tent = Instance.new("Part") tent.FormFactor = 3 tent.Size = Vector3.new(7, 7, 7) tent.Shape = "Block" tent.CanCollide = false t...
592
Roblox/gear
Roblox-gear-28b88df/src/gear/57229357/src/PaperSwordLS.client.luau
luau
.luau
-- Paper sword script, based on existing sword scripts (EelSword and MahjongSword, since they're what I have). -- No stab attack; that's probably too violent for Town and City. Touch damage is 0, and slash damage, -- while there, is VERY minimal. -- Also, you can unfold (or refold) it with the 'x' key. local TO...
2,320
Roblox/gear
Roblox-gear-28b88df/src/gear/57229371/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer 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 error("Argument of Create must be ...
2,318
Roblox/gear
Roblox-gear-28b88df/src/gear/57902997/src/BongoDrums LS.client.luau
luau
.luau
-- Yay, more music! Mechanic is effectively identical to the Silly Guitar's. math.randomseed(tick()); math.random() function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end math.randomseed(tick()); math.random() ...
1,613
Roblox/gear
Roblox-gear-28b88df/src/gear/57983479/src/PuppyScript.server.luau
luau
.luau
local Tool = script.Parent local Puppy = Tool.Handle -- handles local vCharacter local myTorso local myHumanoid -- Sounds local pSound = Instance.new("Sound") pSound.SoundId = "http://www.roblox.com/asset/?id=57906779" pSound.Parent = Puppy pSound.Volume = 1.0 pSound.Pitch = 1.0 local pSound2 = pSound:Clone() pSound...
620
Roblox/gear
Roblox-gear-28b88df/src/gear/57983532/src/GuiManagementScript/VolleyballScreenGui/VolleyballPlayerScript.client.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local ScreenGui = script.Parent local Frame = waitForChild(ScreenGui, "Frame") local HitButton = waitForChild(Frame, "HitButton") local NoButton = waitForChild...
744
Roblox/gear
Roblox-gear-28b88df/src/gear/57983532/src/GuiManagementScript/init.server.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local ScreenGui = waitForChild(script, "VolleyballScreenGui") local PlayerList = game.Players:GetChildren() function addGuiToPlayer(Player) if Player:Find...
264
Roblox/gear
Roblox-gear-28b88df/src/gear/57983532/src/Volleyball LS.client.luau
luau
.luau
math.randomseed(tick()); math.random() local Tool = script.Parent local Handle = Tool.Handle local ProjectileScript local myCharacter local myHumanoid local ServeAnim function onActivated() if not Tool.Enabled then return end ProjectileScript = Tool:FindFirstChild("VolleyballProjScript") if Proje...
332
Roblox/gear
Roblox-gear-28b88df/src/gear/57983532/src/VolleyballProjScript.server.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local Handle = Tool.Handle local myCharacter = Tool.Parent if not myCharacter then script:Remove() end local Torso = myCharacter:...
686
Roblox/gear
Roblox-gear-28b88df/src/gear/57983650/src/Client.client.luau
luau
.luau
local Tool = script.Parent local MouseInput = Tool:WaitForChild("MousePos",10) local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (game:FindService("RunService") or game:GetServ...
133
Roblox/gear
Roblox-gear-28b88df/src/gear/57983650/src/Server/PhaserKnockback.server.luau
luau
.luau
vChar = script.Parent r = game:GetService("RunService") myTorso = vChar:FindFirstChild("Torso") or vChar:FindFirstChild("UpperTorso") myHumanoid = vChar:FindFirstChildOfClass("Humanoid") blastAOE = Vector3.new(7, 7, 7) gunChar = script:FindFirstChild("GunChar") if myTorso then newBV = Instance.new("BodyVelocity...
793
Roblox/gear
Roblox-gear-28b88df/src/gear/57983650/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Pretty much a phaser clone 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 Tool = script.Parent Tool.Enabled = true...
1,341
Roblox/gear
Roblox-gear-28b88df/src/gear/583007360/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") Animations = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitForChild("ServerControl") ClientControl = Remotes:WaitForChild("ClientCont...
724
Roblox/gear
Roblox-gear-28b88df/src/gear/583007360/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSurface = Enum.SurfaceType.Smooth BasePart....
3,397
Roblox/gear
Roblox-gear-28b88df/src/gear/583026228/src/Script/Freeze/init.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Head = Character:FindFirstChild("Head") Players = game:GetService("Players") Debris = game:GetService("Debris") Player = Players:GetPlayerFromCharacter(Character) Duration = script:FindFirstChild("Duration") Sounds = { ...
1,003
Roblox/gear
Roblox-gear-28b88df/src/gear/583026228/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") Freeze = script:WaitForChild("Freeze") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSur...
2,136
Roblox/gear
Roblox-gear-28b88df/src/gear/583030187/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") DamageValues = { BaseDamage = 5, SwingDamage = 17 } Damage = DamageValues.BaseDamage Sounds = { Smash1 = Handle:WaitFo...
1,257
Roblox/gear
Roblox-gear-28b88df/src/gear/583157224/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...
4,707
Roblox/gear
Roblox-gear-28b88df/src/gear/583159170/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") ViolinSong = Handle:WaitForChild("ViolinSong") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Mater...
3,765
Roblox/gear
Roblox-gear-28b88df/src/gear/58574416/src/ChangeEnabled.server.luau
luau
.luau
local Tool = script.Parent wait(20) Tool.Enabled = true script:Destroy()
19
Roblox/gear
Roblox-gear-28b88df/src/gear/58574416/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if not mouse 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 stillEquipped do ...
181
Roblox/gear
Roblox-gear-28b88df/src/gear/58574416/src/Sarsaparilla.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool:WaitForChild("Handle",10) local DrinkAnim local DrinkSound local ScreamSound local EnabledScript local SpeedScript local myCharacter local myHumanoid if not Tool:FindFirstChild("ChangeEnabledCopy") then Tool.Enabled = true end function onActivated() myCharacter = T...
443
Roblox/gear
Roblox-gear-28b88df/src/gear/58574416/src/SpeedScript.server.luau
luau
.luau
local myCharacter = script.Parent local myHumanoid = myCharacter:FindFirstChildOfClass("Humanoid") local Torso = myCharacter:FindFirstChild("Torso") or myCharacter:FindFirstChild("UpperTorso") if not myHumanoid or not Torso then script:Destroy() end local DEFAULT_SPEED = 16 local Sparkles = Instance.new("Sparkles") S...
207
Roblox/gear
Roblox-gear-28b88df/src/gear/58574431/src/PumpkinXBow LS/LongDisable.server.luau
luau
.luau
-- Necessary only because Local Scripts stop running when a tool is backspaced, so we -- can't rely on the LS to update Tool.Enabled as it should. local Tool = script.Parent wait(13) Tool.Enabled = true script:Destroy()
54
Roblox/gear
Roblox-gear-28b88df/src/gear/58574431/src/PumpkinXBow LS/ShortDisable.server.luau
luau
.luau
-- Necessary only because Local Scripts stop running when a tool is backspaced, so we -- can't rely on the LS to update Tool.Enabled as it should. local Tool = script.Parent wait(2) Tool.Enabled = true script:Destroy()
54
Roblox/gear
Roblox-gear-28b88df/src/gear/58574431/src/PumpkinXBow LS/init.client.luau
luau
.luau
math.randomseed(tick()); math.random() function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local ProjectileScript local myMouse local TargetedPart local ScreenGui local Frame local ModeActiv...
759
Roblox/gear
Roblox-gear-28b88df/src/gear/58574431/src/PumpkinXBowProjScript.server.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local myCharacter = Tool.Parent local myHumanoid local myTorso local myPlayer local TargetPoint local defensiveModeOn if not Tool:FindFirstChild("DefensiveModeOn") then defensiveModeOn = false else defensiveModeOn = Tool.DefensiveModeOn.Value end if myCharacter th...
1,715
Roblox/gear
Roblox-gear-28b88df/src/gear/58574452/src/FishingContestGui/OpponentDiedGui/OnOpponentDied.client.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local OpponentDiedGui = script.Parent local FishingContestGui local PlayerGui local myPlayer local Opponent local otherPlayer local otherHumanoid local Mes...
366
Roblox/gear
Roblox-gear-28b88df/src/gear/58574452/src/FishingContestScript.server.luau
luau
.luau
math.randomseed(tick()); math.random() function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local Handle = Tool.Handle local Tank = game:GetService("InsertService"):LoadAsset(56936657...
5,661
Roblox/gear
Roblox-gear-28b88df/src/gear/58574452/src/TankRemoveScript.server.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tank = script.Parent local GeneratingPlayer = waitForChild(Tank, "GeneratingPlayer") local OtherPlayer = waitForChild(Tank, "OtherPlayer") local myPlayer...
227
Roblox/gear
Roblox-gear-28b88df/src/gear/58574452/src/Trout LS.client.luau
luau
.luau
-- Yay, fishing by hand! Contest aspect is heavily based on / cribbed from the Hot Dog's. function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local Mouse local Opponent local Ta...
310
Roblox/gear
Roblox-gear-28b88df/src/gear/58574452/src/UnwantedTroutFisherGui/UnwantedGuiRunner.client.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local ScreenGui = script.Parent local Frame = waitForChild(ScreenGui, "MessageFrame") local OKButton = waitForChild(Frame, "OKButton") local MessageText = wait...
95
Roblox/gear
Roblox-gear-28b88df/src/gear/58880579/src/RotateScript.client.luau
luau
.luau
-- NOTES: -- NEEDS: -- X 1.) Make single blocks rotate always (they rotate 2x, then seem to think of themselves as blockers of themselves... whaaa?) -- X 2.) Make scripts continue to work through rotations (or else error on any objects which can't be rotated... prehaps elevators?) -- ...
4,190
Roblox/gear
Roblox-gear-28b88df/src/gear/58901405/src/Material Picker Local.client.luau
luau
.luau
local Tool = script.Parent enabled = true local origTexture = Tool.TextureId local localAssetBase = "rbxasset://textures/ui/" game:GetService("ContentProvider"):Preload("rbxasset://icons/material_sel.png") local menu local selectionBox local selectionLasso local selectedButton local value = nil ...
1,218
Roblox/gear
Roblox-gear-28b88df/src/gear/58901481/src/Color Picker Local.client.luau
luau
.luau
local Tool = script.Parent enabled = true local menu local origTexture = Tool.TextureId local localAssetBase = "rbxasset://textures/ui/" game:GetService("ContentProvider"):Preload("rbxasset://icons/color_sel.png") local buttonDownCon, mouseMoveCon local clickCons = {} function onButton1Down(mouse) if n...
1,384
Roblox/gear
Roblox-gear-28b88df/src/gear/58901575/src/Surface Picker Local.client.luau
luau
.luau
local Tool = script.Parent local menu enabled = true local origTexture = Tool.TextureId local localAssetBase = "rbxasset://textures/ui/" game:GetService("ContentProvider"):Preload("rbxasset://icons/surface_sel.png") local selectionSurface local selectionLasso local mouseMoveCon, button1DownCon local con...
1,343
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/ClassicToolController.client.luau
luau
.luau
local Tool = script.Parent local keyUpCon = nil local gui = nil local connections = {} local buttons = {} local colorButton,SurfaceButton,MaterialButton,ResizeButton,draggerButton = nil game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset?id=59103051") game:GetService("ContentProvider"...
1,447
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Color/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent enabled = true local menu local origTexture = Tool.TextureId local localAssetBase = "rbxasset://textures/ui/" local currentColorButton = n...
1,633
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Dragger/NewDragger/init.client.luau
luau
.luau
local Tool = script.Parent.Parent game:GetService("ContentProvider"):Preload("rbxasset://icons/freemove_sel.png") local selectionBox local currentSelection local currentSelectionColors = {} local Mouse = nil local player = nil local instances = {} local maxDragDistance = 60 local connections = {} ...
6,519
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Dragger/OldDragger/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent.Parent waitForChild(Tool.Dragger.OldDragger, "Active") enabled = true local origTexture = Tool.TextureId game:GetService("ContentProvid...
1,365
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Dragger/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent waitForChild(Tool.Dragger, "Active") local gui = nil local connections = {} function deactivateTool(script) local enable = script:...
680
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Material/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent waitForChild(Tool.Material,"Active") waitForChild(Tool.Material,"CurrentMaterial") enabled = true local origTexture = Tool.TextureId local...
1,549
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Resize/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent waitForChild(Tool.Resize,"Active") enabled = true local origTexture = Tool.TextureId game:GetService("ContentProvider"):Preload("rbxasset:/...
1,094
Roblox/gear
Roblox-gear-28b88df/src/gear/58921588/src/Surface/init.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end local Tool = script.Parent local menu waitForChild(Tool.Surface,"Active") waitForChild(Tool.Surface,"CurrentSurface") enabled = true local origTexture = Tool.Tex...
1,720
Roblox/gear
Roblox-gear-28b88df/src/gear/59175769/src/FlameSpreadScript/BurnScript.server.luau
luau
.luau
for i = 1, 9 do script.Parent.Humanoid:TakeDamage(4) wait(1) end script:remove()
31
Roblox/gear
Roblox-gear-28b88df/src/gear/59175769/src/FlameSpreadScript/init.server.luau
luau
.luau
local ball = script.Parent local fire = script.Parent local fireCount local debris = game:GetService("Debris") local fireSound = Instance.new("Sound") fireSound.Name = "fireSound" fireSound.SoundId = "http://www.roblox.com/asset/?id=32791565" fireSound.Parent = ball fireSound.Volume = 1 function onTouched(...
295
Roblox/gear
Roblox-gear-28b88df/src/gear/59175769/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent local stillEquipped = true function updateDir(mouse) if mouse then Tool.FlamethrowerScript.Dir.Value = mouse.Hit.lookVector end end function onButton1Down(mouse) if not stillEquipped then return end enabled = false while Tool.Enabled do updateDir(mouse) w...
252
Roblox/gear
Roblox-gear-28b88df/src/gear/59175777/src/ActionScript.client.luau
luau
.luau
local Tool = script.Parent local Potion = Tool.Handle local vCharacter local myHumanoid local myTorso local vPlayer local spikeyCD local spikeCo Tool.Enabled = true local drinkAnim local instructionGui local activated = false function activateAbility(key) key = key:lower() if (key == "q" or...
634
Roblox/gear
Roblox-gear-28b88df/src/gear/59175777/src/SpikeScript/init.server.luau
luau
.luau
function waitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local vCharacter = script.Parent local myHumanoid = vCharacter:FindFirstChild("Humanoid") local myTorso = vCharacter:FindFirstChild("Torso") local myHead = vCh...
1,324
Roblox/gear
Roblox-gear-28b88df/src/gear/59190534/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") ContentProvider = game:GetService("ContentProvider") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ClientControl.OnClientInvoke...
572
Roblox/gear
Roblox-gear-28b88df/src/gear/59190534/src/Script/PetrifyScript/SetBackpack.client.luau
luau
.luau
--Made by Luckymaxer StarterGui = game:GetService("StarterGui") Debris = game:GetService("Debris") Boolean = script:FindFirstChild("Boolean") if Boolean then StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, Boolean.Value) end Debris:AddItem(script, 2)
71
Roblox/gear
Roblox-gear-28b88df/src/gear/59190534/src/Script/PetrifyScript/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") SetBackpack = script:FindFirstChild("SetBackpack") PartColor = BrickColor.new("Medium stone grey") Color = PartColor.Color Material = Enum.Material.Slate VertexColor = Vector3.new(Color.r, Color.g, Color.b) TextureId =...
1,255
Roblox/gear
Roblox-gear-28b88df/src/gear/59190534/src/Script/StonesplosionScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = script:WaitForChild("Creator").Value Center = script:WaitForChild("Center").Value Range = 200 Objects = {} StonifyTag = Instance.new("BoolValue") StonifyTag.Name = "StoneStaffStonified" PartColor = BrickCo...
1,111
Roblox/gear
Roblox-gear-28b88df/src/gear/59190543/src/BDProjScript.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool.Handle local InitRotVel local InitVel local myCharacter = Tool.Parent local myHumanoid local myPlayer local Target = Tool:FindFirstChild("TargetPos") if Target then Target = Target.Value else if myCharacter then myHumanoid = myCharacter:FindFirstChild...
1,047
Roblox/gear
Roblox-gear-28b88df/src/gear/59190543/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then return end while stillEquipped do mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon = "rbxasset...
159
Roblox/gear
Roblox-gear-28b88df/src/gear/59805584/src/CrossbowScript.server.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local vCharacter local myHumanoid local myTorso local vPlayer Tool.Enabled = true local debris = game:GetService("Debris") local projectile = Instance.new("Part") local skullDamage = 25 skull = Instance.new("Part") skull.FormFactor = 3 skull.Sh...
1,457