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/2568114215/src/Assets.luau
luau
.luau
--Made by Luckymaxer -- Updated for new gear by StarWars BaseUrl = "rbxassetid://" 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 functi...
2,402
Roblox/gear
Roblox-gear-28b88df/src/gear/2568200796/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Mount") local turkey = InsertService:LoadAsset(2514076591) turkey = turkey:GetChildren()[1] gear.Class:SetMountModel(turkey)
80
Roblox/gear
Roblox-gear-28b88df/src/gear/2569012480/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Mount") local lionMount = InsertService:LoadAsset(2582773178) lionMount = lionMount:GetChildren()[1] gear.Class:SetMountModel(l...
82
Roblox/gear
Roblox-gear-28b88df/src/gear/2569022418/src/LocalScript.client.luau
luau
.luau
local tool = script.Parent local activeTrack local hold = tool:WaitForChild("Hold") local r15Hold = tool:WaitForChild("R15Hold") tool.Equipped:Connect(function() local hum = tool.Parent:FindFirstChildOfClass("Humanoid") local anim = hold if hum then if hum.RigType == Enum.HumanoidRigType.R15 then anim = r15H...
144
Roblox/gear
Roblox-gear-28b88df/src/gear/2569022418/src/Script.server.luau
luau
.luau
-- Created by StarWars local GearService = require(1075123174) local tool = script.Parent local handle = tool.Handle local gear = GearService:BindGear(tool, "LaserGun") gear.Class:SetColors({Color3.fromRGB(103, 241, 29)}) local leftHandle = handle:Clone() do local attachment = leftHandle:FindFirstChild("RightGripAtt...
608
Roblox/gear
Roblox-gear-28b88df/src/gear/25695001/src/8BallScript.server.luau
luau
.luau
r = game:service("RunService") local Tool = script.Parent local last_attack = 0 local humanoid = nil function onActivated() if not Tool.Enabled then return end Tool.Enabled = false t = r.Stepped:wait() if (t - last_attack < 0.6) then humanoid = Tool.Parent:FindFirstChild("Humanoid") ...
429
Roblox/gear
Roblox-gear-28b88df/src/gear/25695001/src/ScreenGui/GuiScript.server.luau
luau
.luau
if script.Parent.Parent.Name == "PlayerGui" then script.Parent.TextBox.Visible = false local f1 = "Always ask yourself, would a noob do this?" local f2 = "Yes" local f3 = "No" local f4 = "Looks like it!" local f5 = "Maybe" local f6 = "Signs point to yes" local f7 = "As I see it, yes" local f8 = "I...
331
Roblox/gear
Roblox-gear-28b88df/src/gear/257342981/src/LocalScript.client.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") UserInputService = game:GetService("UserInputService") local function Create_PrivImpl(...
2,300
Roblox/gear
Roblox-gear-28b88df/src/gear/257342981/src/Script/AIScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Model = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") TripScript = script:WaitForChild("TripScript") Functions = require(script:WaitForChild("Functions")) LastMove = 0 BaseP...
2,396
Roblox/gear
Roblox-gear-28b88df/src/gear/257342981/src/Script/Remover.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Humanoid = Model:FindFirstChild("Humanoid") 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 Cr...
298
Roblox/gear
Roblox-gear-28b88df/src/gear/257342981/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") PonyModel = InsertService:LoadAsset(255278956) Pony = PonyModel:GetChildren()[1]...
2,110
Roblox/gear
Roblox-gear-28b88df/src/gear/257343434/src/Script/AIScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Figure = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") Functions = require(script:WaitForChild("Functions")) LastMove = 0 BasePart = Instance.new("Part") BasePart.Shape = Enu...
2,197
Roblox/gear
Roblox-gear-28b88df/src/gear/257343434/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") Remover = script:WaitForChild("Remover") AIScript = script:WaitForChild("AIScri...
1,684
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/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") ContentProvider = game:GetService("ContentProvider") local function Create_PrivImpl(objectType) if typ...
1,887
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/src/Script/ProjectileScript/HitScript.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Debris = game:GetService("Debris") Duration = script:FindFirstChild("Duration") BaseUrl = "http://www.roblox.com/asset/?id=" Rate = (1 / 60) NewFace = (BaseUrl .. "255037803") if Duration then Head = Character:FindFirstChild("Head") if Head then Face = Head:Find...
174
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/src/Script/ProjectileScript/SplatScript/SplatTouchScript.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Debris = game:GetService("Debris") Duration = script:FindFirstChild("Duration") BaseUrl = "http://www.roblox.com/asset/?id=" Rate = (1 / 60) if Duration then Humanoid = Character:FindFirstChild("Humanoid") if Humanoid then Humanoid.WalkSpeed = 6 end end while D...
146
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/src/Script/ProjectileScript/SplatScript/init.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = Part:WaitForChild("Creator") BaseUrl = "http://www.roblox.com/asset/?id=" SplatTouchScript = script:WaitForChild("SplatTouch...
407
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/src/Script/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Projectile = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = Projectile:WaitForChild("Creator") Damage = Projectile:WaitForChild("Damage") Sounds = { Splat = script:WaitForChild("...
2,109
Roblox/gear
Roblox-gear-28b88df/src/gear/257343597/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create ProjectileScript = script:WaitForChild("ProjectileScr...
1,239
Roblox/gear
Roblox-gear-28b88df/src/gear/25740034/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars 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.SwordFunctions.GetData("Cane") local SwordModel = Sword...
405
Roblox/gear
Roblox-gear-28b88df/src/gear/25741198/src/StealBucketScript.server.luau
luau
.luau
Tool = script.Parent local canStealBucket = 0 local gameStart = false local stopStealingBucket = true local e = Instance.new("Explosion") e.BlastRadius = 2 e.BlastPressure = 10000 enabled = true local player = nil local redColor = Vector3.new(1,0,0) function onEquipped() Tool.Handle.StealingBucket:Stop(...
942
Roblox/gear
Roblox-gear-28b88df/src/gear/257807125/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") ContentProvider = game:GetService("ContentProvider") local function Create_PrivImpl(objectType) if typ...
2,144
Roblox/gear
Roblox-gear-28b88df/src/gear/257807125/src/Script/SplashScreen/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Gui = script.Parent Frame = Gui:WaitForChild("Frame") Debris = game:GetService("Debris") Image = Frame:WaitForChild("Image") Button = Image:WaitForChild("Button") Clicked = Button:WaitForChild("Clicked") MouseHovering = false MouseDown = false Closed = false Clicked.Visible = false Button.Mou...
245
Roblox/gear
Roblox-gear-28b88df/src/gear/257807125/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Light = Handle:WaitForChild("Light") Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create SplashScreen = script:WaitForChild("SplashScreen") BaseUrl = ...
2,295
Roblox/gear
Roblox-gear-28b88df/src/gear/257807712/src/Script/AIScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Figure = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") Functions = require(script:WaitForChild("Functions")) LastMove = 0 BasePart = Instance.new("Part") BasePart.Shape = Enu...
2,164
Roblox/gear
Roblox-gear-28b88df/src/gear/257807712/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") InsertService = game:GetService("InsertService") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end AIScript = scr...
954
Roblox/gear
Roblox-gear-28b88df/src/gear/257810065/src/Script/AIScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Figure = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") Functions = require(script:WaitForChild("Functions")) DogeModule = require(191816425) LastMove = 0 Rate = (1 / 60) loc...
3,379
Roblox/gear
Roblox-gear-28b88df/src/gear/257810065/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") AIScript = script:WaitForChild("AIScript") Remover = script:WaitForChild("Remove...
1,625
Roblox/gear
Roblox-gear-28b88df/src/gear/257811449/src/Assets.luau
luau
.luau
--Made by Luckymaxer BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a func...
2,338
Roblox/gear
Roblox-gear-28b88df/src/gear/257813288/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,107
Roblox/gear
Roblox-gear-28b88df/src/gear/257816690/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") InsertService = game:GetService("InsertService") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end AIScript = scr...
954
Roblox/gear
Roblox-gear-28b88df/src/gear/257829534/src/Script/Functions.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Functions = { IsTeamMate = (function(Player1, Player2) return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor) end), TagHumanoid = (function(humanoid, p...
203
Roblox/gear
Roblox-gear-28b88df/src/gear/257829534/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") Functions = require(script:WaitForChild("Functions")) BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Bl...
1,376
Roblox/gear
Roblox-gear-28b88df/src/gear/257837994/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart....
839
Roblox/gear
Roblox-gear-28b88df/src/gear/257840933/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Grips = { Hold = CFrame.new(0, 0, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1), Unequipped = (CFrame.new(0, -1, 0.75) * CFrame.Angles((math.pi / 2), math.pi, 0)), } Animations...
1,132
Roblox/gear
Roblox-gear-28b88df/src/gear/2588272910/src/Script.server.luau
luau
.luau
-- Created by StarWars local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Sword")
37
Roblox/gear
Roblox-gear-28b88df/src/gear/25923196/src/PelletScript.server.luau
luau
.luau
local debris = game:service("Debris") pellet = script.Parent local plantScript = pellet.PlantScript damage = 8 function onTouched(hit) pellet.PlantSound:Play() local plant = Instance.new("Part") plant.Position = pellet.Position plant.Size = Vector3.new(1,1.2,1) plant.CanCollide = true plant.Locked = true pla...
274
Roblox/gear
Roblox-gear-28b88df/src/gear/25923196/src/PlantScript.server.luau
luau
.luau
local Handle = script.Parent if Handle.className == "Part" then local Mesh = Handle:FindFirstChild("Plant Mesh") local scaler = 1 Handle.Friction = 1 BodyGyro = Instance.new("BodyGyro") BodyGyro.Parent = Handle BodyGyro.cframe = Handle.CFrame BodyGyro.maxTorque = Vector3.new(1000,1000,1000) BodyGyr...
229
Roblox/gear
Roblox-gear-28b88df/src/gear/25923196/src/Slingshot.server.luau
luau
.luau
Tool = script.Parent VELOCITY = 85 -- constant FIRERATE = 2 local Pellet = Instance.new("Part") Pellet.Locked = true Pellet.BackSurface = 0 Pellet.BottomSurface = 0 Pellet.FrontSurface = 0 Pellet.LeftSurface = 0 Pellet.RightSurface = 0 Pellet.TopSurface = 0 Pellet.Shape = 0 Pellet.Size = Vector3.new(1,1,1...
927
Roblox/gear
Roblox-gear-28b88df/src/gear/25974222/src/BounceBallScript.server.luau
luau
.luau
--Updated for R15 avatars by StarWars local Tool = script.Parent local bounceCount = 0 local enabled = true local beenActivated = false local healPlayers = false local bounceUp = Instance.new("BodyPosition") local bounceAround = Instance.new("BodyForce") function onTouched(part) local h = part.Parent:FindFirstChil...
1,114
Roblox/gear
Roblox-gear-28b88df/src/gear/25977812/src/Bomb.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378" FuseSound.Parent = script.Parent FuseSound:Play() local Handle = script.Parent local total_time = 5 -- seconds local cur_time = 0 local debris = game:GetService("Debris") function update(frac) script.Parent....
813
Roblox/gear
Roblox-gear-28b88df/src/gear/25977812/src/PlantBomb.server.luau
luau
.luau
bombScript = script.Parent.Bomb Tool = script.Parent function plant(pos) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local spawnPos = vCharacter.PrimaryPart.Position local bomb = Tool.Handle:Clone() bomb.CanCollide = true bomb.Transparenc...
307
Roblox/gear
Roblox-gear-28b88df/src/gear/26013203/src/SnowballLauncher.server.luau
luau
.luau
Tool = script.Parent VELOCITY = 50 -- constant loaded=false local Pellet = Instance.new("Part") Pellet.Size = Vector3.new(1,1,4) Pellet.Shape = 1 Pellet.BrickColor = BrickColor.new("Pastel light blue") Pellet.Material = Enum.Material.Ice Pellet.Locked = true Pellet.TopSurface = 0 Pellet.Transparency = 0.2 ...
523
Roblox/gear
Roblox-gear-28b88df/src/gear/26013203/src/SnowballScript.server.luau
luau
.luau
arrow = script.Parent debris = game:GetService("Debris") local HitSound = Instance.new("Sound") HitSound.SoundId = "http://www.roblox.com/asset/?id=25605551" HitSound.Parent = arrow HitSound.Volume = 1 function Snowface(h) local torso = h.Parent:FindFirstChild("Torso") if torso ~= nil then ...
648
Roblox/gear
Roblox-gear-28b88df/src/gear/26014536/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke --Rescripted by StarWars local Tool = script.Parent local WeaponEvent = Tool:WaitForChild("WeaponEvent") local Animations = Tool:WaitForChild("Animations") local R6Folder = Animations:WaitForChild("R6") local R15Folder = Animations:WaitForChild("R15") local HoldAnim = nil local Character = ...
289
Roblox/gear
Roblox-gear-28b88df/src/gear/26014536/src/ProjectileScript.server.luau
luau
.luau
--Stickmasterluke was here last sp=script.Parent local debris=game:GetService("Debris") local creator=sp:WaitForChild("creator") damage=62 local splatted=false local flakes = {"27131640", "27131658", "27131680", "27131699", "27131714"} local globs = {"27131730", "27131741","27131759"} local HitSound=Instance.ne...
1,016
Roblox/gear
Roblox-gear-28b88df/src/gear/26014536/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke --Rescripted by StarWars local Debris = game:GetService("Debris") local Players = game:GetService("Players") local Tool = script.Parent local Handle = Tool.Handle local FireSound = Handle:FindFirstChild("Fire") local Animations = Tool.Animations local R6Folder = Animations.R6 local R15Folde...
734
Roblox/gear
Roblox-gear-28b88df/src/gear/26017478/src/ProjectileScript.server.luau
luau
.luau
--Stickmasterluke was here last sp=script.Parent local debris=game:GetService("Debris") local creator=sp:WaitForChild("creator") damage=62 local splatted=false local flakes={"27133058","27133072","27133084","27133091","27133103"} local globs={"27133108","27133122","27133137"} local HitSound=Instance.new("Sound"...
1,011
Roblox/gear
Roblox-gear-28b88df/src/gear/26017478/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke --Rescripted by StarWars local Debris = game:GetService("Debris") local Players = game:GetService("Players") local Tool = script.Parent local Handle = Tool.Handle local FireSound = Handle:FindFirstChild("Fire") local Animations = Tool.Animations local R6Folder = Animations.R6 local R15Folde...
734
Roblox/gear
Roblox-gear-28b88df/src/gear/2605965785/src/Script.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatars by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RemoteControl = Tool:WaitForChild("RemoteControl") ServerControl = (RemoteControl:FindFirstC...
1,628
Roblox/gear
Roblox-gear-28b88df/src/gear/2605966484/src/Script.server.luau
luau
.luau
-- Recreated by StarWars local Debris = game:GetService("Debris") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local Animations = { Eat = {Animation = tool.Animations.R6.Eat}, R15Eat = {Anim...
932
Roblox/gear
Roblox-gear-28b88df/src/gear/261439002/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 =...
436
Roblox/gear
Roblox-gear-28b88df/src/gear/261439002/src/Server/Finisher/init.server.luau
luau
.luau
local Target = script:FindFirstChild("Target") local Creator = script:FindFirstChild("Creator") local Sounds = { IceCrack = script:WaitForChild("IceCrack"), Shatter = script:WaitForChild("Shatter") } if not Target or not Creator then script:Destroy() end Target = Target.Value Creator = Creator.Value local Torso =...
1,451
Roblox/gear
Roblox-gear-28b88df/src/gear/261439002/src/Server/StalagmiteScript/Freeze/init.server.luau
luau
.luau
local Target = script:WaitForChild("Target").Value local Sounds = { IceCrack = script:WaitForChild("IceCrack"), Shatter = script:WaitForChild("Shatter") } local Torso = Target:FindFirstChild("Torso") or Target:FindFirstChild("UpperTorso") if not Target then script:Destroy() end local Humanoid = Target:FindFirstCh...
1,298
Roblox/gear
Roblox-gear-28b88df/src/gear/261439002/src/Server/StalagmiteScript/StalagmiteClient/init.client.luau
luau
.luau
local Pos = script:FindFirstChild("Pos") if not Pos then return end local Vec3,cframe = Vector3.new,CFrame.new local Services = { Debris = (game:FindService("Debris") or game:GetService("Debris")), tService = (game:FindService("TweenService") or game:GetService("TweenService")), rService = (game:FindService("RunS...
1,348
Roblox/gear
Roblox-gear-28b88df/src/gear/261439002/src/Server/StalagmiteScript/init.server.luau
luau
.luau
--Plant the Ice Stalagmite and let em' have it! local Services = { Debris = (game:FindService("Debris") or game:GetService("Debris")), Players = (game:FindService("Players") or game:GetService("Players")), ServerScriptService = (game:FindService("ServerScriptService") or game:GetService("ServerScriptService")) } l...
1,044
Roblox/gear
Roblox-gear-28b88df/src/gear/261447208/src/Script/Goldify.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Debris = game:GetService("Debris") Parts = {} BaseColor = BrickColor.new("Bright yellow") Color = BaseColor.Color Classes = { BasePart = { BrickColor = BaseColor, Material = Enum.Material.Plastic, Reflectance = 0....
1,571
Roblox/gear
Roblox-gear-28b88df/src/gear/261447208/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Goldify = script:WaitForChild("Goldify") BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart....
3,266
Roblox/gear
Roblox-gear-28b88df/src/gear/261762082/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") InsertService = game:GetService("InsertService") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end AIScript = scr...
956
Roblox/gear
Roblox-gear-28b88df/src/gear/261826406/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSurface = Enum.SurfaceType.Smooth BasePart....
2,212
Roblox/gear
Roblox-gear-28b88df/src/gear/261826521/src/Script.server.luau
luau
.luau
--Rescripted 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 func...
2,274
Roblox/gear
Roblox-gear-28b88df/src/gear/261826683/src/Script/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Projectile = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = Projectile:WaitForChild("Creator") Damage = Projectile:WaitForChild("Damage") Sounds = { Splat = script:WaitForChild("...
1,694
Roblox/gear
Roblox-gear-28b88df/src/gear/261826683/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,632
Roblox/gear
Roblox-gear-28b88df/src/gear/261827192/src/Script/MonitorScript.server.luau
luau
.luau
--Made by Luckymaxer Value = script.Parent Debris = game:GetService("Debris") function DestroyModel() Debris:AddItem(Value, 0.5) end if not Value.Value then DestroyModel() return end Value.Changed:connect(function() if not Value.Value or not Value.Value.Parent then DestroyModel() end end) Value.Value.Chang...
106
Roblox/gear
Roblox-gear-28b88df/src/gear/261827192/src/Script/PhoenixScript/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(...
852
Roblox/gear
Roblox-gear-28b88df/src/gear/261827192/src/Script/PhoenixScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Phoenix = script.Parent Body = Phoenix:WaitForChild("Torso") Players = game:GetService("Players") Debris = game:GetService("Debris") Functions = require(script:WaitForChild("Functions")) RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Base...
3,161
Roblox/gear
Roblox-gear-28b88df/src/gear/261827192/src/Script/RemoverScript.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Humanoid = Model:FindFirstChild("Humanoid") Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Model:FindFirstChild("Creator") Tool = Model:FindFirstChild("Tool") function DestroyModel() Debris:AddItem(Model, 5) end if not Creator or not Cr...
298
Roblox/gear
Roblox-gear-28b88df/src/gear/261827192/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") PhoenixScript = script:WaitForChild("PhoenixScript") RemoverScript = script:WaitForChild("RemoverScript") MonitorScript = script:...
2,092
Roblox/gear
Roblox-gear-28b88df/src/gear/2620420065/src/Script/init.server.luau
luau
.luau
-- // Created by StarWars 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 AIScript = script.AIScript local Dog = In...
285
Roblox/gear
Roblox-gear-28b88df/src/gear/2620441860/src/Script.server.luau
luau
.luau
-- // Created by StarWars local RunService = game:GetService("RunService") local Tool = script.Parent local Top = Tool:WaitForChild("Top") local Handle = Tool:WaitForChild("Handle") local Sound = Handle:WaitForChild("Noisemaker") local Motor = Top:FindFirstChildOfClass("Motor6D") local GearService = require(10751231...
294
Roblox/gear
Roblox-gear-28b88df/src/gear/2620451289/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") RemovalMonitor = script:WaitForChild("RemovalMonitor") CarpetPieces = { -- {MeshId = 223079795, Angle = 160}, -- {MeshId = 223079835, Angle = 100}, -- {MeshId = 2230...
3,595
Roblox/gear
Roblox-gear-28b88df/src/gear/2620452349/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Debris = game:GetService("Debris") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local RELOAD_TIME = 2 local DAMAGE = 1 local MAX_FORCE = 50 function FireBell(s...
613
Roblox/gear
Roblox-gear-28b88df/src/gear/2620470482/src/Script/ExplosionScript/ImageFirework.luau
luau
.luau
--Made by Luckymaxer BasePart = Instance.new("Part") BasePart.Transparency = 1 BasePart.Material = Enum.Material.Plastic BasePart.Shape = Enum.PartType.Block BasePart.TopSurface = Enum.SurfaceType.Smooth BasePart.BottomSurface = Enum.SurfaceType.Smooth BasePart.FormFactor = Enum.FormFactor.Custom BasePart.Size = Vecto...
5,456
Roblox/gear
Roblox-gear-28b88df/src/gear/2620470482/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2...
1,820
Roblox/gear
Roblox-gear-28b88df/src/gear/2620523077/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent; local anim = nil enabled = true local con = nil function onButton1Down(mouse) if not enabled then return end enabled = false if anim then anim:Play() end Tool.mode.Value = math.random(1,9) enabled = true end function onEquippedLocal(mouse) if mouse == nil then print("Mo...
302
Roblox/gear
Roblox-gear-28b88df/src/gear/2620523077/src/Local Launcher.server.luau
luau
.luau
local Rocket = Instance.new("Part") local Tool = script.Parent local vel = Instance.new("BodyVelocity") vel.Parent = Rocket Rocket.Locked = true Rocket.Size = Vector3.new(1,1,1) Rocket.BrickColor = BrickColor.new(24) Rocket.CanCollide = false Tool.Note:clone().Parent = Rocket Tool.RocketScript:clone().Paren...
411
Roblox/gear
Roblox-gear-28b88df/src/gear/2620523077/src/RocketScript.server.luau
luau
.luau
shaft = script.Parent note = script.Parent.chord note:play() wait(5) -- at max range --script.Parent.Explosion.PlayOnRemove = false note:stop() shaft:remove()
44
Roblox/gear
Roblox-gear-28b88df/src/gear/2620523875/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Mount") local mooseMount = InsertService:LoadAsset(2646363772) mooseMount = mooseMount:GetChildren()[1] gear.Class:SetMountMode...
85
Roblox/gear
Roblox-gear-28b88df/src/gear/262406180/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") Remover = script:WaitForChild("Remover") Module = require(191816425) DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy()...
678
Roblox/gear
Roblox-gear-28b88df/src/gear/26417031/src/PonyScript.server.luau
luau
.luau
local Tool = script.Parent local neigh = Instance.new("Sound") neigh.SoundId = "http://www.roblox.com/asset/?id=25697118" neigh.Parent = Tool.Handle neigh.Volume = 0.6 function makeRainbow(h, torso,rightLeg) redBrick = Instance.new("Part") lookVector = torso.CFrame.lookVector print(lookVector) lookAvg = math.ab...
1,679
Roblox/gear
Roblox-gear-28b88df/src/gear/26419811/src/BangScript.server.luau
luau
.luau
local Tool = script.Parent local debris = game:GetService("Debris") function onActivated() if not Tool.Enabled then return end Tool.Enabled = false --This call will cause a "wait" until the data comes back local root = game:GetService("InsertService"):LoadAsset(26596372) local instances = ro...
304
Roblox/gear
Roblox-gear-28b88df/src/gear/26421972/src/ChaseScript.server.luau
luau
.luau
wait(3) zombieParent = false while zombieParent == false do wait(1) if script.Parent.Name == "SummonedZombie" then zombieParent = true end end local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") local waitTimer = 0 function findNearestTo...
483
Roblox/gear
Roblox-gear-28b88df/src/gear/26421972/src/PlaySounds.server.luau
luau
.luau
zombieParent = false local soundIds = {25954372, 25954392, 25954407} local sounds = {} for i=1,#soundIds do local s = Instance.new("Sound") s.SoundId = "http://www.roblox.com/asset/?id=" .. soundIds[i] s.Volume = 1 s.Parent = script.Parent sounds[#sounds + 1] = s end while zombieParent == false do ...
172
Roblox/gear
Roblox-gear-28b88df/src/gear/26421972/src/SummonZombies!.server.luau
luau
.luau
Tool = script.Parent local debris = game:service("Debris") zombies = 5 reloadTime = 30 Tool.Enabled = true function fire(targetPos, humanoid) insertZombies(targetPos, humanoid) end function insertZombies(pos, humanoid) amountInFront = 15 torsoNormal = humanoid.Parent.Torso.CFrame.lookVector d...
819
Roblox/gear
Roblox-gear-28b88df/src/gear/26421972/src/Timer.server.luau
luau
.luau
zombieParent = false while zombieParent == false do wait(1) if script.Parent.Name == "SummonedZombie" then zombieParent = true end end wait(30) script.Parent:remove()
50
Roblox/gear
Roblox-gear-28b88df/src/gear/26421972/src/WeldScript.server.luau
luau
.luau
zombieParent = false while zombieParent == false do wait(1) if script.Parent.Name == "SummonedZombie" then zombieParent = true end end local p=script.Parent:GetChildren() for i=1,#p do if p[i].className=="Part" then local weld = Instance.new("Weld") weld.Name="Hold" weld.Part0 ...
197
Roblox/gear
Roblox-gear-28b88df/src/gear/264289990/src/Assets.luau
luau
.luau
--Made by Luckymaxer BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a func...
2,412
Roblox/gear
Roblox-gear-28b88df/src/gear/264289990/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data BaseUrl = Assets.BaseUrl BasePart = Instance.new("Part") BasePart.Material = Enum.Material.Plastic ...
4,743
Roblox/gear
Roblox-gear-28b88df/src/gear/264290413/src/Assets.luau
luau
.luau
--Made by Luckymaxer BaseUrl = "http://www.roblox.com/asset/?id=" local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function that gives us the nice Create'string'{data} syntax --The first function call is a func...
2,391
Roblox/gear
Roblox-gear-28b88df/src/gear/264290413/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data ...
5,376
Roblox/gear
Roblox-gear-28b88df/src/gear/264989911/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,703
Roblox/gear
Roblox-gear-28b88df/src/gear/264990158/src/Script/DisableScript.client.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Debris = game:GetService("Debris") if Humanoid then for i, v in pairs(Humanoid:GetChildren()) do if v:IsA("Animator") then v:Destroy() end end function SetHumanoid() Humanoid.AutoRotate = false Humanoid.P...
253
Roblox/gear
Roblox-gear-28b88df/src/gear/264990158/src/Script/EagleScript.server.luau
luau
.luau
--Made by Luckymaxer Eagle = script.Parent Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = Eagle:FindFirstChild("Creator") Target = Eagle:FindFirstChild("Target") BodyPosition = Eagle:FindFirstChild("BodyPosition") BodyGyro = Eagle:FindFirstChild("Body...
1,062
Roblox/gear
Roblox-gear-28b88df/src/gear/264990158/src/Script/RemovalMonitor.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Debris = game:GetService("Debris") FadeRate = 0.05 Rate = (1 / 15) Removing = false function RemoveModel() if Removing then return end local Parts = {} for i, v in pairs(Model:GetChildren()) do if v:IsA("Model") then table.insert(Parts, v) end end if #Parts...
335
Roblox/gear
Roblox-gear-28b88df/src/gear/26673760/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,649
Roblox/gear
Roblox-gear-28b88df/src/gear/26774629/src/LaserBlast.server.luau
luau
.luau
ball = script.Parent damage = 25 debris = game:GetService("Debris") debris:AddItem(ball, 10) HitSound = Instance.new("Sound") HitSound.Name = "HitSound" HitSound.SoundId = "http://www.roblox.com/asset/?id=25918935" HitSound.Pitch = .5 HitSound.Parent = ball function onTouched(hit) local humanoid ...
336
Roblox/gear
Roblox-gear-28b88df/src/gear/26774629/src/RayGun.server.luau
luau
.luau
local Tool = script.Parent; local humanoid = nil enabled = true function fire(v) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local missile = Instance.new("Part") local noise = Vector3.new(math.random() - .5, math.random() - .5, math.random() - .5).unit ...
797
Roblox/gear
Roblox-gear-28b88df/src/gear/26777410/src/PonyScript.server.luau
luau
.luau
local Tool = script.Parent local platforming = false local BodyPos = nil local force = nil local moving = true local neigh = Instance.new("Sound") neigh.SoundId = "http://www.roblox.com/asset/?id=26415782" neigh.Parent = Tool.Handle neigh.Volume = 0.6 function makeRainbow(h, torso,rightLeg) lookVector = torso.CFram...
1,278
Roblox/gear
Roblox-gear-28b88df/src/gear/26777410/src/SpikeScript.server.luau
luau
.luau
wait(2.5) function onTouched(hit) local human = hit.Parent:findFirstChild("Humanoid") if (human ~= nil) and (human.Parent.Name ~= script.Parent.Owner.Value) then print(hit.Parent.Name) human:TakeDamage(100) end end script.Parent.Touched:connect(onTouched)
72
Roblox/gear
Roblox-gear-28b88df/src/gear/26777502/src/GuiScript.server.luau
luau
.luau
--Rescripted by StarWars local Tool = script.Parent local ScreenGui = Tool.ScreenGui local Player = nil local Gui = nil local TryingToReset = false local WordCount = 1 local AdjectiveText = "Please type an adjective here and press enter" local NameText = "Please type your name here and press enter" local ReasonText...
1,027