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/95951291/src/KeyDownScript.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.KeyDown:connect(function(key) script.Parent.KeyDown:FireServer(key) end) end)
32
Roblox/gear
Roblox-gear-28b88df/src/gear/95951330/src/Handle/FireParticle/FireLight/Fire_Effect.server.luau
luau
.luau
local Fire = script.Parent local Rate = 1/1000 while Fire do for i=1,3,1 do script.Parent.Range = script.Parent.Range + 1 wait(Rate) end for i=1,2,1 do script.Parent.Range = script.Parent.Range - 1 wait(Rate) end for i=1,1,1 do script.Parent.Range = script.Parent.Range + 1 wait(Rate) end for i=1,2,...
136
Roblox/gear
Roblox-gear-28b88df/src/gear/95951330/src/LocalRaiseSkeletons.client.luau
luau
.luau
----------------- --| Constants |-- ----------------- ----------------- --| Variables |-- ----------------- local DebrisService = game:GetService('Debris') local PlayersService = game:GetService('Players') local ContextActionService = game:GetService("ContextActionService") local Tool = script.Parent local ToolHand...
296
Roblox/gear
Roblox-gear-28b88df/src/gear/95951330/src/MostAnimations/init.client.luau
luau
.luau
----------------- --| Variables |-- ----------------- local Tool = script.Parent local R6Folder = script:WaitForChild("R6") local R15Folder = script:WaitForChild("R15") local ScytheEquipAnimation = R6Folder:WaitForChild("ScytheEquip2") local ScytheIdleAnimation = R6Folder:WaitForChild("ScytheIdle2") local ScytheSlash...
529
Roblox/gear
Roblox-gear-28b88df/src/gear/95951330/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","Sa...
2,598
Roblox/gear
Roblox-gear-28b88df/src/gear/95951330/src/RaiseSkeletons/init.server.luau
luau
.luau
----------------- --| Constants |-- ----------------- local SPAWN_RADIUS = 8 -- Studs local SKELETON_ASSET_ID = 53604463 local SKELETON_DURATION = 30 local SUMMON_COOLDOWN = 8 ----------------- --| Variables |-- ----------------- local InsertService = game:GetService('InsertService') local DebrisService = game:Ge...
1,063
Roblox/gear
Roblox-gear-28b88df/src/gear/95951359/src/LocalScript/Script/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent damage=22 sp.Touched:connect(function(hit) if hit~=nil and hit.Parent~=nil then local creator=sp:FindFirstChild("creator") local h=hit.Parent:FindFirstChild("Humanoid") local speed=sp.Velocity.magnitude if creator~=nil and h~=nil and h.Health>0 and speed>1 t...
216
Roblox/gear
Roblox-gear-28b88df/src/gear/95951359/src/LocalScript/Script/init.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent wait(2.5) shrapnelvelocity=100 shrapnelcount=math.random(12,14) meshes={{36869983,36869975},{36780113,36780292},{36780032,36780292},{36780156,36780292},{36780079,36780292},{36780195,36780292}} local creator=sp:FindFirstChild("creator") local debris=game:GetService("...
599
Roblox/gear
Roblox-gear-28b88df/src/gear/95951359/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent cooldown=4 power=60 rate=1/30 local 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 lastuse=waitfor(sp,"LastUse") function onEquipped(...
598
Roblox/gear
Roblox-gear-28b88df/src/gear/96092647/src/Handle/SkeletonBirdScript.server.luau
luau
.luau
--SkeletonBird settings are here local Aggressive = true --SkeletonBird will attack enemies local SmallDamage = 15 local LargeDamage = 25 --Does more damage while tool is equipped local AttackRange = 40 local ShortReload = 2 --Shoots faster if given an assigned area to move to local LongReload = 3 local EquipReloadBonu...
3,404
Roblox/gear
Roblox-gear-28b88df/src/gear/96092647/src/ToolScript.server.luau
luau
.luau
local SkeletonBirdDuration = 5*60 function WaitForChild(parent, child) local result = parent:FindFirstChild(child) delay(3, function() if not result then print("Probably Stuck", child) end end) while not result do parent.ChildAdded:wait() result = parent:FindFirstChild(child) end return result end function W...
1,253
Roblox/gear
Roblox-gear-28b88df/src/gear/96095000/src/ChairScript.client.luau
luau
.luau
local function WaitForChild(parent, childName) while parent:FindFirstChild(childName) == nil do wait() end return parent[childName] end local Tool = script.Parent local Chair = Tool.Handle local Player = Game.Players.LocalPlayer while Player.Character == nil do wait() end local Character = Player.Characte...
2,933
Roblox/gear
Roblox-gear-28b88df/src/gear/96095000/src/TransportScript.client.luau
luau
.luau
local function WaitForChild(parent, childName) while parent:FindFirstChild(childName) == nil do wait() end return parent[childName] end local Tool = script.Parent local FlightPower local FlightSpin local FlightHold local CamSpeedZ = 30 local CamSpeedX = 20 local Forwards = false local Back = false local ...
953
Roblox/gear
Roblox-gear-28b88df/src/gear/96095042/src/ChairScript.client.luau
luau
.luau
print('Chair Script') local function WaitForChild(parent, childName) print(parent, childName) while parent:FindFirstChild(childName) == nil do wait() end return parent[childName] end local Tool = script.Parent local Chair = Tool.Handle local Player = Game.Players.LocalPlayer while Player.Character == nil...
3,040
Roblox/gear
Roblox-gear-28b88df/src/gear/96095042/src/TransportScript.client.luau
luau
.luau
print('Transport Script') local function WaitForChild(parent, childName) print(parent, childName) while parent:FindFirstChild(childName) == nil do wait() end return parent[childName] end local Tool = script.Parent local FlightPower local FlightSpin local FlightHold local CamSpeedZ = 50 local CamSpeedX = ...
996
Roblox/gear
Roblox-gear-28b88df/src/gear/96493688/src/ProjectileScript/init.server.luau
luau
.luau
ball = script.Parent damage = 9 hitSound = Instance.new("Sound") hitSound.Name = "hitSound" hitSound.SoundId = "http://www.roblox.com/asset/?id=11945266" hitSound.Parent = ball hitSound.Volume = 1 while script:FindFirstChild("ShurikenPierceScript") == nil do wait() end function onTouched(hit) if hit...
307
Roblox/gear
Roblox-gear-28b88df/src/gear/96493688/src/ShurikenScript.server.luau
luau
.luau
-- 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 NUM_OF_PROJECTILES = 8 local CIRCLE_RADIUS = 7 local Tool = script.Parent local Handle = WaitForChild(Tool, 'Ha...
1,797
Roblox/gear
Roblox-gear-28b88df/src/gear/96501417/src/WizardStaff.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") VineModel = InsertService:LoadAsset(178364498) Vine = VineModel:GetChildren()[1]:Clone() for i, v in pairs({Vi...
2,014
Roblox/gear
Roblox-gear-28b88df/src/gear/96501454/src/SwordScript/StunScript.client.luau
luau
.luau
local MyCharacter = script.Parent if MyCharacter and MyCharacter:FindFirstChild('Humanoid') then local humanoid = MyCharacter.Humanoid local origSpeed = humanoid.WalkSpeed humanoid.WalkSpeed = 0 wait(0.8) humanoid.WalkSpeed = origSpeed end script:Destroy()
72
Roblox/gear
Roblox-gear-28b88df/src/gear/96501454/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...
3,028
Roblox/gear
Roblox-gear-28b88df/src/gear/96669682/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent function waitfor(a,b) while a:FindFirstChild(b)==nil do a.ChildAdded:wait() end return a:FindFirstChild(b) end reloading=waitfor(sp,"Reloading") down=waitfor(sp,"MouseDown") runanim=waitfor(sp,"RunAnim") animspeed=1.2 --lower number is slower equi...
717
Roblox/gear
Roblox-gear-28b88df/src/gear/96669682/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent damage=20 -- +/- 10% damagewindow=1 --after clicking, how long does the player have to hit the opponent wioth their weapon to deal damage swingrate=.75 clashsounds={91154405,91154446,91154471,91154503,91154521} swooshsounds={91154708,91155889} hitsounds={9115490...
1,970
Roblox/gear
Roblox-gear-28b88df/src/gear/96669687/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent function waitfor(a,b) while a:FindFirstChild(b)==nil do a.ChildAdded:wait() end return a:FindFirstChild(b) end reloading=waitfor(sp,"Reloading") down=waitfor(sp,"MouseDown") runanim=waitfor(sp,"RunAnim") animspeed=.8 --lower number is slower equip...
822
Roblox/gear
Roblox-gear-28b88df/src/gear/96669687/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent damage=35 -- +/- 10% damagewindow=.8 --after clicking, how long does the player have to hit the opponent wioth their weapon to deal damage swingrate=1.1 clashsounds={91154405,91154446,91154471,91154503,91154521} swooshsounds={91154708,91155889} hitsounds={911549...
1,980
Roblox/gear
Roblox-gear-28b88df/src/gear/96669697/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent function waitfor(a,b) while a:FindFirstChild(b)==nil do a.ChildAdded:wait() end return a:FindFirstChild(b) end reloading=waitfor(sp,"Reloading") down=waitfor(sp,"MouseDown") runanim=waitfor(sp,"RunAnim") animspeed=1 --lower number is slower equi...
713
Roblox/gear
Roblox-gear-28b88df/src/gear/96669697/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent damage=45 -- +/- 10% damagewindow=1.5 --after clicking, how long does the player have to hit the opponent wioth their weapon to deal damage swingrate=1.7 clashsounds={91154405,91154446,91154471,91154503,91154521} swooshsounds={91154708,91155889} hitsounds={91154...
1,974
Roblox/gear
Roblox-gear-28b88df/src/gear/96669943/src/LocalScript.client.luau
luau
.luau
local animations = {} local savedHumanoid = nil local tool = script.Parent local uis = game:GetService'UserInputService' local localplayer = game:GetService'Players'.LocalPlayer local mouse = localplayer:GetMouse() -- -- function clearAnimations() for i, track in next, animations do track:Stop() end animations =...
364
Roblox/gear
Roblox-gear-28b88df/src/gear/96669943/src/Script/KickedScript/RespawnScript.server.luau
luau
.luau
print('Reloading character') wait(5) if game.Players.CharacterAutoLoads then script.Parent.Parent:LoadCharacter() end
27
Roblox/gear
Roblox-gear-28b88df/src/gear/96669943/src/Script/init.server.luau
luau
.luau
--[[ Fixed by ArceusInator 1/26/2015 Thanks to Europeancow2 for reporting a bug where the kick attach would break NPCs --]] -------------- Sword Script ---------------- -- Waits for the child of the specified parent local function WaitForChild(parent, childName) while not parent:FindFirstChild(childName) do paren...
3,779
Roblox/gear
Roblox-gear-28b88df/src/gear/97161222/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke local sp=script.Parent originalgrip=CFrame.new(0.0500000045, 1.93715096e-007, -1.90000033, 0, 0, -1, -1, 1.31134158e-007, 0, 1.31134158e-007, 1, 0) currentgrip=originalgrip swingspeed=1.5 debris=game:GetService("Debris") enabled=true function waitfor(parent,name) while true do local c...
1,259
Roblox/gear
Roblox-gear-28b88df/src/gear/97161222/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","OverHeadSwing","LeftSwingFast","RightSwingFast"} --,"LeftSlash" basedamage=7 slashdamage=15 swingdamage=20 damage=basedamage sword=sp.Handle local UnsheathSound=Instance.new(...
701
Roblox/gear
Roblox-gear-28b88df/src/gear/97161241/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ToolEquipped = false function SetAnimation(Mode, Value) if Mo...
716
Roblox/gear
Roblox-gear-28b88df/src/gear/97161241/src/Script/FreezePlayer.server.luau
luau
.luau
--Fixed by Luckymaxer local MyCharacter = script.Parent local MyHumanoid = MyCharacter:FindFirstChild("Humanoid") local MyTorso = MyCharacter:FindFirstChild("Torso") if MyTorso and MyHumanoid then MyTorso.Anchored = true MyHumanoid.WalkSpeed = 0 wait(2.5) if MyHumanoid.Health > 0 then MyTorso.Anchored = false ...
116
Roblox/gear
Roblox-gear-28b88df/src/gear/97161241/src/Script/Functions.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Ray", "Bullet", "ParticlePart"} Functions = { CheckTableForString = (function(Table, String) for i, v in pairs(Table) do if string.lower(...
1,039
Roblox/gear
Roblox-gear-28b88df/src/gear/97161241/src/Script/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") Functions = require(script:WaitForChild("Functions")) local function Create_PrivImpl(objectType) if type(obje...
5,043
Roblox/gear
Roblox-gear-28b88df/src/gear/97161262/src/LocalScript.client.luau
luau
.luau
-- //Completely redone for R15 avatars and FE by StarWars local Player = game.Players.LocalPlayer local PlayerGui = Player:WaitForChild('PlayerGui') local Tool = script.Parent local Remotes = Tool:WaitForChild("Remotes") local ServerControl = Remotes:WaitForChild("ServerControl") local ClientControl = Remotes:WaitFor...
1,116
Roblox/gear
Roblox-gear-28b88df/src/gear/97161262/src/Script.server.luau
luau
.luau
-- //Completely redone for R15 avatars and FE by StarWars local RunService = game:GetChildren('RunService') local RbxUtility = LoadLibrary("RbxUtility") local Create = RbxUtility.Create local Tool = script.Parent local AnimationsFolder = Tool:WaitForChild('Animations') local Remotes = Tool:WaitForChild("Remotes") loc...
2,018
Roblox/gear
Roblox-gear-28b88df/src/gear/97161295/src/Client/init.client.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 Player = (game:FindService("Players") or game:GetService("Players")).LocalPlayer local Tool = script....
855
Roblox/gear
Roblox-gear-28b88df/src/gear/97161295/src/Server.server.luau
luau
.luau
--Now with an added search function! (For those who carry a lot of gear) 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 local...
724
Roblox/gear
Roblox-gear-28b88df/src/gear/972187699/src/LocalScript.client.luau
luau
.luau
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") InputButton.Name = ...
1,383
Roblox/gear
Roblox-gear-28b88df/src/gear/972187699/src/RayGun/ProjectileScript.server.luau
luau
.luau
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") Sounds = { Hit = Part:WaitForChi...
1,087
Roblox/gear
Roblox-gear-28b88df/src/gear/972189904/src/Script.server.luau
luau
.luau
local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local Tool = script.Parent local Handle = Tool.Handle local LightAttachment = Handle:FindFirstChild("Light") local SpotLight = LightAttachment:FindFirstChildOfClass("SpotLight") local LightInfo = TweenInfo.new( 0.2, Enu...
1,556
Roblox/gear
Roblox-gear-28b88df/src/gear/97311482/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent local debris=game:GetService("Debris") equipped=false check=true sp.Equipped:connect(function(mouse) if mouse~=nil then equipped=true mouse.Button1Down:connect(function() local chr=sp.Parent if chr and check and equipped then local t=chr...
485
Roblox/gear
Roblox-gear-28b88df/src/gear/97311482/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent scale=.5 jumpcooldown=1 color=BrickColor.new("Toothpaste") transparency=.5 rate=1/30 local lastjump=tick() local debris=game:GetService("Debris") local cf=CFrame.new() function waitfor(a,b,c) local c=c or 5*60 local d=tick()+c while a:FindFirstChild(b...
2,581
Roblox/gear
Roblox-gear-28b88df/src/gear/97712291/src/LocalScript.client.luau
luau
.luau
local gui = script.Parent.TabletGui:Clone() function Equip() gui.Parent = game.Players.LocalPlayer.PlayerGui end function Unequip() gui.Parent = nil end script.Parent.Equipped:connect(Equip) script.Parent.Unequipped:connect(Unequip)
59
Roblox/gear
Roblox-gear-28b88df/src/gear/97712291/src/TabletGui/Frame/Screen/LocalScript.client.luau
luau
.luau
local sn = 1 local slides = {97698868,97701469, 97700362, 97701247 } function rotate() sn = sn + 1 if sn > #slides then sn = 1 end script.Parent.Image = "http://www.roblox.com/asset/?id=" .. slides[sn] end for i=1,#slides do rotate() --preload all the images end script.Parent.MouseButton1Click:connect(rotate)
105
Roblox/gear
Roblox-gear-28b88df/src/gear/97885289/src/LocalScript/Script/StandUpScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent local h=sp:FindFirstChild("Humanoid") if h~=nil then h.PlatformStand=true end wait(4) local h=sp:FindFirstChild("Humanoid") if h~=nil then h.PlatformStand=false end wait(5) script:remove()
72
Roblox/gear
Roblox-gear-28b88df/src/gear/97885289/src/LocalScript/Script/init.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent rate=1/30 bolt={} debris=game:GetService("Debris") check=true wait() for _,v in pairs(sp:GetChildren()) do if v.className=="Part" and v.Name~="EffectWire" then v:BreakJoints() v.Anchored=true table.insert(bolt,v) end end if bolt[2]~=nil then loc...
782
Roblox/gear
Roblox-gear-28b88df/src/gear/97885289/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=.5 range=50 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 lasttrap=nil bolt={} function waitfor(parent,name) while parent:FindFirstChild(name)==nil d...
1,579
Roblox/gear
Roblox-gear-28b88df/src/gear/97885508/src/LocalScript.client.luau
luau
.luau
local equipped = false local setIconCon local Players = game:GetService'Players' local reloadCounter = 0 Cursors = { "http://www.roblox.com/asset/?id=94154683", -- black "http://www.roblox.com/asset/?id= 94154829", -- red "http://www.roblox.com/asset/?id=94155503", "http://www.roblox.com/asset/?id=94155569" } loc...
676
Roblox/gear
Roblox-gear-28b88df/src/gear/97885508/src/Script.server.luau
luau
.luau
-- Made by Stickmasterluke -- edited by fusroblox --[[ Fixed by ArceusInator 2/25/2015 - Now works with FE - Gibs are now properly colored + Characters now spew gory gibs just like other bricks - No longer teamkills - Now registers KOs to the site --]] function WaitForChild(obj, name) while not obj:FindFirstChi...
2,013
Roblox/gear
Roblox-gear-28b88df/src/gear/97885552/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 Modules = Tool:WaitForChild("Modules") Configuration = require(Modules:WaitForChild("Configuration")) Obj...
1,240
Roblox/gear
Roblox-gear-28b88df/src/gear/97885552/src/Modules/Configuration.luau
luau
.luau
--Rescripted by Luckymaxer Configuration = { GunDamage = 25, --Base output damage per shot. FireRate = 0.3, --How often the weapon can fire. Automatic = false, --hold down to continue firing Range = 250, --Max Distance that the weapon can fire. Spread = 1, --The bigger the spread, the more inaccurate the shots wi...
291
Roblox/gear
Roblox-gear-28b88df/src/gear/97885552/src/Modules/Content.luau
luau
.luau
--Rescripted by Luckymaxer Content = { Cursors ={ Normal = "http://www.roblox.com/asset/?id=94154683", --black Target = "http://www.roblox.com/asset/?id=94154829", --red ReloadStatic1 = "http://www.roblox.com/asset/?id=94155503", ReloadStatic2 = "http://www.roblox.com/asset/?id=94155569", }, NumberImages = ...
231
Roblox/gear
Roblox-gear-28b88df/src/gear/97885552/src/Modules/Functions.luau
luau
.luau
--Rescripted by Luckymaxer Functions = {} Players = game:GetService("Players") Debris = game:GetService("Debris") ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Bullet"} function Functions.IsTeamMate(Player1, Player2) return (Player1 and Player2 and not Player1.Neutral and not Playe...
685
Roblox/gear
Roblox-gear-28b88df/src/gear/97885552/src/Modules/Templates.luau
luau
.luau
--Rescripted by Luckymaxer BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.FormFactor = Enum.FormFactor.Custom BasePart.TopSurface = Enum.SurfaceType.Smooth BasePart.BottomSurface = Enum.SurfaceType.Smooth BasePart.Size = Vector3.new(0.2, 0.2, 0.2...
331
Roblox/gear
Roblox-gear-28b88df/src/gear/97885572/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent extrahealth=100 local debris=game:GetService("Debris") check=true function onEquipped(mouse) if mouse~=nil then mouse.Icon="rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() local chr=sp.Parent if chr then local t=chr:FindF...
309
Roblox/gear
Roblox-gear-28b88df/src/gear/98346415/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Mouse = game.Players.LocalPlayer:GetMouse() Tool.Activated:Connect(function() Remote:FireServer(Mouse.Hit.p) end)
45
Roblox/gear
Roblox-gear-28b88df/src/gear/98346415/src/Launcher/Rocket.server.luau
luau
.luau
----------------- --| Constants |-- ----------------- local BLAST_RADIUS = 10 local BLAST_PRESSURE = 350000 -- Rocket will fly through things named these local ROCKET_IGNORE_LIST = {rocket = 1, handle = 1, effect = 1, water = 1} --NOTE: Keys must be lowercase, values must evaluate to true ----------------- --| Varia...
1,004
Roblox/gear
Roblox-gear-28b88df/src/gear/98346415/src/Launcher/init.server.luau
luau
.luau
----------------- --| Constants |-- ----------------- local COOLDOWN = 4 -- Seconds until tool can be used again -- RocketPropulsion Fields local TARGET_RADIUS = 5 local MAX_SPEED = 75 local MAX_TORQUE = Vector3.new(4e6, 4e6, 0) local MAX_THRUST = 50000 local THRUST_P = 500 local THRUST_D = 50000 local TARGET_OVERSH...
1,767
Roblox/gear
Roblox-gear-28b88df/src/gear/98411393/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke --[[ Fixed by ArceusInator 1/22/2015 - Moved the code to server-side to make it FE-compatible. Remade the Energy Bomb tool to make it FE-compatible. --]] sp=script.Parent check=true local debris=game:GetService("Debris") local is=game:GetService("InsertService") hair=99030674 local pal...
753
Roblox/gear
Roblox-gear-28b88df/src/gear/98411393/src/SuperSoundScript.server.luau
luau
.luau
--Made by Stickmasterluke --Surrounds you with serendipity sp=script.Parent local sound=Instance.new("Sound") sound.SoundId="http://www.roblox.com/asset/?id=98332255" sound.Parent=sp local sound2=Instance.new("Sound") sound2.SoundId="http://www.roblox.com/asset/?id=98333808" sound2.Parent=sp wait() ...
124
Roblox/gear
Roblox-gear-28b88df/src/gear/98411436/src/Firescript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent check=true gundamage=12 --Base output damage per shot. firerate=.1 --How often the weapon can fire. automatic=true --hold down to continue firing range=400 --Max distance that the weapon can fire. spread=6 --The bigger the spread, the ...
2,120
Roblox/gear
Roblox-gear-28b88df/src/gear/98411436/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke cursors={ "http://www.roblox.com/asset/?id=50912619", --red --change the cursors "http://www.roblox.com/asset/?id=50912641", --blue "http://www.roblox.com/asset/?id=50911776", --purple reloading="http://www.roblox.com/asset/?id=50911776", } clipsize=45 equipped=false sp=script.Par...
980
Roblox/gear
Roblox-gear-28b88df/src/gear/987005222/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 = 0 local DisplayArrow = nil local RemoteFunction =...
1,086
Roblox/gear
Roblox-gear-28b88df/src/gear/987005222/src/LocalScript.client.luau
luau
.luau
-- Quick fix, update this to be something better in the future local Tool = script.Parent local Character = nil local Humanoid = nil local RemoteFunction = Tool:WaitForChild("RemoteFunction") function RemoteFunction.OnClientInvoke() if not Humanoid then return end return Humanoid.TargetPoint end function Eq...
132
Roblox/gear
Roblox-gear-28b88df/src/gear/987030948/src/Script/BriefcaseScript.server.luau
luau
.luau
Briefcase = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "http://www.roblox.com/asset/?id=" Random = math.random V3 = Vector3.new CF = CFrame.new An = CFrame.Angles BasePart = Create("Part"){ Mater...
1,839
Roblox/gear
Roblox-gear-28b88df/src/gear/987030948/src/Script/init.server.luau
luau
.luau
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 that gives us the nice ...
2,578
Roblox/gear
Roblox-gear-28b88df/src/gear/987032734/src/LocalScript/Drone.luau
luau
.luau
-- Made by StarWars local ContextActionService = game:GetService("ContextActionService") local Players = game:GetService("Players") local Player = Players.LocalPlayer local Camera = workspace.CurrentCamera local Drone = {} Drone.__index = Drone local function SetupControls(self) ContextActionService:BindAction("F...
1,230
Roblox/gear
Roblox-gear-28b88df/src/gear/987032734/src/LocalScript/init.client.luau
luau
.luau
-- Made by StarWars local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Tool = script.Parent local Drone = require(script:WaitForChild("Drone")) local Remotes = Tool:WaitForChild("Remotes") local ServerControl = Remotes:WaitForChild("ServerControl") local ClientControl ...
404
Roblox/gear
Roblox-gear-28b88df/src/gear/987032734/src/Script.server.luau
luau
.luau
-- Made by StarWars local InsertService = game:GetService("InsertService") local Players = game:GetService("Players") local DroneModel = InsertService:LoadAsset(980213529) DroneModel = DroneModel:GetChildren()[1] local Tool = script.Parent local Handle = Tool.Handle local RemoteController = Tool.Remote local Remote...
709
Roblox/gear
Roblox-gear-28b88df/src/gear/99119158/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp = script.Parent local speedboostscript = sp:WaitForChild("SpeedBoostScript") function Equipped() if sp.Parent:FindFirstChild("SpeedBoostScript") == nil then local s = speedboostscript:clone() local tooltag = Instance.new("ObjectValue") tooltag.Name = "ToolTag" tooltag.Value = ...
150
Roblox/gear
Roblox-gear-28b88df/src/gear/99119158/src/SpeedBoostScript.server.luau
luau
.luau
--Made by Stickmasterluke sp = script.Parent speedboost = 1 --100% speed bonus speedforsmoke = 10 --smoke apears when character running >= 10 studs/second. local tooltag = script:WaitForChild("ToolTag",2) if tooltag~=nil then local tool=tooltag.Value local h=sp:FindFirstChild("Humanoid") if h~=nil then h.Wa...
463
Roblox/gear
Roblox-gear-28b88df/src/gear/99119240/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) local MouseInput = Tool:WaitForChild("MouseInput") local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (...
461
Roblox/gear
Roblox-gear-28b88df/src/gear/99119240/src/Server/Vaporize/init.server.luau
luau
.luau
local Character = script.Parent local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (game:FindService("RunService") or game:GetService("RunService")), Debris = (game:FindService(...
274
Roblox/gear
Roblox-gear-28b88df/src/gear/99119240/src/Server/VaporizePart/init.server.luau
luau
.luau
local Object = script.Parent local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (game:FindService("RunService") or game:GetService("RunService")), Debris = (game:FindService("De...
211
Roblox/gear
Roblox-gear-28b88df/src/gear/99119240/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Revamped Periastrons: The Periastron of Crimson Catastrophe 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 Seed = R...
3,602
Roblox/gear
Roblox-gear-28b88df/src/gear/99119261/src/Script.server.luau
luau
.luau
local SLED_ID = 99259472 local SPAWN_OFFSET = CFrame.new(0, 0, -3) local InsertService = game:GetService('InsertService') local Tool = script.Parent local Sled = nil local Torso = nil local function OnEquipped() local character = Tool.Parent Torso = character:FindFirstChild('Torso') or character:FindFirstChild("U...
181
Roblox/gear
Roblox-gear-28b88df/src/gear/99174250/src/CloakingScript.server.luau
luau
.luau
local player = script.Parent local color = player.CloakPart.Value.BrickColor local hats = {} local transparentParts = {} local shirt = player:FindFirstChild("Shirt") local pants = player:FindFirstChild("Pants") local bodyColors = player:FindFirstChild("Body Colors"):clone() local bodyColorsChange = player:...
514
Roblox/gear
Roblox-gear-28b88df/src/gear/99174250/src/ThrowScript.server.luau
luau
.luau
local Tool = script.Parent local enabled = false local humanoid = nil local plushie = nil local touchCon = nil function onEquipped() humanoid = Tool.Parent:FindFirstChild("Humanoid") end function onUnequipped() humanoid = nil end Tool.Equipped:connect(onEquipped) Tool.Unequipped:connect(onUnequi...
504
Roblox/gear
Roblox-gear-28b88df/src/gear/99199463/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,777
Roblox/gear
Roblox-gear-28b88df/src/gear/99206951/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent plr=game.Players.localPlayer colors={"Bright red","Bright green","Really red","Lime green"} firerate=1 range=100 barreloffset=Vector3.new(0,.1,-1.5) --R,U,B rate=1/30 debris=game:GetService("Debris") equipped=false check=true function checkintangible(hit...
1,192
Roblox/gear
Roblox-gear-28b88df/src/gear/99206951/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent function waitfor(parent,name) while parent:FindFirstChild(name)==nil do wait() end return parent:FindFirstChild(name) end local h=waitfor(sp.Parent,"Humanoid") for i=1,10 do h.Sit=true wait(1) end sp:remove()
75
Roblox/gear
Roblox-gear-28b88df/src/gear/99206970/src/AnimationScript.client.luau
luau
.luau
-- 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 Tool = script.Parent local Animations = {} local MyHumanoid local MyCharacter local function PlayAnimation(ani...
358
Roblox/gear
Roblox-gear-28b88df/src/gear/99206970/src/BowScript.server.luau
luau
.luau
local function WaitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local Bow = Tool.Handle local vCharacter local quiver local quiverWeld local arrows = {} local quiverArrow local PlayShoot local LAUNCH_...
1,870
Roblox/gear
Roblox-gear-28b88df/src/gear/99206970/src/OnTouchScript.server.luau
luau
.luau
local arrow = script.Parent local damage = 28 local activated = false function onTouch(hit) if hit.Parent and hit.Name ~= 'arrow' then vChar = hit.Parent humanoid = vChar:FindFirstChild("Humanoid") if humanoid ~= nil then tag = arrow:FindFirstChild("creator") if tag then tag.Parent = humanoid end ...
186
Roblox/gear
Roblox-gear-28b88df/src/gear/99797327/src/LocalScript/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent debris=game:GetService("Debris") wait(3) for i=1,8 do wait(.5) local p=Instance.new("Part") p.Name="Effect" p.CanCollide=true p.Anchored=false p.FormFactor="Custom" p.Size=Vector3.new(1,1,1) p.BrickColor=BrickColor.new("Bright blue") p.Reflect...
200
Roblox/gear
Roblox-gear-28b88df/src/gear/99797327/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent cooldown=10 debris=game:GetService("Debris") check=true function waitfor(parent,name) while parent:FindFirstChild(name)==nil do wait() end return parent:FindFirstChild(name) end lastuse=waitfor(sp,"LastUse") function onEquipped(mouse) equippe...
631
Roblox/gear
Roblox-gear-28b88df/src/gear/99797357/src/BoneDamageScript.server.luau
luau
.luau
local Damage=20 local Handle=script.Parent function TagHumanoid(Humanoid, Player) if Humanoid ~= nil then creatorTag = Instance.new("ObjectValue") creatorTag.Name = "creator" creatorTag.Value = Player creatorTag.Parent = Humanoid game.Debris:AddItem(creatorTag, 2) end end local function weldBetween(a,...
389
Roblox/gear
Roblox-gear-28b88df/src/gear/99797357/src/LocalScript/init.client.luau
luau
.luau
function waitforchild(parent,child) while not parent:FindFirstChild(child) do wait() print(parent.Name .. " Waiting for " .. child) end return parent[child] end local Tool=script.Parent local Handle= waitforchild(Tool,'Handle') local EvilSound = waitforchild(Handle,'evilSound') local BoneScript = waitforchild(Tool, ...
1,474
Roblox/gear
Roblox-gear-28b88df/src/gear/99797381/src/Local Gui.client.luau
luau
.luau
--Made by Stickmasterluke local sp=script.Parent originalgrip=CFrame.new(-0.0500001907, -1.5, 1.74845525e-008, -1, 0, -2.62268344e-007, 0, 1, 0, 2.62268344e-007, 0, -1)--CFrame.new(.15,-2,0)*CFrame.Angles(0,math.pi/2,0) currentgrip=originalgrip enabled=true function waitfor(parent,name) while true do ...
560
Roblox/gear
Roblox-gear-28b88df/src/gear/99797381/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","LeftSlash"} basedamage=2 slashdamage=19 swingdamage=30 damage=basedamage specialready=true lastclick=0 sword=sp.Handle local SlashSound=Instance.new("Sound") SlashSound.So...
1,284
Roblox/gear
Roblox-gear-28b88df/src/gear/99797403/src/LocalScript/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=99815141" local startTime= time() local hum=script.Parent:FindFirstChild('...
518
Roblox/gear
Roblox-gear-28b88df/src/gear/99797403/src/LocalScript/init.client.luau
luau
.luau
function waitforchild(parent,child) while not parent:FindFirstChild(child) do wait() print(parent.Name .. " Waiting for " .. child) end return parent[child] end local Tool=script.Parent local Handle= waitforchild(Tool,'Handle') local shakeSound = waitforchild(Handle,'shakeSound') local pickupScript = waitforchild(s...
1,047
Roblox/gear
Roblox-gear-28b88df/src/gear/99797403/src/LocalScript/pickupScript.server.luau
luau
.luau
function waitforchild(parent,child) while not parent:FindFirstChild(child) do wait() print(parent.Name .. " Waiting for " .. child) end return parent[child] end local Handle=script.Parent function OnTouched(Part) HitHumanoid = Part.Parent:FindFirstChild("Humanoid") myHumanoid = Handle.Parent.Parent:FindFirstChi...
156
Roblox/gear
Roblox-gear-28b88df/src/gear/999861927/src/Script.server.luau
luau
.luau
local Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle local Coin = Handle:Clone() function Activated() if not Tool.Enabled then return end Tool.Enabled = false Handle.Transparency = 1 local NewCoin = Coin:Clone() NewCoin.RotVelocity = Vector3.new(math.random(25, 50), ...
179
Roblox/gear
Roblox-gear-28b88df/src/gear/999864256/src/Script.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool.Handle local Effect = Tool.Effect function Equipped() Effect.Transparency = 0.65 end function Unequipped() Effect.Transparency = 1 end Tool.Equipped:Connect(Equipped) Tool.Unequipped:Connect(Unequipped)
72
Roblox/gear
Roblox-gear-28b88df/src/gear/999864737/src/Script.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool.Handle local Effect = Tool.Effect function Equipped() Effect.Transparency = 0.65 end function Unequipped() Effect.Transparency = 1 end Tool.Equipped:Connect(Equipped) Tool.Unequipped:Connect(Unequipped) Tool:GetPropertyChangedSignal("CanBeDropped"):Connect(function(...
96
Roblox/gear
Roblox-gear-28b88df/src/gear/999865627/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,615
Roblox/gear
Roblox-gear-28b88df/src/gear/999866081/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,688