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/323192649/src/Script/BallScript.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Ball = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Sounds = {
Hit = Ball:WaitForChild("Hit"),
HitGround = Ball:WaitForChild("HitGround"),
HitWater = Ball:WaitForChild("HitWater"),
SplashWater = Ball:WaitForChild("... | 1,194 |
Roblox/gear | Roblox-gear-28b88df/src/gear/323192649/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:FindFirstChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BallScript = script:WaitForChild("BallScript")
ReloadTime = (60 / 2)
BallDuration = (60 * 2)
Handle.Transparency = 0
Handle.C... | 577 |
Roblox/gear | Roblox-gear-28b88df/src/gear/323477973/src/Script/HitScript/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = {}
function Functions.IsTeamMate(Player1, Player2)
return (Player1 and Player2 and not Player1.Neu... | 217 |
Roblox/gear | Roblox-gear-28b88df/src/gear/323477973/src/Script/HitScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Part:WaitForChild("Creator")
Damage = Part:WaitForChild("Damage")
PushStrength = Part:WaitForChild("PushStrength")
FadeDelay = Part:WaitForChild("FadeDelay")
Functions = require(script:WaitFor... | 656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/323477973/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,405 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32353654/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local ServerControls = Tool:WaitForChild("ServerControls")
local Animations = Tool:WaitForChild("Animations")
local R6Folder = Animations:WaitForChild("R6")
local R15Folder = Animations:WaitForChild("R15")
local Character = nil
local Humanoid = nil
local MoonWalkAnim = nil
ServerControls.... | 292 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/Animate/init.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
local Figure = script.Parent
local Torso = waitForChild(Figure, "Torso")
local RightShou... | 4,234 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local enabled = true
local humanoid = nil
local thrower = nil
local ClientControl = Tool:WaitForChild("ClientControl")
function onButton1Down(mouse)
if not enabled then
return
end
if not mouse.Target then return end
thrower:Play()
local target = mouse.Target.Parent:... | 274 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/MessageScript.server.luau | luau | .luau | local noobSayings =
{"Will you donate me? plz?",
"THIS IS NOT FAKE BUILDERMAN TOLD ME HOW TO GET 1000000000 ROBUX AND TIX SO COPY THIS ON 10 HATS AND LOOK AT YOUR MONEY",
"Come to my place to get on film!",
"Can I friend you?",
"What is a 'noob'?",
"Plz join my group",
"Why are you running away?",
"I'm totally... | 226 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/NoobTransformer.server.luau | luau | .luau | local noobTorso = script.Parent
local touching = false
function onTouched(part)
if touching then
return
end
if not part then return end
if part and not part.Parent then return end
touching = false
local humanoid = part.Parent:FindFirstChild("Humanoid")
if part.Parent.Name ~= "n00b" and huma... | 316 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
local Handle = Tool.Handle
local enabled = true
local humanoid = nil
local amountInFront = 15
local reloadSound = Instance.new("Sound")
reloadSound.Name = "reloadSound"
reloadSound.SoundId = "http://www.roblox.com/asset/?id=25299064"
reloadSound.Parent = Tool.Handle
reloadSound.... | 1,078 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355759/src/Welder.server.luau | luau | .luau | local noob= script.Parent
noob.Torso.Anchored = true
noob.LeftArm.Anchored = true
noob.RightArm.Anchored = true
noob.LeftLeg.Anchored = true
noob.RightLeg.Anchored = true
noob.Head.Anchored = true
local keepYoHead = Instance.new("Weld")
keepYoHead.Part0 = noob.Head
keepYoHead.Part1 = noob.Torso
keepYoHead... | 459 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355966/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent
local cast = nil
Mouse_Icon = "rbxasset://textures/GunCursor.png"
Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
local Mouse = nil
local enabled = false
local ServerControls = Tool:WaitForChild("ServerControls")
ServerControls.OnClientEvent:Connect(function()
if cast then
cast... | 306 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355966/src/SnowballLauncher.server.luau | luau | .luau | local Players = game:GetService("Players")
Tool = script.Parent
VELOCITY = 50 -- constant
loaded=false
local Pellet = Instance.new("Part")
Pellet.BrickColor = BrickColor.new("Bright green")
Pellet.Shape = 0
Pellet.formFactor = 0
Pellet.Size = Vector3.new(3,3,3)
Pellet.Locked = true
Pellet.TopSurface = 0
... | 550 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32355966/src/SnowballScript.server.luau | luau | .luau | arrow = script.Parent
local prevVelocity = 0
local particles = {}
debris = game:GetService("Debris")
function Snowface(h,hit)
local torso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
if torso ~= nil then
local bodyVelo = Instance.new("BodyVelocity")
print(pre... | 626 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32356064/src/RocketLauncherScript.server.luau | luau | .luau | --Fixed by TakeoHonorable
local Tool = script.Parent
Tool.Enabled = true
local AnimationFolder = Tool:WaitForChild("Animations")
local MouseLoc = Tool:WaitForChild("MouseLoc",10)
local Handle = Tool:WaitForChild("Handle",10)
local reload = 10
local rocketspeed = 100
local humanoid,character,player
local debris... | 1,478 |
Roblox/gear | Roblox-gear-28b88df/src/gear/325755895/src/Script/HitScript/SnowMeltScript.client.luau | luau | .luau | --Made by Luckymaxer
Frame = script.Parent
Delay = script:WaitForChild("Delay")
wait(Delay.Value)
local TimeToFade = 1
local FadeRate = 0.025
local OrigTransparency = 0
for i = 1, (TimeToFade / FadeRate) do
wait(FadeRate)
for ii, vv in pairs(Frame:GetChildren()) do
if vv:IsA("GuiObject") then
vv.ImageTransparen... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/325755895/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
SnowMeltScript = script:WaitForChild("SnowMeltScript")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Create("Part"){
Materi... | 1,872 |
Roblox/gear | Roblox-gear-28b88df/src/gear/325755895/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,135 |
Roblox/gear | Roblox-gear-28b88df/src/gear/325758098/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,482 |
Roblox/gear | Roblox-gear-28b88df/src/gear/327365543/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,164 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858586/src/EquipFrost.server.luau | luau | .luau | -- need to add particle effects in after the fact so we can get a good thumbnail/profile pic
local part = Instance.new("Part")
part.Name = "Frost"
part.CanCollide = false
part.Locked = true
part.formFactor = 0
part.Size = Vector3.new(1,1,1)
part.Transparency = 1
local froster = Instance.new("Fire")
froster... | 171 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858586/src/IceSwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 20
local debris = game:GetService("Debris")
sword = script.Parent.Handle
Tool = script.Parent
local humanoid = nil
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "http://www.roblox.com/asset/?id=32656754"
SlashSound.Par... | 1,153 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858586/src/IceballScript.server.luau | luau | .luau | local fireball = script.Parent
local debris = game:GetService("Debris")
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.BottomSurface = 0
ember.Locked = true
local emberFire = Instance.new("Fire")
em... | 426 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858586/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent
local swingWithOut = nil
local swingJump = nil
local swordThrust = nil
local humanoid = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
wait()
if Tool.Lunge.Value == true then
humanoid.Jump = true
swingJump:P... | 325 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858586/src/WeldScript.server.luau | luau | .luau | local frost = script.Parent:FindFirstChild("Frost")
while frost == nil do
frost = script.Parent:FindFirstChild("Frost")
wait()
end
local weld = Instance.new("Weld")
weld.Part0 = script.Parent.Frost
weld.Parent = weld.Part0
weld.Part1 = script.Parent.Handle
weld.C0 = CFrame.new(0,-1.5,0)
weld.C1 = CFrame... | 228 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858662/src/FreezeScript.server.luau | luau | .luau | local player = script.Parent
local origWalkSpeed = player.Humanoid.WalkSpeed
player.Humanoid.WalkSpeed = origWalkSpeed/4
local bodyColors = player:FindFirstChild("Body Colors")
bodyColors.Parent = nil
local newBodyColors = Instance.new("BodyColors")
newBodyColors.HeadColor = BrickColor.new("Bright blue")
n... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858662/src/IceBlockScript.server.luau | luau | .luau | local humanoid = script.Parent:FindFirstChild("Humanoid")
if humanoid == nil then return end
local health = humanoid.Health
while true do
if humanoid.Health < health then
humanoid:TakeDamage(-10)
if humanoid.Health > health then
humanoid.Health = health
end
end
wait()
end
| 72 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858662/src/IceScript/Icer.server.luau | luau | .luau | local origSpeed = script.Parent.Humanoid.WalkSpeed
script.Parent.Humanoid.WalkSpeed = script.Parent.Humanoid.WalkSpeed - 5
for i = 1, 8 do
script.Parent.Humanoid:TakeDamage(1.2)
wait(1.5)
end
script.Parent.Humanoid.WalkSpeed = origSpeed
script:remove()
| 81 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858662/src/IceScript/init.server.luau | luau | .luau | local fire = script.Parent
local debris = game:GetService("Debris")
local ice = Instance.new("Part")
ice.Transparency = 0.5
ice.BrickColor = BrickColor.new("Bright blue")
ice.TopSurface = 0
ice.BottomSurface = 0
ice.Reflectance = 0.75
ice.CanCollide = false
local smoke = Instance.new("Smoke")
smoke.Size =... | 292 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858662/src/IceStaffScript.client.luau | luau | .luau | local Tool = script.Parent
local debris =game:GetService("Debris")
local keyDown = nil
local gui = nil
local selection = 1
local down = false
local positions = {UDim2.new(0, 25, 1, -150),UDim2.new(0, 25, 1, -100),UDim2.new(0, 25, 1, -50)}
local iceVaporStream = false
local iceVaporRing = false
local huma... | 4,656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858699/src/FireSwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 20
local debris = game:GetService("Debris")
sword = script.Parent.Handle
Tool = script.Parent
local humanoid = nil
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758934"
SlashSound.Par... | 1,200 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858699/src/FireballScript.server.luau | luau | .luau | local fireball = script.Parent
local debris = game:GetService("Debris")
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.BottomSurface = 0
ember.Locked = true
local emberFire = Instance.new("Fire")
em... | 380 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858741/src/BurnScript/Burner.server.luau | luau | .luau | print("Burning" .. script.Parent.Name)
for i = 1, 8 do
script.Parent.Humanoid:TakeDamage(2)
wait(1.5)
end
script:remove()
| 43 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858741/src/BurnScript/init.server.luau | luau | .luau | local fire = script.Parent
local debris = game:GetService("Debris")
local con = nil
function onTouched(part)
if part.Parent == nil then return end
if string.find(fire.Name,part.Parent.Name) ~= nil then return end
if part.Parent:FindFirstChild("Humanoid") then
if part:FindFirstChild(fire.Name) == nil the... | 177 |
Roblox/gear | Roblox-gear-28b88df/src/gear/32858741/src/FireStaffScript.client.luau | luau | .luau | local Tool = script.Parent
local debris = game:GetService("Debris")
local keyDown = nil
local gui = nil
local selection = 1
local down = false
local positions = {UDim2.new(0, 25, 1, -150),UDim2.new(0, 25, 1, -100),UDim2.new(0, 25, 1, -50)}
local fireStream = false
local fireRing = false
local humanoid = nil
local to... | 2,836 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330295904/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Equip = Tool:WaitForChild("Equip")
FireSound = Handle:WaitForChild("Fire")
FireFunction = Tool:WaitForChild("FireFunction")
Equipped = false
MouseDown = false
Relo... | 1,037 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330295904/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sparkles = script:WaitForChild("Sparkles")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Damage = 5
Colors = {"Really red", "Lime green"}
Projectile = Instance.new("Part")
Projectile.Name = "Projectile"
Projec... | 838 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296114/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false
function SetAnim... | 651 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296114/src/Script/GrowTree/init.server.luau | luau | .luau | --Made by Luckymaxer
Tree = script.Parent
Mesh = Tree:WaitForChild("Mesh")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Particles = script:FindFirstChild("Particles")
BaseSize = {
Size = Vector3.new(0.2, 0.2, 1.3),
Scale = Vector3.new(0.35, 0.35, 0.5),
}
Rate = (1 / 60)
Tr... | 1,497 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296114/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")
GrowTree = script:WaitForChild("GrowTree")
BaseUrl = "http://www.roblox.com/asset/?id="
function Create(ty)
return function(data)
local obj = Instance.new(ty)
... | 1,340 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296266/src/LocalScript.client.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,520 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296266/src/Script/Reindeer/Animate.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Body = Figure:WaitForChild("Body")
LeftShoulder = Body:WaitForChild("Left Shoulder")
RightShoulder = Body:WaitForChild("Right Shoulder")
LeftHip = Body:WaitForChild("Left Hip")
RightHip = Body:WaitForChild("Right Hip")
Bells = Bo... | 426 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296266/src/Script/Reindeer/init.luau | luau | .luau | --Made by Luckymaxer
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Animate = script:WaitForChild("Animate")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
FormFactor = Enum.FormFactor.Custom,
TopSurface =... | 1,517 |
Roblox/gear | Roblox-gear-28b88df/src/gear/330296266/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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Reindeer = require(script:WaitForChild("Reindeer"))
BaseUrl = "http://www.roblox.com/asset/?id="
... | 811 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332747438/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
UserInputService = game:GetService("UserInputService")
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = T... | 1,347 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332747438/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Functions = {}
function Functions.Clamp(Number, Min, Max)
return math.max(math.min(Max, Number), Min)
end
function Functions.GetPercentage(Start, End, Number)
return (((Number - Start) / (End - Start)) * 100)
end
function Functions.Round(Number, RoundDecimal)
local WholeNumber, Decimal = mat... | 106 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332747438/src/Script/PlungerScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Plunger = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Creator = Plunger:WaitForChild("Creator")
Damage = Plunger:WaitForChild("Damage")
Sounds = {
Hit = Plunger:WaitForChild("Hit"... | 631 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332747438/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,163 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332747874/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")
VehicleModel = InsertService:LoadAsset... | 651 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332748371/src/Script/EffectScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
PianoScript = script:WaitForChild("PianoScript")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id... | 3,330 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332748371/src/Script/PianoScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChildOfClass("Humanoid")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players:GetPlayerFromCharacter(Character)
RbxUtil... | 906 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332748371/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")
EffectScript = script:WaitForChild("EffectScript")
PianoScript = script:WaitForChild("PianoScript")
local function Create_PrivImpl... | 2,047 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332755212/src/LocalScript/init.client.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
ArtemisGui = script:WaitForChild("ArtemisGui")
Animations = {}
Loca... | 3,138 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332755212/src/Script.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")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Di... | 4,730 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332774000/src/Script/SpeedScript.server.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Torso = Character:FindFirstChild("Torso")
Duration = script:FindFirstChild("Duration")
Speed = script:FindFirstChild("Speed")
function DestroyScript()
if Humanoid then
Humanoid.WalkSp... | 235 |
Roblox/gear | Roblox-gear-28b88df/src/gear/332774000/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")
SpeedScript = script:WaitForChild("SpeedScript")
Grips = {
Hold = CFrame.new(0, -0.55, 0.3, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Drink = CFrame.new(0, -0.55, 0.3, 0.9167522... | 918 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33382537/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 6
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=33286094"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
HitSound:Play()
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil ... | 345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33382537/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local humanoid,anim = nil
local Animations = {
Slingshot = Tool:WaitForChild("slingshot");
R15Slingshot = Tool:WaitForChild("R15Slingshot")
}
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCurso... | 309 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33382537/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
local spawnPos = vCharacter.PrimaryPart.Position
local PewPew = Tool.Handle:FindFirstChild("PewPew")
if (PewPew == ni... | 556 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33382711/src/ReachHandScript.client.luau | luau | .luau | local Tool = script.Parent
local humanoid = nil
local mouseDown = nil
local anim = nil
function onEquippedLocal(mouse)
Tool.Handle.Sound:Stop()
humanoid = Tool.Parent:FindFirstChild("Humanoid")
mouseDown = mouse.Button1Down:connect(onActivated)
anim = humanoid:LoadAnimation(Tool.launchhand)
end
Tool.Equ... | 836 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33382711/src/ReturnScript.server.luau | luau | .luau | local Hand = script.Parent
local debris = game:GetService("Debris")
local player = Hand.Player.Value
local con = nil
local bodyPos = nil
local rope = Instance.new("Part")
rope.BrickColor = BrickColor.new("Really black")
rope.TopSurface = 0
rope.BottomSurface = 0
rope.formFactor = "Symmetric"
rope.Name = "Ro... | 573 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33383241/src/BombBlink.server.luau | luau | .luau | local Mesh = script.Parent.Mesh
local blink = false
while true do
blink = not blink
if blink then
Mesh.TextureId = "http://www.roblox.com/asset/?id=28512114"
else
Mesh.TextureId = "http://www.roblox.com/asset/?id=33378623"
end
wait(2)
end
| 82 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33383241/src/PlantBomb.server.luau | luau | .luau | Tool = script.Parent
local planting = true
local bomb = nil
local sound = Instance.new("Sound")
sound.SoundId = "http://www.roblox.com/asset/?id=28517063"
sound.Looped = true
local explosion = Instance.new("Sound")
explosion.SoundId = "http://www.roblox.com/asset/?id=28518734"
explosion.Volume = 0.01
explosion:Play()... | 684 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334523653/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 = ... | 606 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620353/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... | 994 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620353/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.GetAngle(Direction)
local Angle = math.acos(Direction:Dot(Vector3.new(1, 0, 0)))
local Modifier = math.acos(Directi... | 1,084 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620353/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,219 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620605/src/Script/CraftRickshaw/Controller.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Seat = Model:WaitForChild("Seat")
Base = Model:WaitForChild("Base")
Wheel = Model:WaitForChild("Wheel")
WheelMotor = Wheel:WaitForChild("Motor")
AttachmentW... | 1,123 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620605/src/Script/CraftRickshaw/init.luau | luau | .luau | --Made by Luckymaxer
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Controller = script:WaitForChild("Controller")
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
Botto... | 1,443 |
Roblox/gear | Roblox-gear-28b88df/src/gear/334620605/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")
CraftRickshaw = require(script:WaitForChild("CraftRickshaw"))
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objec... | 1,707 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335085355/src/Script/CameraShake.client.luau | luau | .luau | --Made by Luckymaxer
Rate = (1 / 60)
while true do
local Camera = game:GetService("Workspace").CurrentCamera
local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p
local CameraScroll = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
local NewCFrame = CFrame.new(Camera.Focus.p) * CameraRotat... | 139 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335085355/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function that gives us the nice Create'string'{data} syntax
--The fi... | 1,710 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335085355/src/Script/OverseerMonitor.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
function MonitorFigure(Figure)
if Figure:IsA("Model") then
local Humanoid = Figure:FindFirstChild("Humanoid")
local Torso = Figure:FindFirstChild("Torso")
if Humanoid and Torso then
Torso.Anchored = true
Delay(1, function()
... | 743 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335086410/src/SwordScript/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Functions = {}
function Functions.IsTeamMate(Player1, Player2)
return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
end
function Functions.TagHumanoid(huma... | 186 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335086410/src/SwordScript/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
DamageValues = {
BaseDamage = 10,
SlashDamage = 11,
LungeDamage = 22
}
for i, v i... | 1,847 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335087161/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... | 6,121 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335087161/src/Script/ExplosionScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Firework = script.Parent
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
ImageFirework = require(script:WaitForChild("ImageFirework"))
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = ... | 2,863 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335087161/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,811 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335132838/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,379 |
Roblox/gear | Roblox-gear-28b88df/src/gear/335132838/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
... | 4,938 |
Roblox/gear | Roblox-gear-28b88df/src/gear/336370943/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... | 857 |
Roblox/gear | Roblox-gear-28b88df/src/gear/336370943/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
-- Updated for R15 avatars 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",... | 4,101 |
Roblox/gear | Roblox-gear-28b88df/src/gear/336371164/src/Script/ProjectileScript/ShrinkScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ShrinkMonitor = script:WaitForChild("Shrink")
ShrinkMonitor.Value = false
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
ResizeModule = require(201433042)
ShrinkAmount = 0.85
ShrinkTimes = ... | 498 |
Roblox/gear | Roblox-gear-28b88df/src/gear/336371164/src/Script/ProjectileScript/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="
ScaleModule = require(201433042)
Sounds = {
Hit = Part:WaitForChild("Hit"),
}
ShrinkScr... | 683 |
Roblox/gear | Roblox-gear-28b88df/src/gear/336371164/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,780 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33683368/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local blow = nil
local sound = Instance.new("Sound")
sound.Parent = Tool.Handle
local sounds = {"32727625","32727646","32727664","32727673"}
sound.Volume = 0.01
for i = 1, #sounds do
sound.SoundId = "http://www.roblox.com/asset/?id=" .. sounds[i]
sound:Play()
end
sound:Stop()
sound.Vol... | 518 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33732371/src/ShoulderRideScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local riding = false
s1 = Instance.new("Sound")
s1.SoundId = "http://www.roblox.com/asset/?id=33722410"
s1.Parent = Tool.Handle
s2 = Instance.new("Sound")
s2.SoundId = "http://www.roblox.com/asset/?id=33722464"
s2.Parent = Tool.Handle
s3 = Instance.new("Sound"... | 886 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3381451677/src/Script/AIScript.server.luau | luau | .luau | -- // Created by StarWars
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
local Rat = script.Parent
local Humanoid = Rat:WaitForChild("Humanoid")
local RatTailAnimation = Rat:WaitForChild("Animation")
local Owner = Rat:WaitForChild("Owner")
local Offset = Rat:WaitForChild("Off... | 297 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3381451677/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 OFFSET_P... | 430 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3381453136/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
VehicleModule = require(Tool:WaitForChild("VehicleModule"))
Controls = {
Forward = false,
Backward = false,
Left = false,
R... | 3,023 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3381453136/src/VehicleModule.luau | luau | .luau | --Made by Luckymaxer
BasePart = Instance.new("Part")
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 = Vector3.new(0.2, 0.2, 0.2)
Base... | 904 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33866728/src/DrumScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Gui = Tool:WaitForChild("DrumGui")
Sounds = {}
for i, v in pairs(Handle:GetChildren()) do
if v:IsA("Sound") then
Sounds[v.Name] = v
end
end
function StopSounds()
for i, v in pairs(Sounds)... | 462 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33866728/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
function Equipped(Mouse)
Character = Tool.Parent
Player = Players:GetPlayerFromCharacter(Character)
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
if... | 241 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33866846/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... | 3,453 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33867016/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 80
maxSpeed = 230
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
tagHumanoid(humanoid)
local theHurt = damage * math.abs(ball.Velocity.magnitude/maxSpeed)
print(theHurt)
humanoid:TakeDamage(theHurt)
untagHu... | 266 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33867016/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
local mouse = nil
Tool.Enable.Changed:connect(function()
if mouse then
if Tool.Enable.Value == true then
mouse.Icon = "rbxasset://textures\\GunCursor.png"
else
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
end
end
end)
function onButton1... | 344 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33867016/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local debris = game:GetService("Debris")
function fire(v)
local vCharacter = Tool.Parent
if vCharacter.Name == "Backpack" then return end
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local missile = Instance.new("Part")
local spawnPos =... | 1,065 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33867401/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local gui = nil
local mapParts = {}
local player = nil
local keyDownCon = nil
local keyUpCon = nil
local clickCon = nil
local platforming = false
local time = 0
local gaming = true
local head = nil
local left = false
local right = false
local jump = false
local prize = nil
local prizeR... | 3,339 |
Roblox/gear | Roblox-gear-28b88df/src/gear/33879504/src/FlameBlast/init.server.luau | luau | .luau | ball = script.Parent
local fire = script.Parent
local debris = game:GetService("Debris")
BurnSound = Instance.new("Sound")
BurnSound.Name = "BurnSound"
BurnSound.SoundId = "http://www.roblox.com/asset/?id=32791565"
-- constant sound: 31758982, burn something sound: 32791565 (or possibly 32791582)
BurnSound.Par... | 350 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.