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/109583797/src/LocalScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ClientControl.OnClientInvoke = (function(Mode, Value) if Mode == "PlayAnim...
430
Roblox/gear
Roblox-gear-28b88df/src/gear/109583797/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...
1,989
Roblox/gear
Roblox-gear-28b88df/src/gear/109583822/src/GuiInsert/init.client.luau
luau
.luau
--[[Super Util]]-- function WaitForChild(parent,child) while not parent:FindFirstChild(child) do wait(1/30) end return parent[child] end function MakeValue(class,name,value,parent) local temp = Instance.new(class) temp.Name = name temp.Value = value temp.Parent = parent return temp end --[[Constants]]-- loc...
240
Roblox/gear
Roblox-gear-28b88df/src/gear/109583822/src/LocalScript.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 MyHumanoid local IsPlayingMusic = false local KeyDownConnection local KeyUpConnection local ShiftDown = false local MyPlayer ...
1,724
Roblox/gear
Roblox-gear-28b88df/src/gear/109583846/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke local sp=script.Parent tauntcooldown=10 originalgrip=CFrame.new(0, -1, 0.2, 1, 0, 0, 0, 1, 0, 0, 0, 1) currentgrip=originalgrip debris=game:GetService("Debris") enabled=true taunting=false lasttaunt=0 function waitfor(parent,name) while true do local child=parent:FindFirstChild(name...
919
Roblox/gear
Roblox-gear-28b88df/src/gear/109583846/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=5 slashdamage=10 swingdamage=15 damage=basedamage sword=sp.Handle sp.Taunting.Value=false local SlashSound=Instance.new("S...
1,200
Roblox/gear
Roblox-gear-28b88df/src/gear/110204666/src/BookScript.client.luau
luau
.luau
local Tool = script.Parent local Book = Tool.Handle local vCharacter local vTorso local vHumanoid local vPlayer local PlayerGui Tool.Enabled = true local GZGui local GZGui_Id = 110078313 local GZFrame local RBX_InsertService = Game:GetService("InsertService") local RBX_AssetLoader = RBX_InsertService.LoadAsset ...
586
Roblox/gear
Roblox-gear-28b88df/src/gear/110204666/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent local debris=game:GetService("Debris") equipped=false check=true function onEquipped(mouse) if mouse~=nil then equipped=true if mouse~=nil then if check then mouse.Icon="rbxasset://textures\\ArrowCursor.png" else mouse.Icon="rbxasset://texture...
577
Roblox/gear
Roblox-gear-28b88df/src/gear/1102656209/src/Script.server.luau
luau
.luau
local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local BubbleTroubleRobot = InsertService:LoadAsset(1102850213) BubbleTroub...
267
Roblox/gear
Roblox-gear-28b88df/src/gear/1103011681/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) --local MouseInput = Tool:WaitForChild("MousePos",10) local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService ...
331
Roblox/gear
Roblox-gear-28b88df/src/gear/1103011681/src/Server/SkeleScript/init.server.luau
luau
.luau
--Made by TakeoHonorable local Properties = { DetectionRange = 75, Damage = 15, RefreshRate = 1/10, Attack_Speed = .3 } local Self = script local world = workspace local Char = Self.Parent local Hum = Char:FindFirstChildOfClass("Humanoid") Hum.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOn Hum.Di...
2,822
Roblox/gear
Roblox-gear-28b88df/src/gear/1103011681/src/Server/init.server.luau
luau
.luau
--Make sure that the portal kills Godded people once within range --Fixed by TakeoHonorable --Fixed the gravitation issue with the black hole local Seed = Random.new() local Wait,NextInteger,huge,Instant,Type,Pairs = wait,Seed.NextInteger,math.huge,Instance.new,type,pairs function Create(ty) return function(data...
2,521
Roblox/gear
Roblox-gear-28b88df/src/gear/1103012605/src/Script/Remover.server.luau
luau
.luau
--Made by Luckymaxer 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...
240
Roblox/gear
Roblox-gear-28b88df/src/gear/1103012605/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,658
Roblox/gear
Roblox-gear-28b88df/src/gear/110335886/src/CompassScript.server.luau
luau
.luau
local Tool = script.Parent local Compass = Tool.Handle local Character local Player local Torso local Humanoid local Eggs_Model = Game.Workspace:WaitForChild('Eggs') local EggMetaData_Model = Game.Lighting:WaitForChild('Eggs') local Compass_Type = Tool:WaitForChild('CompassType') local RarityRange = {40, 100} ...
760
Roblox/gear
Roblox-gear-28b88df/src/gear/110335886/src/LocalCompassScript.client.luau
luau
.luau
local Tool = script.Parent local Pos = Tool:WaitForChild('Pos') local Camera = Game.Workspace.CurrentCamera local Character local Torso local Arrow = Instance.new('Part') Arrow.FormFactor = 3 Arrow.Size = Vector3.new(1, 1, 4) Arrow.Anchored = true Arrow.CanCollide = false Arrow.Name = 'Arrow' local ArrowMesh ...
642
Roblox/gear
Roblox-gear-28b88df/src/gear/110337782/src/ClonerScript.server.luau
luau
.luau
local Tool = script.Parent local Cloner = Tool.Handle local Character local Player local PlayerGui local FabregeGui local Torso local Humanoid local SelectedFabrege = nil local FabregeToAward local PersistBadges local BadgeConnection local EggIcons_List = { ['DreamWeaverFabregeEgg'] = {['Selected'] =...
1,115
Roblox/gear
Roblox-gear-28b88df/src/gear/110337828/src/CompassScript.server.luau
luau
.luau
local Tool = script.Parent local Compass = Tool.Handle local Character local Player local Torso local Humanoid local Eggs_Model = Game.Workspace:WaitForChild('Eggs') local EggMetaData_Model = Game.Lighting:WaitForChild('Eggs') local Compass_Type = Tool:WaitForChild('CompassType') local RarityRange = {40, 100} ...
803
Roblox/gear
Roblox-gear-28b88df/src/gear/110337828/src/LocalCompassScript.client.luau
luau
.luau
local Tool = script.Parent local Pos = Tool:WaitForChild('Pos') local Camera = Game.Workspace.CurrentCamera local Character local Torso local Arrow = Instance.new('Part') Arrow.FormFactor = 3 Arrow.Size = Vector3.new(1, 1, 4) Arrow.Anchored = true Arrow.CanCollide = false Arrow.Name = 'Arrow' local ArrowMesh ...
642
Roblox/gear
Roblox-gear-28b88df/src/gear/110337853/src/LauncherScript.server.luau
luau
.luau
local Tool = script.Parent local Cannon = Tool.Handle local debris = game:GetService("Debris") Tool.Enabled = true local rocket = Instance.new("Part") rocket.Size = Vector3.new(0.5, 3, 0.5) rocket.Transparency = 0.0 rocket.Shape = "Block" rocket.FormFactor = 3 rocket.Name ="RocketClone" local rocketMesh = Instance...
1,979
Roblox/gear
Roblox-gear-28b88df/src/gear/110337853/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then print("No mouse") return end while stillEquipped do print("Setting Mouse to go") mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait...
181
Roblox/gear
Roblox-gear-28b88df/src/gear/110337853/src/RapidFireScript.client.luau
luau
.luau
local Tool = script.Parent local Cannon = Tool.Handle local vCharacter local myTorso local myHumanoid function toggleRapidFire(key) if key:lower() == "q" then local rapidFire = Tool:FindFirstChild("RapidFire") if rapidFire and rapidFire.Value == false then rapidFire.Value = true end end end func...
166
Roblox/gear
Roblox-gear-28b88df/src/gear/110337884/src/LauncherScript.server.luau
luau
.luau
local Tool = script.Parent local Launcher = Tool.Handle local Character local Player local Humanoid local Torso local EggsToClone = { 'ChocolateEgg', 'CannonicalEgg', 'EggoEgg', 'MoonEgg', 'SuperSonicEgg' } local Eggs_Model = Game.Lighting:WaitForChild('Eggs') local WorkspaceEggs_Model = Game.Workspace...
930
Roblox/gear
Roblox-gear-28b88df/src/gear/110337884/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then print("Mouse not found") return end while stillEquipped do print("Setting Mouse to go") mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do ...
182
Roblox/gear
Roblox-gear-28b88df/src/gear/110337910/src/EggTrackerScript.client.luau
luau
.luau
local Tool = script.Parent local Tracker = Tool.Handle local TrackerGui local TrackerFrame local Player local PlayerGui local Character local Eggs_Model = Game.Workspace:WaitForChild('Eggs') local LightingEggs_Model = Game.Lighting:WaitForChild('Eggs') local ToolTip = Instance.new('TextLabel') ToolTip.Back...
994
Roblox/gear
Roblox-gear-28b88df/src/gear/110702207/src/SummonOnce/DragonAi/FireBall.server.luau
luau
.luau
----------------- --| Constants |-- ----------------- local HAT_ID = 36883367 local BODY_MESH_IDS = {36780113, 36780032, 36780156, 36780079, 36780195} local BODY_TEXTURE_ID = 36780292 -------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist, then returns it local function Wai...
733
Roblox/gear
Roblox-gear-28b88df/src/gear/110702207/src/SummonOnce/init.client.luau
luau
.luau
----------------- --| Constants |-- ----------------- local PET_ID = 112599423 local AI_SCRIPT_NAME = 'DragonAi' -------------------- --| WaitForChild |-- -------------------- -- Waits for parent.child to exist, then returns it local function WaitForChild(parent, childName) assert(parent, "ERROR: WaitForChild: pare...
403
Roblox/gear
Roblox-gear-28b88df/src/gear/110703943/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent cooldown=10 StandTime=60*2 debris=game:GetService("Debris") check=true function waitfor(parent,name) while parent:FindFirstChild(name)==nil do wait() end return parent:FindFirstChild(name) end lastuse=sp:WaitForChild("LastUse") handle=sp:WaitForChild("Handle") hand...
708
Roblox/gear
Roblox-gear-28b88df/src/gear/110704033/src/DuckScript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent followdistance=1.618 function waitfor(a,b) while a:FindFirstChild(b)==nil do a.ChildAdded:wait() end return a:FindFirstChild(b) end followtag=waitfor(sp,"FollowTag") bg=waitfor(sp,"BodyGyro") bp=waitfor(sp,"BodyPosition") while true do wait(.1+(math.random()*.1...
288
Roblox/gear
Roblox-gear-28b88df/src/gear/110704033/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent numberofducks=7 check=true ducks={} debris=game:GetService("Debris") function createduckling(follow) local duck=Instance.new("Part") duck.Name="RamboChick" duck.BrickColor=BrickColor.new("Cool yellow") local m=Instance.new("SpecialMesh") m.MeshId="http://www.roblox...
560
Roblox/gear
Roblox-gear-28b88df/src/gear/110789105/src/AnimationPlayerScript.client.luau
luau
.luau
function FindAttachedHumanoid(part) local tpart = part while tpart.Parent do if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end tpart = tpart.Parent end return nil end script.ChildAdded:connect(function(nchild) local humanoid = FindAttachedHumanoid(script) local ani = Instance.n...
111
Roblox/gear
Roblox-gear-28b88df/src/gear/110789105/src/Script.server.luau
luau
.luau
function FindAttachedHumanoid(part) local tpart = part while tpart.Parent do if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end tpart = tpart.Parent end return nil end function MakeValue(class,name,value,parent) local temp = Instance.new(class) temp.Name = name temp.Value = val...
977
Roblox/gear
Roblox-gear-28b88df/src/gear/110892267/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/110892267/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,795
Roblox/gear
Roblox-gear-28b88df/src/gear/11115851/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ToolEquipped = false function SetAnimation(mode, value) if mode == "PlayAnimati...
665
Roblox/gear
Roblox-gear-28b88df/src/gear/11115851/src/NinjaStar/StarScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Star = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Star:FindFirstChild("creator") HitSound = Star:FindFirstChild("Hit") Stuck = false Damage = 23 function IsHuntedVictim(character) return character:FindFirstChild("NinjaMaskOfShadows"...
569
Roblox/gear
Roblox-gear-28b88df/src/gear/11115851/src/NinjaStar/init.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") StarScript = script:WaitForChild("StarScript") Velocity = 50 Sounds = { Fire = Handle:WaitForChild("Fire"), Hit = Handle:...
785
Roblox/gear
Roblox-gear-28b88df/src/gear/111518891/src/LocalScript/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent damage=36 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 ct.Value.Characte...
229
Roblox/gear
Roblox-gear-28b88df/src/gear/111518891/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=1.25 range=600 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() end return paren...
1,417
Roblox/gear
Roblox-gear-28b88df/src/gear/111518891/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 firesound=waitfor(sp,"FireSound") handle=waitfor(sp,"Handle") sound=waitfor(handle,"FireSound") firesound.Changed:connect(function() ...
82
Roblox/gear
Roblox-gear-28b88df/src/gear/1117743696/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Tool = script.Parent local Gear = GearService:BindGear(Tool, "Sword") Gear.Class:SetSlashDamage(20) Gear.Class:DisableLunge() Gear:BindEquippedFunction("ChangeAnimation", function() if Gear.Humanoid.RigType == Enum.HumanoidRigType.R15 then Gear.Class:BindSlashAnimation...
113
Roblox/gear
Roblox-gear-28b88df/src/gear/1117745433/src/Script.server.luau
luau
.luau
--Created by StarWars local Tool = script.Parent local GearService = require(1075123174) local PunchArms = GearService:BindGear(Tool, "PunchArms") local LeftArm = Tool:FindFirstChild("LeftArm") local RightArm = Tool:FindFirstChild("RightArm") local Handle = Tool:FindFirstChild("Handle") if LeftArm then LeftArm:Dest...
486
Roblox/gear
Roblox-gear-28b88df/src/gear/111876831/src/Client.client.luau
luau
.luau
--Made by Stickmasterluke --Rescripted by TakeoHonorable local sp=script.Parent local Remote = sp:WaitForChild("ClientInput") function onActivated() Remote:FireServer(game.Players.LocalPlayer:GetMouse().Hit.p) end sp.Activated:Connect(onActivated)
65
Roblox/gear
Roblox-gear-28b88df/src/gear/111876831/src/Handle/CloudScript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent rate=1/30 local debris=game:GetService("Debris") local mesh=sp:WaitForChild("Mesh") function checkintangible(hit) if hit then if hit:IsDescendantOf(sp) or hit.Transparency>.8 or hit.Name=="Handle" or string.lower(string.sub(hit.Name,1,6))=="effect" or hit.Name=="Bu...
1,367
Roblox/gear
Roblox-gear-28b88df/src/gear/111876831/src/Server.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent local Rate=1/30 local Debris = (game:FindService("Debris") or game:GetService("Debris")) local equipped=false local check=true local Cooldown=12 local Range=100 Tool.Grip = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) local Handle = Tool:WaitForChild(...
468
Roblox/gear
Roblox-gear-28b88df/src/gear/1119904760/src/LocalScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") UserInputService = game:GetService("UserInputService") Folders = Tool:WaitForChild("Folders") RemotesFolder = Folders:WaitForChild("Remotes") ServerControl = RemotesFolder:WaitForChild("Se...
857
Roblox/gear
Roblox-gear-28b88df/src/gear/1119904760/src/Script.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,109
Roblox/gear
Roblox-gear-28b88df/src/gear/1119905177/src/LocalScript.client.luau
luau
.luau
local Player = game.Players.LocalPlayer local Character = nil local Humanoid = nil local Tool = script.Parent local Animations = Tool:WaitForChild("Animations") local R6 = Animations:WaitForChild("R6") local R15 = Animations:WaitForChild("R15") local R15HoldAnimation = R15:WaitForChild("Hold") local HoldAnimation =...
267
Roblox/gear
Roblox-gear-28b88df/src/gear/1119905177/src/Script.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Humanoid = nil local OriginalWalkSpeed = 16 local FAST_WALKSPEED = 25 local Grips = { R15 = CFrame.new(0.5, 0, 0, 0, -0.707106829, 0.707106829, 1, 0, 0, -0, 0.707106829, 0.707106829); R6 = CFram...
399
Roblox/gear
Roblox-gear-28b88df/src/gear/1119905579/src/Script.server.luau
luau
.luau
-- // Made by StarWars local RunService = game:GetService('RunService') local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Torso = nil local Humanoid = nil local COOLDOWN_TIME = 20 local SpawnPoints = {} function FindPart(model, className) for i, v in ipairs(model:Ge...
362
Roblox/gear
Roblox-gear-28b88df/src/gear/1119906090/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,669
Roblox/gear
Roblox-gear-28b88df/src/gear/112591865/src/LocalScript/Script.server.luau
luau
.luau
--Stickmastertluke sp=script.Parent hitdelay=1 hitforce={30,60} check=true local sound=sp:WaitForChild("Sound") sp.Touched:connect(function(hit) if hit and check then local h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then check=false sp.Velocity=(Vector3.new(0,10,0)+(sp.Position-hit.Position))....
169
Roblox/gear
Roblox-gear-28b88df/src/gear/112591865/src/LocalScript/init.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent cooldown=20 StandTime=60*2 floatieness=.618 debris=game:GetService("Debris") check=true function waitfor(parent,name) while parent:FindFirstChild(name)==nil do wait() end return parent:FindFirstChild(name) end lastuse=sp:WaitForChild("LastUse") handle=sp:WaitForChi...
707
Roblox/gear
Roblox-gear-28b88df/src/gear/112591894/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") debris=game:GetService("Debris") anims={"RightSlash","LeftSlash"} basedamage=2 slashdamage=14 rangedamage=46 damage=basedamage specialready=true lastclick=0 sword=sp.Handle local SlashSound=Instance.new("Sound") SlashSound.SoundId="rbxasset://soun...
1,379
Roblox/gear
Roblox-gear-28b88df/src/gear/112593662/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") ContentProvider = game:GetService("ContentProvider") Camera = game:GetService("Workspace").CurrentCamera Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitFo...
753
Roblox/gear
Roblox-gear-28b88df/src/gear/112593662/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") InsertService = game:GetService("InsertService") Debris = game:GetService("Debris") Animations = { PlantAnim = {Animation = Tool:Wait...
1,718
Roblox/gear
Roblox-gear-28b88df/src/gear/112593687/src/Assets.luau
luau
.luau
--Made by Luckymaxer BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a func...
1,472
Roblox/gear
Roblox-gear-28b88df/src/gear/1132884456/src/LocalScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Bristles = Tool:WaitForChild("Bristles") Players = game:GetService("Players") Debris = game:GetService("Debris") UserInputService = game:GetService("UserInputService") RunService = game:GetService("RunService") RbxUtility = LoadLibrary("RbxUtility") Create = R...
1,944
Roblox/gear
Roblox-gear-28b88df/src/gear/1132884456/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Bristles = Tool:WaitForChild("Bristles") 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 t...
1,879
Roblox/gear
Roblox-gear-28b88df/src/gear/1132887630/src/LocalScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") UserInputService = game:GetService("UserInputService") Animations = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitForChild("ServerControl") ClientControl = Remotes:WaitForChild("ClientControl") Too...
743
Roblox/gear
Roblox-gear-28b88df/src/gear/1132887630/src/Script/BombScript/Functions.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Functions = {} function Functions.TagHumanoid(humanoid, player) local Creator_Tag = Create("ObjectValue"){ Name = "creator", Value = player, } Debris:...
889
Roblox/gear
Roblox-gear-28b88df/src/gear/1132887630/src/Script/BombScript/StunScript.server.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") if Humanoid then Humanoid.PlatformStand = true wait(0.5) Humanoid.PlatformStand = false end Debris:AddItem(script, 0.5)
73
Roblox/gear
Roblox-gear-28b88df/src/gear/1132887630/src/Script/BombScript/init.server.luau
luau
.luau
Part = script.Parent --Mesh = Part:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") OrigSize = Part.Size --OrigScale = Mesh.Scale RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "rbxassetid://" Creator = Part:WaitForChild("Creator") PushForce ...
2,015
Roblox/gear
Roblox-gear-28b88df/src/gear/113299590/src/PianoScript/MeteorPianoScript.server.luau
luau
.luau
--Rescripted by Luckymaxer local Piano = script.Parent Piano.Touched:connect(function(hitPart) local Explosion = Instance.new("Explosion") Explosion.BlastPressure = 0 Explosion.Parent = Piano Explosion.Position = Piano.CFrame.p Piano.Transparency = 1 local Fire = Piano:FindFirstChild("Fire") if Fire then Fir...
103
Roblox/gear
Roblox-gear-28b88df/src/gear/113299590/src/PianoScript/init.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") Meshes = { Chair = script:WaitForChild("ChairMesh"), Piano = script:WaitForChild("PianoMesh") } Grips = { Display = CFram...
2,631
Roblox/gear
Roblox-gear-28b88df/src/gear/113299620/src/LocalScript.client.luau
luau
.luau
-- Made by Stickmasterluke -- edited by fusroblox function WaitForChild(obj, name) while not obj:FindFirstChild(name) do wait() end return obj:FindFirstChild(name) end local function FindCharacterAncestor(subject) if subject and subject ~= Workspace then if subject:FindFirstChild('Humanoid') then return s...
2,578
Roblox/gear
Roblox-gear-28b88df/src/gear/113299620/src/Script.server.luau
luau
.luau
script.Parent.Grip = CFrame.new(0, -0.100000001, 1.89999998, 0.747434199, 0.476492107, 0.462922603, -0.587785244, 0.799056649, 0.126558155, -0.309597433, -0.36669296, 0.877317309)
88
Roblox/gear
Roblox-gear-28b88df/src/gear/113299641/src/HeadJetsScript.server.luau
luau
.luau
----------------- --| Constants |-- ----------------- local DAMAGE = 30 local COOLDOWN = 3 local ATTACK_RADIUS = 30 local ATTACK_SPEED = 100 local ATTACK_TIME_MAX = 3 local ORBIT_RADIUS = 5 local ORBIT_VERTICAL_OFFSET = 3 local ORBIT_SPEED_FACTOR = 2 local ORBIT_GYRO_TORQUE = Vector3.new(400, 400, 400) local MAX_JE...
1,548
Roblox/gear
Roblox-gear-28b88df/src/gear/113299641/src/ThumbnailScript/init.server.luau
luau
.luau
local Tool = script.Parent local ToolHandle = Tool:WaitForChild('Handle') local ToolScript = Tool:WaitForChild('HeadJetsScript') ToolHandle.Transparency = 0 for _, child in pairs(script:GetChildren()) do child:Destroy() end ToolScript.Disabled = false script:Destroy()
67
Roblox/gear
Roblox-gear-28b88df/src/gear/113328094/src/LocalScript/FireflyScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent local bv=sp:WaitForChild("BodyVelocity") wait(.5+math.random()) bv.velocity=bv.velocity*Vector3.new(1,0,1) for _=1,100 do bv.velocity=bv.velocity+Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*5 wait(.5+math.random()) end sp:remove()
98
Roblox/gear
Roblox-gear-28b88df/src/gear/113328094/src/LocalScript/init.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent fireflies=7 local debris=game:GetService("Debris") check=true local handle=sp:WaitForChild("Handle") local handle2=sp:WaitForChild("Handle2") local weld=sp:WaitForChild("Motor") local animation=sp:WaitForChild("Animation") local sound=handle:WaitForChild("Sound") local firefl...
883
Roblox/gear
Roblox-gear-28b88df/src/gear/11373617/src/Script.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") HatModel = InsertService:LoadAsset(9910420) Hat = HatModel:GetChildren()[1]:Clone() Debris:AddItem(HatModel, 1)...
1,155
Roblox/gear
Roblox-gear-28b88df/src/gear/11377306/src/NinjaStar/init.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") StarScript = script:WaitForChild("StarScript") Velocity = 50 Sounds = { Fire = Handle:WaitForChild("Fire"), Hit = Handle:...
784
Roblox/gear
Roblox-gear-28b88df/src/gear/114020480/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = T...
737
Roblox/gear
Roblox-gear-28b88df/src/gear/114020480/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer --Made by Stickmasterluke 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 er...
2,517
Roblox/gear
Roblox-gear-28b88df/src/gear/114020505/src/HornAnimate.client.luau
luau
.luau
-- Equipped -- Game.Selection:Get()[1].Grip = CFrame.new(0,0,0.8) * CFrame.Angles(math.pi/4, 0,0) * CFrame.new(0,-.3,0) -- OnBlow -- Game.Selection:Get()[1].Grip = CFrame.new(0.1, -0.45, .55) * CFrame.Angles(-math.pi/3,0,math.pi/4) * CFrame.new(0,0,0.8) * CFrame.Angles(math.pi/4, 0,0) * CFrame.new(0,-.3,0) function...
587
Roblox/gear
Roblox-gear-28b88df/src/gear/114020505/src/RedcliffHornScript.server.luau
luau
.luau
function WaitForChild(parent, child) while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end return parent[child] end local PlayersService = Game:GetService('Players') local Tool = script.Parent local birdPrototypeContainer = Game:GetService('InsertService'):LoadAsset(114054649) local birdPrototype =...
740
Roblox/gear
Roblox-gear-28b88df/src/gear/114020538/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,129
Roblox/gear
Roblox-gear-28b88df/src/gear/114020557/src/ToolScript/init.client.luau
luau
.luau
----------------- --| Constants |-- ----------------- local DAMAGE = 55 local DAMAGE_TIME = 0.5 local COOLDOWN = 1 local HAT_ID = 36883367 local BODY_MESH_IDS = {36780113, 36780032, 36780156, 36780079, 36780195} local BODY_TEXTURE_ID = 36780292 local BODY_PART_ENUM = { -- :[ ['Head'] = Enum.BodyPart.Head, ['Torso'...
1,112
Roblox/gear
Roblox-gear-28b88df/src/gear/11419319/src/Glass.server.luau
luau
.luau
function Touched(part) script.Parent.GlassBreak:Play() con:disconnect() end con = script.Parent.Touched:connect(Touched) wait(30) script.Parent:Destroy()
39
Roblox/gear
Roblox-gear-28b88df/src/gear/11419319/src/HealingPotionScript.server.luau
luau
.luau
--Updated for R15 avatar by StarWars local Tool = script.Parent; local GlassBreak = Instance.new("Sound") GlassBreak.Name = "GlassBreak" GlassBreak.SoundId = "http://www.roblox.com/asset/?id=11415738" GlassBreak.Volume = 1 GlassBreak.Parent = Tool.Handle local DrinkSound = Instance.new("Sound") DrinkSound.Name = ...
571
Roblox/gear
Roblox-gear-28b88df/src/gear/11419882/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,646
Roblox/gear
Roblox-gear-28b88df/src/gear/1144705079/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") ContentProvider = game:GetService("ContentProvider") UserInputService = game:GetService("UserInputService") Camera = game:GetService("Workspace").CurrentCamera Animations = {} ServerControl = Tool:Wa...
717
Roblox/gear
Roblox-gear-28b88df/src/gear/1144705079/src/Script/GuitarParts.luau
luau
.luau
--Made by Luckymaxer GuitarParts = { Name = "BrokenGuitar", PartTable = { { Offset = Vector3.new(0.35441744327545, 2.1486256122589, -0.046207413077354), MeshData = { Scale = Vector3.new(1, 1, 1), MeshId = "http://www.roblox.com/asset/?id=193466797", TextureId = "http://www.roblox.com/asset/?i...
4,977
Roblox/gear
Roblox-gear-28b88df/src/gear/1144705079/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Module = require(185791213) GuitarParts = require(script:WaitForChild("GuitarParts")) BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Materia...
3,014
Roblox/gear
Roblox-gear-28b88df/src/gear/1144845319/src/Script.server.luau
luau
.luau
-- Created by StarWars local GearService = require(1075123174) local GearData = GearService:BindGear(script.Parent, "LaserGun") GearData.Class:SetColors({Color3.fromRGB(234, 0, 234), Color3.fromRGB(0, 189, 227), Color3.fromRGB(113, 230, 3), Color3.fromRGB(255, 255, 50)}) GearData.Class:SetFireSound(130113322) GearData...
111
Roblox/gear
Roblox-gear-28b88df/src/gear/114491710/src/BookScript.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 Book = Tool.Handle local vCharacter local vTorso local vHead local vHumanoid local vPlayer local PlayerGui local MaxRange = 30 local LowerBound = ni...
2,183
Roblox/gear
Roblox-gear-28b88df/src/gear/11450664/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") Camera = game:GetService("Workspace").CurrentCamera Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Too...
1,117
Roblox/gear
Roblox-gear-28b88df/src/gear/11450664/src/SlateskinPotionScript/GlassScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Part = script.Parent Debris = game:GetService("Debris") Sounds = { GlassBreak = Part:WaitForChild("GlassBreak") } function Touched(Part) local PartTouched PartTouched = Part.Touched:connect(function(Hit) if not Hit or not Hit.Parent then return end Sounds.GlassBreak:Play() i...
128
Roblox/gear
Roblox-gear-28b88df/src/gear/11450664/src/SlateskinPotionScript/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") GlassScript = script:WaitForChild("GlassScript") Sounds = { GlassBreak = Handle:WaitForChild("GlassBreak"), Drink = Handle:WaitForChild("Drink"), Slateskin ...
937
Roblox/gear
Roblox-gear-28b88df/src/gear/1145080014/src/Script/Remover.server.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Creator = script:FindFirstChild("Creator") Model = script:WaitForChild("Model") function DestroyModel() if Model and Model.Parent then Debris:AddItem(Model, 1) if Model and Model.Parent then Model:Destroy() end end Debris:AddItem(script, 1) if scri...
250
Roblox/gear
Roblox-gear-28b88df/src/gear/1145080014/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") InsertService = game:GetService("InsertService") Remover = script:WaitForChild("Remover") VehicleModel = InsertService:LoadAsset(321279935) Vehicle = VehicleModel:Ge...
631
Roblox/gear
Roblox-gear-28b88df/src/gear/1145081326/src/AnansiAIScript/init.client.luau
luau
.luau
-- // Fixed by StarWars for R15 avatars while script:FindFirstChild("Anansi") == nil do wait() end local petAnansi = script.Anansi while petAnansi.Value == nil do wait() end petAnansi = petAnansi.Value while petAnansi:FindFirstChild("Target") == nil do wait() end print(0.1) local target = petAnansi.Target...
1,607
Roblox/gear
Roblox-gear-28b88df/src/gear/1145081326/src/AnimateScript.client.luau
luau
.luau
-- // Fixed by StarWars for R15 avatars local Tool = script.Parent local Sword = Tool.Handle local vCharacter local vPlayer local vTorso local vHumanoid local RBX_Debris = game:GetService("Debris") local Slash_Animation local Stab_Animation local Darken_Animation local Charge_Animation local Slash_Sound lo...
1,332
Roblox/gear
Roblox-gear-28b88df/src/gear/1145081326/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = true function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then return end while stillEquipped do mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon = "rbxasset://textures\\Gun...
159
Roblox/gear
Roblox-gear-28b88df/src/gear/11452821/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,368
Roblox/gear
Roblox-gear-28b88df/src/gear/11453385/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,376
Roblox/gear
Roblox-gear-28b88df/src/gear/1145358304/src/Script.server.luau
luau
.luau
local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local Turkey = InsertService:LoadAsset(1159622229) Turkey = Turkey:GetChil...
256
Roblox/gear
Roblox-gear-28b88df/src/gear/1145358579/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle local Motor = Handle:FindFirstChildOfClass("Motor6D") if Motor then Motor:Destroy() Motor = nil end local GearService = require(1075123174) local GearData = GearService:BindGear(Tool) GearData:S...
495
Roblox/gear
Roblox-gear-28b88df/src/gear/114552541/src/Firescript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent check=true gundamage=45 --Base output damage per shot. firerate=.8 --How often the weapon can fire. automatic=true --hold down to continue firing range=500 --Max distance that the weapon can fire. spread=3 --The bigger the spread, the m...
2,094