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/88885497/src/GrenadeScript/init.server.luau
luau
.luau
-- // Updated for R15 avatars by StarWars -- //Fixed Replication issue by TakeoHonorable --remove us if all else fails local Debris = (game:FindService("Debris") or game:GetService("Debris")) local Players = (game:FindService("Players") or game:GetService("Players")) Debris:AddItem(script.Parent, 30) local Tick,Cfr...
2,304
Roblox/gear
Roblox-gear-28b88df/src/gear/88885497/src/Server.server.luau
luau
.luau
local Tool = script.Parent Tool.Enabled = true local Players = (game:FindService("Players") or game:GetService("Players")) local Instant,Pairs,Type,Tick,wrap,Delay,Wait,Pcall = Instance.new,pairs,type,tick,coroutine.wrap,delay,wait,pcall local Cframe,Angles,Vec3,huge,abs,atan,sqrt,min,sin,cos,pi = CFrame.new,CFrame....
1,463
Roblox/gear
Roblox-gear-28b88df/src/gear/88885506/src/SpyTool.client.luau
luau
.luau
--Edited by QS local height = 300 local zoomLevels = 7 local spyTool = script.Parent local spyHandle = spyTool.Handle local vChar local Torso, Head local RightArm local Weld local equipAnim local theCam local satellitePosition local camPartCopy local zoom = 0 local camPart = Instance.new("Part") cam...
1,160
Roblox/gear
Roblox-gear-28b88df/src/gear/88885524/src/GrenadeScript/init.server.luau
luau
.luau
game.Debris:AddItem(script.Parent, 30) ---------------------------------------- local Grenade = script.Parent local GrenadeScript = Grenade:WaitForChild("GrenadeScript") local Creator = GrenadeScript:WaitForChild("creator").Value local ExplodeSound = Grenade:WaitForChild("ExplodeSound") local Character = Creator.Char...
930
Roblox/gear
Roblox-gear-28b88df/src/gear/88885524/src/LocalMain.client.luau
luau
.luau
local Tool = script.Parent local Character; local Player; local Humanoid = nil local RELOAD_TIME = 2 local Handle = Tool:WaitForChild("Handle") local NextFireAt = Tool:WaitForChild("NextFireAt") local ThrowSound = Handle:WaitForChild("ThrowSound") local GrenadeScript = Tool:WaitForChild("GrenadeScript") local Explo...
1,172
Roblox/gear
Roblox-gear-28b88df/src/gear/88885539/src/LocalScript.client.luau
luau
.luau
--Rescripted by StarWars local Player = game.Players.LocalPlayer local COOL_DOWN = 20 local TALKING_GRIP = CFrame.new(0.121005774, -1.07626426, 1.151003, -0.571957648, 0.032301072, -0.819646955, 0.0999610648, 0.994521916, -0.0305611696, 0.814169705, -0.0994124785, -0.572053254) local HOLDING_GRIP = CFrame.new(-0.32923...
574
Roblox/gear
Roblox-gear-28b88df/src/gear/88885539/src/Script/Airstrike/Jet/Bomb.luau
luau
.luau
--Created by StarWars local Bomb = {} Bomb.__index = Bomb local BLAST_RADIUS = 19 local BLAST_PRESSURE = 2*10^6 local CreatorValue = Instance.new("ObjectValue") CreatorValue.Name = "creator" local function CreateBomb(jet) local BombPart = Instance.new("Part") BombPart.Name = "Effect" BombPart.Size = Vector3.new(3...
677
Roblox/gear
Roblox-gear-28b88df/src/gear/88885539/src/Script/Airstrike/Jet/init.luau
luau
.luau
--Created by StarWars local Bomb = require(script.Bomb) local Jet = {} Jet.__index = Jet local JET_HEIGHT = 200 local JET_DISTANCE = 2000 local JET_SPEED = 300 local JET_DROP_RANGE = 550 local GRAVITY = workspace.Gravity local WAIT_TIME = 1/60 local function CreateJet(player, location) local Model = Instance.new("...
1,350
Roblox/gear
Roblox-gear-28b88df/src/gear/88885539/src/Script/Airstrike/init.luau
luau
.luau
--Created by StarWars local Airstrike = {} local Jet = require(script.Jet) function Airstrike:Spawn(player, location) local LocationPart = Instance.new("Part") LocationPart.Name = "Effect" LocationPart.Anchored = true LocationPart.CanCollide = false LocationPart.Size = Vector3.new(0, 0, 0) LocationPart.BrickCol...
280
Roblox/gear
Roblox-gear-28b88df/src/gear/88885539/src/Script/init.server.luau
luau
.luau
--Rescripted by StarWars local Tool = script.Parent local Airstrike = require(script.Airstrike) local COOL_DOWN = 20 local LastStrike = 0 local OnMouseClickEvent = Instance.new("RemoteEvent") OnMouseClickEvent.Name = "OnMouseClick" OnMouseClickEvent.OnServerEvent:connect(function(player, location) if tick() - LastS...
117
Roblox/gear
Roblox-gear-28b88df/src/gear/891900286/src/Script.server.luau
luau
.luau
-- // Made by StarWars local Debris = game:GetService("Debris") local Players = game:GetService("Players") local Tool = script.Parent local Handle = Tool.Handle local Player = nil local Character = nil local Humanoid = nil local RootPart = nil local RELOAD_TIME = 5 local FUSE_TIME = 2 local THROW_POWER = 50 loc...
1,046
Roblox/gear
Roblox-gear-28b88df/src/gear/891924036/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") 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 SwordData = Sword.SwordFunctio...
620
Roblox/gear
Roblox-gear-28b88df/src/gear/892001727/src/Handle/FireworksScript.server.luau
luau
.luau
--Made by Stickmasterluke --This code got messy quick. Forgive me local sp=script.Parent local launcher=sp local debris=game:GetService("Debris") local bang4=launcher:WaitForChild("Bang4") local pop2=launcher:WaitForChild("Pop2") local fountain=launcher:WaitForChild("Fountain") local bangsounds={160248459,1602...
2,212
Roblox/gear
Roblox-gear-28b88df/src/gear/892001727/src/Script.server.luau
luau
.luau
--Stickmasterluke --[[ Fixed by ArceusInator - Works in FE --]] sp=script.Parent local debris=game:GetService("Debris") local equipped=false local check=true function onEquipped() equipped=true end function onUnequipped() equipped=false end function onActivated() local chr=sp.Parent if chr and check then ...
515
Roblox/gear
Roblox-gear-28b88df/src/gear/892003497/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,477
Roblox/gear
Roblox-gear-28b88df/src/gear/89203876/src/BindScript.server.luau
luau
.luau
local bind_time = 5 local Debris = Game:GetService("Debris") local BodyPart = script.Parent local Humanoid do if BodyPart.Parent then for i,v in pairs(BodyPart.Parent:GetChildren()) do if v:IsA"Humanoid" then Humanoid = v break end end end end if Humanoid then local oWalkSpeed = ...
582
Roblox/gear
Roblox-gear-28b88df/src/gear/89203876/src/BurnScript.server.luau
luau
.luau
local damage = 2 local interval = 0.5 local Debris = Game:GetService("Debris") local BodyPart = script.Parent local Humanoid do if BodyPart.Parent then for i,v in pairs(BodyPart.Parent:GetChildren()) do if v:IsA"Humanoid" then Humanoid = v break end end end end if Humanoid then ...
241
Roblox/gear
Roblox-gear-28b88df/src/gear/89390416/src/LocalScript.client.luau
luau
.luau
--Rescripted by StarWars local Player = game.Players.LocalPlayer local COOL_DOWN = 20 local LastClick = 0 local function OnEquipped(mouse) if mouse then if tick() - COOL_DOWN > LastClick then mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(LastClick - (tick() - COOL_DOWN)) mouse.Icon="rbxasset:/...
237
Roblox/gear
Roblox-gear-28b88df/src/gear/89390416/src/Script/DroneScript.server.luau
luau
.luau
--Rescripted by StarWars local Drone = script.Parent local DAMAGE = 2 local Alive = true local Head = Drone:WaitForChild("Head") local Humanoid = Drone:WaitForChild("Humanoid") local Torso = Drone:WaitForChild("Torso") local Creator = Drone:WaitForChild("creator") local function FindNearestTarget() local Closest =...
578
Roblox/gear
Roblox-gear-28b88df/src/gear/89390416/src/Script/init.server.luau
luau
.luau
--Rescripted by StarWars local Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle local Player = nil local Humanoid = nil local OnCoolDown = false local COOL_DOWN = 14 local AMOUNT_OF_DRONES = 9 local function CreateDrone() local Model = Instance.new("Model") Model.Name = "A...
620
Roblox/gear
Roblox-gear-28b88df/src/gear/89390459/src/LocalScript.client.luau
luau
.luau
--// Redone for R15 avatars by StarWars local Tool = script.Parent local MouseClick = Tool:WaitForChild("MouseClick") local Firerate = 0.7 local Player = game.Players.LocalPlayer local function OnEquipped(mouse) local Torso = Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("UpperTorso") ...
183
Roblox/gear
Roblox-gear-28b88df/src/gear/89390459/src/Script.server.luau
luau
.luau
--// Redone for R15 avatars by StarWars local Debris = game:GetService('Debris') local Tool = script.Parent local RemoteEvent = Instance.new("RemoteEvent") RemoteEvent.Name = "MouseClick" RemoteEvent.Parent = Tool local Firerate = 0.7 local Power = 150 local Rate = 1/30 local Damage = 15 local LastFireTime = tick() ...
1,335
Roblox/gear
Roblox-gear-28b88df/src/gear/89487903/src/Handle/waitBin/stickScript.server.luau
luau
.luau
function waitForChild(obj,name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local TimePlaced = time() local MyPart = script.Parent local RipOutDamage = 15 while not MyPart:FindFirstChild("HorrorAxe") do -- print("waiting for horror axe"...
500
Roblox/gear
Roblox-gear-28b88df/src/gear/89487903/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke --A nice simple axe function waitForChild(obj,name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local sp=script.Parent local sword=waitForChild(sp,"Handle") enabled=true taunting=false function onButton1Down(mouse) if ...
324
Roblox/gear
Roblox-gear-28b88df/src/gear/89487903/src/SwordScript.server.luau
luau
.luau
-- Stickmasterluke -- A nice simple axe function WaitForChild(obj, name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local Tool = script.Parent local Damage = 25 local Sword = Tool.Handle local Hitbox = Sword:FindFirstChild("stickbox") ...
1,107
Roblox/gear
Roblox-gear-28b88df/src/gear/89487903/src/localScript.client.luau
luau
.luau
function WaitForChild(obj, name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local Tool = script.Parent local Sword = WaitForChild(Tool, "Handle") local RunServe = game:service("RunService") -- time last key was pressed local LastWDown = 0...
378
Roblox/gear
Roblox-gear-28b88df/src/gear/89487934/src/Server/Freeze/init.server.luau
luau
.luau
local Self = script local world = workspace local Target = Self:WaitForChild("Target").Value local Sounds = { IceCrack = Self:WaitForChild("IceCrack"), Shatter = Self:WaitForChild("Shatter") } local StoneShirt,StonePants,StoneColors = Self:WaitForChild("StoneShirt"),Self:WaitForChild("StonePants"),Self:WaitForChi...
1,308
Roblox/gear
Roblox-gear-28b88df/src/gear/89487934/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --local Angle = math.acos(Facing:Dot(Vector)) (Is in radians) 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 Propert...
1,262
Roblox/gear
Roblox-gear-28b88df/src/gear/89488524/src/GhostScript/GhostLocal/init.client.luau
luau
.luau
local RbxUtility = LoadLibrary('RbxUtility') local Create = RbxUtility.Create ------------------------------------------ local function WaitFor(parent) return setmetatable({}, { __index = function(tb, child) return function() while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end ...
447
Roblox/gear
Roblox-gear-28b88df/src/gear/89488524/src/GhostScript/init.server.luau
luau
.luau
local RbxUtility = LoadLibrary('RbxUtility') local Create = RbxUtility.Create local creator = script:WaitForChild('creator') local Ghost = script.Parent repeat wait() until creator.Value local Player = creator.Value local Character = Player.Character local Humanoid = Character.Humanoid local Alive = true local Health...
1,803
Roblox/gear
Roblox-gear-28b88df/src/gear/89488524/src/LocalMain.client.luau
luau
.luau
local Tool = script.Parent local Character = nil local Player = game.Players.LocalPlayer local CurrentGhost = Player:WaitForChild('CurrentGhost') local Clicked = false local SpawnGhostEvent = script.Parent:WaitForChild("SpawnGhost") --------------------------------------- Tool.Equipped:connect(function(mouse) --set...
193
Roblox/gear
Roblox-gear-28b88df/src/gear/89488524/src/Script.server.luau
luau
.luau
local Tool = script.Parent local GhostScript = Tool.GhostScript local CurrentGhost = nil local Character = nil local SpawnGhostEvent = Instance.new("RemoteEvent") SpawnGhostEvent.Name = "SpawnGhost" SpawnGhostEvent.OnServerEvent:connect(function(player) if CurrentGhost.Value then return end if Character ~= player.C...
263
Roblox/gear
Roblox-gear-28b88df/src/gear/89491407/src/GrenadeScript.server.luau
luau
.luau
-- // Updated for R15 avatars by StarWars 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 Grenade = script.Parent local creator = script:WaitForChild...
2,044
Roblox/gear
Roblox-gear-28b88df/src/gear/89491407/src/Server.server.luau
luau
.luau
-- // Updated for R15 avatars by StarWars 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 Character; l...
1,073
Roblox/gear
Roblox-gear-28b88df/src/gear/90211299/src/LocalScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animation = Tool:WaitForChild("Animation") local Animations = { ClawsUp = Tool:WaitForChild("Animation"), R15ClawsUp = Tool:WaitForChild("R15Animation") } AnimState = Tool:WaitForChild("AnimS...
342
Roblox/gear
Roblox-gear-28b88df/src/gear/90211299/src/TigerScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") AnimState = Tool:WaitForChild("AnimState") AnimState.Value = false Players = game:GetService("Players") Debris = game:GetService("Debris") HitEnabled = false LionHat = Instance.new("Part") LionHat.Name = "LionHat" LionHat.Material...
1,530
Roblox/gear
Roblox-gear-28b88df/src/gear/90220371/src/Script/DartScript.server.luau
luau
.luau
--Rescripted by StarWars local Debris = game:GetService("Debris") local DartTrap = script.Parent local CHECK_RATE = 0.1 local FIRE_RATE = 3 local RANGE = 100 local DAMAGE = 45 local WIND_VECTOR = Vector3.new(2, -1, 1).Unit local RATE = 1/20 local Creator = DartTrap:WaitForChild("creator") local function DrawBeam(s...
1,065
Roblox/gear
Roblox-gear-28b88df/src/gear/90220371/src/Script/init.server.luau
luau
.luau
--Rescripted by StarWars local Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle local Player = nil local Humanoid = nil local COOL_DOWN = 20 local TRAP_STAND_TIME = 120 local LastClick = 0 local function CreateDartTrap() local DartTrap = Handle:Clone() DartTrap.Name = "Dar...
470
Roblox/gear
Roblox-gear-28b88df/src/gear/90220438/src/grappleScript.client.luau
luau
.luau
--Edited by QS local maxDistance = 300 local canFireWhileGrappling = false local Tool = script.Parent; local torso = nil local human = nil local bolt = nil local targetPos = Vector3.new(0,0,0) local boltconnect = nil local holdweld = nil local defaultPos = Vector3.new(0,-.09,1.1) local adjustedPos = Vector3.new(0,0...
2,242
Roblox/gear
Roblox-gear-28b88df/src/gear/903197575/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") 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 SwordData = Sword.SwordFunctio...
583
Roblox/gear
Roblox-gear-28b88df/src/gear/903199054/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") 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 SwordData = Sword.SwordFunctio...
583
Roblox/gear
Roblox-gear-28b88df/src/gear/904534058/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") Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("Clie...
992
Roblox/gear
Roblox-gear-28b88df/src/gear/904534702/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") SpeedBoostGui = script:WaitForChild("SpeedBoostGui") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSurface = E...
2,626
Roblox/gear
Roblox-gear-28b88df/src/gear/90718350/src/BearScript/init.server.luau
luau
.luau
--The beast has been slain!(Server-crashing bug fixed) 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 Services = { Players = (game:FindService("Play...
2,121
Roblox/gear
Roblox-gear-28b88df/src/gear/90718350/src/LocalScript.client.luau
luau
.luau
local Cursors = { "http://www.roblox.com/asset/?id=90875398",--50912619", -- red -- change the cursors "http://www.roblox.com/asset/?id=50912641", -- blue "http://www.roblox.com/asset/?id=90875896", -- purple Reloading = "http://www.roblox.com/asset/?id=90875896", }--50911776", } local Tool = script.Parent script.Par...
249
Roblox/gear
Roblox-gear-28b88df/src/gear/90718350/src/Script.server.luau
luau
.luau
-- Made by Stickmasterluke -- edited by fusroblox --[[ Fixed by ArceusInator 1/23/2015 - Made it work with FE --]] function WaitForChild(obj, name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local Reloading = "http://www.roblox.com/ass...
571
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/ExponentialRocketLauncher.server.luau
luau
.luau
--[[ Fixed by ArceusInator 1/22/2015 Made it actually work, made it compatible with FE --]] -------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while no...
767
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/GunCursor.client.luau
luau
.luau
local Tool = script.Parent local StillEquipped = false function onEquippedLocal(mouse) StillEquipped = true if not mouse then return end mouse.Button1Down:connect(function() Tool.ClickyClick:FireServer(mouse.Hit) end) while StillEquipped do mouse.Icon = 'rbxasset://textures/GunCursor.png' while Tool.En...
178
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/Handle/FirstRocket.server.luau
luau
.luau
-------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] en...
1,430
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/Handle/MotherRocket/ChildRocket/ChildRocket.server.luau
luau
.luau
-------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] en...
1,137
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/Handle/MotherRocket/ChildRocket/PermaWeld/init.server.luau
luau
.luau
-- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Weld = WaitForChild(script, 'ChildToMother') local fun...
233
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/Handle/MotherRocket/MotherRocket.server.luau
luau
.luau
-------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] en...
1,550
Roblox/gear
Roblox-gear-28b88df/src/gear/90718505/src/Handle/MotherRocket/PermaWeld/init.server.luau
luau
.luau
-- Waits for parent.child to exist then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: parent is nil") while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Weld = WaitForChild(script, 'MotherToHandle') local fu...
233
Roblox/gear
Roblox-gear-28b88df/src/gear/90718618/src/ProtectionSphereScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") Sounds = { ShutDown = Tool:WaitForChild("ShutDown"), PoweringUp = Tool:WaitForChild("PoweringUp"), Deflect = Tool:WaitForC...
3,044
Roblox/gear
Roblox-gear-28b88df/src/gear/90718686/src/Server/RockFist/init.server.luau
luau
.luau
local Meteor = script.Parent local Creator = script:WaitForChild("Creator",10).Value local Services = { Players = (game:FindService("Players") or game:GetService("Players")), Debris = (game:FindService("Debris") or game:GetService("Debris")) } Services.Debris:AddItem(Meteor,30) -- Safety net for _,sounds in pairs...
758
Roblox/gear
Roblox-gear-28b88df/src/gear/90718686/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent Tool.Enabled = true local MouseLoc = Tool:WaitForChild("MouseLoc",10) local Handle = Tool:WaitForChild("Handle",10) local RockFistScript = script:WaitForChild("RockFist",10) local Sounds = { Summon = Handle:WaitForChild("Summon",10), } local Services = { ...
1,020
Roblox/gear
Roblox-gear-28b88df/src/gear/91294485/src/LocalScript.client.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 sitting_on_character = false --Terrible failed exp...
1,492
Roblox/gear
Roblox-gear-28b88df/src/gear/91360028/src/AnimateArmScript.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 print('Starting doll') local MyHumanoid = WaitForChild(script.Parent, 'Humanoid') local RecoilAnim = WaitForChild(sc...
144
Roblox/gear
Roblox-gear-28b88df/src/gear/91360028/src/AnimateSlashScript.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 print('Starting doll') local MyHumanoid = WaitForChild(script.Parent, 'Humanoid') local RecoilAnim = WaitForChild(sc...
141
Roblox/gear
Roblox-gear-28b88df/src/gear/91360028/src/MarionetteScript.client.luau
luau
.luau
----------- Marionette -------------- -- Waits for the child of the specified parent function WaitForChild(parent, childName) while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end return parent[childName] end local Tool = script.Parent local Handle = WaitForChild(Tool, 'Handle') local PlayersSe...
2,118
Roblox/gear
Roblox-gear-28b88df/src/gear/91360052/src/ControllerScript/OutfitSelectorGui/GuiSelector/OutfitScript/init.server.luau
luau
.luau
--By QuantumSama local DURATION = 30 function WaitForChild(parent, child) local result = parent:FindFirstChild(child) delay(3,function() if not result then print("Warning: Long wait for", child) end end) while not result do parent.ChildAdded:wait() result = parent:FindFirstChild(child) end return result end ...
922
Roblox/gear
Roblox-gear-28b88df/src/gear/91360052/src/ControllerScript/OutfitSelectorGui/GuiSelector/SelectorScript.client.luau
luau
.luau
--By QuantumSama local TargetRef = script.Parent.CharRef local Gui = script.Parent local OutfitButtons = {Gui.Outfit1, Gui.Outfit2, Gui.Outfit3, Gui.Outfit4} local CloseButton = Gui.Close function KillGui() Gui.Parent:Destroy() end CloseButton.MouseButton1Click:connect(KillGui) local debounce = false for i, but...
198
Roblox/gear
Roblox-gear-28b88df/src/gear/91360052/src/ControllerScript/init.client.luau
luau
.luau
--By QuantumSama function WaitForChild(parent, child) local result = parent:FindFirstChild(child) delay(3,function() if not result then print("Warning: Long wait for", child) end end) while not result do parent.ChildAdded:wait() result = parent:FindFirstChild(child) end return result end function WaitForChil...
513
Roblox/gear
Roblox-gear-28b88df/src/gear/91360081/src/GloveScript.server.luau
luau
.luau
-- Miiiinndd the drop! local Workspace = game.Workspace local Debris = game.Debris local Radius = 10 local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local PowerUp = Handle:WaitForChild("PowerUp") local PowerDown = Handle:WaitForChild("PowerDown") local UseSound = Handle:Wai...
1,460
Roblox/gear
Roblox-gear-28b88df/src/gear/91360081/src/LocalGloveScript.client.luau
luau
.luau
local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local function PlayRandomAnimation(TrackTable) TrackTable[math.random(1, #TrackTable)]:Play() end local function ClearAnimations(TrackTable) for i = 1, #TrackTable do TrackTable[i]:...
405
Roblox/gear
Roblox-gear-28b88df/src/gear/91360104/src/Client.client.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent local PlayerClick = Tool:WaitForChild("MouseClick",10) local PlayerMouse = game:GetService("Players").LocalPlayer:GetMouse() function Activated() --Step 1 Check on the client to help reduce latency local Hit = PlayerMouse.Target if not Hit or not Hit.Pare...
154
Roblox/gear
Roblox-gear-28b88df/src/gear/91360104/src/Server/StopHittingYourself/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Character = script.Parent local CreatorTag = script:WaitForChild("creator",10).Value local AttachmentTag = script:WaitForChild("Attachment",10).Value local ToolTag = script:WaitForChild("Tool",10).Value local CreatorHumanoid = CreatorTag.Character:FindFirstChildOfClass("Humanoi...
837
Roblox/gear
Roblox-gear-28b88df/src/gear/91360104/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent Tool.Enabled = true local Handle = Tool:WaitForChild("Handle",10) local RayAttachment = Handle:WaitForChild("RayAttachment",10) local RayBeam = Handle:WaitForChild("RayBeam",10) local MouseClick = Tool:WaitForChild("MouseClick",10) local StopHittingScript...
763
Roblox/gear
Roblox-gear-28b88df/src/gear/91445347/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent rate=1/30 time=2 radius=15 heal=100 local debris=game:GetService("Debris") humanoids={} while (sp.Velocity).magnitude>.1 do wait(.25) end sp.Anchored=true sp.CanCollide=false p=Instance.new("Part") p.Anchored=true p.CanCollide=false p.FormFactor="Custom" ...
605
Roblox/gear
Roblox-gear-28b88df/src/gear/91445669/src/LeftWing/Script.server.luau
luau
.luau
script.Parent:Remove()
5
Roblox/gear
Roblox-gear-28b88df/src/gear/91445669/src/LocalScript/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent function waitfor(a,b) while a:FindFirstChild(b)==nil do wait() end return a:FindFirstChild(b) end wait() damagetag=waitfor(sp,"DamageTag") ct=waitfor(sp,"creator") local weld=sp:FindFirstChild("Weld") if weld~=nil then if weld.Part0~=nil then hit=weld...
264
Roblox/gear
Roblox-gear-28b88df/src/gear/91445669/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent speed=2 topspeed=50 rapidfiredamage=12 range=400 rate=1/30 barreloffset=Vector3.new(-.05,.5,-1.5) windvec=Vector3.new(2,-1,1).unit chargemode=1 rapidfiremode=2 inertia=1-(speed/topspeed) debris=game:GetService("Debris") equipped=false flying=f...
4,145
Roblox/gear
Roblox-gear-28b88df/src/gear/91445669/src/SoundScript.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 playsound=waitfor(sp,"PlaySound") soundname=waitfor(playsound,"SoundName") handle=waitfor(sp,"Handle") playsound.Changed:connect(functi...
105
Roblox/gear
Roblox-gear-28b88df/src/gear/91517984/src/SawSword LS.client.luau
luau
.luau
math.randomseed(tick()) local Tool = script.Parent local Sword = Tool.Handle local myCharacter local myPlayer local myHumanoid local myTorso local myRightArm local myRightGrip local debris = game:GetService("Debris") local runServ = game:GetService("RunService") local SlashSound = Instance.new("Sound") SlashSound.S...
1,635
Roblox/gear
Roblox-gear-28b88df/src/gear/91518057/src/LaserBlast.server.luau
luau
.luau
ball = script.Parent damage = 10 HitSound = Instance.new("Sound") HitSound.Name = "HitSound" HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266" HitSound.Parent = ball HitSound.Volume = 1 function onTouched(hit) local humanoid = hit.Parent:findFirstChild("Humanoid") if humanoid ~= nil the...
264
Roblox/gear
Roblox-gear-28b88df/src/gear/91518057/src/RayGun.server.luau
luau
.luau
local Tool = script.Parent; enabled = true local spark = Instance.new("Sparkles") spark.Color = Color3.new(0,1,0) function fire(v) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local missile = Instance.new("Part") --spark:Clone().Parent = missile local spawnPo...
788
Roblox/gear
Roblox-gear-28b88df/src/gear/91658290/src/LocalScript.client.luau
luau
.luau
-- Made by Stickmasterluke -- edited by fusroblox function WaitForChild(obj, name) while not obj:FindFirstChild(name) do wait() print("1waiting for " .. name) end return obj:FindFirstChild(name) end local Reloading = "http://www.roblox.com/asset/?id=50911776" local Cursors = { "http://www.roblox.com/asset/?i...
1,110
Roblox/gear
Roblox-gear-28b88df/src/gear/92142799/src/Handle/PhoenixScript.server.luau
luau
.luau
--Phoenix settings are here local Aggressive = true --Phoenix will attack enemies local SmallDamage = 15 local LargeDamage = 25 --Does more damage while tool is equipped local AttackRange = 40 local ShortReload = 2.5 --Shoots faster if given an assigned area to move to local LongReload = 4 local EquipReloadBonus = -1.2...
2,654
Roblox/gear
Roblox-gear-28b88df/src/gear/92142799/src/ToolScript.server.luau
luau
.luau
local PhoenixDuration = 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 WaitFo...
1,194
Roblox/gear
Roblox-gear-28b88df/src/gear/92142829/src/BeamSwordScript.server.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 Handle = Tool.Handle local Character = nil local OnSound = WaitForChild(Handle, "LightsaberOn") local OffSound = WaitForChild(Handle, "LightsaberOff") ...
496
Roblox/gear
Roblox-gear-28b88df/src/gear/92142829/src/LocalBeamSwordScript.client.luau
luau
.luau
local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local function PlayRandomAnimation(TrackTable) TrackTable[math.random(1, #TrackTable)]:Play() end local function ClearAnimations(TrackTable) for i = 1, #TrackTable do TrackTable[i]:...
554
Roblox/gear
Roblox-gear-28b88df/src/gear/92142841/src/LocalScript/init.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 ArtemisGui = script:WaitForChild("ArtemisGui") Animations = {} LocalObjects = {} Sounds = { Wings = Ha...
3,118
Roblox/gear
Roblox-gear-28b88df/src/gear/92142841/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer --Made by Stickmasterluke Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") RunService = game:GetService("RunService") Debris = game:GetService("Debris") DisplayModel = Tool:FindFirstChild("DisplayModel") if Di...
3,772
Roblox/gear
Roblox-gear-28b88df/src/gear/92142950/src/Glider_LocalMain.client.luau
luau
.luau
--[[ Fixed by ArceusInator. Now replicates, follows mouse cursor, drops bombs properly. --]] --imports local RbxUtility = LoadLibrary('RbxUtility') local Create = RbxUtility.Create --main vars local Tool = script.Parent local Equipped = false local Flying = false local UIS, CAS = game:GetService'UserInputService', ...
2,133
Roblox/gear
Roblox-gear-28b88df/src/gear/92627975/src/GunCursor.client.luau
luau
.luau
local 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/GunW...
156
Roblox/gear
Roblox-gear-28b88df/src/gear/92627975/src/Handle/FalconScript.server.luau
luau
.luau
--Falcon settings are here local Aggressive = true --Falcon will attack enemies local SmallDamage = 8 local LargeDamage = 16 --Does more damage while tool is equipped local ShortReload = 1.5 --Shoots faster if given an assigned area to move to local LongReload = 2.25 local EquipReloadBonus = -1.25 --Shoots faster when ...
2,650
Roblox/gear
Roblox-gear-28b88df/src/gear/92627975/src/Handle/LaserBurn/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") fire.Parent = victim.Parent:FindFirstChild("Torso") or victim.Parent:FindFirstChild("UpperTorso") for i = 1, 8 do if not fire or not fire.Enabled or not victim or...
123
Roblox/gear
Roblox-gear-28b88df/src/gear/92627975/src/Handle/LaserBurn/init.server.luau
luau
.luau
local Laser = script.Parent local BurnScript = script.Burning local Creator = script.Creator.Value -- OnTouched: Do damage and move BurnScript Laser.Touched:connect(function(otherPart) if otherPart and otherPart.Parent and otherPart.Parent:IsA("Model") then local otherModel = otherPart.Parent if otherModel ~= Cre...
139
Roblox/gear
Roblox-gear-28b88df/src/gear/92627975/src/ToolScript.server.luau
luau
.luau
local FalconDuration = 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 WaitFor...
1,158
Roblox/gear
Roblox-gear-28b88df/src/gear/92627988/src/MorningStarScript.server.luau
luau
.luau
local Tool = script.Parent local Mace = Tool.Handle Tool.Enabled = true local vCharacter local staticDamage = 16 local damage = 16 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/92628074/src/Firescript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent check=true gundamage=30 --Base output damage per shot. firerate=.3 --How often the weapon can fire. automatic=false --hold down to continue firing range=250 --Max distance that the weapon can fire. spread=3 --The bigger the sp...
2,013
Roblox/gear
Roblox-gear-28b88df/src/gear/92628074/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=14 equipped=false sp...
929
Roblox/gear
Roblox-gear-28b88df/src/gear/92628079/src/Script/StunScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Debris = game:GetService("Debris") if Character and Humanoid then local OrigSpeed = Humanoid.WalkSpeed humanoid.WalkSpeed = 0 wait(2) Humanoid.WalkSpeed = OrigSpeed end Debris:AddItem(script, 2)
87
Roblox/gear
Roblox-gear-28b88df/src/gear/92628079/src/Script/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Shield = Tool:WaitForChild("Shield") Players = game:GetService("Players") Debris = game:GetService("Debris") Damage = 30 StunBonus = 8 Meshes = { Blade = "http://www.roblox.com/asset/?id=92541982...
3,559
Roblox/gear
Roblox-gear-28b88df/src/gear/92628079/src/SwordScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") AnimationTracks = {} function PlayAnimation(Anim, Speed)...
471
Roblox/gear
Roblox-gear-28b88df/src/gear/928794651/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") 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 = ...
1,044
Roblox/gear
Roblox-gear-28b88df/src/gear/928796097/src/Script.server.luau
luau
.luau
--Made by Luckymaxer local Display = script.Parent:FindFirstChild("Display") if Display then Display:Destroy() end Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data Base...
5,074
Roblox/gear
Roblox-gear-28b88df/src/gear/928806888/src/Script.server.luau
luau
.luau
local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Tool = script.Parent local Handle = Tool.Handle if not Handle then return end local Character = nil local RightHand = nil local SpinningConn = nil local SPIN_SPEED = 1500 local SLOW_DOWN_RATE = 50 local CurrentSpeed =...
394
Roblox/gear
Roblox-gear-28b88df/src/gear/928913996/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
2,282
Roblox/gear
Roblox-gear-28b88df/src/gear/928914739/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then err...
2,100