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/268533320/src/Script/AIScript/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Functions = require(script:WaitForChild("Functions"))
LastMove = 0
Rate = (1 / 60)
local function Create_PrivImpl(objec... | 3,013 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533320/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")
Debris = game:GetService("Debris")
AIScript = script:WaitForChild("AIScript")
Remover = script:WaitForChild("Remove... | 2,452 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533563/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Bullet"}
Functions = {
FindCharacterAncestor = (function(Object)
if Object and Object ~= game:GetService("Work... | 776 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533563/src/Script/PoisonScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Creator = script:FindFirstChild("Creator")
Damage = script:FindFirstChild("Damage")
Duration = script:FindFirstChild("Duration")
Particles = script:FindFirstChild("Particles")
Players = game:GetService("Players")
Debris =... | 565 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533563/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Particles = script:WaitForChild("Particles")
PoisonScript = script:WaitForChild("PoisonScript")
Functions = require(s... | 3,068 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533852/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
UserInputService = game:GetService("UserInputService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create mu... | 2,647 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533852/src/Script/RemovalMonitor.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
FadeRate = 0.025
Rate = (1 / 15)
Removing = false
function RemoveModel()
if Removing then
return
end
local Parts = {}
for i, v in pairs(Model:GetChildren()) do
if v:IsA("Model") then
table.insert(Parts, v)
end
end
if #Part... | 335 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533852/src/Script/Unicorn/Animate.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Body = Figure:WaitForChild("Body")
Tail = Body:WaitForChild("Tail")
LeftShoulder = Body:WaitForChild("Left Shoulder")
RightShoulder = Body:WaitForChild("Right Shoulder")
LeftHip = Body:WaitForChild("Left Hip")
RightHip = Body:Wait... | 408 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268533852/src/Script/Unicorn/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,902 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268586231/src/Server/SkeleScript/init.server.luau | luau | .luau | --Made by TakeoHonorable
local Properties = {
DetectionRange = 75,
Damage = 15,
RefreshRate = 1/10,
Attack_Speed = .3
}
local Self = script
local world = workspace
local Char = Self.Parent
local Hum = Char:FindFirstChildOfClass("Humanoid")
Hum.HealthDisplayType = Enum.HumanoidHealthDisplayType.AlwaysOn
Hum.Di... | 2,824 |
Roblox/gear | Roblox-gear-28b88df/src/gear/268586231/src/Server/init.server.luau | luau | .luau | --Make sure that the portal kills Godded people once within range
--Fixed by TakeoHonorable
--Fixed the gravitation issue with the black hole
local Seed = Random.new()
local Wait,NextInteger,huge,Instant,Type,Pairs = wait,Seed.NextInteger,math.huge,Instance.new,type,pairs
function Create(ty)
return function(data... | 2,613 |
Roblox/gear | Roblox-gear-28b88df/src/gear/26945832/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("Ruler")
local SwordModel = Swor... | 480 |
Roblox/gear | Roblox-gear-28b88df/src/gear/270560835/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")
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
DisplayModel:Destroy()
end
AIScript = scr... | 968 |
Roblox/gear | Roblox-gear-28b88df/src/gear/270562881/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")
ContentProvider = game:GetService("ContentProvider")
RbxUtility = LoadLibrary("RbxUtility")
Create = Rb... | 1,228 |
Roblox/gear | Roblox-gear-28b88df/src/gear/270562881/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
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... | 1,306 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017031/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/271017031/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")
SushiModel = InsertService:LoadAsset(267722181)
SushiModels = SushiModel:GetChildren()[1]:Clone()
Debris:AddItem(Sush... | 4,642 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017217/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")
BirdModel = InsertService:LoadAsset(267938904)
Bird = BirdModel:GetChildren()[1]:Clone()
if BirdModel and BirdModel.P... | 922 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017537/src/Script/ProjectileScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Projectile = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Creator = Projectile:WaitForChild("Creator")
Damage = Projectile:WaitForChild("Damage")
RageMode = Projectile:FindFirstChild("Rage... | 1,472 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017537/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="
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Bubbles = Handle:WaitForChild("Bubbles")
Ink = Handle... | 1,303 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017937/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
UserInputService = game:GetService("UserInputService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create mu... | 2,516 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017937/src/Script/Seahorse/Animate.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Body = Figure:WaitForChild("Body")
LeftMotor = Body:WaitForChild("LeftMotor")
RightMotor = Body:WaitForChild("RightMotor")
ParticlePart = Figure:WaitForChild("ParticlePart")
for i, v in pairs({LeftMotor, RightMotor}) do
if v and... | 281 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017937/src/Script/Seahorse/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,058 |
Roblox/gear | Roblox-gear-28b88df/src/gear/271017937/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
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
FormFa... | 794 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27133214/src/ToolScript.server.luau | luau | .luau | local dropped = false
local equipped = false
local gui = nil
local player = nil
local look = nil
local whereToZoom = nil
local zoomFactor = 20
local balance = 0
local initPos = nil
local bodyPos = nil
local binocBodyPos = nil
local binocPoint = nil
local animup = nil
function createBinocPoint(h)
whereToZoom = h.CFra... | 1,568 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2713323785/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")
InputCheck = Instance.new("ScreenGui")
InputCheck.Name = "InputCheck"
InputButton = Instance.new("Frame... | 1,390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2713323785/src/Script.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the pro... | 2,725 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27171403/src/SwordScript.client.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 5
local p = nil
local humanoid = nil
local slash_damage = 8
local lunge_damage = 12
local regularWalk = 23
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxass... | 961 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27245855/src/Script.server.luau | luau | .luau | --Made by Stickmasterluke
--Rescripted by StarWars
local Debris = game:GetService("Debris")
local Players = game:GetService("Players")
local Tool = script.Parent
local Handle = Tool.Handle
local FireSound = Handle:FindFirstChild("Fire")
local Animations = Tool.Animations
local R6Folder = Animations.R6
local R15Folde... | 735 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27312415/src/SnowGlobeScript.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
Tool.Handle.snowglobesound:Play()
Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5
Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3
wait(.2)
Tool.Par... | 421 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273795078/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
Rate = (1 / 60)
ToolEquipped = false
function SetAnimation(mode, value)
if mod... | 711 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273795078/src/Script/FadeScript.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Decal = Part:WaitForChild("Decal")
Debris = game:GetService("Debris")
Rate = (1 / 60)
FadeRate = 100
for i = 1, FadeRate do
Decal.Transparency = (1 - (i / FadeRate))
wait(Rate)
end | 78 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273795078/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Smoke = Handle:WaitForChild("Smoke")
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,478 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273969902/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="
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Shape = Enum.PartType.Blo... | 4,246 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273970482/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {
CheckTableForString = (function(Table, String)
for i, v in pairs(Table) do
if string.lower(v) == string.lower(String) then
return true
end
end
return false
end),... | 587 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273970482/src/Script/PepperScript/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
MainScript = script.Parent
Character = MainScript.Parent
Humanoid = Character:WaitForChild("Humanoid")
Players = game:GetService("Players")
Animations = {}
ServerControl = MainScript:WaitForChild("ServerControl")
ClientControl = MainScript:WaitForChild("ClientControl")
Rate = (1 / 60)
functio... | 340 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273970482/src/Script/PepperScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Torso = Character:FindFirstChild("Torso")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players:GetPlayerFromCharacter(Character)
Mode = script:Fi... | 1,563 |
Roblox/gear | Roblox-gear-28b88df/src/gear/273970482/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,932 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false
function CheckIfAlive()
return (((Player and Player.Parent and Humanoid and... | 323 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/MouseIcon.client.luau | luau | .luau | --Made by Luckymaxer
Mouse_Icon = "http://www.roblox.com/asset/?id=27404887"
Reloading_Icon = "http://www.roblox.com/asset/?id=27398778"
Tool = script.Parent
Mouse = nil
function UpdateIcon()
if Mouse then
Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
end
end
function OnEquipped(ToolMouse)
Mouse ... | 150 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/RayGun/Animate.server.luau | luau | .luau | local debris = game:GetService("Debris")
local jumpCoolDown = 0
local Figure = script.Parent
local Torso = Figure:WaitForChild("Torso")
local RightShoulder = Torso:WaitForChild("Right Shoulder")
local LeftShoulder = Torso:WaitForChild("Left Shoulder")
local RightHip = Torso:WaitForChild("Right Hip")
local LeftHip = T... | 1,735 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/RayGun/MessageScript/init.server.luau | luau | .luau | --Fixed by Luckymaxer
Figure = script.Parent
Players = game:GetService("Players")
PersonToPester = Figure:WaitForChild("PersonToPester")
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",
"Com... | 311 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/RayGun/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.C0 = CFrame... | 459 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27474371/src/RayGun/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
ReloadTime = 25
Sounds = {
Reload = Handle:WaitForChild("Reload"),
Noo... | 868 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27477255/src/BalloonScript.server.luau | luau | .luau | local Tool = script.Parent
local upAndAway = false
local humanoid = nil
local head = nil
local upAndAwayForce = Instance.new("BodyForce")
local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
local gravity = 1.05 -- things float at > 1
local height = nil
local maxRise = 200
fu... | 855 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27494652/src/BalloonScript.server.luau | luau | .luau | local Tool = script.Parent
local upAndAway = false
local humanoid = nil
local head = nil
local upAndAwayForce = Instance.new("BodyForce")
local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
local gravity = 1.05 -- things float at > 1
local height = nil
local maxRise = 150
fu... | 855 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277954704/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")
UserInputService = game:GetService("UserInputService")
ServerControl = Tool:WaitForChild("ServerControl")... | 585 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277954704/src/Script/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 = {
GetVector = (function(cframe, Direction)
local px, py, pz, xx, yx, zx, xy, yy, zy, xz, yz, zz... | 2,469 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277954704/src/Script/ProjectileScript.server.luau | luau | .luau | --Made by Luckymaxer
Projectile = script.Parent
Fire = Projectile:FindFirstChild("Fire")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Creator = Projectile:WaitForChild("Creator")
Origin = Projectile:WaitForChild("Origin").V... | 889 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277954704/src/Script/Remover/FixClient.client.luau | luau | .luau | UserInputService = game:GetService("UserInputService")
if UserInputService.TouchEnabled then
UserInputService.ModalEnabled = false
end | 30 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277954704/src/Script/Remover/init.server.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
Model = script:WaitForChild("Model")
FixClient = script:WaitForChild("FixClient")
function DestroyModel()
if Model and Model.Parent then
Debris:AddItem(Model, 2)
end
if Creato... | 361 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277955084/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 = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("... | 965 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277955084/src/Script/LaserModelRemoval.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
FadeRate = 0.025
Rate = (1 / 15)
Removing = false
function RemoveModel()
if Removing then
return
end
local Parts = {}
for i, v in pairs(Model:GetChildren()) do
if v:IsA("BasePart") then
table.insert(Parts, v)
end
end
if #P... | 153 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277955084/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,151 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277955605/src/Script/KnifeScript.server.luau | luau | .luau | --Made by Luckymaxer
Knife = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Creator = Knife:WaitForChild("Creator")
Damage = Knife:WaitForChild("Damage")
KnifeHit = false
Rate = (1 / 60)
function CheckTableFo... | 1,033 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277955605/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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
KnifeScript = scri... | 3,215 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277956390/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,455 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277963405/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")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
UserInputService = game:GetService("UserInputService")
AnimationTracks = {}
ServerCont... | 2,652 |
Roblox/gear | Roblox-gear-28b88df/src/gear/277963405/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")
Smoke = script:WaitForChild("Smoke")
Smoke.Enabled = false
BaseUrl = "http://www.roblox.com/asset/?id="
Sounds = {
InitialThru... | 2,499 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27848918/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local dancer = nil
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
--This call will cause a "wait" until the data comes back
local root = game:GetService("InsertService"):LoadAsset(27831659)
local instances = root:GetChildre... | 459 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27858062/src/Script/TrackScript/init.server.luau | luau | .luau | local start = tick()
local unequipped = false
script.LinkedTool.Value.Unequipped:connect(function() unequipped = true end)
while true do
if unequipped then break end
if tick()-start > script.Time.Value then break end
wait()
end
if _G[script.Track.Value] then _G[script.Track.Value]:Stop() end
if script.Song.Valu... | 115 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27858062/src/Script/init.server.luau | luau | .luau | --[[
Fixed by ArceusInator. Works with FE, can't dance forever anymore.
--]]
local Duration = 15
local Tool = script.Parent
local DanceAnim = Tool.Dance
local Handle = Tool.Handle
local Song = Handle.SongLoop
local EquipSound = Handle.EquipSound
local EquippedTicket = 0
Tool.Activated:connect(function()
if not To... | 752 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27860445/src/LocalScript.client.luau | luau | .luau | enabled = true
function onActivatedLocal()
if not enabled then
return
end
enabled = false
local humanoid = script.Parent.Parent:FindFirstChild("Humanoid", false)
local anim = humanoid:LoadAnimation(script.Parent.staffup)
anim:Play(0.1,1,1)
spark = Instance.new("Sparkles")
spark.Parent = ... | 181 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27860445/src/Spark.server.luau | luau | .luau | ball = script.Parent
damage = 15
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
tagHumanoid(humanoid)
humanoid:TakeDamage(damage)
wait(1)
untagHumanoid(humanoid)
end
end
function tagHumanoid(humanoid)
-- todo: make tag expire
... | 204 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27860496/src/Local Gui.client.luau | luau | .luau | Mouse_Icon = "rbxasset://textures/GunCursor.png"
Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"
Tool = script.Parent
Mouse = nil
function UpdateIcon()
if Mouse then
Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
end
end
function OnEquipped(ToolMouse)
Mouse = ToolMouse
Upda... | 114 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27860496/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local Animations = Tool:WaitForChild("Animations")
local R6Folder = Animations:WaitForChild("R6")
local R15Folder = Animations:WaitForChild("R15")
local ServerControls = Tool:WaitForChild("ServerControls")
function onActivatedLocal()
local humanoid = Tool.Parent:FindFirstChild("Hu... | 295 |
Roblox/gear | Roblox-gear-28b88df/src/gear/27860496/src/Spark.server.luau | luau | .luau | local Debris = game:GetService("Debris")
local ball = script.Parent
local damage = 15
function onTouched(hit)
local humanoid = hit.Parent:findFirstChild("Humanoid")
if humanoid ~= nil then
tagHumanoid(humanoid)
humanoid:TakeDamage(damage)
wait(1)
untagHumanoid(humanoid)
end
end
function t... | 201 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2803762878/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... | 3,049 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2804667002/src/GuiScript.client.luau | luau | .luau | local Tool = script.Parent
local Lantern = Tool.Handle
local vCharacter
local vPlayer
local sg
local frame
function onEquipped()
vCharacter = Tool.Parent
vPlayer = game.Players:GetPlayerFromCharacter(vCharacter)
if vPlayer then
local playerGui = vPlayer:FindFirstChild("PlayerGui")
if playerGui and playe... | 393 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2804667002/src/LanternScript.server.luau | luau | .luau | local Tool = script.Parent
local Lantern = Tool.Handle
local vCharacter
local myTorso
local myHumanoid
Tool.Enabled = true
local equipped = false
local activated = false
local hauntDamage = 45
local pigSpirit
local pigPart = Instance.new("Part")
pigPart.Name = "Pig"
pigPart.Size = Vector3.new(1, 1, 3)
pigPart... | 1,341 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280661926/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Cre... | 1,959 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280661926/src/Script/LightningFunctions/init.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
LightningModelRemoval = script:WaitForChild("LightningModelRemoval")
BasePart = Create("Part"){
Material = Enum.M... | 1,593 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280661926/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")
LightningFunctions = require(script:WaitForChild("LightningFunctions"))
RbxUtility = LoadLibrary("RbxUtility")
Create = Rb... | 7,863 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662667/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 4,089 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662903/src/Handle/ParticleFix.server.luau | luau | .luau | --Made by Luckymaxer
--Precautionary method to work with a future existing property which has currently not been released.
Handle = script.Parent
for i, v in pairs(Handle:GetChildren()) do
if v:IsA("ParticleEmitter") then
pcall(function()
v.InheritsMotion = true
end)
pcall(function()
v.InheritsMotion = 1... | 90 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662903/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Cre... | 1,653 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662903/src/Script/BlizzardGui/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
ScreenGui = script.Parent
PlayerGui = ScreenGui.Parent
Player = PlayerGui.Parent
Frame = ScreenGui.Frame
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Frame:ClearAllChildren()
Frame.Visible = tr... | 891 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662903/src/Script/FreezeScript.server.luau | luau | .luau | --Made by Luckymaxer
Object = script:WaitForChild("Object")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Character = script.Parent
Humanoid = Character:WaitForChild("Humanoid")
if not Object.Value or not Object.Value.Parent then
DestroyScript()
return
end
function DestroyScript()... | 255 |
Roblox/gear | Roblox-gear-28b88df/src/gear/280662903/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")
Create = RbxUtility.Create
FreezeScript = script:WaitForChild("FreezeScript")
Blizz... | 2,363 |
Roblox/gear | Roblox-gear-28b88df/src/gear/28277195/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("8BitSword")
local SwordModel = ... | 423 |
Roblox/gear | Roblox-gear-28b88df/src/gear/2830533679/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 tiger = InsertService:LoadAsset(2713350844)
tiger = tiger:GetChildren()[1]
gear.Class:SetMountModel(tiger) | 79 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283754518/src/Script/LightningModule.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.S... | 1,755 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283754518/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,251 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/EffectScript.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
PianoScript = script:WaitForChild("PianoScript")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
ValueNames = {"Creator", "Target", "Pos... | 2,352 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/PianoScript/BackpackDisabler.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
Debris:AddItem(script, 1) | 54 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/PianoScript/BackpackMonitor/BackpackEnabler.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
Debris:AddItem(script, 1) | 54 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/PianoScript/BackpackMonitor/init.server.luau | luau | .luau | --Made by Luckymaxer
Creator = script:WaitForChild("Creator")
Model = script:WaitForChild("Model")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BackpackEnabler = script:WaitForChild("BackpackEnabler")
function EnableBackpack()
if Creator.Parent then
for i, v in pairs({Creator.Character... | 263 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/PianoScript/DisableScripts/DisableLocal.client.luau | luau | .luau | --Made by Luckymaxer
DisableScript = script.Parent
Character = DisableScript.Parent
Humanoid = Character:WaitForChild("Humanoid")
StarterGui = game:GetService("StarterGui")
DisableJump = Humanoid.Changed:connect(function(Property)
if Property == "Jump" then
Humanoid.Jump = false
end
end) | 76 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/src/Script/PianoScript/DisableScripts/DisableServer.server.luau | luau | .luau | --Made by Luckymaxer
DisableScript = script.Parent
Character = DisableScript.Parent
Humanoid = Character:WaitForChild("Humanoid")
DisableJump = Humanoid.Changed:connect(function(Property)
if Property == "Jump" then
Humanoid.Jump = false
end
end) | 64 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/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... | 904 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283755431/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,084 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/src/LocalScript/ScopeGui/ScopeManager.client.luau | luau | .luau | --Made by Luckymaxer
wait()
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Player = Players.LocalPlayer
Mouse = Player:GetMouse()
Gui = script.Parent
MainFrame = Gui:WaitForChild("MainFrame")
Scope = MainFrame:WaitForChild("Scope")
LeftFrame = Main... | 961 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/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")
ContentProvider = game:GetService("ContentProvider")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'st... | 4,328 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/src/Script/CameraFixer/CameraFixScript.client.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players.LocalPlayer
Camera = game:GetService("Workspace").CurrentCamera
function DestroyScript()
Debris:AddItem(script, 1)
return
end
Player.CameraMode = Enum.CameraMode.Classic
Camera.FieldOfView = 70
DestroySc... | 81 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/src/Script/CameraFixer/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ValueNames = {"Creator", "Tool"}
Values = {}
CameraFixScript = script:FindFirstChild("CameraFixScript")
Destroying = false
function DestroyScript()
if Destroying then
return
end
Destroying = true
local Creator = Valu... | 371 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/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/283756680/src/Script/Sparks/ParticleScript.server.luau | luau | .luau | --Made by Luckymaxer
Particle = script.Parent
Duration = Particle:WaitForChild("Duration")
wait(Duration.Value)
Particle.Enabled = false
| 31 |
Roblox/gear | Roblox-gear-28b88df/src/gear/283756680/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
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = require(script:WaitForChild("Functions"))... | 3,103 |
Roblox/gear | Roblox-gear-28b88df/src/gear/284135286/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 = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("... | 610 |
Roblox/gear | Roblox-gear-28b88df/src/gear/284135286/src/Script/AIScript/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Functions = require(script:WaitForChild("Functions"))
Rate = (1 / 60)
LastMove = 0
BasePart = Instance.new("Part")
BaseP... | 2,265 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.