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/83704179/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke --A nice simple axe local sp = script.Parent local sword = sp:WaitForChild'Handle' enabled=true taunting=false function onButton1Down(mouse) if not enabled then return end enabled=false mouse.Icon="rbxasset://textures\\GunWaitCursor.png" wait(1.25) mouse.Icon="rbxasset://textures\\GunCurso...
541
Roblox/gear
Roblox-gear-28b88df/src/gear/83704179/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","LeftSlash","OverHeadSwing"} basedamage=2 slashdamage=9 swingdamage=22 damage=basedamage sword=sp.Handle sp.Taunting.Value=false local SlashSound=Instance.new("Sound") SlashSo...
822
Roblox/gear
Roblox-gear-28b88df/src/gear/83704190/src/AnimateScript.client.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(instance) wait() end return parent:FindFirstChild(instance) end local Tool = script.Parent local Sword = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid local RBX_Debris = game:GetServi...
1,951
Roblox/gear
Roblox-gear-28b88df/src/gear/83704190/src/SwordScript.server.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(instance) wait() end return parent:FindFirstChild(instance) end local Tool = script.Parent local Sword = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid Tool.Enabled = true loc...
677
Roblox/gear
Roblox-gear-28b88df/src/gear/84012460/src/FluffyAIControl.server.luau
luau
.luau
--Fluffy AI Controller local Fluffy = script.Parent local RotationSpeed = 2 local BobSpeed = 1 local RotationDist = Vector3.new(3, 1, 0) local dt = 0 local currentTime = 0 while true do local parentPos = Fluffy.Parent.CFrame --Rotate Fluffy around the player's head local rotation = CFrame.Angles(0 , Rotati...
260
Roblox/gear
Roblox-gear-28b88df/src/gear/84012460/src/FluffyControl.server.luau
luau
.luau
--Fluffy Tool Control Script local Tool = script.Parent local FluffyHandle = Tool.Handle local FluffyInstance = nil local DiedEvent = nil local Character = nil --Destroy Fluffy. function DestroyFluffy() if not FluffyInstance then return end FluffyInstance:Destroy() FluffyInstance = nil FluffyHandle.Trans...
517
Roblox/gear
Roblox-gear-28b88df/src/gear/84417104/src/LocalScript/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent damage=55 sp.Touched:connect(function(hit) if hit and hit~=nil and sp~=nil then local ct=sp:FindFirstChild("creator") if ct.Value~=nil and ct.Value.Character~=nil then if hit.Parent~=ct.Value.Character and hit.Name~="Handle" and hit.Name~="Effect" then loca...
253
Roblox/gear
Roblox-gear-28b88df/src/gear/84417104/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=1 power=150 rate=1/30 debris=game:GetService("Debris") equipped=false check=true meshids={ {16150760,16150753}, --Head {27120789,16150753}, --Torso {27120452,47846054}, --Left Arm {27120597,47846054}, --Right Arm {27120565,47846077}, --Le...
665
Roblox/gear
Roblox-gear-28b88df/src/gear/84417281/src/WubstepTool/DanceScript/init.client.luau
luau
.luau
--Rescripted by Luckymaxer Character = script.Parent Humanoid = Character:WaitForChild("Humanoid") DanceAnim = script:WaitForChild("DanceAnim") Humanoid.WalkSpeed = 0 DanceAnim = Humanoid:LoadAnimation(script.DanceAnim) DanceAnim:Play() wait(8.0) DanceAnim:Stop() Humanoid.WalkSpeed = 16 wait(4.0) script:Destro...
102
Roblox/gear
Roblox-gear-28b88df/src/gear/84417281/src/WubstepTool/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") DanceScript = script:WaitForChild("DanceScript") WubWub = Handle:WaitForChild("WubWub") AOE = 15 AreaQueryInterval = 1 Duration = 8 function DestroyBoombox()...
593
Roblox/gear
Roblox-gear-28b88df/src/gear/84418938/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke --Altered by QuantumSama local Tool=script.Parent local Backpack = Tool.Handle rate=1/30 equipped=false check=true debris=game:GetService("Debris") while Tool.Handle:FindFirstChild("Motor")==nil do wait() end local storeWeld=Tool.Handle.Motor local HoseSound function...
1,305
Roblox/gear
Roblox-gear-28b88df/src/gear/84418938/src/SoundScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent handle=sp.Handle script.ChildAdded:connect(function(item) if item~=nil then local s=handle:FindFirstChild(item.Name) if s~=nil then s:Play() end item:remove() end end)
65
Roblox/gear
Roblox-gear-28b88df/src/gear/84419543/src/ArmRocket_Local/RocketScript/init.server.luau
luau
.luau
local BLAST_RADIUS = 7 local Rocket = script.Parent local StartAt = Rocket.Position --make sure we go away if all else fails game.Debris:AddItem(Rocket, 20) --wait for the creator while not script:FindFirstChild('creator') do script.ChildAdded:wait() end while not script.creator.Value do script.creator.Cha...
617
Roblox/gear
Roblox-gear-28b88df/src/gear/84419543/src/ArmRocket_Local/init.client.luau
luau
.luau
local Tool = script.Parent --Fix implemented by Luckymaxer while not Tool:FindFirstChild('Handle') do Tool.ChildAdded:wait() end local Handle = Tool.Handle local Equipped = false local Player; local RightShoulder; local RightArm; local RightWeld; local Torso; local Mouse; local function Slerp(t, a, b) local om = math...
1,391
Roblox/gear
Roblox-gear-28b88df/src/gear/845518976/src/Script/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Projectile = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = Projectile:WaitForChild("Creator") Damage = Projectile:WaitForChild("Damage") RemovalTime = Projectile:FindFirstChild("R...
1,658
Roblox/gear
Roblox-gear-28b88df/src/gear/845518976/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") BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a s...
1,878
Roblox/gear
Roblox-gear-28b88df/src/gear/845518976/src/StarfishEffect.client.luau
luau
.luau
--Made by StarWars local Players = game:GetService("Players") local Debris = game:GetService("Debris") local BlurEffect = Instance.new("BlurEffect") BlurEffect.Size = 24 local ColorCorrection = Instance.new("ColorCorrectionEffect") ColorCorrection.Brightness = -0.5 BlurEffect.Parent = game.Lighting ColorCorrection.Pa...
105
Roblox/gear
Roblox-gear-28b88df/src/gear/846794018/src/DragonScript.server.luau
luau
.luau
local Tool = script.Parent local Dragon = Tool.Handle local prevHealth = 100 local damage = 17 local healthConnect local vCharacter local myTorso local myHumanoid local attacking Tool.Enabled = true local connection local debris = game:GetService("Debris") local fireball = Instance.new("Part") fireball.Fo...
2,984
Roblox/gear
Roblox-gear-28b88df/src/gear/85145626/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke --A nice simple axe local sp=script.Parent enabled=true taunting=false function waitfor(parent,name) while true do local child=parent:FindFirstChild(name) if child~=nil then return child end wait() end end waitfor(sp,"Handle") waitfor(sp.Handle,"Mesh") waitfor(sp...
651
Roblox/gear
Roblox-gear-28b88df/src/gear/85145626/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","LeftSlash"} basedamage=2 beardamage=5 armdamage=25 damage=basedamage basearmhold=CFrame.new(-1,0,.3)*CFrame.Angles(-.1,0,3) function waitfor(parent,name) while true do loc...
1,278
Roblox/gear
Roblox-gear-28b88df/src/gear/85145662/src/LunarLander_Main.client.luau
luau
.luau
local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end return function(dat) dat = dat or {} local obj = Instance.new(objectType) local ctor = nil for k, v in pairs(dat) do if type(k) == 'string' then obj[k] = v ...
12,592
Roblox/gear
Roblox-gear-28b88df/src/gear/85145680/src/ParaRocket.server.luau
luau
.luau
--Pararocket --local function waitForChild(parent, child) -- while parent:FindFirstChild(child) == nil do -- wait() -- end -- return parent[child] --end local Debris = game.Debris local Tool = script.Parent local Player local Character local Torso local RightArm local RightGrip local FlightTime = 5 local D...
931
Roblox/gear
Roblox-gear-28b88df/src/gear/85145680/src/RocketThrust/init.server.luau
luau
.luau
--ParaRocket local Rocket = script.Parent local Thrust = script:WaitForChild("Thrust") local Pop = script:WaitForChild("Pop") local Tag = Rocket:WaitForChild("AttachedPlayer") local Explosion = script:WaitForChild("Explosion") local function CalculateCharacterMass(Character) local Children = Character:GetChildren...
1,097
Roblox/gear
Roblox-gear-28b88df/src/gear/85145680/src/Script/Rocket/init.luau
luau
.luau
-- // Made by StarWars local Debris = game:GetService("Debris") local Thrust = script.Thrust local Pop = script.Pop local Explosion = script.Explosion local Rocket = {} Rocket.__index = Rocket local function CalculateCharacterMass(character) local Total = 0 for i, v in pairs(character:GetChildren()) do if v:IsA...
1,241
Roblox/gear
Roblox-gear-28b88df/src/gear/85145680/src/Script/init.server.luau
luau
.luau
-- // Rescripted by StarWars local Tool = script.Parent local Rocket = require(script.Rocket) local Character = nil local Humanoid = nil local Torso = nil local RELOAD_TIME = 10 function OnEquipped() Character = Tool.Parent Humanoid = Character:FindFirstChildOfClass("Humanoid") Torso = Character:FindFirstChild(...
511
Roblox/gear
Roblox-gear-28b88df/src/gear/85145730/src/Firework.server.luau
luau
.luau
--4th of July 2012 Firework local Tool = script.Parent local Handle = Tool.Handle local ReloadTime = 10 --Shoots a rocket off into the sky function FireRocket(Position) --Clone the handle local Rocket = Handle:Clone() Rocket.CanCollide = false Rocket.Transparency = 0 Rocket.Position = Position Roc...
335
Roblox/gear
Roblox-gear-28b88df/src/gear/85145730/src/FireworkExplosion/init.server.luau
luau
.luau
--4th of July 2012 Firework function WaitForChild(ChildName) while script:FindFirstChild(ChildName) == nil do wait() end return script:FindFirstChild(ChildName) end local Debris = game.Debris local Rocket = script.Parent local ScreamSound = WaitForChild("Scream") local ExplosionSound = WaitForChild("E...
1,610
Roblox/gear
Roblox-gear-28b88df/src/gear/85145757/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local vCharacter local walkAnim local arrowAnim local spamArrow local co local debounce = false function onKeyDown(key) if key:lower() == "q" then if debounce == false then spamArrow = Tool:FindFirstChild("SpamArrow") if spamArrow then ...
364
Roblox/gear
Roblox-gear-28b88df/src/gear/85150452/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.4...
321
Roblox/gear
Roblox-gear-28b88df/src/gear/85150452/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 ratio = h.Health/h.MaxHealth h.MaxHealth = 125 h.Heal...
404
Roblox/gear
Roblox-gear-28b88df/src/gear/85150872/src/CobraScript.server.luau
luau
.luau
--Updated for R15 avatars by StarWars local Character = script.Parent local Humanoid = Character:WaitForChild("Humanoid") local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") Humanoid.WalkSpeed = 13.0 local Duration = 5.0 local RBX_Debris = game:GetService('Debris') local fir...
183
Roblox/gear
Roblox-gear-28b88df/src/gear/85150872/src/StaffScript.server.luau
luau
.luau
--Updated for R15 avatars by StarWars local Tool = script.Parent local Staff = Tool.Handle local vCharacter local myHumanoid local myTorso local vPlayer Tool.Enabled = true local debris = game:GetService("Debris") local staffDamage = 25 local ball = Instance.new("Part") ball.FormFactor = 3 ball.Shape = "Bloc...
1,133
Roblox/gear
Roblox-gear-28b88df/src/gear/85150978/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Debris = game:GetService('Debris') 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 Torso = nil local EruptionID = 84929999 local Erup...
1,484
Roblox/gear
Roblox-gear-28b88df/src/gear/85754656/src/TRexScript.server.luau
luau
.luau
-- First Plushie! -- Needed for calculating time -- r = game:service("RunService") -- Store the Tool information local Tool = script.Parent -- Variable for making sure our function is entered only once during a particular instance enabled = true local character_is_trex = false -- Sound local sound1...
440
Roblox/gear
Roblox-gear-28b88df/src/gear/858740936/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer -- Updated for R15 avatars by StarWars 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",...
4,101
Roblox/gear
Roblox-gear-28b88df/src/gear/858743383/src/LocalScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitForChild("ServerControl") ClientControl = Remotes:WaitForChild("ClientControl") Rate = (1 / 60) ToolEquipped = false function CheckIfAlive() return (((C...
322
Roblox/gear
Roblox-gear-28b88df/src/gear/858743383/src/Script/Remover.server.luau
luau
.luau
Model = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Model:FindFirstChild("Creator") Tool = Model:FindFirstChild("Tool") function DestroyModel() Debris:AddItem(Model, 2) end if not Creator or not Creator.Value or not Creator.Value:IsA("Player") or not Creator.Valu...
221
Roblox/gear
Roblox-gear-28b88df/src/gear/858743383/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --...
2,642
Roblox/gear
Roblox-gear-28b88df/src/gear/85879435/src/EMPShockwaveScript.client.luau
luau
.luau
----- OMG EMP Shockwave ----- -- Convenience vars local RBX_Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle -- Character information local vTorso local vHumanoid local vCharacter -- Shock ball local shockw = Instance.new("Part") shockw.CanCollide = false shockw.Shape = "...
1,349
Roblox/gear
Roblox-gear-28b88df/src/gear/85879435/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 mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon =...
166
Roblox/gear
Roblox-gear-28b88df/src/gear/85879447/src/GloveScript.client.luau
luau
.luau
local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local Tool = script.Parent local Glove = Tool.Handle local RBX_Debris = game:GetService('Debris') local Character local Player local Torso local Humanoid local Playe...
2,876
Roblox/gear
Roblox-gear-28b88df/src/gear/85879456/src/LocalScript.client.luau
luau
.luau
--Made by QuantumSama local Tool = script.Parent sp=script.Parent plr=game.Players.localPlayer damage=27 local reloadTime = .25 local orb local Mouse firerate=1 local range = 250 barreloffset=Vector3.new(0, 0.25, -1.7) windvec=Vector3.new(2,-1,1).unit rate=1/30 debris=game:GetService("Debris") equ...
2,373
Roblox/gear
Roblox-gear-28b88df/src/gear/85879465/src/LocalScript/Animate2.client.luau
luau
.luau
function waitForChild(parent, childName) local child = parent:findFirstChild(childName) if child then return child end while true do child = parent.ChildAdded:wait() if child.Name==childName then return child end end end -- ANIMATION -- declarations local Figure = script.Parent local Torso = wa...
1,449
Roblox/gear
Roblox-gear-28b88df/src/gear/85879465/src/LocalScript/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent damage=40 sp.Touched:connect(function(hit) if hit and hit~=nil and sp~=nil then local ct=sp:FindFirstChild("creator") if ct.Value~=nil and ct.Value.Character~=nil then if hit.Parent~=ct.Value.Character and hit.Name~="Handle" and hit.Name~="Effect" then loca...
253
Roblox/gear
Roblox-gear-28b88df/src/gear/85879465/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=.8 power=250 rate=1/30 debris=game:GetService("Debris") equipped=false check=true function waitfor(a,b) while a:FindFirstChild(b)==nil do wait() end return a:FindFirstChild(b) end waitfor(script,"Script") waitfor(script,"Animate2") w...
898
Roblox/gear
Roblox-gear-28b88df/src/gear/86492467/src/LocalNinjaScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") DoubleJump = Tool:WaitForChild("DoubleJump") JumpSound = Handle:WaitForChild("JumpSound") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") BodyParts = { {Nam...
2,222
Roblox/gear
Roblox-gear-28b88df/src/gear/86492583/src/LocalScript/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent damage=27 wait(.1) local weld=sp:FindFirstChild("Weld") if weld~=nil then if weld.Part0~=nil then hit=weld.Part0 local sound=sp:FindFirstChild("Sound") if sound~=nil then sound:Play() end local ct=sp:FindFirstChild("creator") if ct.Value~=nil and...
229
Roblox/gear
Roblox-gear-28b88df/src/gear/86492583/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=.5 range=300 power=300 rate=1/30 barreloffset=Vector3.new(0,0,-1.5) windvec=Vector3.new(2,-1,1).unit debris=game:GetService("Debris") equipped=false check=true function waitfor(parent,name) while parent:FindFirstChild(name)==nil do wait() ...
1,415
Roblox/gear
Roblox-gear-28b88df/src/gear/86494914/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 slamDown(mouse, key) if not Tool:FindFirstCh...
230
Roblox/gear
Roblox-gear-28b88df/src/gear/86494914/src/LocalSwordScript.client.luau
luau
.luau
local Tool = script.Parent local vCharacter local myHumanoid local myTorso local leftSwordWeld local UnsheathAnim local holdAnim local slamAnim local thrustAnim local attackAnim local runService = game:service("RunService") local last_attack local animating = false local justEquipped = Tool:FindFirstChild('Jus...
1,676
Roblox/gear
Roblox-gear-28b88df/src/gear/86494914/src/SwordScript.server.luau
luau
.luau
-------- Ultra Katana --------- r = game:service("RunService") local damage = 4 local slash_damage = 5 local lunge_damage = 6 local Tool = script.Parent local sword = Tool.Handle local leftSword local leftSwordWeld local leftSwordConnection local bodyGyro local vCharacter local vTorso local vHumanoid loca...
3,310
Roblox/gear
Roblox-gear-28b88df/src/gear/86692539/src/Local Gui.client.luau
luau
.luau
--Made by Stickmasterluke local sp=script.Parent originalgrip=CFrame.new(.15,-2,0)*CFrame.Angles(0,math.pi/2,0) currentgrip=originalgrip enabled=true taunting=false function waitfor(parent,name) while true do local child=parent:FindFirstChild(name) if child~=nil then return child end w...
765
Roblox/gear
Roblox-gear-28b88df/src/gear/86692539/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","LeftSlash","OverHeadSwing","LeftSwingFast","RightSwingFast"} basedamage=2 slashdamage=19 swingdamage=30 damage=basedamage sword=sp.Handle sp.Taunting.Value=false local SlashSo...
780
Roblox/gear
Roblox-gear-28b88df/src/gear/869123788/src/Script.server.luau
luau
.luau
local Players = game:GetService("Players") local FrogModule = require(191816425) local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") ToolEquipped = false ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction")) ServerControl.Name = "ServerControl" ServerControl.Pare...
476
Roblox/gear
Roblox-gear-28b88df/src/gear/869125445/src/CrossbowLauncher.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireSound = Handle:WaitForChild("FireSound") HitSound = Handle:WaitForChild("HitSound") Players = game:GetService("Players") Debris = game:GetService("Debris") local BaseUrl = "rbxassetid://" local Damage = 20 local DisplayArrow = nil function FindCharacte...
1,236
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/ChimeraAi/FireBall/Burning.server.luau
luau
.luau
-- Burn the humanoid this script is attached to local victim = script.Parent if victim and victim:IsA("Humanoid") then local fire = Instance.new("Fire", victim.Torso) for i = 1, 8 do if not fire or not fire.Enabled or not victim or victim.Health <= 0 then break end victim:TakeDamage(2) wait(1.5) end if fire t...
105
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/ChimeraAi/FireBall/init.server.luau
luau
.luau
local Ball = script.Parent local BurnScript = script.Burning local Creator = script.Creator.Value -- OnTouched: Do damage, move BurnScript, and destroy Ball Ball.Touched:connect(function(otherPart) if otherPart and otherPart.Parent and otherPart.Parent:IsA("Model") then local otherModel = otherPart.Parent if othe...
158
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/ChimeraAi/PoisonBlob/Poisoned.server.luau
luau
.luau
-- Poison the humanoid this script is attached to local victim = script.Parent if victim and victim:IsA("Humanoid") then local victimHead = victim.Parent:FindFirstChild("Head") local originalColor = victimHead.BrickColor for i = 1, 5 do if not victimHead or not victim or victim.Health <= 0 then break end victimH...
145
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/ChimeraAi/PoisonBlob/init.server.luau
luau
.luau
local Blob = script.Parent local PoisonScript = script.Poisoned local Creator = script.Creator.Value -- OnTouched: Do damage, move PoisonScript, and destroy Blob Blob.Touched:connect(function(otherPart) if otherPart and otherPart.Parent and otherPart.Parent:IsA("Model") then local otherModel = otherPart.Parent if...
162
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/ChimeraAi/init.server.luau
luau
.luau
local Debris = Game:GetService("Debris") -- Constants -- local offset = Vector3.new(5, 0, 5) -- Distance from player local timeBetweenShots = 0.25 -- Seconds between each poison shot (between animations) local chaseTime = 10 -- How long to chase a target before giving up local chanceToBurn = 0.5 -- % chance that biti...
2,676
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent local sg local frame local stillEquipped = false local function onEquippedLocal(mouse) stillEquipped = true local vPlayer = game.Players:GetPlayerFromCharacter(Tool.Parent) if vPlayer then local playerGui = vPlayer:FindFirstChild("PlayerGui") if playerGui and playerGui:FindFirstChi...
526
Roblox/gear
Roblox-gear-28b88df/src/gear/87361508/src/PetAnimation/init.client.luau
luau
.luau
while not script:FindFirstChild("Current") do wait() end local myModel = script.Parent -- Safely wait for petHumanoid local petHumanoid = nil if myModel then local aiScript = myModel:FindFirstChild("ChimeraAi") if aiScript then while not aiScript:FindFirstChild("Pet") do wait() end local pet = aiScript.Pet.Valu...
193
Roblox/gear
Roblox-gear-28b88df/src/gear/87361662/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) local Services = { Players = (game:FindService("Players") or game:GetService("Players")), RunService = (game:FindService("RunService") or game:GetService("RunService")), Input = (game:FindService("ContextActionService") or game:GetService("Co...
292
Roblox/gear
Roblox-gear-28b88df/src/gear/87361662/src/Server/Freeze/init.server.luau
luau
.luau
local Target = script:WaitForChild("Target").Value local Sounds = { IceCrack = script:WaitForChild("IceCrack"), Shatter = script:WaitForChild("Shatter") } local Torso = Target:FindFirstChild("Torso") or Target:FindFirstChild("UpperTorso") if not Target then script:Destroy() end local Humanoid = Target:FindFirstCh...
1,300
Roblox/gear
Roblox-gear-28b88df/src/gear/87361662/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable 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 local Handle = Tool:WaitForC...
1,792
Roblox/gear
Roblox-gear-28b88df/src/gear/87361806/src/MeteorScript/init.server.luau
luau
.luau
--Exort Wex Exort! local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local Meteor = script.Parent local Rock = Meteor.ArmageddonMeteor local Explosion = waitForChild(script, "Explosion") local Rumble = waitForChild(script, "Rumble") l...
793
Roblox/gear
Roblox-gear-28b88df/src/gear/87361995/src/AnimateScript.client.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do wait() end return parent:FindFirstChild(instance) end local vPlayer = game.Players.LocalPlayer local Tool = script.Parent local Sword = Tool.Handle local Input = (game:FindService("UserInputService") or game:GetService("U...
832
Roblox/gear
Roblox-gear-28b88df/src/gear/87361995/src/SwordScript/UnwingScript.server.luau
luau
.luau
-- Unwing this flyer! local function WaitForChild(parent, child) while not parent:FindFirstChild(child) do parent.ChildAdded:Wait() end return parent[child] end local Character = script.Parent local Torso = WaitForChild(Character, 'HumanoidRootPart') local Humanoid = Character:FindFirstChildOfClass("Humanoi...
568
Roblox/gear
Roblox-gear-28b88df/src/gear/87361995/src/SwordScript/init.server.luau
luau
.luau
-- Allows the wielder to become a boss -- Destroy all those flyers with this -- Who is the Kami now? -- 20 second cooldown -- Add a RBXGear lib that allows for unified GUIs local Range = 150 local RunService = (game:FindService("RunService") or game:GetService("RunService")) local function waitForChild(parent, ins...
2,660
Roblox/gear
Roblox-gear-28b88df/src/gear/880432781/src/LocalScript.client.luau
luau
.luau
local Tool = script.Parent local throwStrength = 0 local count = false local p = nil local gui = nil local thrower = nil local ControllerEvent = Tool:WaitForChild("Controller") function onEquippedLocal(mouse) mouse.Button1Down:connect(mouse1Down) mouse.Button1Up:connect(mouse1Up) p = game.Players:GetPlayerFromCha...
396
Roblox/gear
Roblox-gear-28b88df/src/gear/880432781/src/ThrowScript.server.luau
luau
.luau
local Players = game:GetService("Players") local debris = game:GetService("Debris") local Tool = script.Parent local Player = nil local RemoteEvent = Tool:FindFirstChild("Controller") or Instance.new("RemoteEvent") RemoteEvent.Name = "Controller" RemoteEvent.OnServerEvent:Connect(function(player, strength) if playe...
435
Roblox/gear
Roblox-gear-28b88df/src/gear/880432781/src/WaterBalloonScript.server.luau
luau
.luau
local flakes = {"28575797", "28575813", "28575821", "28575833", "28575848"} local globs = {"28575761", "28575775"} local debris = game:GetService("Debris") wait(0.1) function splashScreen(p) local guiMain = Instance.new("GuiMain") guiMain.Parent = p.PlayerGui local mainFrame = Instance.new("Frame") mainFrame...
668
Roblox/gear
Roblox-gear-28b88df/src/gear/880433057/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") RemoteControl = Tool:WaitForChild("RemoteControl") ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new(...
1,452
Roblox/gear
Roblox-gear-28b88df/src/gear/880453518/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local Tool = script.Parent Tool.Grip = Tool.Handle.RightGripAttachment.CFrame local Remotes = Tool.Remotes local ServerControls = Remotes.ServerControls local ClientControls = Remotes.ClientControls local ToolEquipped = false local Player = nil loc...
662
Roblox/gear
Roblox-gear-28b88df/src/gear/880499904/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 ...
504
Roblox/gear
Roblox-gear-28b88df/src/gear/880506541/src/Script/init.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") InsertService = game:GetService("InsertService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then...
2,596
Roblox/gear
Roblox-gear-28b88df/src/gear/88143060/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent local sg local frame local stillEquipped = false local function onEquippedLocal(mouse) stillEquipped = true local vPlayer = game.Players:GetPlayerFromCharacter(Tool.Parent) if vPlayer then local playerGui = vPlayer:FindFirstChild("PlayerGui") if playerGui and playerGui:FindFirstChi...
525
Roblox/gear
Roblox-gear-28b88df/src/gear/88143060/src/TrollAi/init.server.luau
luau
.luau
-- Troll Constants -- local offset = Vector3.new(5, 0, 5) -- Distance from player or target local radius = 5 -- Radius of TrollMode2's orbit local orbitSpeed = 5 -- Speed of TrollMode2's orbit local trollTime = 10 -- Stop trolling after this much time -- Script Children -- local myModel = script.Parent local myHuman...
1,451
Roblox/gear
Roblox-gear-28b88df/src/gear/88143074/src/Handle/PoisonedFood/Eating/init.client.luau
luau
.luau
local hungryHumanoid = script.Parent -- Waits for script.childName to exist then returns it local function scriptWaitForChild(childName) while not script:FindFirstChild(childName) do wait() end return script[childName] end local eatSound = scriptWaitForChild("EatSound") local eatAnimation = scriptWaitForChild("EatA...
247
Roblox/gear
Roblox-gear-28b88df/src/gear/88143074/src/Handle/PoisonedFood/init.server.luau
luau
.luau
local Food = script.Parent while not script:FindFirstChild("Creator") or not script.Creator.Value do wait() end local creator = script.Creator.Value while not script:FindFirstChild("Eating") do wait() end local eatingScript = script.Eating -- When someone steps on the food, drop what they're holding and attach the f...
481
Roblox/gear
Roblox-gear-28b88df/src/gear/88143074/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if not mouse 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://textures\\GunWaitC...
155
Roblox/gear
Roblox-gear-28b88df/src/gear/88143074/src/ThrowingTool.server.luau
luau
.luau
local Tool = script.Parent local ToolHandle = Tool.Handle local cooldown = 3 -- Seconds until another can be thrown local timeToLive = 10 -- Seconds until each old one is destroyed local throwSpeed = 100 -- {PoisonApple, PoisonCake, PoisonPorkChop} local baseIdUrl = "http://www.roblox.com/asset/?id=" local iconIds = ...
660
Roblox/gear
Roblox-gear-28b88df/src/gear/88143093/src/ExplosionScript.server.luau
luau
.luau
function waitForChild(parent, childName) local child = parent:findFirstChild(childName) if child then return child end while true do child = parent.ChildAdded:wait() if child.Name==childName then return child end end end local Tool = script.Parent local Explosion = waitForChild(Tool, 'Explosion') Explosio...
105
Roblox/gear
Roblox-gear-28b88df/src/gear/88143093/src/LocalScript.client.luau
luau
.luau
--Made by SolarCrane local Tool = script.Parent --plr=game.Players.localPlayer local buttonUp = false local RBX_Debris = game:GetService('Debris') local Mouse local sparkleHolder local startColor = Vector3.new(0, 0, 255) local endColor = Vector3.new(255, 0, 0) local timeToTarget = 1.25 local myHumanoid -- Ani...
2,189
Roblox/gear
Roblox-gear-28b88df/src/gear/88143093/src/SoundScript.server.luau
luau
.luau
--SolarCrane function waitForChild(parent, childName) local child = parent:findFirstChild(childName) if child then return child end while true do child = parent.ChildAdded:wait() if child.Name==childName then return child end end end local Tool = script.Parent local Launch = waitForChild(Tool, 'Launch') ...
340
Roblox/gear
Roblox-gear-28b88df/src/gear/88143166/src/AnimateScript.client.luau
luau
.luau
-- For the purpose of animations local Tool = script.Parent local Handle = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid local VaultAnim local OnRunConn local OnJumpConn local LastStoppedTime = nil local AnimStartTime = nil local origCameraType local RBX_Debris = game:GetService('D...
1,209
Roblox/gear
Roblox-gear-28b88df/src/gear/88143166/src/VaultScript.server.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(instance) wait() end return parent:FindFirstChild(instance) end local Tool = script.Parent local Handle = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid local vMouse Tool.Enabl...
989
Roblox/gear
Roblox-gear-28b88df/src/gear/88146486/src/AnimateScript.client.luau
luau
.luau
-- For the purpose of animations local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(instance) wait() end return parent:FindFirstChild(instance) end local Tool = script.Parent local Handle = Tool.Handle local vCharacter local vPlayer local vTorso local vH...
1,321
Roblox/gear
Roblox-gear-28b88df/src/gear/88146486/src/SwordScript.server.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(instance) wait() end return parent:FindFirstChild(instance) end local Tool = script.Parent local Handle = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid Tool.Enabled = true lo...
865
Roblox/gear
Roblox-gear-28b88df/src/gear/88146497/src/Bomb/LaughScript/init.client.luau
luau
.luau
local laughAni= Instance.new("Animation") laughAni.AnimationId = "http://www.roblox.com/Asset?ID=86258575" local player = game.Players.LocalPlayer local character = player.Character local startTime= time() local hum=script.Parent:FindFirstChild('Humanoid') local animTrack=hum:LoadAnimation(laughAni) local ltime=s...
221
Roblox/gear
Roblox-gear-28b88df/src/gear/88146497/src/Bomb/init.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378" FuseSound.Parent = script.Parent FuseSound:Play() blowsound = Instance.new("Sound") blowsound.SoundId = "http://www.roblox.com/Asset?ID=86300411" blowsound.Parent = script.Parent blowsound.Volume = 1 cricketsound =...
1,309
Roblox/gear
Roblox-gear-28b88df/src/gear/88146497/src/PlantBomb.server.luau
luau
.luau
bombScript = script.Parent.Bomb Tool = script.Parent function plant(pos) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local spawnPos = vCharacter.PrimaryPart.Position local bomb = Tool.Handle:Clone() bomb.CanCollide = true bomb.Transparency = 0 bomb.Positi...
307
Roblox/gear
Roblox-gear-28b88df/src/gear/88146505/src/leachPhone/callScript/init.client.luau
luau
.luau
local player = script.Parent--script:FindFirstChild("target").Value--game.Players.LocalPlayer local character = player:FindFirstChild("Humanoid") local laughAni= Instance.new("Animation") laughAni.AnimationId = "http://www.roblox.com/Asset?ID=87684948" local startTime= time() local hum=script.Parent:FindFirstChild('...
1,290
Roblox/gear
Roblox-gear-28b88df/src/gear/88146505/src/leachPhone/init.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378" FuseSound.Parent = script.Parent FuseSound:Play() blowsound = Instance.new("Sound") blowsound.SoundId = "http://www.roblox.com/Asset?ID=86300411" blowsound.Parent = script.Parent blowsound.Volume = 1 cricketsound =...
1,344
Roblox/gear
Roblox-gear-28b88df/src/gear/88146505/src/throwPhone.server.luau
luau
.luau
bombScript = script.Parent.leachPhone Tool = script.Parent function plant(pos,target) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local spawnPos = vCharacter.PrimaryPart.Position local bomb = Tool.Handle:Clone() bomb.CanCollide = true bomb.Transparency = 0...
329
Roblox/gear
Roblox-gear-28b88df/src/gear/88870392/src/LocalMain.client.luau
luau
.luau
local Tool = script.Parent local Character; local Player; local RELOAD_TIME = 4 ------------------------------------------ local function WaitFor(parent) return setmetatable({}, { __index = function(tb, child) return function() while not parent:FindFirstChild(child) do parent.ChildAdded:wa...
996
Roblox/gear
Roblox-gear-28b88df/src/gear/88870392/src/MineScript/init.server.luau
luau
.luau
------------------------------------------ local function WaitFor(parent) return setmetatable({}, { __index = function(tb, child) return function() while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end return parent:FindFirstChild(child) end end; }) end ---...
807
Roblox/gear
Roblox-gear-28b88df/src/gear/88885268/src/AnimateScript.client.luau
luau
.luau
-- For the purpose of animations local Tool = script.Parent local Handle = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid local DiscusThrow local RBX_Debris = game:GetService('Debris') local speedUp = 1 local equipped = false local vMouse function onEquipped(mouse) if equipped then...
601
Roblox/gear
Roblox-gear-28b88df/src/gear/88885268/src/Handle/ExplosionScript.server.luau
luau
.luau
local Handle = script.Parent function createUKExplosion(startPos) local throwersLocation = Vector3.new() if Handle:FindFirstChild('vCharacterLoc') then throwersLocation = Handle.vCharacterLoc.Value end -- Create a rotation matrix such that the explosion is oriented towards the player -- multiply rotation matrix...
839
Roblox/gear
Roblox-gear-28b88df/src/gear/88885481/src/AnimateScript.client.luau
luau
.luau
-- Sword and shield local Tool = script.Parent local Sword = Tool.Handle Tool.Enabled = true local vCharacter local shieldWeld local shieldWalkAnim local slashAnim local bashAnim local lungeAnim local spinAnim local time local shieldActive local lastAttack = 0 local bashDamage = 12 local conn...
1,186