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/22788064/src/NinjaStar.server.luau | luau | .luau | Tool = script.Parent
VELOCITY = 50 -- constant
loaded=false
local Pellet = Instance.new("Part")
Pellet.Name="NinjaStar"
Pellet.Locked = true
Pellet.BackSurface = 0
Pellet.BottomSurface = 0
Pellet.FrontSurface = 0
Pellet.LeftSurface = 0
Pellet.RightSurface = 0
Pellet.TopSurface = 0
Pellet.Shape = 1
Pellet.formFactor = ... | 836 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22788102/src/Handle/CleanUp.server.luau | luau | .luau | --clean up the plane if the creator leaves
if script.Parent.creator.Value then
game.Players.ChildRemoved:connect(function(p)
if script.Parent.creator.Value.Parent == nil then
script.Parent.Parent:Destroy()
end
end)
end
| 51 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22788134/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("ElfBlade")
local SwordModel = S... | 462 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22788972/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.98, 0.197, -0)
Tool.GripPos = Vector3.new(-0.5, -0.6, -1.5)
Tool.GripRight = Vector3.new(0, 0, -1)
Tool.GripUp = Vector3.new(0.197, 0.98, 0)
... | 291 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22788972/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 sc... | 355 |
Roblox/gear | Roblox-gear-28b88df/src/gear/228588531/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local FriendlyFire = false
local DropAble = true
local DropReloadTime = 1
--returns the wielding player of this tool
function getPlayer()
local char = Tool.Parent
return game:GetService("Players"):GetPl... | 827 |
Roblox/gear | Roblox-gear-28b88df/src/gear/228588651/src/Splatter.client.luau | luau | .luau | local Splatters = {
225903962,
225904058,
225904105,
225904147,
225904216,
}
local RenderStepped = game:GetService("RunService").RenderStepped
function getSplatter()
local image = Instance.new("ImageLabel")
image.BackgroundTransparency = 1
image.Image = "rbxassetid://"..Splatters[math.random(1, #Splatters)]
... | 313 |
Roblox/gear | Roblox-gear-28b88df/src/gear/228588772/src/Server.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
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 = 1.5
local AttackRecharge = 1/AtackRechargeTime
local AttackSpeed =... | 1,193 |
Roblox/gear | Roblox-gear-28b88df/src/gear/228589017/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
function playAnimati... | 441 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2290921705/src/Script/init.server.luau | luau | .luau | -- // Created by StarWars
local debris = game:GetService("Debris")
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local leavesMotor = handle:FindFirstChild("Leaves")
local gear = GearService:BindGear(tool, "LaserGun")
gear.Class:SetDamage(15)
gear.Class:SetFireSound(30... | 416 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2291005315/src/Script/init.server.luau | luau | .luau | -- // Created by StarWars
local debris = game:GetService("Debris")
local GearService = require(1075123174)
local particleEmitter = script.ParticleEmitter
local tool = script.Parent
local gear = GearService:BindGear(tool, "LaserGun")
gear.Class.OnLaserFired:Connect(function(laserPart)
local newPart = laserPart:Clon... | 142 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22960388/src/TeddyScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
s1 = Instance.new("Sound")
s1.SoundId = "http://www.roblox.com/asset/?id=22953927"
s1.Parent = Tool.Handle
s2 = Instance.new("Sound")
s2.SoundId = "http://www.roblox.com/asset/?id=22953973"
s2.Parent = Tool.Handle
s3 = Instance.new("Sound")
s3.SoundId = "h... | 424 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22969230/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=13775466"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
if hit and hit.Parent then
local humanoid = hit.Parent:findFirstChild("Humanoid")
if hu... | 279 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22969230/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\\GunWaitCursor.png"
wait(.2)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
i... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22969230/src/ScatterBlast.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local spark = Instance.new("Sparkles")
spark.Color = Color3.new(0,1,0)
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
local PewPew = ... | 817 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22971409/src/Icicle.server.luau | luau | .luau | debris = game:GetService("Debris")
ball = script.Parent
damage = 15
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")
if(ball.Name=="Icicle") then
-- make a splat
for i=1,3 do
local s = Insta... | 573 |
Roblox/gear | Roblox-gear-28b88df/src/gear/22971409/src/IcicleShooter.server.luau | luau | .luau | Tool = script.Parent
function fire(v)
Tool.Handle.Fire:play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
-- Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3.6 --moves your arm as if firing.
-- Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5
local m... | 470 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2316759705/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local barrelAttachment = handle.BarrelAttachment
local gear = GearService:BindGear(tool)
gear:SetupRemoteFunctions()
gear:SetupLocalScript("MouseIcon")
local baseAmmo1 = Instance.new("Part")
baseAm... | 1,079 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2316760298/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool)
gear:SetupRemoteFunctions()
gear:SetupLocalScript("MouseIcon")
local HEAL_AMOUNT = 10
local RELOAD_RATE = 5
local HEAL_RADIUS = 20
local lastReload = 0
function InvokeClient(mode, va... | 316 |
Roblox/gear | Roblox-gear-28b88df/src/gear/232520546/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.... | 3,513 |
Roblox/gear | Roblox-gear-28b88df/src/gear/232522034/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... | 789 |
Roblox/gear | Roblox-gear-28b88df/src/gear/232522034/src/Script/GrenadeScript/DamageScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Debris = game:GetService("Debris")
Hats = {}
function DestroyScript()
Debris:AddItem(script, 1)
end
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
if not Humanoid or not Head then
DestroyScript()
return
end
Face = Head:Fin... | 214 |
Roblox/gear | Roblox-gear-28b88df/src/gear/232522034/src/Script/GrenadeScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Grenade = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ExplosionGui = script:WaitForChild("ExplosionGui")
DamageScript = script:WaitForChild("DamageScript")
Creator = Grenade:WaitForChild("Creator")
Sounds = {
Explode = Grenade:WaitForChild("Explode"),
... | 805 |
Roblox/gear | Roblox-gear-28b88df/src/gear/232522034/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")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Materi... | 1,966 |
Roblox/gear | Roblox-gear-28b88df/src/gear/23306097/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("Katana4")
local SwordModel = Sw... | 488 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233519998/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
function playAnimati... | 396 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233519998/src/Server.server.luau | luau | .luau | --Updated for R15 avatar by StarWars
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local Heartbeat = game:GetService("RunService").Heartbeat
local HeartbeatConnection
local FriendlyFire = false
local AttackRestTimer = 0
local DropAttackTimer = 0
loc... | 1,969 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520157/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
UserInputService = game:GetService("UserInputService")
ContentProvider = game:GetService("ContentProvider")
Animations = {
Spin = {Animation = Tool:WaitForChild("S... | 972 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520157/src/Script.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")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Mater... | 1,289 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520257/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote",10)
local MouseInput = Tool:WaitForChild("MouseInput",10)
local Services = {
Players = (game:FindService("Players") or game:GetService("Players")),
TweenService = (game:FindService("TweenService") or game:GetService("TweenService")),
RunService ... | 458 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520257/src/Server/EggScript/DisableScript.client.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Humanoid.PlatformStand = true
Humanoid.AutoRotate = false
Humanoid.Changed:connect(function(Property)
if Property == "Jump" then
Humanoid.Jump = false
elseif Property == "PlatformStand" then
Humanoid.PlatformStand = true
elseif Property == "AutoRotate" then
Huma... | 93 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520257/src/Server/EggScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Players = game:GetService("Players")
Egg = script:WaitForChild("Egg").Value
Player = Players:GetPlayerFromCharacter(Character)
Humanoid = Character:FindFirstChildOfClass("Humanoid")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
fu... | 493 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520257/src/Server/RandomEgg/YolkScript/init.server.luau | luau | .luau | local Yolk = script.Parent
local SlipSound = script:WaitForChild("SlipSound",5)
SlipSound.Parent = Yolk
function IsInTable(Table,Value)
for _,v in pairs(Table) do
if v == Value then
return true
end
end
return false
end
local TaggedHumanoids = {}
Yolk.Touched:Connect(function(hit)
if not hit or not hit.P... | 228 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520257/src/Server/RandomEgg/init.server.luau | luau | .luau | local Egg = script.Parent
local Creator = script:WaitForChild("Creator",5)
local Particle = script:WaitForChild("Question",5)
local EggMesh = Egg:FindFirstChildOfClass("SpecialMesh")
local Touch
local stamp = tick()
local Seed = Random.new(stamp)
local RandomActions = {}
local Sounds = {
Splatter = script:Wa... | 1,513 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520425/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,335 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520425/src/Script/DamageScript.server.luau | luau | .luau | --Made by Luckymaxer
Weight = script.Parent
Pole = Weight:WaitForChild("Pole")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = script:WaitForChild("Creator")
Damage = script:WaitForChild("Damage")
Sounds = {
HitGround = Pole:WaitForChild("HitGround")
}
function IsTeamMate(Player1... | 517 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233520425/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.... | 2,367 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233633874/src/SpinClient.client.luau | luau | .luau | local Char = script.Parent
local Root = Char:WaitForChild("HumanoidRootPart")
local Human = Char:WaitForChild("Humanoid")
local RenderStepped = game:GetService("RunService").RenderStepped
local WalkSpeedDelta = Human.WalkSpeed
Human.WalkSpeed = Human.WalkSpeed - WalkSpeedDelta
local TimeToStop = tick() + 2
while tic... | 154 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233633874/src/SpinScript.server.luau | luau | .luau | local Char = script.Parent
local Root = Char:WaitForChild("HumanoidRootPart")
local Human = Char:WaitForChild("Humanoid")
local RenderStepped = game:GetService("RunService").Heartbeat
local WalkSpeedDelta = Human.WalkSpeed
Human.WalkSpeed = Human.WalkSpeed - WalkSpeedDelta
local TimeToStop = tick() + 2
while tick() ... | 153 |
Roblox/gear | Roblox-gear-28b88df/src/gear/233657188/src/Script.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")
Assets = require(Tool:WaitForChild("Assets"))
Data = Assets.Data
BaseUrl = Assets.BaseUrl
BasePart = Instance.new("Part")
BaseP... | 4,190 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2350119937/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstC... | 1,581 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2350122208/src/Script/FireBallScript/init.server.luau | luau | .luau | --Made by Luckymaxer
FireBall = script.Parent
Fire = FireBall:WaitForChild("Fire")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
ParticleScript = script:WaitForChild("ParticleScript")
Creator = script:WaitForChild("Creator"... | 614 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2350122208/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")
RunService = game:GetService("RunService")
Sparks = Handle:WaitForChild("Sparks")
Fire = Handle:WaitForChild("Fire")
FireBallS... | 3,087 |
Roblox/gear | Roblox-gear-28b88df/src/gear/23532796/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,443 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236401511/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 = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false... | 1,054 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236401511/src/Script/Functions.luau | luau | .luau | Debris = game:GetService("Debris")
Functions = {
IsTeamMate = (function(Player1, Player2)
return (Player1 and Player2 and not Player1.Neutral and not Player2.Neutral and Player1.TeamColor == Player2.TeamColor)
end),
TagHumanoid = (function(humanoid, player)
local Creator_Tag = Instance.new("ObjectValue")
... | 262 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236401511/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 2)
end
if not Creator or not Creator.Value or not Creator.Value.Parent or not Tool or not Tool.Value or not To... | 239 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236401511/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")
Functions = require(script:WaitForChild("Functions"))
Remover = script:WaitForChild("Remover")
Damage = 5
MaxEnemyDistance = 100... | 2,281 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236402747/src/Script/EffectScript.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Model:WaitForChild("Creator").Value
PlayBack = Model:WaitForChild("PlayBack").Value
Duration = Model:WaitForChild("Duration").Value
Position = Model:WaitForChild("Position").Value
Count = Mode... | 2,765 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236402747/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
EffectScript = script:WaitForChild("EffectScript")
BaseUrl = "http://www.roblox.com/asset/?id... | 1,126 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403380/src/MotorizeGrip.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
function CheckIfAlive()
return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) o... | 337 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403380/src/Script/CameraShake.client.luau | luau | .luau | --Made by Luckymaxer
Camera = game:GetService("Workspace").CurrentCamera
Rate = (1 / 60)
Shake = {Movement = 20, Rate = 0.001}
local CoordinateFrame = Camera.CoordinateFrame
local Focus = Camera.Focus
while true do
local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p
local CameraScroll = (Coor... | 185 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403380/src/Script/TripScript.client.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
if Humanoid then
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
Humanoid.Changed:conne... | 110 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403380/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")
CameraShake = script:WaitForChild("CameraShake")
TripScript = script:WaitForChil... | 3,380 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403905/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")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
Speed = {
CurrentSpeed = 2,
MaxSp... | 2,873 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236403905/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="
Animations = {
Pose = {Animation = Tool:WaitForChild("Pose"), FadeTime = nil, Weight... | 1,631 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236438668/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
function playAnimati... | 503 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236440696/src/Script/EatScript/init.client.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Character = Humanoid.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Food = script:WaitForChild("Food").Value
Eat = script:WaitForChild("EatAnim")
function TagHumanoid(humanoid, player)
local Creator_Tag = Instance.new("ObjectValue")
Cre... | 348 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236440696/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Edited by NonstopEpic
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
EatScript = script:WaitForChild("EatScript")
FoodScript = s... | 2,043 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236441643/src/Script.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")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Mater... | 3,008 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236442380/src/Script/ControllerScript.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Mesh = Part:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
GearModule = require(236215724)
SwapGear = GearModule.SwapGear
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Crea... | 2,649 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236442380/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Debris = game:GetService("Debris")
Creator = Part:FindFirstChild("Creator")
function DestroyModel()
Debris:AddItem(Part, 1)
end
if not Creator then
DestroyModel()
return
end
Creator = Creator.Value
if not Creator or not Creator:IsA("Player") or not Creator.Parent then... | 162 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236442380/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")
ControllerScript = script:WaitForChild("ControllerScript")
Remover = script:WaitForChild("Remover")
BaseUrl = "http://www.roblox.c... | 1,062 |
Roblox/gear | Roblox-gear-28b88df/src/gear/236443047/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
InsertService = game:GetService("InsertService")
Debris = game:GetService("Debris")
CarpetModel = InsertService:LoadAsset(266360667)
Carpet = CarpetModel:GetChildren()[1]:Clone()
Debris:AddItem(CarpetModel, 1)
Handle.Transparency =... | 349 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2385192846/src/Script/Lunchbox.luau | luau | .luau | -- Created by StarWars
local module = {}
local Debris = game:GetService("Debris")
local openDelay = {Delay = 0.5, Now = tick(), Auto = 2}
local rand = Random.new()
function module:Throw(model, sandwichPart)
local lid = model:WaitForChild("Lid")
local bottom = model:WaitForChild("Bottom")
local hinge = bottom:Wait... | 496 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2385192846/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,670 |
Roblox/gear | Roblox-gear-28b88df/src/gear/24015579/src/MoneyBagScript.server.luau | luau | .luau | local Tool = script.Parent;
debris = game:GetService("Debris")
enabled = true
function MakeABuck(pos)
--PLAY COIN SOUND
Tool.Handle.CoinSound:Play()
for i=1,5 do
local p = Instance.new("Part")
p.BrickColor = BrickColor.new(23)
p.formFactor = 2
p.Size = Vector3.new(1,.2,1)
p.TopSurface = 0
p.BottomS... | 521 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2409286506/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local gear = GearService:BindGear(tool, "Sword") | 44 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2409287383/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)
Module = require(game.ReplicatedStorage.MainModule)
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayMode... | 682 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241017426/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
ContextActionService = game:GetService("ContextActionService")
UserInputService = game:GetService("UserInputService")
Animations = {}
LocalObjects = {}
Serve... | 1,176 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241017426/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.... | 2,696 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241017568/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")
RunService = game:GetService("RunService")
InsertService = game:GetService("InsertService")
BaseUrl = "http://www.roblox.com/asset/... | 2,663 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2413687523/src/AnimateWand.client.luau | luau | .luau | -- // Created by StarWars
local RunService = game:GetService("RunService")
local tool = script.Parent
local wandMotorsFolder = tool:WaitForChild("WandMotors")
local count = 0
local SPEED = 10
RunService.Stepped:Connect(function(_, step)
for _, motor in pairs(wandMotorsFolder:GetChildren()) do
if motor:IsA("Motor... | 135 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241511828/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.... | 2,148 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241512134/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.... | 2,127 |
Roblox/gear | Roblox-gear-28b88df/src/gear/241542047/src/SwordScript.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sparkles = Handle:WaitForChild("Sparkles")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
err... | 1,873 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243007180/src/CastLaser/init.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Camera = game:GetService("Workspace").CurrentCamera
Sounds = {
RayHit = script:WaitForChild("Hit")
}
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
B... | 1,168 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243007180/src/LocalScript/init.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")
UserInputService = game:GetService("UserInputService")
AmmoDisplay = script:WaitForChild("AmmoDisplay"):Clone()
CastLaser =... | 3,540 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243007180/src/Modules/Functions.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Ray", "Bullet", "ParticlePart"}
Functions = {
CreateConfiguration = (function(Configurations, Table)
for i, v in pairs(Configurations:GetChildren()) do
if string.find(v.Class... | 861 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243007180/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")
CastLaser = Tool:WaitForChild("CastLaser"):Clone()
Modules = Tool:WaitForChild("Modules")
Functions = require(Modules:WaitForChi... | 1,276 |
Roblox/gear | Roblox-gear-28b88df/src/gear/24346755/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... | 488 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2435999037/src/Script/AIScript.server.luau | luau | .luau | -- // Created by StarWars
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
local Niffler = script.Parent
local Humanoid = Niffler:WaitForChild("Humanoid")
local Owner = Niffler:WaitForChild("Owner")
local Head = Niffler:FindFirstChild("Head")
if Head then
local Gui = Head:Fin... | 267 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2435999037/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 Niffler ... | 332 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2435999675/src/Script.server.luau | luau | .luau | -- // Made by StarWars
local RunService = game:GetService('RunService')
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Character = nil
local Torso = nil
local Humanoid = nil
local COOLDOWN_TIME = 20
local SpawnPoints = {}
function FindPart(model, className)
for i, v in ipairs(model:Ge... | 362 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2436000243/src/Script/Suitcase.luau | luau | .luau | -- Created by StarWars
local module = {}
local Debris = game:GetService("Debris")
local openDelay = {Delay = 0.5, Now = tick(), Auto = 2}
local rand = Random.new()
function module:Throw(part, nifflerModel)
local baseModel = nifflerModel:Clone()
local opened = false
local function openSuitcase()
if opened th... | 594 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2436000243/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,007 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243777016/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,192 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243777016/src/Script/Fade/init.server.luau | luau | .luau | --Made by Luckymaxer
Particles = script.Parent
WaitTime = script:WaitForChild("WaitTime").Value
wait(WaitTime)
Particles.Enabled = false | 35 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243777016/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Fade = script:WaitForChild("Fade")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
Debris = game:GetService("Debris")
ParticleModel = InsertService:LoadAsset(228304820)
Particles = ParticleModel:GetCh... | 1,972 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/Animator/init.server.luau | luau | .luau | --[[
By ArceusInator
--]]
local GLib = require(206209239)
local Tool = script.Parent
local Tracks = {}
local Equipped = false
Tool.Equipped:connect(function()
if Equipped then return end
Equipped = true
local character, player, humanoid = GLib.GetCharacter(Tool)
if humanoid then
for index, anim in next, scri... | 264 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/Attack/init.server.luau | luau | .luau | --[[
By ArceusInator
--]]
local GLib = require(206209239)
local Tool = script.Parent
local Equipped = false
local AttackOn = false
local InSpecial = false
local LastSwingAt = 0
local AttackId = 0
local SwingLength = 0
local PointingGyro
local SwingDebounce = 0.8
local UsingHumanoid
Tool.Equipped:connect(function()
... | 2,082 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/BonusHealth.server.luau | luau | .luau | --[[
By ArceusInator
--]]
local GLib = require(206209239)
local Tool = script.Parent
local Equipped = false
local Health = 200
local HealthyHumanoid
Tool.Equipped:connect(function()
if Equipped then return end
Equipped = true
local character, player, humanoid = GLib.GetCharacter(Tool)
if humanoid then
humano... | 187 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/Input/init.server.luau | luau | .luau | --[[
By ArceusInator
--]]
local GLib = require(206209239)
local Tool = script.Parent
local RemoteInputConnection
local Equipped = false
Tool.Equipped:connect(function()
if Equipped then return end
Equipped = true
local character, player, humanoid = GLib.GetCharacter(Tool)
RemoteInputConnection = script.Remot... | 209 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/LocalCharacterPointer/init.client.luau | luau | .luau | --[[
By ArceusInator
--]]
local RenderStepped = game:GetService'RunService'.RenderStepped
local Mouse = game:GetService'Players'.LocalPlayer:GetMouse()
local PointingGyro = nil
RenderStepped:connect(function()
if PointingGyro and PointingGyro.Parent then
PointingGyro.cframe = CFrame.new(PointingGyro.Parent.Positi... | 151 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/LocalInput.client.luau | luau | .luau | --[[
By ArceusInator
--]]
local Tool = script.Parent
local UIS = game:GetService'UserInputService'
local InputBeganConnection, InputEndedConnection
local Equipped = false
Tool.Equipped:connect(function()
if Equipped then return end
Equipped = true
InputBeganConnection = UIS.InputBegan:connect(function(input)
... | 198 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/Sound/init.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:FindFirstChild'Handle'
script.PlaySound.Event:connect(function(name, length, part)
part = part or Handle
local sound = script[name]:Clone()
sound.Parent = part
sound:Play()
delay(length or 5, function() sound:Destroy() end)
end)
Tool.Equipped:connect(function()
... | 87 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243778818/src/Welder.server.luau | luau | .luau | --[[
By ArceusInator
--]]
local GLib = require(206209239)
local Tool = script.Parent
local Handle = Tool:WaitForChild'Handle'
local Shield, GhostWeld, GhostHandle
local Equipped = false
Tool.Equipped:connect(function()
if Equipped then return end
Equipped = true
local character = GLib.GetCharacter(Tool)
local ... | 790 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243788010/src/Script.server.luau | luau | .luau | function FindAttachedHumanoid(part)
local tpart = part
while tpart.Parent do
if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end
tpart = tpart.Parent
end
return nil
end
function MakeValue(class,name,value,parent)
local temp = Instance.new(class)
temp.Name = name
temp.Value = val... | 1,071 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243788599/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
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("Player") or not Creator.Value.Parent --[[... | 212 |
Roblox/gear | Roblox-gear-28b88df/src/gear/243788599/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
Debris = game:GetService("Debris")
HedgehogModel = InsertService:LoadAsset(228289069)
Hedgehog = HedgehogModel:GetChildren()[1]:Clone()
Debris:AddItem(H... | 1,952 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.