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/193772607/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local ProjectileScript = Tool:WaitForChild("Projectile")
local BowMeshData = "http://www.roblox.com/asset/?id=192454332"
local ArrowMeshData = "http://www.roblox.com/asset/?id=192454343"
local TextureData =... | 1,656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19381970/src/SnowGlobeScript.server.luau | luau | .luau | local Tool = script.Parent;
local Torso
Tool.Enabled = true
local sparkles = script.Parent.Handle:findFirstChild("Sparkles")
function onActivated()
if not Tool.Enabled then
return
end
local RightArm = Tool.Parent:FindFirstChild("RightUpperArm")
local RightShoulder = Torso:FindFirstChild("Right Shoulder") or ... | 548 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19382057/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(-1, 0, -0)
Tool.GripPos = Vector3.new(-.7, .25, -1.7)
Tool.GripRight = Vector3.new(0, 0, -1)
Tool.GripUp = Vector3.new(0, 1, 0)
Tool.Handl... | 297 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19395497/src/BoomerangControl.server.luau | luau | .luau | local bodyp = script.Parent.BodyPosition
local connection = nil
local sound = script.Parent.FlyingSound
sound.Looped = true
sound:Play()
function OnTouch(hit)
bodyp:Destroy()
connection:disconnect()
sound:Stop()
end
connection = script.Parent.Touched:connect(OnTouch)
while(true) do
wait(.1)
if (script.Pare... | 241 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19395497/src/BoomerangLauncher.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local thing = Tool:Clone()
local missile = thing.Handle
local spawnPos = vCharacter.PrimaryPart.Position
--local PewPew = Tool.Handle:FindFirstChild("Wh... | 696 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19396450/src/TeddyScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
s1 = Instance.new("Sound")
s1.SoundId = "http://www.roblox.com/asset/?id=19259975"
s1.Parent = Tool.Handle
s2 = Instance.new("Sound")
s2.SoundId = "http://www.roblox.com/asset/?id=19260003"
s2.Parent = Tool.Handle
s3 = Instance.new("Sound")
s3.SoundId = "h... | 471 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19397135/src/SnowGlobeScript.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
local sparkles = script.Parent.Handle:findFirstChild("Sparkles")
function onActivated()
if not Tool.Enabled then
return
end
sparkles.Enabled = true
snowglobesound:Play()
Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5
Tool.Parent.Torso["... | 584 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19399456/src/MenorahScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
Tool = script.Parent
local sparkles = script.Parent.Handle:findFirstChild("Sparkles")
function onEquipped()
menorahsound = Instance.new("Sound")
menorahsound.SoundId = "http://www.roblox.com/asset/?id=19095020"
menorahsound.Parent = Tool
menorahsoun... | 206 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19644347/src/Bomb.server.luau | luau | .luau | debris = game:GetService("Debris")
FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378"
FuseSound.Parent = script.Parent
FuseSound:Play()
local sounds = {script.Parent.MoneySound1, script.Parent.MoneySound2, script.Parent.MoneySound3}
local meshsize = script.Paren... | 793 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19644347/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 = ... | 349 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703034/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local fireRate = .2
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(fireRate)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
enabled = true
end
function... | 148 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703034/src/PelletScript.server.luau | luau | .luau | local debris = game:service("Debris")
pellet = script.Parent
damage = 8
local Base = Instance.new("Part")
Base.Name = "XMASBase"
Base.BackSurface = "Smooth"
Base.BottomSurface = "Smooth"
Base.FrontSurface = "Smooth"
Base.LeftSurface = 0
Base.RightSurface = 0
Base.TopSurface = "Smooth"
Base.Shape = 1
Base.... | 745 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703034/src/Slingshot.server.luau | luau | .luau | Tool = script.Parent
VELOCITY = 85 -- constant
FIRERATE = 2
local Pellet = Instance.new("Part")
Pellet.Locked = true
Pellet.BackSurface = 0
Pellet.BottomSurface = 0
Pellet.FrontSurface = 0
Pellet.LeftSurface = 0
Pellet.RightSurface = 0
Pellet.TopSurface = 0
Pellet.Shape = 0
Pellet.Size = Vector3.new(1,1,1... | 844 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703041/src/LightScript.server.luau | luau | .luau | local debris = game:service("Debris")
arrow = script.Parent
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=19344409"
HitSound.Parent = arrow
HitSound.Volume = .7
function stick(hit)
-- joint myself to the thing i hit
local weld = Instance.new("Weld")
weld.Part0 = arro... | 339 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703041/src/XmasLights.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
Tool = script.Parent
VELOCITY = 80 -- constant
loaded=false
local Pellet = Tool.Handle:Clone()
local colors = {Vector3.new(1,0,0),Vector3.new(1,1,0),Vector3.new(1,.5,0),Vector3.new(0,1,0),Vector3.new(0,1,1),Vector3.new(0,0,1),Vector3.new(0,.5,1),Vector3.new(0,1,.5), Vector3.new(... | 1,022 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703046/src/OrnamentScript.server.luau | luau | .luau | arrow = script.Parent
local debris = game:service("Debris")
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=19344667"
HitSound.Parent = arrow
HitSound.Volume = .7
function stick(hit)
-- joint myself to the thing i hit
local weld = Instance.new("Weld")
weld.... | 275 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703046/src/XmasOrnament.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
Tool = script.Parent
VELOCITY = 80 -- constant
loaded=false
local Pellet = Tool.Handle:Clone()
Tool.OrnamentScript:clone().Parent = Pellet
function fire(mouse_pos)
local Character = Tool.Parent
local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("Upp... | 908 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703062/src/StarScript.server.luau | luau | .luau | arrow = script.Parent
local debris = game:service("Debris")
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=19321040"
HitSound.Parent = arrow
HitSound.Volume = 1
function onTouched(hit)
connection:disconnect()
if hit.Name == "XMAS" then
HitSound:Play()
... | 286 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703062/src/XmasStar.server.luau | luau | .luau | Tool = script.Parent
VELOCITY = 50 -- constant
loaded=false
local Pellet = Tool.Handle:Clone()
script.Parent.StarScript:clone().Parent = Pellet
function isTurbo(character)
return character:FindFirstChild("NinjaMaskOfShadows") ~= nil
end
function fire(mouse_pos)
local Character = Tool.Parent
local Torso = Charac... | 896 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19703476/src/SnowballLauncher/ProjectileScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Projectile = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local Hitsounds = {"19326853", "19326880", "19326891"}
local flakes = {"19003948", "19003957", "19003971", "19003978", "19003982", "19003990", "19003998"}
local globs = {"19323823", "19323854... | 1,068 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19704064/src/IceStaff.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Size = {
Wall = Vector3.new(60, 25, 2),
Brick = Vector3.new(6, 4, 2),
}
Grips = {
Up = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Out = CFrame.new(0, ... | 2,291 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19704064/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,139 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19704172/src/Local Gui.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"
end
Tool.Equipped:connect(onEquippedLocal) | 57 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19704172/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 = 0
scrip... | 491 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19704172/src/SnowballScript.server.luau | luau | .luau | arrow = script.Parent
debris = game:GetService("Debris")
local hitsounds = {"19326853", "19326880", "19326891"}
local flakes = {"19003948", "19003957", "19003971", "19003978", "19003982", "19003990", "19003998"}
local globs = {"19323823", "19323854"}
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http... | 887 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1981809272/src/Script/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, 2)
end
if not Creator or not Creator.Value or not Creator.Value:IsA(... | 237 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1981813154/src/Script.server.luau | luau | .luau | local tool = script.Parent
local GearService = require(1075123174)
local gear = GearService:BindGear(tool, "Sword") | 31 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1990279115/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local InsertService = game:GetService("InsertService")
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "Mount")
local sharkModel = InsertService:LoadAsset(1989544297)
sharkModel = sharkModel:GetChildren()[1]
gear.Class:SetMountMode... | 83 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20048880/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(6)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20048880/src/SparkleShooter.server.luau | luau | .luau | local debris = game:GetService("Debris")
Tool = script.Parent
local colors = {Color3.new(1,0,0), Color3.new(0,1,0), Color3.new(0,0,1), Color3.new(1,.5,0), Color3.new(0,.5,1)}
function fire()
for j=1,20 do
local p = Instance.new("Part")
p.Size = Vector3.new(1,1,1)
--p.Transparency = 1
p.Reflectance = 1
... | 439 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20056642/src/RattleScript.server.luau | luau | .luau | local Tool = script.Parent;
local DeltaTime = 1/60
local Speed = 20
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
Tool.Handle.Noisemaker:Play()
rattle = Tool.Handle:clone()
rattle.Anchored = true
rattle.CanCollide = false
rattle.Parent = game.Workspa... | 357 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20064349/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
force.Parent = shell
local colors = {Color3.new(1,0,0), Color3.new(0,1,0), Color3.new(0,0,1)... | 703 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2014805757/src/Script/init.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Remover = script:WaitForChild("Remover")
Module = require(191816425)
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
DisplayModel:Destroy()
end
ToolEquipped = f... | 672 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2014853976/src/Script/ExplosionScript.server.luau | luau | .luau | --Made by Luckymaxer
Firework = script.Parent
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.Smoo... | 2,211 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2014853976/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,790 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2016188435/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local tool = script.Parent
local handle = tool.Handle
local needleMotor = handle.Needle
local SPEED_BOOST_MULTIPLIER = 1.5
local character = nil
local humanoid = nil
local cacheWalkspeed = 16
tool.Equipped:Connect(function()
character = tool.Parent
humanoid = character:FindFirstChildOfC... | 192 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2016189421/src/LocalScript.client.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = RemoteControl:WaitForChild("ServerControl")
ClientControl = RemoteControl:WaitForChild("ClientControl")
ToolEquipped = false
MouseControls = {}
ClientCon... | 423 |
Roblox/gear | Roblox-gear-28b88df/src/gear/201756020/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = T... | 1,136 |
Roblox/gear | Roblox-gear-28b88df/src/gear/201756020/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")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface ... | 2,734 |
Roblox/gear | Roblox-gear-28b88df/src/gear/201756469/src/Script/GuitarParts.luau | luau | .luau | --Made by Luckymaxer
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.Smooth,
FormFactor ... | 4,704 |
Roblox/gear | Roblox-gear-28b88df/src/gear/201756469/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,403 |
Roblox/gear | Roblox-gear-28b88df/src/gear/202039834/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = T... | 1,072 |
Roblox/gear | Roblox-gear-28b88df/src/gear/202039834/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.... | 2,939 |
Roblox/gear | Roblox-gear-28b88df/src/gear/202083069/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,450 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20373160/src/CowBellScript/init.client.luau | luau | .luau | --Modified by EC2
--Updated by StarWars for R15 avatars
local Tool = script.Parent;
local Handle = Tool.Handle;
local Humanoid
local Animations = {
Ring = Tool:WaitForChild("Ring");
R15Ring = Tool:WaitForChild("R15Ring");
}
Debris = game:GetService("Debris")
OcowBell = script:WaitForChild("Sound")
Tool.Enabled = t... | 345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095612/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Tracks = {}
local InputType = Enum.UserInputType
function playAnimation(animName, ...)
if Tracks[animName] t... | 338 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095612/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local Fire = Handle:WaitForChild("Fire")
local Equipping = false
local Grip = nil
local AttackState = "Ruby"
local AttackDamage = 40
local AttackRecoil = 10
local AttackAble = true
local AttackDamaging = t... | 1,097 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095670/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Tracks = {}
local InputType = Enum.UserInputType
function playAnimation(animName, ...)
if Tracks[animName] t... | 304 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095670/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local Mesh = Handle:WaitForChild("Mesh")
local Equipping = false
local Grip = nil
local StraightMeshData = "http://www.roblox.com/asset/?id=193827643"
local StraightGripPos = Vector3.new(0, 0, 1.5)
local B... | 1,131 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095724/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = T... | 1,134 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095724/src/Script/CameraShake.client.luau | luau | .luau | --Made by Luckymaxer
Camera = game:GetService("Workspace").CurrentCamera
Debris = game:GetService("Debris")
Duration = script:WaitForChild("Duration")
while Duration and Duration.Parent and Duration.Value > 0 do
local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p
local CameraScroll = (Camera.... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204095724/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")
CameraShake = script:WaitForChild("CameraShake")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BaseP... | 2,595 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204485737/src/Script/Goldify.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
BaseColor = BrickColor.new("Bright yellow")
Color = BaseColor.Color
Duration = 15
Classes = {
BasePart = {
BrickColor = BaseColor,
Material = Enum.Material.Plastic,
Reflectance = 0.5,
Anchored = true,
},
FileMe... | 964 |
Roblox/gear | Roblox-gear-28b88df/src/gear/204485737/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")
RbxUtility = LoadLibrary("RbxUtility")
Goldify = script:WaitForChild("Goldify")
BasePart = RbxUtility.Create("Part"){
Ma... | 4,873 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2045764727/src/Script.server.luau | luau | .luau | -- Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "LaserGun")
gear.Class:SetColors({Color3.fromRGB(90, 143, 222)})
| 56 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2045767145/src/Script/init.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Remover = script:WaitForChild("Remover")
VehicleModel = InsertService:LoadAsset(2045608598)
Vehicle = VehicleModel:GetChildren()[1]:Clone(... | 613 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20519646/src/Icicle.server.luau | luau | .luau | debris = game:GetService("Debris")
ball = script.Parent
damage = 10
local blues = {23,107,102,11,45,135}
--removedLength = 8
function onTouched(hit)
if hit.Parent == nil then return end
humanoid = hit.Parent:findFirstChild("Humanoid")
print(humanoid)
if(ball.Name=="Icicle") then
-- make a splat
for i=1,3 do
... | 578 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20519646/src/IcicleShooter.server.luau | luau | .luau | --Edited by Locard for R15
Tool = script.Parent
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local Torso = Tool.Parent:FindFirstChild("Torso") or Tool.Parent:FindFirstChild("UpperTorso")
if Torso then
local rightSho... | 552 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20577851/src/SwordScript.server.luau | luau | .luau | --// Made by StarWars
local Tool = script.Parent
local Handle = Tool:FindFirstChild("Handle")
if not Handle then return end
local Sword = require(754568173)
local Player = nil
local Character = nil
local Humanoid = nil
local Torso = nil
local SwordData = Sword.SwordFunctions.GetData("Katana2")
local SwordModel = Sw... | 434 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206136361/src/Script.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")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePa... | 2,780 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206136532/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Tracks = {}
local InputType = Enum.UserInputType
function playAnimation(animName, ...)
if Tracks[animName] t... | 304 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206136532/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
Handle.Transparency = 1
local Equipping = false
local Feet = {}
local FootFrame = CFrame.new(0, -0.8, 0) * CFrame.Angles(0, math.pi, 0)
local WalkAnim
local WalkId
local Slow = 8
local SlowedHuman
local... | 1,166 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20642023/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(60)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20642023/src/SodaScript.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, -0.836, -0.549)
Tool.GripPos = Vector3.new(1.4, -0.4, 0.3)
Tool.GripRight = Vector3.new(0.996, -0.0509, 0.0776)
Tool.GripUp = Vector3.new(0.... | 299 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20642023/src/SpeedEffect.server.luau | luau | .luau | --print("run latte")
-- assume we are in the character, let's check
function sepuku()
script.Parent = nil
end
local h = script.Parent:FindFirstChild("Humanoid")
if (h == nil) then sepuku() end
local oldSpeed = h.WalkSpeed
h.WalkSpeed = h.WalkSpeed * 1.6
local torso = script.Parent:FindFirstChild("Torso") or ... | 356 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206566653/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=204023449"
local FriendlyFire = false
local ArrowMeshData = "http://www.roblox.com/asset/?id=204023415"
local ArrowTextureData = "http://www.roblox.co... | 1,249 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206798405/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")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material =... | 3,158 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206799274/src/Assets.luau | luau | .luau | --Made by Luckymaxer
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function that gives us the nice Create'string'{data} syntax
--The first function call is a func... | 1,964 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206799274/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
... | 3,980 |
Roblox/gear | Roblox-gear-28b88df/src/gear/206799274/src/TrailScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.BottomSurface = Enum.SurfaceType.Smoo... | 756 |
Roblox/gear | Roblox-gear-28b88df/src/gear/20721924/src/SwordScript.server.luau | luau | .luau | --// Made by StarWars
local Tool = script.Parent
local Handle = Tool:FindFirstChild("Handle")
if not Handle then return end
local Sword = require(754568173)
local Player = nil
local Character = nil
local Humanoid = nil
local Torso = nil
local SwordData = Sword.SwordFunctions.GetData("Katana3")
local SwordModel = Sw... | 355 |
Roblox/gear | Roblox-gear-28b88df/src/gear/208659586/src/Projectile.server.luau | luau | .luau | local Projectile = script.Parent
local Heartbeat = game:GetService("RunService").Heartbeat
while Heartbeat:Wait() do
Projectile.CFrame = CFrame.new(Projectile.Position, Projectile.Position + Projectile.Velocity)
end
| 49 |
Roblox/gear | Roblox-gear-28b88df/src/gear/208659586/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local FriendlyFire = false
local AttackPower = 1
local AttackDamage = 22.5
local AtackRechargeTime = 3
local AttackRecharge = 1/AtackRechargeTime
local AttackSpeed = 256
local Equipped = false
local Heart... | 1,051 |
Roblox/gear | Roblox-gear-28b88df/src/gear/208659734/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Tracks = {}
local InputType = Enum.UserInputType
local BeganConnection, EndedConnection, ChangedConnection
lo... | 513 |
Roblox/gear | Roblox-gear-28b88df/src/gear/208659734/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local FriendlyFire = false
local AttackDamage = 45
local LeftDown = false
local MousePos, MouseTarget
local Lasers = {}
local LaserLength = 8
local LaserSound = Handle:WaitForChild("Laser")
local Heartb... | 1,100 |
Roblox/gear | Roblox-gear-28b88df/src/gear/209290837/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
ThumbnailDisplayBoundaries = Tool:FindFirstChild("ThumbnailDisplayBoundaries")
if ThumbnailDisplayBoundaries then
... | 1,006 |
Roblox/gear | Roblox-gear-28b88df/src/gear/209980135/src/Blind.client.luau | luau | .luau | local Char = script.Parent
local Player = game:GetService("Players"):GetPlayerFromCharacter(Char)
if Player then
local sg = Instance.new("ScreenGui")
local blind = Instance.new("Frame")
blind.Size = UDim2.new(2, 0, 2, 0)
blind.Position = UDim2.new(-0.5, 0, -0.5, 0)
blind.BackgroundColor3 = Color3.new(0.3, 0.3, ... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/209980135/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local FriendlyFire = false
local Thrown = false
--returns the wielding player of this tool
function getPlayer()
local char = Tool.Parent
return game:GetService("Players"):GetPlayerFromCharacter(char)
en... | 683 |
Roblox/gear | Roblox-gear-28b88df/src/gear/209980247/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Too... | 1,017 |
Roblox/gear | Roblox-gear-28b88df/src/gear/209980247/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")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
BasePart.Fo... | 3,551 |
Roblox/gear | Roblox-gear-28b88df/src/gear/21001552/src/Insert Local.client.luau | luau | .luau | local Tool = script.Parent
--game:GetService("InsertService"):SetCollectionUrl("http://test.roblox.com/Game/Tools/insertasset.ashx?sid=%d")
--game:GetService("InsertService"):SetBaseCategoryUrl("http://test.roblox.com/Game/Tools/insertasset.ashx?nsets=10")
--game:GetService("InsertService"):SetAssetUrl("http://tes... | 11,416 |
Roblox/gear | Roblox-gear-28b88df/src/gear/21001552/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 0
local slash_damage = 0
sword = script.Parent.Handle
Tool = script.Parent
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "http://www.roblox.com/asset/?id=18716629"
SlashSound.Parent = sword
function blow(hit)
l... | 608 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2103274863/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.IsTeamMate(Player1, Player2)
return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamC... | 941 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2103274863/src/Script/ProjectileScript.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="
Creator = Part:WaitForChild("Creator")
Damage = Part:WaitForChild("Damage")
CharactersHit... | 505 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2103274863/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Edited by Stickmasterluke (7/18/18)
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",... | 5,431 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2103276507/src/FairyToolScript/FairyScript.server.luau | luau | .luau | --Stickmasterluke
local fairy = script.Parent
local targetTag = fairy:WaitForChild('TargetTag', 1)
local bodyPosition = fairy:WaitForChild('BodyPosition', 1)
local bodyGyro = fairy:WaitForChild('BodyGyro', 1)
local healingParticleEmitter = fairy:WaitForChild('BitHealingParticleEmitter')
local leftWing = fairy:WaitForC... | 886 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2103276507/src/FairyToolScript/init.server.luau | luau | .luau | --Stickmasterluke (7/18/18)
tool = script.Parent
handle = tool:WaitForChild("Handle")
local fairyScript = script:WaitForChild('FairyScript')
local bitParticleEmitter = script:WaitForChild('BitParticleEmitter')
local healingParticleEmitter = script:WaitForChild('BitHealingParticleEmitter')
local BASE_URL = "http://w... | 1,749 |
Roblox/gear | Roblox-gear-28b88df/src/gear/21064230/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.879, -0.476, -0)
Tool.GripPos = Vector3.new(-0.3, -0.4, -1.5)
Tool.GripRight = Vector3.new(0, 0, -1)
Tool.GripUp = Vector3.new(-0.476, 0.879,... | 308 |
Roblox/gear | Roblox-gear-28b88df/src/gear/211944997/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/211944997/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,426 |
Roblox/gear | Roblox-gear-28b88df/src/gear/212296400/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function t... | 2,129 |
Roblox/gear | Roblox-gear-28b88df/src/gear/212296936/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Speed = 100
Duration = 1
NozzleOffset = Vector3.new(0, 0.4, -1.1)
Sounds = {
Fire = Handle:WaitForChild("Fire"),
Reload = Handle:WaitForChild("Reload"),
Hi... | 1,705 |
Roblox/gear | Roblox-gear-28b88df/src/gear/212500257/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Too... | 1,062 |
Roblox/gear | Roblox-gear-28b88df/src/gear/212500257/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Fire = Handle:WaitForChild("Fire")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
Base... | 4,324 |
Roblox/gear | Roblox-gear-28b88df/src/gear/21351465/src/SnowGlobeScript.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
snowglobesound:Play()
Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5
Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3
wait(.2)
Tool.Parent.Torso["Right Shoulder"].MaxVeloci... | 563 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2136389582/src/Script/init.server.luau | luau | .luau | 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("Argument of Create m... | 5,915 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2136391608/src/LocalScript.client.luau | luau | .luau | local debris = game:GetService("Debris")
local tool = script.Parent
local gravity = workspace.Gravity
workspace:GetPropertyChangedSignal("Gravity"):Connect(function()
gravity = workspace.Gravity
end)
local mass = tool.Handle:GetMass()
local RELOAD_TIME = 8
local lastCheck = 0
tool.Equipped:Connect(function(mouse)... | 317 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2136391608/src/RemoteScript.client.luau | luau | .luau | -- // Created by StarWars
local Players = game:GetService("Players")
local Debris = game:GetService("Debris")
local Lighting = game:GetService("Lighting")
local TweenService = game:GetService("TweenService")
local Tool = script.Parent
local Handle = Tool:FindFirstChild("Handle")
local Player = Players.LocalPlayer
loc... | 666 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2136391608/src/Script.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
MultiModule = require(191816425)
ToolEquipped = false
Remotes = Tool:FindFirstChild("Remotes")
ServerControl = Remotes:FindFirstChild("ServerControl")
ClientControl = Remotes:FindFirstChild("ClientControl")
ReloadTime = 8... | 534 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2136411578/src/Script.server.luau | luau | .luau | local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "LaserGun") | 32 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.