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/30392263/src/LocalScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false
function SetAnimation(mode, value)
if mode == "PlayA... | 513 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30392263/src/Script/SelfDestruct.server.luau | luau | .luau | --Rescripted by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Torso = Character:FindFirstChild("Torso")
Creator = Character:FindFirstChild("Creator")
function IsTeamMate(Player1, Player2)
return (Player1 ... | 596 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30392263/src/Script/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
NPCModule = require(191816425)
SelfDestruct = script:WaitForChild("SelfDestruct")
Animations = {
Drink = {Animation = Tool:WaitForChild("Drink"), FadeTime = ... | 842 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30393548/src/Script.server.luau | luau | .luau | --Rescripted 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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://ww... | 3,321 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3039376170/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local Debris = game:GetService("Debris")
local Tool = script.Parent
local Handle = Tool.Handle
local Motor = Handle:FindFirstChildOfClass("Motor6D")
if Motor then
Motor:Destroy()
Motor = nil
end
local Display = Tool:FindFirstChild("Display")
if Display then
Display:Destroy()
Display = n... | 544 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3039392931/src/Script.server.luau | luau | .luau | -- // Created by StarWars
-- StarWars secertly wants one 👀
local Debris = game:GetService("Debris")
local Tool = script.Parent
local Handle = Tool.Handle
local Motor = Handle:FindFirstChildOfClass("Motor6D")
if Motor then
Motor:Destroy()
Motor = nil
end
local Display = Tool:FindFirstChild("Display")
if Display t... | 553 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304719869/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/304719869/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
ZombieModule = require(191816425)
BaseUrl = Assets.BaseUrl
BasePart = Instance.new("Part")
BasePar... | 4,819 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720206/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")
Rate = (1 / 60)
ToolEquipped = false
function CheckIfAlive()
return (((Character and Character.... | 315 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720206/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")
PenguinModel = InsertService:LoadAsset(304260700)
Penguin = PenguinModel:GetChil... | 2,565 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720496/src/Script/DeathWarning/GuiManager.server.luau | luau | .luau | --Made by Luckymaxer
Gui = script.Parent
Frame = Gui:FindFirstChild("Frame")
Image = Gui:FindFirstChild("Image")
Counter = Gui:FindFirstChild("Count")
Debris = game:GetService("Debris")
LastChange = 0
Counter.Changed:connect(function()
local Now = tick()
LastChange = Now
local Count = Counter.Value
Frame:ClearA... | 288 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720496/src/Script/PermenantPoisonScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
ZombieScript = script:FindFirstChild(... | 664 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720496/src/Script/PoisonScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
ZombieScript = script:FindFirstChild(... | 562 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720496/src/Script/ZombieScript.luau | luau | .luau | --Made by Luckymaxer
NPCModule = require(191816425)
function Zombify(Creator, Enemy, Omega)
if not Enemy then
return
end
local ZombieData = NPCModule.GetTable({Key = "ZombieHunterCrossbow", Player = Creator})
if not ZombieData then
return
end
local ZombieFunctions = ZombieData.GetData({Player = Creator})
i... | 130 |
Roblox/gear | Roblox-gear-28b88df/src/gear/304720496/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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblo... | 4,228 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306163602/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")
Remover = script:WaitForChild("Remover")
Module = require(191816425)
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
DisplayModel:Destroy()... | 684 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30649735/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... | 734 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971294/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'st... | 1,745 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971294/src/Script/BatManagement/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {}
function Functions.Clamp(Number, Min, Max)
return math.max(math.min(Max, Number), Min)
end
function Functions.GetPercentage(Start, End, Numb... | 601 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971294/src/Script/BatManagement/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Material = Enum.Material.Plastic,
FormFactor = Enum.FormFactor.Custom,
TopSurface = Enum.SurfaceType.Smoo... | 3,006 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971294/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")
InsertService = game:GetService("InsertService")
RunService = game:GetService("RunService")
BatModel = InsertService:LoadAsset(1671... | 4,167 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971449/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Ani... | 908 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971449/src/Script/AIScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Functions = require(script:WaitForChild("Functions"))
LastMove = 0
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = ... | 2,539 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971449/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be ... | 2,225 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971659/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,102 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971659/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 = {}
function Functions.DeathEffect(character)
if not character then
return
end
local SkeletonRe... | 1,247 |
Roblox/gear | Roblox-gear-28b88df/src/gear/306971659/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sparks = Handle:WaitForChild("Sparks")
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",... | 3,360 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847685/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 8
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.Parent == nil then return end
local humanoid = hit.Parent:findFirstChild("Humanoid")
... | 256 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847685/src/RayGun.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local reloadCount = 0
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local PewPew = Tool.Handle:FindFirstChild("PewPew")
if (PewPew == nil) then
PewPew = Instance.new("Sound")
PewPew.Name = "PewPew"
... | 995 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847733/src/WizardStaff.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
VineModel = InsertService:LoadAsset(178364498)
Vine = VineModel:GetChildren()[1]:Clone()
TurboHatModel = Inser... | 2,081 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847746/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local stabAnim = nil
local throwAnim = nil
local h = nil
local con = nil
function standardGrip()
Tool.GripPos = Vector3.new(0,0,0)
end
function onEquippedLocal(mouse)
h = Tool.Parent:FindFirstChild("Humanoid")
if h == nil then return end
stabAnim = h:LoadAnimation(Tool.... | 342 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847746/src/Script.server.luau | luau | .luau | local Tool = script.Parent
local last_attack = 0
local r = game:service("RunService")
local humanoid = nil
function onTouched(part)
local h = part.Parent:FindFirstChild("Humanoid")
if h ~= nil and h ~= humanoid and Tool.Attacking.Value == true then
h:TakeDamage(5)
end
end
function onEquipped()
... | 462 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847779/src/CloakingScript.server.luau | luau | .luau | local player = script.Parent
local color = player.CloakPart.Value.BrickColor
local hats = {}
local transparentParts = {}
local shirt = player:FindFirstChild("Shirt")
local pants = player:FindFirstChild("Pants")
local bodyColors = player:FindFirstChild("Body Colors"):clone()
local bodyColorsChange = player:FindFirstC... | 544 |
Roblox/gear | Roblox-gear-28b88df/src/gear/30847779/src/ThrowScript.server.luau | luau | .luau | local Tool = script.Parent
local enabled = false
local humanoid = nil
local plushie = nil
local touchCon = nil
function onEquipped()
humanoid = Tool.Parent:FindFirstChild("Humanoid")
end
function onUnequipped()
humanoid = nil
end
Tool.Equipped:connect(onEquipped)
Tool.Unequipped:connect(onUnequipped)
function ... | 490 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3130875522/src/LocalScript.client.luau | luau | .luau | -- // Created by StarWars
local Tool = script.Parent
local Remotes = Tool:WaitForChild("Remotes")
local ServerControls = Remotes:WaitForChild("ServerControls")
Tool.Equipped:Connect(function(Mouse)
local Debounce = false
Mouse.Button1Up:Connect(function()
if Debounce then return end
Debounce = true
Serve... | 107 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3130875522/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")
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStan... | 326 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3130875522/src/Script/init.server.luau | luau | .luau | -- // Created by StarWars
local InsertService = game:GetService("InsertService")
local GearService = require(1075123174)
local Tool = script.Parent
Tool.RequiresHandle = false
local Gear = GearService:BindGear(Tool)
Gear:SetupRemoteFunctions()
if Tool:FindFirstChild("Handle") then
Tool.Handle:Destroy()
end
if Tool... | 387 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314849/src/Bomb.server.luau | luau | .luau | FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=31046267"
FuseSound.Parent = script.Parent
FuseSound:Play()
local debris = game:GetService("Debris")
local fragment = Instance.new("Part")
fragment.BrickColor = BrickColor.new("Deep blue")
fragment.Material = Enum.Material.Wood
fra... | 565 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314849/src/MonkeyScript.server.luau | luau | .luau | local monkey = script.Parent
local connections = {}
local touched = nil
function onTouched(part)
local human = part.Parent:FindFirstChild("Humanoid")
if human ~= nil then
monkey.CanCollide = false
local torso = human.Parent:FindFirstChild("Torso") or human.Parent:FindFirstChild("UpperTorso")
local weld = ... | 284 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314849/src/PlantBomb.server.luau | luau | .luau | bombScript = script.Parent.Bomb
Tool = script.Parent
function plant(pos)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
local bomb = Tool.Handle:clone()
bomb.CanCollide = true
bomb.Transparency = 0
bomb.Position =... | 447 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314931/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
if anim then
anim:Play()
end
wait(61)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
fu... | 281 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314931/src/SodaScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.Handle.DrinkSound:Play()
wait(1)
local h = Tool.Parent:FindFirstChild("Humanoid")
if (h ~= nil) then
if (Tool.Parent:FindFirstChild("SpeedEffect") == nil) then
local s = script.Par... | 130 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314931/src/SpeedEffect.server.luau | luau | .luau | -- assume we are in the character, let's check
function sepuku()
script.Parent = nil
end
local debris = game:GetService("Debris")
local h = script.Parent:FindFirstChild("Humanoid")
if (h == nil) then sepuku() end
local torso = script.Parent:FindFirstChild("Torso") or script.Parent:FindFirstChild("UpperTorso")
if (t... | 613 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31314966/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
--print(Tool)
--while Tool == nil do
-- Tool = script.Parent
-- wait(.5)
--end
local mass = 0
local player = nil
local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
local gravity = .75 -- things float at > 1
local moving = false
local maxFuel = ... | 1,433 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/src/Script/Assets.luau | luau | .luau | --Made by Luckymaxer
Assets = {
Disk = {MeshId = 313456639, TextureId = 313456028},
Slides = {313456848, 313456876, 313456804},
Images = {},
Animations = {313735596, 313724674, 313740555, 313776454},
}
return Assets | 78 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/src/Script/ClientManager/GlitchFixer.client.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players.LocalPlayer
Character = Player.Character
Mouse = Player:GetMouse()
Mouse.Icon = ""
Debris:AddItem(script, 0.5) | 57 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/src/Script/ClientManager/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Destroying = false
Values = {}
for i, v in pairs(script:GetChildren()) do
if string.find(string.lower(v.ClassName), string.lower("Value")) then
Values[v.Name] = v
end
end
function DestroyScript()
if Destroying then
... | 386 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/src/Script/PreloadAssets.client.luau | luau | .luau | --Made by Luckymaxer
ContentProvider = game:GetService("ContentProvider")
BaseUrl = "http://www.roblox.com/asset/?id="
Assets = require(script.Parent:WaitForChild("Assets"))
for i, v in pairs(Assets) do
if type(v) == "table" then
for ii, vv in pairs(v) do
ContentProvider:Preload(BaseUrl .. vv)
end
elseif t... | 125 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/src/Script/ScreenOverlayGui/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Gui = script.Parent
ImageFrame = Gui:WaitForChild("ImageFrame")
Image = ImageFrame:WaitForChild("Image")
HelpText = Gui:WaitForChild("HelpText")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
Tool = Gui:WaitForChild("To... | 341 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532084/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,176 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532207/src/Script/Assets.luau | luau | .luau | --Made by Luckymaxer
Assets = {
Disk = {MeshId = 313456412, TextureId = 313456028},
Animations = {313735596, 313724674, 313740555, 313740555}
}
return Assets | 56 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532207/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.CheckTableForString(Table, String)
for i, v in pairs(Table) do
if string.find(string.lower(String), string.lower(v)) the... | 385 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532207/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,516 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532292/src/Script/Assets.luau | luau | .luau | --Made by Luckymaxer
Assets = {
Disk = {MeshId = 313456002, TextureId = 313456028},
Slides = {313456085},
Images = {313456115},
Animations = {313735596, 313724674, 313740555, 313762630, 313776454}
}
return Assets | 77 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532292/src/Script/ClientManager/GlitchFixer.client.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players.LocalPlayer
Character = Player.Character
Mouse = Player:GetMouse()
Mouse.Icon = ""
if Character then
for i, v in pairs(Character:GetChildren()) do
if v:IsA("Humanoid") then
v.CameraOffset = Vector3.ne... | 108 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532292/src/Script/ScreenOverlayGui/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Gui = script.Parent
ImageFrame = Gui:WaitForChild("ImageFrame")
Image = ImageFrame:WaitForChild("Image")
Astronaut = Image:WaitForChild("Astronaut")
HelpText = Gui:WaitForChild("HelpText")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.... | 372 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313532292/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,197 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313547087/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")
RunService = game:GetService("RunService")
InputCheck = Instance.new("ScreenGui")
InputCheck.Name = "InputCheck... | 1,401 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313547087/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")
SparkleParticle = script:WaitForChild("Sparkles")
Animations = {
Sit = {Animation = Tool:WaitForChild("Sit"), FadeTime = nil, W... | 4,035 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313547345/src/Script/ProjectileManager.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
FunctionsLibrary = script:FindFirstChild("Functions")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Material = Enum.Material.Plastic,
FormFactor = Enum... | 241 |
Roblox/gear | Roblox-gear-28b88df/src/gear/313547345/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2... | 3,542 |
Roblox/gear | Roblox-gear-28b88df/src/gear/314534854/src/Script/BoothManager/Functions.luau | luau | .luau | --Made by Luckymaxer
Functions = {}
function Functions.CheckTableForString(Table, String)
for i, v in pairs(Table) do
if string.find(string.lower(String), string.lower(v)) then
return true
end
end
return false
end
function Functions.CheckIntangible(Hit)
local ProjectileNames = {"Water", "Arrow", "Projecti... | 317 |
Roblox/gear | Roblox-gear-28b88df/src/gear/314534854/src/Script/BoothManager/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Part = script.Parent
Mesh = Part:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = require(script:WaitForChild("Functions"))
Creator = Part:FindFirstChild("C... | 1,031 |
Roblox/gear | Roblox-gear-28b88df/src/gear/314534854/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="
BoothManagerScript = script:WaitForChild("BoothManager")
BasePart = Instance.new("... | 1,082 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31532496/src/BananaScript.server.luau | luau | .luau | local banana = script.Parent
banana.Sound:Stop()
wait(3)
local touched = false
function onTouched(part)
if touched then
return
end
touched = true
local humanoid = part.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
banana.Sound:Play()
local smoke = Instance.new("Smoke")
smoke.Color = Col... | 136 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31532496/src/PlantBomb.server.luau | luau | .luau | Tool = script.Parent
local bomb = nil
local debris = game:GetService("Debris")
function plant(pos)
Tool.Handle.Sound:Play()
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
local spawnPos = vCharacter.PrimaryPart.Position
bomb = Tool.Handle:clone()
bomb.Locked = ... | 305 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315565799/src/Script/init.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")
RunService = game:GetService("RunService")
RbxUtility = LoadLibrary("RbxUtility")
Create = Rb... | 2,901 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315573586/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
ContentProvider = game:GetService("ContentProvider")
UserInputService = game:GetService("UserInputService")
InputCheck = In... | 1,282 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315573586/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... | 592 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315573586/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")
RunService = game:GetService("RunService")
Particles = script:WaitForChild("Particles")
ParticleScript = script:WaitForChild("Parti... | 5,027 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315574690/src/Script/BriefcaseScript.server.luau | luau | .luau | --Made by Luckymaxer
Briefcase = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Random = math.random
V3 = Vector3.new
CF = CFrame.new
An = CFrame.Angles
BasePart = ... | 1,724 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315574690/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,664 |
Roblox/gear | Roblox-gear-28b88df/src/gear/315617026/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,114 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317592936/src/Script/HitScript/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Functions = {}
function Functions.Clamp(Number, Min, Max)
return math.max(math.min(Max, Number), Min)
end
fun... | 724 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317592936/src/Script/HitScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Functions = require(script:WaitForChild("Functions"))
Creator = Part:WaitForChild("Creator")
Damage = Part:WaitForChild("Damage")
Sounds = {
Hit = Part:WaitForChild("Hit"),
HitGround = Part:WaitForCh... | 335 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317592936/src/Script/Throw.server.luau | luau | .luau | --Made by Luckymaxer
--[[local MaxDistance = 150
local StartPosition = Handle.Position
local Direction = CFrame.new(StartPosition, Vector3.new(TargetPosition.X, StartPosition.Y, TargetPosition.Z))
local SpawnPosition = ((CFrame.new(StartPosition) * CFrame.Angles(Axe.CFrame:toEulerAnglesXYZ())) + Direction.lookVector *... | 531 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317592936/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2... | 3,121 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593132/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function that gives us the nice Create'string'{data} syntax
--The fi... | 1,383 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593132/src/Script/StunScript/JumpDisabler.client.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Player = Players.LocalPlayer
Character = Player.Character
Humanoid = Character:WaitForChild("Humanoid")
Humanoid.Changed:connect(function(Property)
if Property == "Jump" then
Humanoid.Jump = false
end
end) | 68 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593132/src/Script/StunScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Duration = script:FindFirstChild("Duration")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instanc... | 666 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593132/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")
Functions = require(script:WaitForChild("Functions"))
StunScript = script:WaitForChild("StunScript")
BasePart = Instance.new("... | 2,845 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593302/src/Hieroglyphics.luau | luau | .luau | --Made by Luckymaxer
Hieroglyphics = {
316614299, --Pharaoh - Speed, Jump, Damage upgrade
316614325, --Monkey - Nothing
316614843, --Box of snakes - Nothing
316614873, --Artifact - Turns killed enemies into sand
316614921, --Egg - Heals you entirely
316614985, --Sphinx - Speed, Jump, Damage upgrade
316615002, -... | 206 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593302/src/Preloader.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
ContentProvider = game:GetService("ContentProvider")
BaseUrl = "http://www.roblox.com/asset/?id="
Hieroglyphics = require(Tool:WaitForChild("Hieroglyphics"))
for i, v in pairs(Hieroglyphics) do
ContentProvider:Preload(BaseUrl .. v)
end | 82 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593302/src/Script/FreezeScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players:GetPlayerFromCharacter(Character)
Duration = script:FindFirstChild("Duration")
BaseColor = BrickColor.new("Cork")
DarkProperties = ... | 667 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593302/src/Script/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
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),
CheckIntangible = (function... | 1,025 |
Roblox/gear | Roblox-gear-28b88df/src/gear/317593302/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... | 6,030 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839260/src/BarrelScript.server.luau | luau | .luau | local Barrel = script.Parent
local force = Barrel:FindFirstChild("BodyForce")
local touching = false
local con = nil
local particles = 8
function killBarrel()
Barrel.Roll.Looped = false
Barrel.Roll:Stop()
Barrel:remove()
end
local debris = game:GetService("Debris")
Delay(15,killBarrel)
local plank = Instance.ne... | 550 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839260/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local anim = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png"
if anim then
anim:Play()
end
wait(1)
mouse.Icon = "rbxasset://textures\\ArrowCursor.png"
enabled = true
end
fun... | 248 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839260/src/Script.server.luau | luau | .luau | local Tool = script.Parent
local humanoid = nil
local Torso = nil
local enabled = false
function onActivated()
if enabled then
return
end
enabled = true
humanoid = Tool.Parent:FindFirstChild("Humanoid")
Torso = Tool.Parent:FindFirstChild("Torso") or Tool.Parent:FindFirstChild("UpperTorso")
Tool.GripForward ... | 843 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839337/src/FireScript.server.luau | luau | .luau | --Fixed by Luckymaxer
local fire = script.Parent:FindFirstChild("Fire")
local light = script.Parent:FindFirstChild("PointLight")
function largestSide(length,width,height)
local large = 0
if length > width then
large = length
else
large = width
end
if large < height then
large = height
end
if large > 30 ... | 287 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839337/src/Script.server.luau | luau | .luau | local Tool = script.Parent
local debris = game:GetService("Debris")
local player = nil
Fire = Tool.Handle:WaitForChild("Fire")
Tool.Handle:WaitForChild("PointLight")
Tool.Handle:WaitForChild("Light")
Tool:WaitForChild("FireScript")
Fire.Enabled = false
Tool.Equipped:connect(function()
player = Tool.Parent
end)
Too... | 286 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839411/src/BubbleScript.client.luau | luau | .luau | local Tool = script.Parent
local spraying = false
local torso = nil
local offset = 5
local debris = game:GetService("Debris")
local bubble = Instance.new("Part")
bubble.Shape = 0
bubble.formFactor = 0
bubble.Size = Vector3.new(1,1,1)
bubble.Transparency = 0.2
bubble.BottomSurface = "Smooth"
bubble.TopSurface = "Smooth... | 573 |
Roblox/gear | Roblox-gear-28b88df/src/gear/31839411/src/ExtinguishScript.server.luau | luau | .luau | local bubble = script.Parent
bubble.Touched:connect(function(part)
parts = part:GetChildren()
for i = 1, #parts do
if parts[i].className == "Fire" then
parts[i].Enabled = false
end
end
bubble:remove()
end)
| 64 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319655993/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Module = require(191816425)
ToolEquipped = false
function CheckIfAlive()
return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Hea... | 243 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319656339/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("... | 578 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319656339/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Model:FindFirstChild("Creator")
Tool = Model:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 0.5)
end
if not Creator or not Creator.Value or not Creator.Value:IsA("Play... | 242 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319656339/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Remover = script:WaitForChild("Remover")
NPCModule = require(191816425)
Reload... | 1,571 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319656563/src/Script/AxeManager/Functions.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Functions = {}
function Functions.GetCreator(Creator)
local CreatorValue = Creator.Value
return (((CreatorValue and CreatorValue.Parent and CreatorValue:Is... | 615 |
Roblox/gear | Roblox-gear-28b88df/src/gear/319656563/src/Script/AxeManager/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar
Model = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
GearModel = Ins... | 1,470 |
Roblox/gear | Roblox-gear-28b88df/src/gear/321582427/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="
Module = require(191816425)
Grips = {
Normal = CFrame.new(0, -0.5, 0, 1, 0, 0, 0,... | 1,265 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.