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/410001793/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... | 2,422 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413199938/src/Script/Effects/DisableJump.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Owner = script:FindFirstChild("Owner")
function DestroyScript()
Debris:AddItem(script, 0.5)
end
if not Owner or not Owner.Value or not Owner.Value.Parent then
DestroyScript()
return
end
Owner = Owner.Value
Owner.Changed:connect(function(Property)
if Prop... | 148 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413199938/src/Script/Effects/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {}
function Functions.IsTeamMate(Player1, Player2)
return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamC... | 202 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413199938/src/Script/Effects/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = require(script:WaitForChild("Functions"))
DisableJumpScript = script:WaitForChild("DisableJump")
Char... | 706 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413199938/src/Script/UnluckyEffectIndicator/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Gui = script.Parent
Debris = game:GetService("Debris")
Creator = Gui:WaitForChild("Creator")
function RemoveGui()
Gui.Enabled = false
Debris:AddItem(Gui, 1)
end
if not Creator or not Creator.Value or not Creator.Value.Parent then
RemoveGui()
return
end
Creator = Creator.Value
Creator.Cha... | 119 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413199938/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... | 3,789 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
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... | 614 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/StunScript/ClientScript/init.client.luau | luau | .luau | --Made by Luckymaxer
wait()
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players.LocalPlayer
PlayerGui = Player:FindFirstChild("PlayerGui")
UnluckyText = script:WaitForChild("UnluckyText")
function TweenNumber(Current, Goal, Time)
return ((Goal - Current) / Time)
end
function ... | 903 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/StunScript/EffectsBin/Blur.client.luau | luau | .luau | --Made by Luckymaxer
wait()
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Player = Players.LocalPlayer
Camera = game:GetService("Workspace").CurrentCamera
Character = Player.Character
Humanoid = Character:FindFirstChild("H... | 331 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/StunScript/EffectsBin/Confusion.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
if Humanoid and Humanoid.Health > 0 then
Humanoid.WalkSpeed = -10
wait(10)
Humanoid.WalkSpeed = 16
end
Debris:AddItem(script, 0.5) | 90 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/StunScript/EffectsBin/Trippy.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
if Humanoid and Humanoid.Health > 0 and HumanoidRootPart then
local Start = tick()
w... | 184 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/StunScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
ClientScript = scri... | 563 |
Roblox/gear | Roblox-gear-28b88df/src/gear/413200176/src/Script/ProjectileScript/init.server.luau | luau | .luau | --Made by Luckymaxer
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 = "http://www.roblox.com/asset/?id="
Creator = Pa... | 799 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41457484/src/CandyScript.server.luau | luau | .luau | -- 41410287 - crunch
-- 41410408 - mmm1
-- 41410429 - mmm2
-- (phone sounds):
-- 41440521 - click
-- 41440567 - beep
-- 41440601 - startupSound
-- 41450987 - latkeCake
-- 41451052 - latkePlate
local Tool = script.Parent
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then return end
T... | 912 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41457719/src/CandyScript.server.luau | luau | .luau | -- SOUNDS:
-- 41410287 - crunch
-- 41410408 - mmm1
-- 41410429 - mmm2
-- 41410443 - mmm3
-- 41410464 - yummy
-- (phone sounds):
-- 41440521 - click
-- 41440567 - beep
-- 41440601 - startupSound
-- 41434307 = GoldCoinMesh
-- 41434337 = PureChocoMesh
local Tool = script.Parent
Tool.Enab... | 928 |
Roblox/gear | Roblox-gear-28b88df/src/gear/4146860828/src/Server/AIScript.server.luau | luau | .luau | -- // Created by StarWars
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
local world = workspace
local Cframe,NewRay = CFrame.new,Ray.new
local FindPartOnRay = world.FindPartOnRay
local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid:... | 402 |
Roblox/gear | Roblox-gear-28b88df/src/gear/4146860828/src/Server/init.server.luau | luau | .luau | local Self = script
local Game,world = game,workspace
local Pairs = pairs
local Destroy,Clone,GetChildren,IsA = Game.Destroy,Game.Clone,Game.GetChildren,Game.IsA
local Tool = Self.Parent
Tool.Enabled = true
Tool.RequiresHandle = false
Tool.CanBeDropped = false
local Services = {
InsertService = (Game:FindService(... | 556 |
Roblox/gear | Roblox-gear-28b88df/src/gear/416846710/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... | 5,382 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41855400/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
local humanoid = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
anim:Play()
wait(6)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
fu... | 280 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41855400/src/RegenEffect.server.luau | luau | .luau | function waitForChild(parent, childName)
local child = parent:findFirstChild(childName)
if child then return child end
while true do
child = parent.ChildAdded:wait()
if child.Name==childName then return child end
end
end
-- declarations
local Fig... | 443 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41855400/src/SodaScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.Handle.DrinkSound:Play()
wait(1)
local h = Tool.Parent:FindFirstChild("Humanoid")
if (h ~= nil) then
if (Tool.Parent:FindFirstChild("RegenEffect") == nil) then
local s = script.Par... | 132 |
Roblox/gear | Roblox-gear-28b88df/src/gear/41856126/src/Script.server.luau | luau | .luau | local Tool = script.Parent
--local gears = {27471379, 16924676, 33867401, 18210455, 18479357} --, 31839203} --remote control might be tricky to get... save for l8r
local gears = {18210455, 35809502, 16924676, 33382537, 33867401, 30847779, 26014536} -- and put in Battle Sleighs here too!
function onActivated()
... | 734 |
Roblox/gear | Roblox-gear-28b88df/src/gear/419240423/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,273 |
Roblox/gear | Roblox-gear-28b88df/src/gear/419241111/src/Script.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2... | 935 |
Roblox/gear | Roblox-gear-28b88df/src/gear/420160506/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")
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
Di... | 808 |
Roblox/gear | Roblox-gear-28b88df/src/gear/420161128/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
Animations = {}
Remotes = Tool:WaitForChild("Remotes")
ServerControl = Remotes:WaitForChild("ServerControl")
ClientControl... | 1,199 |
Roblox/gear | Roblox-gear-28b88df/src/gear/420161128/src/Script.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 1,743 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42067245/src/CreepScript.server.luau | luau | .luau | local Creep = script.Parent
local creep1 = Creep.Handle.CreepSound1
local creep2 = Creep.Handle.CreepSound2
local creep3 = Creep.Handle.CreepSound3
local creep4 = Creep.Handle.CreepSound4
local creep5 = Creep.Handle.CreepSound5
local creep6 = Creep.Handle.CreepSound6
Creep.Enabled = true
function onActivated()
if not... | 631 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42200159/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
--anim:Play()
wait(11)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedL... | 193 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42200159/src/SnowbombScript.server.luau | luau | .luau | local numSnowBalls = 10
local mySparks = Instance.new("Sparkles")
mySparks.Parent = script.Parent
local hitsounds = {"19326853", "19326880", "19326891"}
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=" .. hitsounds[math.random(1,#hitsounds)]
HitSound.Parent = script.Parent... | 358 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42200159/src/SodaScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
-- Tool.Handle.DrinkSound:Play()
local newBomb = Tool.Handle:Clone()
Tool.Snowball:Clone().Parent = newBomb
newBomb.CanCollide = true
Tool.SnowbombScript:Clone().Parent = newBomb
newBomb.Sn... | 311 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42200852/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
--anim:Play()
wait(16)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
fu... | 211 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42200852/src/SodaScript.server.luau | luau | .luau | -- Sound used provided by Sedi on www.freesound.org
local Tool = script.Parent;
local SnowHat = require(215075770)
SnowHat.Parent = Tool
enabled = true
function onActivated()
if not enabled then
return
end
if Tool.Parent == nil or Tool.Parent.Name == "Backpack" then return end
local head = Tool.Parent:FindFi... | 530 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42201538/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,1)
Pellet.Shape = 0
Pellet.BrickColor = BrickColor.new("Institutional white")
Pellet.Material = Enum.Material.Concrete
Pellet.Locked = true
Pellet.TopSurface = 0
Pellet.BottomSurface... | 518 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42321801/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
anim:Play()
wait(8)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedLoca... | 260 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42321801/src/SodaScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.Handle.DrinkSound:Play()
-- smmmmmmmokin' (or it'd just be "Chocolate")
local newSmoke = Instance.new("Smoke")
newSmoke.RiseVelocity = 2
newSmoke.Opacity = .5
newSmoke... | 368 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42321801/src/SpeedEffect.server.luau | luau | .luau | -- assume we are in the character, let's check
function sepuku()
script.Parent = nil
end
local debris = game:GetService("Debris")
local h = script.Parent:FindFirstChild("Humanoid")
if (h == nil) then sepuku() end
local torso = script.Parent:FindFirstChild("Torso")
if (torso == nil) then sepuku() end
l... | 602 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425120575/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")
BaseUrl = "http://www.roblox.com/asset/?id="
MusicModule = require(191816425)
BasePart... | 1,696 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425121415/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
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... | 624 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425121415/src/Script/AppleScript/EffectScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Effect = script:FindFirstChild("Effect")
EatAnimation = script:FindFirstChild("EatAni... | 618 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425121415/src/Script/AppleScript/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
BaseUrl = "http://www.roblox.com/asset/?id="
EffectScript = script:WaitForChild("EffectScript")
Creator = Part:FindFirstChild("Creator... | 389 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425121415/src/Script/BookScript/EffectScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Effect = script:FindFirstChild("Effe... | 849 |
Roblox/gear | Roblox-gear-28b88df/src/gear/425121415/src/Script/DiplomaScript/EffectScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Effect = script:FindFirstChild("Effe... | 1,752 |
Roblox/gear | Roblox-gear-28b88df/src/gear/427947884/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,973 |
Roblox/gear | Roblox-gear-28b88df/src/gear/427948872/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.CheckTable(Table, Object)
for i, v in pairs(Table) do
if v == Object then
return true
end
end
return false
end
f... | 353 |
Roblox/gear | Roblox-gear-28b88df/src/gear/427948872/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 2,505 |
Roblox/gear | Roblox-gear-28b88df/src/gear/427949130/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {
CheckTableForInstance = (function(Table, Instance)
for i, v in pairs(Table) do
if v == Instance then
return true
end
end
return false
end),
CheckTableForStrin... | 649 |
Roblox/gear | Roblox-gear-28b88df/src/gear/427949130/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 3,316 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845609/src/RayGun/ProjectileScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Part:WaitForChild("Creator")
Sounds = {
Hit = Part:WaitForChild("Hit"),
PersonHit = Part:WaitForChild("PersonHit")
}
Damage = 10
function IsTeamMate(Player1, Player2)
return (Player... | 495 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845684/src/InputScript.client.luau | luau | .luau | local equipped = false
script.Parent.CamFocus.Changed:connect(function()
local o = script.Parent.CamFocus.Value
if o then
wait()
game.Workspace.CurrentCamera.CameraType = 1
game.Workspace.CurrentCamera.CameraSubject = o
else
wait()
game.Workspace.CurrentCamera.CameraType = 5
game.Workspace.CurrentCamer... | 313 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845853/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 10
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
--myAngVel = ball.BodyAngularVelocity
--local noMoreCollision = false
local touchConnection = nil
function onTouched(h... | 773 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845853/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
local fireEvent = Tool:WaitForChild('FireEvent')
enabled = true
--local spark = Instance.new("Sparkles")
local spark = Instance.new("Smoke")
spark.Color = Color3.new(0,.5,1)
spark.RiseVelocity = 5
spark.Size = 1
spark.Name = "IceFog"
function fire(v)
local vCharacter = Tool.Parent
loc... | 894 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845896/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
anim:Play()
wait(46)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
func... | 273 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845896/src/SodaScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not Tool.Enabled then return end
Tool.Enabled = false
Tool.Handle.DrinkSound:Play()
wait(1)
local h = Tool.Parent:FindFirstChildOfClass("Humanoid")
if (h ~= nil) then
if (Tool.Parent:FindFirstChild("SpeedEffect") == nil) th... | 130 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42845896/src/SpeedEffect.server.luau | luau | .luau | -- assume we are in the character, let's check
function sepuku()
script.Parent = nil
end
local debris = game:GetService("Debris")
local h = script.Parent:FindFirstChildOfClass("Humanoid")
if (h == nil) then sepuku() end
local torso = script.Parent:FindFirstChild("Torso") or script.Parent:FindFirstChild("U... | 1,071 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42847923/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent
local anim = nil
local swoosh = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
--wait(1)
if anim ~= nil then anim:Play() end
wait(.75)
if swoosh ~= nil then swoos... | 400 |
Roblox/gear | Roblox-gear-28b88df/src/gear/42847923/src/SwordScript.server.luau | luau | .luau | local bigCount = 0
local Tool = script.Parent
local sword = script.Parent.Handle
local waitTime = 0.05
local maxDamage = 7
local damage = 0
local debris = game:GetService("Debris")
local maxNumClones = 6
local numClones = maxNumClones
Tool.Enabled = true
equipped = false
local mySwords = {}
local iceblox = {}
loc... | 2,969 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430065768/src/Script/DanceScript/Dancify/DisableJump.client.luau | luau | .luau | local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local Character = script.Parent
local Humanoid = Character:FindFirstChild("Humanoid")
local Controller = script:WaitForChild("Controller")
function DestroyScript()
if DisableJump then
DisableJump:Disconnect()
end
Debris:AddItem(... | 165 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430065768/src/Script/DanceScript/Dancify/init.server.luau | luau | .luau | local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local BaseUrl = "rbxassetid://"
local Character = script.Parent
local Humanoid = Character:FindFirstChild("Humanoid")
local DisableJump = script:WaitForChild("DisableJump")
local AnimationId = script:FindFirstChild("AnimationId")
lo... | 417 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430065768/src/Script/DanceScript/init.server.luau | luau | .luau | local Part = script.Parent
local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local BaseUrl = "rbxassetid://"
local DancifyScript = script:WaitForChild("Dancify")
local Creator = Part:FindFirstChild("Creator")
function GetCreator()
return (((Creator and Creator.Value and Creator.V... | 719 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430065768/src/Script/ProjectileEffects.server.luau | luau | .luau | local Part = script.Parent
local BrickRandom = Random.new()
while true do
wait(0.5)
Part.Color = Color3.new(BrickRandom:NextNumber(), BrickRandom:NextNumber(), BrickRandom:NextNumber())
for i, v in pairs(Part:GetChildren()) do
if v:IsA("ParticleEmitter") then
v.Color = ColorSequence.new(Part.Color, Part.Color... | 93 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430065768/src/Script/init.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local BaseUrl = "rbxassetid://"
local DanceScript = script:WaitForChild("DanceScript")
local ProjectileEffects = script:WaitForChild("ProjectileEffects")
local Par... | 1,185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/430066424/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)
... | 1,943 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431038614/src/Script/DeathEffect/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
WindDirection = script:FindFirstChild("WindDirection")
Force = script:FindFirstChild("Force")
Parts = {}
BaseColor = BrickColor.new("Lime green")
Color = BaseColor.Color
Gravity = 196.... | 1,421 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431038614/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 3,008 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431042935/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... | 3,072 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431044405/src/Script/NPCScripts/AIScript/Functions.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
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),... | 1,164 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431044405/src/Script/NPCScripts/AIScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Humanoid = Figure:WaitForChild("Humanoid")
Torso = Figure:WaitForChild("Torso")
Players = game:GetService("Players")
Functions = require(script:WaitForChild("Functions"))
Creator = Figure:WaitForChild("Creator")
HitDelay = Figure:WaitForChild("HitDelay")
Damage = Figure:W... | 1,583 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431044405/src/Script/NPCScripts/Animate.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
Creator = Figure:FindFirstChild("Creator")
Humanoid = Figure:WaitForChild("Humanoid")
Head = Figure:WaitForChild("Head")
Torso = Figure:WaitForChild("Torso")
Neck = Torso:WaitForChild("Neck")
L... | 1,761 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431044405/src/Script/NPCScripts/RegenerateHealth.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Humanoid = Figure:WaitForChild("Humanoid")
Regenerating = false
function RegenerateHealth()
if Regenerating then
return
end
Regenerating = true
while Humanoid.Health < Humanoid.MaxHealth do
local Second = wait(1)
local Health = Humanoid.Health
if Health > 0 and... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431044405/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 4,594 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431045523/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BirdModule = require(191816425)
MaxBirds = 1
Birds = {}
Duration = (60 * 1)
ToolEquipped = false
ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.... | 843 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431047232/src/Script/FreezeScript.server.luau | luau | .luau | --Made by Luckymaxer
Object = script:WaitForChild("Object")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Character = script.Parent
Humanoid = Character:WaitForChild("Humanoid")
if not Object.Value or not Object.Value.Parent then
DestroyScript()
return
end
function DestroyScript()... | 245 |
Roblox/gear | Roblox-gear-28b88df/src/gear/431047232/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 2,582 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43245104/src/CreepScript.server.luau | luau | .luau | local Creep = script.Parent
local creep1 = Creep.Handle.CreepSound1
local creep2 = Creep.Handle.CreepSound2
local creep3 = Creep.Handle.CreepSound3
local creep4 = Creep.Handle.CreepSound4
local creep5 = Creep.Handle.CreepSound5
local creep6 = Creep.Handle.CreepSound6
local colors = {Vector3.new(2,2,2), Vector3.new(1,... | 842 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43245478/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(20)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
if mouse == nil t... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43245478/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/43245530/src/BombScript.server.luau | luau | .luau | local 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 candle = script.Parent
local initPos = candle.Position
local debris = game:GetService("Debris")
local particles = {}
fo... | 1,070 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43245530/src/PlantBomb.server.luau | luau | .luau | local Tool = script.Parent
local Candle = Tool.Handle
local vCharacter
Tool.Enabled = true
function plant(pos)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
bg = Instance.new("BodyGyro")
bg.P = 10000
bg.maxTo... | 479 |
Roblox/gear | Roblox-gear-28b88df/src/gear/433922317/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
Animations = {}
AnimationObjs = {
Pose = {Animation = Tool:WaitForChild("Pose"), FadeTime = 0.25, Weight = nil, Speed = 0... | 971 |
Roblox/gear | Roblox-gear-28b88df/src/gear/433922317/src/Script.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 1,592 |
Roblox/gear | Roblox-gear-28b88df/src/gear/433923430/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 2,627 |
Roblox/gear | Roblox-gear-28b88df/src/gear/435116454/src/Script/DeathEffect.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
WindDirection = script:FindFirstChild("WindDirection")
Force = script:FindFirstChild("Force")
Parts = {}
BaseColor = BrickColor.new("Really red")
Color = BaseColor.Color
Gravity = work... | 1,379 |
Roblox/gear | Roblox-gear-28b88df/src/gear/435116454/src/Script/Goldify/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players:GetPlayerFromCharacter(Character)
Duration = script:FindFirstChild("Duration")
Sounds = {
... | 1,002 |
Roblox/gear | Roblox-gear-28b88df/src/gear/435116454/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")
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = require(script:WaitForChild("Functions"))
local function Create_PrivImpl... | 4,540 |
Roblox/gear | Roblox-gear-28b88df/src/gear/435116927/src/SwordScript.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 2,362 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43567614/src/LocalScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
-- 42157945 - crazystripes
-- 42158268 - crazycrazy
-- 42159774 - crazymixed
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("Conte... | 1,918 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43567614/src/Script.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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Meshes = {
... | 3,163 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43708943/src/DragonSpear.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
debris = game:GetService("Debris")
local damage = 3
local myHumanoid = nil
local slash_damage = 6
sword = script.Parent.Handle
Tool = script.Parent
local SmashSound = Instance.new("Sound")
--SmashSound.SoundId = "http://www.roblox.com/asset/?id=21433696"
SmashSoun... | 2,020 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43708943/src/FireballScript.server.luau | luau | .luau | local fireball = script.Parent
local debris = game:GetService("Debris")
local chargeForce = fireball.Damage.Value
local damageToDeal = .50 + chargeForce/100
local ember = Instance.new("Part")
ember.Transparency = 1
ember.Shape = 0
ember.formFactor = 0
ember.Size = Vector3.new(0,0,0)
ember.TopSurface = 0
ember.BottomS... | 452 |
Roblox/gear | Roblox-gear-28b88df/src/gear/43708954/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 5
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
local touchedYet = false
function onTouched(hit)
if hit == nil or hit.Parent == nil or touchedYet or hit.Name == "Drago... | 391 |
Roblox/gear | Roblox-gear-28b88df/src/gear/439307591/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Duration = 15
ReloadTime = 8
ToolEquipped = false
Handle.Transparency = 0
Tool.Enabled = true
function CheckIfAlive()
return (((Character and Character.Parent and... | 362 |
Roblox/gear | Roblox-gear-28b88df/src/gear/439988813/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be ... | 2,603 |
Roblox/gear | Roblox-gear-28b88df/src/gear/439989184/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")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new(... | 1,562 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44084783/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 10
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
if hit == nil or hit.Parent == nil then return end
local humanoid = hit.Parent:findFirstChil... | 182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44115185/src/SwordScript.server.luau | luau | .luau | local damage = 10
local objection_damage = 10
local order_damage = 25
local overruled_damage = 50
sword = script.Parent.Handle
Tool = script.Parent
local bang = Tool.Handle.Bangbang
local objection = Tool.Handle.Objection
local order = Tool.Handle.Order
local overruled = Tool.Handle.Overruled
local canDamage = true... | 660 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44115926/src/THawk.server.luau | luau | .luau | local Tool = script.Parent;
local r = game:service("RunService")
local vChar = Tool.Parent
local torso = nil
while vChar == nil or vChar.Name == "BackPack" or torso == nil do
vChar = Tool.Parent
if vChar ~= nil and vChar.Name ~= "BackPack" then
torso = vChar:FindFirstChild("Torso") or vChar:FindFirstChild("Upper... | 1,250 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44116233/src/Handle/MegaphoneGui/MegaphoneGuiScript.server.luau | luau | .luau | local reloadTime = 1.5
local mGui = script.Parent
local sirenButton = mGui.SirenButton
local blahButton = mGui.BlahButton
local whatButton = mGui.WhatButton
local yayButton = mGui.YayButton
local mHandle = mGui.Parent
local whatSound = mHandle.What
local blahSound = mHandle.Blah
local yaySound = mHandle.... | 325 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44116233/src/THawk.server.luau | luau | .luau | local mPhone = script.Parent;
local vChar = nil
local vPlay = nil
function onEquip()
vChar = mPhone.Parent
if vChar == nil then return end
vPlay = game.Players:GetPlayerFromCharacter(vChar)
if vPlay == nil then return end
megaGui = vPlay.PlayerGui:FindFirstChild("MegaphoneGui")
if megaGui == nil then
megaGu... | 206 |
Roblox/gear | Roblox-gear-28b88df/src/gear/444457864/src/Script/HitScript/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
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = require(script:WaitForChild("Functions"))
Sounds = {
Strike = Part:WaitForCh... | 982 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.