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/284135286/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... | 2,578 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28492363/src/SandwichScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.GripForward = Vector3.new(-0.97, 1.02e-005, -0.243)
Tool.GripPos = Vector3.new(-0.2, 0, -1.23)
Tool.GripRight = Vector3.new(0.197, 0.581, -0.79)
Tool.GripUp = Vector3.new... | 322 |
Roblox/gear | Roblox-gear-28b88df/src/gear/286526176/src/SwordScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
--EUROCOW WAS HERE BECAUSE I MADE THE PARTICLES AND THEREFORE THIS ENTIRE SWORD PRETTY AND LOOK PRETTY WORDS AND I'D LIKE TO DEDICATE THIS TO MY FRIENDS AND HI LUCKYMAXER PLS FIX SFOTH SWORDS TY LOVE Y'ALl
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild(... | 2,243 |
Roblox/gear | Roblox-gear-28b88df/src/gear/286526788/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,885 |
Roblox/gear | Roblox-gear-28b88df/src/gear/286526788/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblo... | 3,359 |
Roblox/gear | Roblox-gear-28b88df/src/gear/286527303/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,073 |
Roblox/gear | Roblox-gear-28b88df/src/gear/286527303/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,579 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28664212/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local connection = nil
local enabled = true
local human = nil
local shooting = false
local kick = nil
local debris = game:GetService("Debris")
function onButton1Down(mouse)
if mouse.Target == nil or not enabled then
return
end
enabled = false
local humanoid = mou... | 577 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28664212/src/SoccerBallScript.server.luau | luau | .luau | local Tool = script.Parent
local debris = game:GetService("Debris")
local human = nil
local passing = false
Tool.Handle.CanCollide = true
function onTouched(part)
if passing then
local pos = Tool.Handle.Position
Tool.Parent = game.Workspace
Tool.Handle.Position = pos
return
end
local huma... | 535 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28664212/src/WeldArm.server.luau | luau | .luau | Tool = script.Parent;
local arms = nil
local torso = nil
local welds = {}
function Equip(mouse)
wait(0.01)
arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
torso = Tool.Parent:FindFirstChild("Torso")
if arms ~= nil and torso ~= nil then
local sh = {torso:FindFirstChild... | 445 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28671909/src/CardScript.server.luau | luau | .luau | local card = script.Parent
local debris = game:GetService("Debris")
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=28509434"
HitSound.Parent = card
HitSound.Volume = 1
wait(0.1)
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Huma... | 572 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28671909/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
local cardColor = 5
enabled = true
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
if cardColor >= 1 and cardColor <= 17 then
missile.BrickColor = BrickColor.new("Bright yellow")
mis... | 571 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28671909/src/TimeOutScript.server.luau | luau | .luau | local humanoid = script.Parent:FindFirstChild("Humanoid")
local Torso = script.Parent:FindFirstChild("Torso") or script.Parent:FindFirstChild("UpperTorso")
if Torso then
humanoid.Sit = true
Torso.Anchored = true
wait(8)
humanoid.Sit = false
Torso.Anchored = false
end
script:Destroy() | 85 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28672001/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local dancer = nil
local debris = game:GetService("Debris")
local enabled = true
local drinker = nil
local humanoid = nil
local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
local gravity = 1.05 -- things float at > 1
function onActivated()
if not e... | 1,052 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287424278/src/Script/ExplodeScript/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Functions = {
CheckTableForString = (function(Table, String)
for i, v in pairs(Table) do
if string.lower(v) == string.lower(String) then
return true
end
end
return false
end),
CheckIntangible = (function... | 1,016 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287424278/src/Script/ExplodeScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Humanoid = Figure:WaitForChild("Humanoid")
Torso = Figure:WaitForChild("Torso")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Figure:WaitForChild("Creator")
Functions = require(script:WaitForChild("Functions"))
RbxUtility = LoadLibrary... | 904 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287424705/src/Script/DamageScript.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")
Damage = Part:WaitForChild("Damage")
function IsTeamMate(Player1, Player2)
return (Player1 and ... | 698 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287424705/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
DamageScript = script:WaitForChild("DamageScript")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "h... | 3,901 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287425246/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,466 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287425246/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error... | 4,976 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287426148/src/Script/ParticleScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Particle = script.Parent
Duration = Particle:WaitForChild("Duration")
wait(Duration.Value)
Particle.Enabled = false
| 33 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287426148/src/Script/RemoverScript.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
FadeRate = 0.025
Rate = (1 / 15)
Removing = false
function DestroyModel()
if Removing then
return
end
Model.Name = ""
for i, v in pairs(Model:GetChild... | 474 |
Roblox/gear | Roblox-gear-28b88df/src/gear/287426148/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")
RunService = game:GetService("RunService")
RemoverScript = script:WaitForChild("RemoverScript")
ParticleScript = script:WaitForChild("ParticleScript")
ParticleFire = ... | 4,944 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2906730676/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 Display = Tool:FindFirstChild("Display")
if Display then
Display:Destroy()
Display = n... | 656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2907613658/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local GetMousePosition = Tool:WaitForChild("GetMousePosition")
local LastUse = Tool:WaitForChild("LastUse")
local CurrentMouse = nil
local COOLDOWN_TIME = 10
function GetMousePosition.OnClientInvoke()
if not CurrentMouse then return Vector3.new(0, 0, 0) end
return CurrentMouse.Hit.p
end
... | 282 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2907613658/src/Script.server.luau | luau | .luau | local InsertService = game:GetService("InsertService")
local Debris = game:GetService("Debris")
local Tool = script.Parent
local Handle = Tool.Handle
local ThrowSound = Handle:FindFirstChild("ThrowSound")
local ExplodeSound = Handle:FindFirstChild("ExplodeSound")
local Player = nil
local Character = nil
local Torso ... | 909 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29099749/src/Client.client.luau | luau | .luau | Tool=script.Parent
function onEquippedLocal(mouse)
if mouse == nil then
print("Mouse not found")
return
end
mouse.Icon = "rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function() Tool.Mouse1:FireServer(true, mouse.Hit.p) end)
end
Tool.Equipped:connect(onEquippedLocal) | 79 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29099749/src/SnowballLauncher.server.luau | luau | .luau | --[[
Fixed by ArceusInator. No longer fires at origin. No longer makes the HumanoidRootPart visible. No longer removes player's faces.
--]]
Tool = script.Parent
VELOCITY = 50 -- constant
loaded=false
local Pellet = Instance.new("Part")
Pellet.Shape = 1
Pellet.formFactor = 0
Pellet.Size = Vector3.new(1,1,4)
Pellet... | 664 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29099749/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=28913460"
HitSound.Parent = arrow
HitSound.Volume = 1
function onTouched(hit)
arrow.RaySound.Looped = false
arrow.RaySound:Stop()
if hit.Parent then
HitSound:Play... | 221 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29099749/src/TransmorphScript.server.luau | luau | .luau | local Player = script.Parent
local transparencyFader = 0.1
local playerStuff = Player:GetDescendants()
local meshArray = {}
local face = nil
local decals = {}
for i = 1,10 do
meshArray[i] = {0,0}
end
-- various meshes to transform into
meshArray[1] = {"http://www.roblox.com/asset/?id=24102128","http://www.roblox.co... | 1,111 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100347/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local gui = nil
local tryingToReset = false
local wordCount = 1
local unequipper = true
function textChanged(enterPressed, changer)
if enterPressed and tryingToReset == false then
if wordCount =... | 1,380 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100449/src/BananaScript.server.luau | luau | .luau | wait(0.5)
local banana = script.Parent
local touched = false
function onTouched(part)
if touched then
return
end
touched = true
local humanoid = part.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
banana.SlipSound:Play()
humanoid.Jump = true
humanoid.Sit = true
wait... | 117 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100449/src/PlantBomb.server.luau | luau | .luau | Tool = script.Parent
local bomb = nil
local debris = game:GetService("Debris")
function plant(pos)
Tool.Handle.Sound:Play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
bomb = Instance.new("Part")
... | 333 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100543/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local throwStrength = 0
local count = false
local p = nil
local gui = nil
local thrower = nil
local Animations = Tool:WaitForChild("Animations")
local R6Folder = Animations:WaitForChild("R6")
local R15Folder = Animations:WaitForChild("R15")
function onEquippedLocal(mouse)
mou... | 390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100543/src/ThrowScript.server.luau | luau | .luau | local Tool = script.Parent
local flakes = {"28575797", "28575813", "28575821", "28575833", "28575848"}
local globs = {"28575761", "28575775"}
local debris = game:GetService("Debris")
function onEquipped()
Tool.ThrowStrength.Changed:connect(throwBalloon)
if Tool.Handle:FindFirstChild("BodyForce") ~= nil then
Too... | 375 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29100543/src/WaterBalloonScript.server.luau | luau | .luau | local Balloon = script.Parent
local flakes = {"28575797", "28575813", "28575821", "28575833", "28575848"}
local globs = {"28575761", "28575775"}
local debris = game:GetService("Debris")
wait(0.1)
function splashScreen(p)
local guiMain = Instance.new("GuiMain")
guiMain.Parent = p.PlayerGui
local m... | 687 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292044716/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,477 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292044716/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Particles = script:WaitForChild("Particles")
LaserEffects = Particles:WaitForChild("Lase... | 5,214 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292046825/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 2,136 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292046825/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www... | 2,751 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969139/src/Handle/Alpaca.server.luau | luau | .luau | local Alpaca = script.Parent
local originSize = Alpaca.Size
local originScale = Alpaca.Mesh.Scale
Alpaca.CanCollide = true
Alpaca.Rumble:play()
Alpaca.Grow:play()
for i = 1, 12, 0.1 do
local cf = Alpaca.CFrame
Alpaca.Size = originSize * i
Alpaca.Mesh.Scale = originScale * i
Alpaca.CFrame = cf
Alpaca.Grow.... | 262 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969139/src/Handle/PlayAnimalSounds.server.luau | luau | .luau | local Alpaca = script.Parent
local Sounds = Alpaca.AnimalSounds:GetChildren()
for _, Sound in pairs(Sounds) do
Sound.Parent = Alpaca
end
while true do
wait(math.random() * 5 + 1)
Sounds[math.random(1, #Sounds)]:Play()
end | 70 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969139/src/Tool.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool.Handle
Tool.Activated:connect(function()
Handle.Parent = workspace
Handle.Alpaca.Disabled = false
Tool:Destroy()
end) | 41 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969458/src/Control/RemoverScript.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Humanoid = Model:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
Creator = Model:FindFirstChild("Creator")
Tool = Model:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 0.5)
end
if not Creator or not Creator.Value or not Creator.Value:Is... | 222 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969458/src/Control/init.server.luau | luau | .luau | local tool = script.Parent
local handle = tool.Handle
local remote = script.Parent.Remote
local spawns = remote.Spawn
local meshes = script.Parent.Meshes:GetChildren()
local balligator
local last = 0
RemoverScript = script:WaitForChild("RemoverScript")
local spawning = false
function Colorize(ball)
if ball:FindFirs... | 651 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969458/src/LocalControl.client.luau | luau | .luau | tool = script.Parent
local player = game.Players.LocalPlayer
wait()
local remote = script.Parent:WaitForChild("Remote")
local spawn = remote.Spawn
local last = 0
local model, gator, ball
function Jump(ball)
ball.Velocity = Vector3.new(ball.Velocity.x, math.random(25,32), ball.Velocity.z)
last = game.Workspace.Dist... | 436 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969932/src/Handle/Script.server.luau | luau | .luau | local master
local mode = "follow"
local bg
local bp
local evolved = false
local jump = Vector3.new(0,0,0)
function Command(msg)
msg = msg:lower()
if msg == "stay" then
mode = "stay"
elseif msg == "follow" then
mode = "follow"
elseif msg == "evolve" then
Evolve()
elseif msg == "jump" then
jump = Vector3.n... | 855 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292969932/src/LocalScript.client.luau | luau | .luau | --By Rukiryo
repeat wait() until game.Players.LocalPlayer ~= nil
local player = game.Players.LocalPlayer
local char = player.Character
local mouse = player:GetMouse()
mouse.Button1Down:connect(function()
if script.Parent.Parent:IsA("Model") then
if char["Right Arm"]:findFirstChild("RightGrip") ~= nil then
scri... | 95 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292970740/src/Controller/Colors.luau | luau | .luau | local colors = {
'rbxassetid://273997700', -- green
'rbxassetid://273997730', -- blue
'rbxassetid://273997746', -- yellow
'rbxassetid://273997765', -- pink
'rbxassetid://273997788', -- red
}
return colors | 77 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292970740/src/Controller/init.server.luau | luau | .luau | local tool = script.Parent
local assets = require(277359293)
local colors = require(script.Colors)
local tween = require(script.PropertyInterpolator)
local equipped = false
local equippedCharacter = nil
local equippedPlayer = nil
local started = false
tool.Equipped:connect(function()
equipped = true
equippedCharact... | 1,356 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292970740/src/LocalInput.client.luau | luau | .luau | local tool = script.Parent
tool.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
tool.Input:FireServer('MB1', true, mouse.Hit.p)
end)
end) | 44 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292970740/src/ThumbnailAsset.server.luau | luau | .luau | local tool = script.Parent
local assets = tool:WaitForChild'Handle':WaitForChild'ThumbnailAssets'
assets:Destroy()
tool.Handle.Transparency = 0 | 36 |
Roblox/gear | Roblox-gear-28b88df/src/gear/292971046/src/Bark.server.luau | luau | .luau | local tool = script.Parent
local sound = tool.Handle.Bark
tool.Activated:connect(function()
if tool.Enabled then
tool.Enabled = false
sound:Play()
wait(2)
tool.Enabled = true
end
end)
| 56 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29345958/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local blow = nil
local sound = Instance.new("Sound")
sound.Parent = Tool.Handle
local sounds = {"29029134","29029143","29029154","29029170","29029176"}
sound.Volume = 0.01
local Animations = Tool:WaitForChild("Animations")
local R6Folder = Animations:WaitForChild("R6")
local R15Folder = An... | 404 |
Roblox/gear | Roblox-gear-28b88df/src/gear/294950095/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 vHumanoid
local vPlayer
local PlayerGui
Tool.Enabled = true
local AORGui
local AORGui_Id =2... | 605 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532089/src/InsertScript.server.luau | luau | .luau | local humanoid = script.Parent:FindFirstChild("Humanoid")
local walkSpeed = 16
local pbWalkSpeed = 8
humanoid.WalkSpeed = pbWalkSpeed
humanoid:TakeDamage(-10)
wait(10)
print("fast")
humanoid.WalkSpeed = walkSpeed
script:remove() | 66 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532089/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=11945266"
HitSound.Pitch = .5
HitSound.Parent = ball
local peanutButter = Instance.new("Part")
peanutButter.Bric... | 679 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532089/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local con = nil
local enabled = true
local mouser = nil
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(.2)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
enabled = true
end
function onEq... | 221 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532089/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent
local enabled = true
local humanoid = nil
local equipped = false
local debris = game:GetService("Debris")
local reloadSound = Instance.new("Sound")
reloadSound.Name = "reloadSound"
reloadSound.SoundId = "http://www.roblox.com/asset/?id=25299064"
reloadSound.Parent = Tool.Handle
reloadSound.... | 1,634 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532089/src/SlowWalkerScript.server.luau | luau | .luau | local debris = game:GetService("Debris")
function onTouched(part)
local humanoid = part.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
script.Parent.InsertScript.Parent = humanoid.Parent
local sound = script.Parent.hitSound
sound.Parent = humanoid.Parent
sound:Play()
debris:AddItem(sound,5)
... | 107 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532111/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local blow = nil
local sound = Instance.new("Sound")
sound.Parent = Tool.Handle
local sounds = {"29029134","29029143","29029154","29029170","29029176"}
sound.Volume = 0.01
local Animations = Tool:WaitForChild("Animations")
local R6Folder = Animations:WaitForChild("R6")
local R15Folder = An... | 404 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532138/src/RadarScript.client.luau | luau | .luau | local Tool = script.Parent
local gui = Tool.RadarGui
local guiEnabled = false
local guiOnPlayer = nil
local range = 300
local torso = nil
local zIndex = 4
local radarCenter = Vector2.new(140,155)
local r = (game:FindService("RunService") or game:GetService("RunService"))
enabled = true
-- when activated, either brin... | 1,019 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29532138/src/getCameraAngle.client.luau | luau | .luau | local Tool = script.Parent
local r = (game:FindService("RunService") or game:GetService("RunService"))
local Angle = Tool:WaitForChild("Angle")
while Angle do
if workspace.CurrentCamera then
Angle.Value = workspace.CurrentCamera.CoordinateFrame.lookVector
end
r.RenderStepped:Wait()
end
| 72 |
Roblox/gear | Roblox-gear-28b88df/src/gear/295460073/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
Sounds = {
Hit = script:WaitForChild("Hit"),
}
Values = {}
for i, v in pairs(script:GetChildren()) do
if string.find(string.low... | 1,762 |
Roblox/gear | Roblox-gear-28b88df/src/gear/295460073/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
wait()
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ProjectileScript = script:WaitForChild("ProjectileScript")
Bubbles = script:WaitForChild("Bubbles")
RbxUtility = LoadLibra... | 1,606 |
Roblox/gear | Roblox-gear-28b88df/src/gear/295460702/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
Equipped = false
ClientCont... | 698 |
Roblox/gear | Roblox-gear-28b88df/src/gear/295460702/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... | 4,014 |
Roblox/gear | Roblox-gear-28b88df/src/gear/295461517/src/SwordScript.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
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... | 2,176 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298085284/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")
Animations = {
Throw = {Animation = Tool:WaitForChild("Throw"), FadeTime = nil, Weight = nil, Speed = nil},
Sit = {Animation = Tool:WaitForChild("Sit"), FadeTime = ... | 4,345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298087401/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,945 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298087401/src/Script/ModeGui/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Gui = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
MainFrame = Gui:WaitForChild("MainFrame")
Button = MainFrame:WaitForChild("Button")
ServerConnection = Gui:WaitForChild("ServerConnection").Value
Tool = Gui:WaitForChild("Tool").Value
function InvokeSer... | 218 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298087401/src/Script/ProjectileManager/ParticleScript.server.luau | luau | .luau | --Made by Luckymaxer
Particle = script.Parent
Debris = game:GetService("Debris")
Duration = Particle:WaitForChild("Duration")
while Duration.Value > 0 do
local Time = wait()
Duration.Value = (Duration.Value - Time)
end
Particle.Enabled = false
Debris:AddItem(Particle, 2) | 72 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298087401/src/Script/ProjectileManager/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
FunctionsLibrary = script:FindFirstChild("Functions")
ParticleScript = script:FindFirstChild("ParticleScript")
Fire = script:FindFirstChild("EffectFire")
RbxUtility = LoadLibrary("RbxUtility")
Create =... | 960 |
Roblox/gear | Roblox-gear-28b88df/src/gear/298087401/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
wait()
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
FunctionsLibrary = script:WaitForChild("Functions")
Proj... | 4,459 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29939404/src/HotDog_LocalMain.client.luau | luau | .luau | local Tool = script.Parent;
local con = nil
function onButton1Down(mouse)
script.Parent.Opponent.Value = nil
if mouse ~= nil and mouse.Target ~= nil and mouse.Target.Parent ~= nil then
local humanoid = mouse.Target.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
local player = game.Play... | 189 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29957963/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 force = Instance.new("BodyForce")
local shell = script.Parent
local initPos = shell.Position
local debris = game:GetService("Debris")
local sparkles = {}
force.Paren... | 1,137 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29957963/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
wait(3)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil th... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29957963/src/PlantBomb.server.luau | luau | .luau | bombScript = script.Parent.Bomb
Tool = script.Parent
function plant(pos)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
local bomb = Tool.Handle:Clone()
bomb.CanCollide = true
bomb.Transparency = 0
bomb.Positi... | 270 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29959768/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 force = Instance.new("BodyForce")
local shell = script.Parent
local initPos = shell.Position
local debris = game:GetService("Debris")
local sparkles = {}
... | 1,139 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29959768/src/PlantBomb.server.luau | luau | .luau | bombScript = script.Parent.Bomb
Tool = script.Parent
function plant(pos)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
local bomb = Tool.Handle:Clone()
bomb.CanCollide = true
bomb.Transparency = ... | 270 |
Roblox/gear | Roblox-gear-28b88df/src/gear/29959911/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 force = Instance.new("BodyForce")
local shell = script.Parent
local debris = game:GetService("Debris")
force.Parent = shell
local colors = {Color3.new(... | 762 |
Roblox/gear | Roblox-gear-28b88df/src/gear/300410436/src/Script/CobWebShot.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Creator = Model:WaitForChild("Creator")
SpiderConfi... | 2,898 |
Roblox/gear | Roblox-gear-28b88df/src/gear/300410799/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,391 |
Roblox/gear | Roblox-gear-28b88df/src/gear/300436644/src/Content.luau | luau | .luau | --Made by Luckymaxer
Content = {}
Content.Images = {300382003, 300382107, 300382162, 300382222, 300382288, 300382372, 300382424}
Content.MeshData = {
Meshes = {
Together = 300381483,
Crayon = 300381560,
Stencil = 300381596,
},
Texture = 300381648,
}
return Content | 98 |
Roblox/gear | Roblox-gear-28b88df/src/gear/300436644/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
BaseUrl = "http://www.roblox.com/asset/?id="
Animations = {}
ServerC... | 964 |
Roblox/gear | Roblox-gear-28b88df/src/gear/300436644/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 3,174 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302030998/src/Script/DeathEffect/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
WindDirection = script:FindFirstChild("WindDirection")
Force = script:FindFirstChild("Force")
SoulEffec... | 1,946 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302030998/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
ServerControl = (Tool:Find... | 4,167 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302063713/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,226 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302063713/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 2,255 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302280931/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,944 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302280931/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {}
function Functions.Clamp(Number, Min, Max)
return math.max(math.min(Max, Number), Min)
end
function Functions.GetPercentage(Start, End, Numb... | 1,010 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302281291/src/Script/CobWebShot/StunScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
Duration = script:FindFirstChild("Duration")
Destroying = false
function DestroyScript()
if Destroying then
return
end
Destroying = true
if Humanoid then
Humanoid.WalkSpeed = 16... | 153 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302281291/src/Script/CobWebShot/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
StunScript = script:WaitForChild("StunScript")
CoverScreen = script:WaitForChild("CoverSc... | 3,177 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,885 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/SwordScript/DeathEffect/Functions.luau | luau | .luau | --Made by Luckymaxer
Functions = {}
BaseColor = BrickColor.new("Really black")
Color = BaseColor.Color
Functions.DarkProperties = {
All = {
--BrickColor = BaseColor,
Material = Enum.Material.Plastic,
Transparency = 0.5,
TextureId = "",
--Texture = "",
VertexColor = Vector3.new(BaseColor.Color.r, BaseCol... | 1,247 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/SwordScript/DeathEffect/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
WindDirection = script:WaitForChild("WindDirection")
Force = script... | 931 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/SwordScript/PoisonFlashEffect/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = require(script:WaitForChild("Functions"))
DeathEffect = script:FindFirstChild("DeathEffect")... | 931 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/SwordScript/StunScript.server.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Duration = script:FindFirstChild("Duration")
Rate = (1 / 60)
function DestroyScript()
Debris:AddItem(script, 0.5)
script:Destroy()
end
if not Humanoid or Humanoid.Health == 0 or not ... | 173 |
Roblox/gear | Roblox-gear-28b88df/src/gear/302502491/src/SwordScript/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")
RunService = game:GetService("RunService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
StunScript = script... | 4,508 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.