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/365642352/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... | 4,011 |
Roblox/gear | Roblox-gear-28b88df/src/gear/365674685/src/Script.server.luau | luau | .luau | --// Made by StarWars --Last touched by Stickmasterluke (8/1/2018)
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.SwordFunct... | 580 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36568384/src/FaceOffScript.server.luau | luau | .luau | local Tool = script.Parent
Tool.Enabled = true
function drinkBottle()
Tool.GripForward = Vector3.new(0, .707, .707)
Tool.GripPos = Vector3.new(1.6, .2, -.5)
Tool.GripUp = Vector3.new(0, .707, .707)
end
function lowerBottle()
Tool.GripForward = Vector3.new(0, 1, 0)
Tool.GripPos = Vector3.new(0, -.2... | 390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36568418/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local dancer = nil
enabled = true
function Activated()
if not enabled then return end
enabled = false
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
local torso = Tool.Parent:FindFirstChild("Torso")
dancer = humanoid:LoadAnimation(Tool.xswordfast3)
Tool.DanceObject.Value = ... | 215 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36568418/src/SwordScript.server.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 = 12
local regularWalk = 23
--local LungeSound = Instance.new("Sound")
--LungeSound.SoundId = "rbxasset://sounds\\swordlu... | 1,102 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36568603/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
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
local torso = Tool.Parent:FindFirstChild("Torso")
dancer = humanoid:LoadAnimation(Tool.pitchfork) --Fix implemented by Lucky... | 205 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36568603/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 3
local p = nil
local humanoid = nil
local slash_damage = 3
local regularWalk = 23
--local SlashSound = Instance.new("Sound")
--SlashSound.SoundId = "rbxasset://sounds\\swordsla... | 1,031 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36738185/src/Model Delete Local.client.luau | luau | .luau | function waitForChild(instance, name)
while not instance:FindFirstChild(name) do
instance.ChildAdded:wait()
end
end
local Tool = script.Parent
enabled = true
game:GetService("ContentProvider"):Preload("rbxasset://icons/delete_sel.png")
local cluster = nil
local selectionBox
local currentSelection
local current... | 4,369 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36738185/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 0
local slash_damage = 0
sword = script.Parent.Handle
Tool = script.Parent
function attack()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Slash"
anim.Parent = Tool
end
function swordUp... | 253 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36784258/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
while Tool.Enabled do
wait(.01)
end
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
while not Tool.Enabled do
wait(.01)
end
mouse.Icon = "rbxasset://textures\\GunCursor.png"... | 154 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36784258/src/ZombieFriendScript.server.luau | luau | .luau | local Tool = script.Parent
numClicks = 0
Tool.Enabled = true
function returnZombie()
Tool.GripForward = Vector3.new(0, 1, 0)
--Tool.GripPos = Vector3.new(0, 0, 0)
Tool.GripPos = Vector3.new(0.2, 0, -0.2)
Tool.GripRight = Vector3.new(1, 0, 0)
Tool.GripUp = Vector3.new(0, 0, 1)
end
function placeA()
Tool.GripFor... | 1,368 |
Roblox/gear | Roblox-gear-28b88df/src/gear/368070589/src/Script/BlimpScript.server.luau | luau | .luau | --Made by Luckymaxer
Blimp = script.Parent
BodyPosition = Blimp:WaitForChild("BodyPosition")
BodyGyro = Blimp:WaitForChild("BodyGyro")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Creator = Blimp:WaitForChild("Creator")
Duration = Blimp:WaitForCh... | 375 |
Roblox/gear | Roblox-gear-28b88df/src/gear/368070589/src/Script/ResizeScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
--ResizeModule = require(201433042)
ResizeModule = require(game.ReplicatedStorage.ScaleModule.MainModule)
DelayWait = script:FindFirstChild("Delay")
Duration = script:FindFirstChild("Dur... | 205 |
Roblox/gear | Roblox-gear-28b88df/src/gear/368070589/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")
ResizeScript = script:WaitForChild("ResizeScript")
BlimpScript = script:WaitForChild("BlimpScr... | 1,184 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36913594/src/Bomb.server.luau | luau | .luau | FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=13378571"
FuseSound.Parent = script.Parent
FuseSound:Play()
local total_time = 10 -- seconds
local cur_time = 0
function update(frac)
script.Parent.Fuse.Color = Color3.new(1,1 - frac,0)
end
function blowUp()
local sound = Insta... | 477 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36913594/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
-- print("ending")
enabled = false
while Tool.Enabled do
wait(.01)
end
-- print("Setting Mouse To Wait")
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
while not Tool.Enabled do
wait(.01)
end... | 183 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36913598/src/PumpkinLauncher.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
function fire(dPos)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
--local missile = Instance.new("Part")
--This call will cause a "wait" until the data comes back
local root = game:GetService("InsertService"):LoadAss... | 1,345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36913601/src/BroomstickScript.server.luau | luau | .luau | local Tool = script.Parent
local broomMode = 1
function broomSetA()
Tool.GripForward = Vector3.new(0,-1,0)
Tool.GripPos = Vector3.new(1.5,-3.5,0)
--Tool.GripPos = Vector3.new(10,10,0)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,0,-1)
end
function broomSetB()
--Tool.GripForward ... | 2,465 |
Roblox/gear | Roblox-gear-28b88df/src/gear/36913601/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
Tool.WitchGas.Value = true
if not enabled then
return
end
print("ending")
enabled = false
while Tool.Enabled do
wait(.01)
end
print("Setting Mouse To Wait")
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
... | 222 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347081/src/WheresYourHeadAt.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
function throwHead()
local vCharacter = Tool.Parent
-- animation is below
-- http://www.roblox.com/Asset?ID=35154961
headSound = Tool.Handle:FindFirstChild("HeadSound")
if headSound == nil then
headSound = Instance.new("Sound")
headSound.Volume = 1... | 1,780 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347098/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
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
local torso = Tool.Parent:FindFirstChild("Torso")
dancer = humanoid:LoadAnimation(Tool.wandswing1)
Tool.DanceOb... | 197 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347098/src/WandScript/BlastScript/NewtOnScript/init.server.luau | luau | .luau | -- Turn them into a newt (and then make them get bettah)
-- which basically means turn them invisible and put LizardWrap into their char... maybe attach to torso?
local vCharacter = script.Parent
local newtHead = script.NewtOnHead
newtHead.Anchored = false
-- find the parts
charChilds = vCharacter:GetChildren(... | 713 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347098/src/WandScript/BlastScript/init.server.luau | luau | .luau | spark = script.Parent
local newtSound = Instance.new("Sound")
newtSound.SoundId = "http://www.roblox.com/asset/?id=35971304"
newtSound.Parent = script.Parent
newtSound.Name = "NewtSound"
newtSound.Volume = 1
function onTouch(hit)
if spark.Transparency < .2 then return end -- to avoid collisions with creator... | 301 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347098/src/WandScript/init.server.luau | luau | .luau | local Tool = script.Parent
Tool.Enabled = true
function onActivated()
vCharacter = Tool.Parent
if not Tool.Enabled then return end
Tool.Enabled = false
--This call will cause a "wait" until the data comes back
-- play sound
magicSound = Tool.Handle:FindFirstChild("MagicSound")
if magicSound == nil ... | 1,294 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37347141/src/Script/init.server.luau | luau | .luau | local Tool = script.Parent
local JackMass = Tool.Handle:GetMass()
local humanoid = nil
while humanoid == nil do
humanoid = Tool.Parent:FindFirstChild("Humanoid")
wait(1)
end
local oldHealth = humanoid.Health
function CreateGUI()
local p = game.Players:GetPlayerFromCharacter(humanoid.Parent)
print("P... | 1,534 |
Roblox/gear | Roblox-gear-28b88df/src/gear/375829909/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")
RunService = game:GetService("RunService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
err... | 2,344 |
Roblox/gear | Roblox-gear-28b88df/src/gear/375832969/src/Script.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 3,735 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37816777/src/PreloadBackpackIcons.client.luau | luau | .luau | --Rescripted by Luckymaxer
ContentProvider = game:GetService("ContentProvider")
BaseUrl = "http://www.roblox.com/asset/?id="
function LoadAssets(AssetList)
for i, v in pairs(AssetList) do
ContentProvider:Preload(BaseUrl .. v)
end
end
LoadAssets({89722223, 37755007, 37755011, 37755016, 37755024, 37755034, 37755... | 127 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37816777/src/SwordScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
GhostFire = Handle:WaitForChild("GhostFire")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Kills = Tool:WaitForChild("Kills")
... | 2,392 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37821008/src/Script.server.luau | luau | .luau | local Tool = script.Parent
local gears = {11999279, 18210455, 11999247, 15668963, 27133214, 29532138}
function onActivated()
-- play sound
magicSound = Tool.Handle:FindFirstChild("MagicSound")
if magicSound == nil then return end
magicSound:Play()
-- GOOD RANDOMIZATION CODE!!
numLoops = math.rand... | 357 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37821473/src/Script.server.luau | luau | .luau | local Tool = script.Parent
local gears = {27471379, 16924676, 33867401, 18210455, 18479357} --, 31839203} --remote control might be tricky to get... save for l8r
function onActivated()
-- play sound
magicSound = Tool.Handle:FindFirstChild("MagicSound")
if magicSound == nil then return end
magicSound:Play... | 375 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37821996/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local dancer = nil
local hasRiddleSkull = false
enabled = true
function onActivated()
if not enabled then return end
enabled = false
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
local torso = Tool.Parent:FindFirstChild("Torso")
local vCharacter = Tool.Parent
... | 359 |
Roblox/gear | Roblox-gear-28b88df/src/gear/37821996/src/SwordScript.server.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 = 5
local regularWalk = 23
local hasRiddleSkull = false
local debris = game:GetService("Debris")
--local SlashSound ... | 1,568 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3798368538/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local Gear = GearService:BindGear(script.Parent, "Sword")
Gear.Class:DisableLunge()
Gear:SetupLocalScript("MouseIcon")
local IDLE_MESH = "rbxassetid://3758121429"
local ATTACK_MESH = "rbxassetid://3758113942"
local GRIP_UP = CFrame.new(0, -2.36146448e-0... | 324 |
Roblox/gear | Roblox-gear-28b88df/src/gear/3798370428/src/Script/init.server.luau | luau | .luau | --Made 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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("... | 5,771 |
Roblox/gear | Roblox-gear-28b88df/src/gear/380204314/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,138 |
Roblox/gear | Roblox-gear-28b88df/src/gear/380210977/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")
ToolEquipped = false
function SetAnimation(Mode, Value)
if Mode == "PlayAnimati... | 534 |
Roblox/gear | Roblox-gear-28b88df/src/gear/380210977/src/Script/ResizeScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
ResizeModule = require(201433042)
Duration = script:FindFirstChild("Duration")
function DestroyScript()
Debris:AddItem(script, 1)
end
if not Humanoid or not Duration then
DestroyScri... | 167 |
Roblox/gear | Roblox-gear-28b88df/src/gear/380210977/src/Script/init.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")
ResizeScript = script:WaitForChild("ResizeScript")
ShrinkFactor = 0.5
Duration = 30
... | 782 |
Roblox/gear | Roblox-gear-28b88df/src/gear/38326803/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 3
local p = nil
local humanoid = nil
local slash_damage = 6
local regularWalk = 23
--local SlashSound = Instance.new("Sound")
--SlashSound.SoundId = "rbxasset://sounds\\swordsla... | 1,031 |
Roblox/gear | Roblox-gear-28b88df/src/gear/38327125/src/Script.client.luau | luau | .luau | local Tool = script.Parent
local newProjectile = nil
local oldSubject = nil
local oldCamType = nil
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then return end
Tool.Enabled = false
vCharacter = Tool.Parent
humanoid = vCharacter:FindFirstChild("Humanoid")
if humanoid == nil then Tool.Enabl... | 960 |
Roblox/gear | Roblox-gear-28b88df/src/gear/383608755/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")
Animations = {}
Remotes = Tool:WaitForChild("Remotes")
ServerControl = Remotes:WaitForChild("ServerControl")... | 768 |
Roblox/gear | Roblox-gear-28b88df/src/gear/383608755/src/Script/BombScript/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")
OrigSize = Part.Size
OrigScale = Mesh.Scale
local Instant = Instance.new
function Create(ty)
return function(data)
local obj = In... | 951 |
Roblox/gear | Roblox-gear-28b88df/src/gear/383609201/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 = {}
Remotes = Tool:WaitForChild("Remotes")
ServerControl = Remotes:WaitForChild("ServerControl")
ClientControl = Remotes:WaitForChild("ClientCont... | 578 |
Roblox/gear | Roblox-gear-28b88df/src/gear/383609201/src/Script.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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 2,554 |
Roblox/gear | Roblox-gear-28b88df/src/gear/385780758/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.... | 1,385 |
Roblox/gear | Roblox-gear-28b88df/src/gear/387285940/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,390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/387285940/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,341 |
Roblox/gear | Roblox-gear-28b88df/src/gear/387286257/src/Script/BunnyTransform.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
local Character = script.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local PackageMaker = require(836581200)
local InsertService = game:GetService("InsertService")
local Debris = game:GetService("Debris")
local Duration = script:Find... | 460 |
Roblox/gear | Roblox-gear-28b88df/src/gear/387286257/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... | 858 |
Roblox/gear | Roblox-gear-28b88df/src/gear/387286257/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", ... | 3,343 |
Roblox/gear | Roblox-gear-28b88df/src/gear/38861951/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local myMouse = nil
enabled = true
function onButton1Down(mouse)
if not enabled then
return
end
print("ending")
enabled = false
while Tool.Enabled do
wait(.01)
end
print("Setting Mouse To Wait")
if myMouse ~= nil then myMouse.Icon = "rbxasset://textures\\GunW... | 230 |
Roblox/gear | Roblox-gear-28b88df/src/gear/38861951/src/Script.server.luau | luau | .luau | local Tool = script.Parent
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then return end
Tool.Enabled = false
vCharacter = Tool.Parent
humanoid = vCharacter:FindFirstChild("Humanoid")
local torso = vCharacter:FindFirstChild("Torso") or vCharacter:FindFirstChild("UpperTorso")
if humanoid ==... | 636 |
Roblox/gear | Roblox-gear-28b88df/src/gear/390969719/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")
RunService = game:GetService("RunService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
err... | 3,371 |
Roblox/gear | Roblox-gear-28b88df/src/gear/391005275/src/Script/HitScript/StunScript.server.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Duration = script:FindFirstChild("Duration")
if Duration then
if Humanoid then
Humanoid.WalkSpeed = 6
Humanoid.PlatformStand = true
wait(0.75)
Humanoid.PlatformStand = false
en... | 154 |
Roblox/gear | Roblox-gear-28b88df/src/gear/391005275/src/Script/HitScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
TripScript = script:WaitForChild("StunScript")
Creator = Part:FindFirstChild("Creator")
D... | 562 |
Roblox/gear | Roblox-gear-28b88df/src/gear/391005275/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
... | 2,429 |
Roblox/gear | Roblox-gear-28b88df/src/gear/392057539/src/RayGun/ProjectileScript/EffectScript.server.luau | luau | .luau | --Made by Luckymaxer
EffectTimer = script.Parent
while true do
wait(2.5)
EffectTimer.Value = (EffectTimer.Value - 1)
if EffectTimer.Value <= 0 then
EffectTimer:Destroy()
end
end | 55 |
Roblox/gear | Roblox-gear-28b88df/src/gear/392057539/src/RayGun/ProjectileScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Creator = Part:FindFirstChild("Creator")
Damage = Part:WaitForChild("Damage")
EffectScrip... | 1,254 |
Roblox/gear | Roblox-gear-28b88df/src/gear/39258329/src/CandyScript.server.luau | luau | .luau | local Tool = script.Parent
local speedSpeed = 200 -- 400 if you allow y-axis pushing, 200 otherwise
local jitterSpeed = 20
Tool.Enabled = true
function onActivated()
if not Tool.Enabled then return end
Tool.Enabled = false
vCharacter = Tool.Parent
humanoid = vCharacter:FindFirstChild("Humanoid")
... | 895 |
Roblox/gear | Roblox-gear-28b88df/src/gear/39258389/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local ripSound = Instance.new("Sound")
ripSound.SoundId = "http://www.roblox.com/asset/?id=38212101"
ripSound.Volume = 1
ripSound.Parent = Tool.Handle
local rightWeld = nil
local leftWeld = nil
enabled = true
local vCharacter = Tool.Parent
local humanoid = nil
while vCha... | 1,184 |
Roblox/gear | Roblox-gear-28b88df/src/gear/39258389/src/UnequipScript.server.luau | luau | .luau | local Tool = script.Parent
local humanoid = nil
local vCharacter = Tool.Parent
while vCharacter == nil or vCharacter.Name == "Backpack" do
if Tool ~= nil then vCharacter = Tool.Parent end
Tool = script.Parent
wait(1)
end
function onEquipped()
if vCharacter ~= nil then humanoid = vCharacter:FindFirstChi... | 139 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205750/src/Script/HitScript/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Part = script.Parent
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"))... | 1,846 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205750/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argu... | 2,802 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205954/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", ... | 2,616 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205954/src/Script/Dragon/Animate.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Body = Figure:WaitForChild("Body")
LeftWing = Body:WaitForChild("Left Wing")
RightWing = Body:WaitForChild("Right Wing")
for i, v in pairs({LeftWing, RightWing}) do
if v and v.Parent then
v.DesiredAngle = 0
v.CurrentAngle = ... | 204 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205954/src/Script/Dragon/init.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
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 = ... | 1,489 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395205954/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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Reindeer = require(script:WaitForChild("Dragon"))
BaseUrl = ... | 807 |
Roblox/gear | Roblox-gear-28b88df/src/gear/395449601/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then... | 2,611 |
Roblox/gear | Roblox-gear-28b88df/src/gear/398122724/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,369 |
Roblox/gear | Roblox-gear-28b88df/src/gear/398122724/src/Script/ParticleScript.server.luau | luau | .luau | --Made by Luckymaxer
Particles = script.Parent
Duration = script:WaitForChild("Duration")
wait(Duration.Value)
Particles.Enabled = false | 30 |
Roblox/gear | Roblox-gear-28b88df/src/gear/402304782/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 3,356 |
Roblox/gear | Roblox-gear-28b88df/src/gear/402305186/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)
Handle.Transparency = 0
Tool.Enabled = true
ToolEquipped = false
function Activated()
if not Tool.Enabled or not CheckIfAlive() or not... | 304 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40493542/src/Leaf1/LeafKill.server.luau | luau | .luau | -- kill leaf after 5 seconds
wait(5)
script.Parent:remove()
| 17 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40493542/src/PotionScript.client.luau | luau | .luau | local Tool = script.Parent;
local dancer = nil
enabled = true
function onActivated()
if not enabled or not Tool.swordGo.Value then return end
enabled = false
local humanoid = Tool.Parent:FindFirstChild("Humanoid")
local torso = Tool.Parent:FindFirstChild("Torso")
dancer = humanoid:LoadAnimation(Tool.... | 210 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40493542/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local unEquipped = false
swordGo = Tool.swordGo
swordGo.Value = false
local damage = 5
local p = nil
local humanoid = nil
--local slash_damage = 12
local slash_damage = 20
local regularWal... | 2,668 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40493590/src/Script/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
PieScript = script:WaitForChild("PieScript")
Sounds = {
Fire = Handle:WaitForChild("Fire"),
Hit = Handle:WaitForChild("Hit... | 836 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40493658/src/Script/PieScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Pie = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Pie:FindFirstChild("creator")
BodyForce = Pie:FindFirstChild("BodyForce")
BodyGyro = Pie:FindFirstChild("BodyGyro")
HitSound = Pie:FindFirstChild("Hit")
Stuck = false
Damage = 0
funct... | 725 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40504724/src/Handle/Turkey1/Script.server.luau | luau | .luau | base = script.Parent.Base
math.randomseed(tick())
wait(1)
while true do
targetPos = Vector3.new(math.random(base.Position.X - 20, base.Position.X + 20), script.Parent.GroundHeight.Value, math.random(base.Position.Z - 20, base.Position.Z + 20))
base.BodyPosition.position = targetPos
base.CFrame = CFrame.new(bas... | 92 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40504724/src/Handle/Turkey2/Script.server.luau | luau | .luau | base = script.Parent.Base
math.randomseed(tick())
wait(1)
while true do
targetPos = Vector3.new(math.random(base.Position.X - 25, base.Position.X + 25), script.Parent.GroundHeight.Value + 0.5, math.random(base.Position.Z - 25, base.Position.Z + 25))
base.BodyPosition.position = targetPos
base.CFrame = CFrame.n... | 97 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40504724/src/Handle/Turkey3/Script.server.luau | luau | .luau | base = script.Parent.Base
math.randomseed(tick())
wait(1)
while true do
targetPos = Vector3.new(math.random(base.Position.X - 30, base.Position.X + 30), script.Parent.GroundHeight.Value + 0.5, math.random(base.Position.Z - 30, base.Position.Z + 30))
base.BodyPosition.position = targetPos
base.CFrame = CFrame.n... | 97 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40504724/src/Manager.server.luau | luau | .luau | local currentTurkeys = 0
--math.randomseed(string.len(newPlayer.Name) % 5 * math.random(newPlayer.userId / 2, newPlayer.userId * 2))
local tShooter = script.Parent
function turkeyTouched(part, turkey)
if part == nil or (part.Parent == nil) then return end
hum = part.Parent:FindFirstChild("Humanoid")
if h... | 793 |
Roblox/gear | Roblox-gear-28b88df/src/gear/405991634/src/Script/DeathEffect/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Debris = game:GetService("Debris")
Parts = {}
BaseColor = BrickColor.new("Lime green")
Color = BaseColor.Color
Gravity = 196.20
Duration = 3
Classes = {
BasePart = {
BrickColor = BaseColor,
Material = Enum.Materia... | 1,624 |
Roblox/gear | Roblox-gear-28b88df/src/gear/405991634/src/Script/HitScript/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")
RemovalTime = Projectile:FindFirstChild("R... | 821 |
Roblox/gear | Roblox-gear-28b88df/src/gear/405991634/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 3,267 |
Roblox/gear | Roblox-gear-28b88df/src/gear/405996670/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")
RemovalTime = Projectile:FindFirstChild("R... | 1,665 |
Roblox/gear | Roblox-gear-28b88df/src/gear/405996670/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="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a s... | 1,880 |
Roblox/gear | Roblox-gear-28b88df/src/gear/406101128/src/GuitarModule.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
BasePart = Instance.new("Part")
BasePart.Name = "Part"
BasePart.Material = Enum.Material.Plastic
BasePart.Shape = Enum.PartType.Block
BasePart.TopSurface = Enum.SurfaceType.Smooth... | 1,624 |
Roblox/gear | Roblox-gear-28b88df/src/gear/406101128/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
-- Fix by Stickmasterluke 7/10/2018
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Logo = script:WaitForChild("Logo")
Module = require(script.Parent:WaitForChild('GuitarModule'))
NoteData = {
Chords = {
{Key... | 2,235 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40811356/src/SnowGlobeScript.server.luau | luau | .luau | -- HELLO CURIOUS USER. YES THERE IS SOMETHING SPECIAL ABOUT THIS OBJECT.
local Tool = script.Parent;
Tool.Enabled = true
local sparkles = script.Parent.Handle:findFirstChild("Sparkles")
function onActivated()
if not Tool.Enabled then
return
end
sparkles.Enabled = true
snowglobesound:Play()
... | 602 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40892405/src/Bomb.server.luau | luau | .luau | FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=34376514"
FuseSound.Parent = script.Parent
FuseSound.Volume = .5
--FuseSound:Play()
local total_time = 10 -- seconds
local cur_time = 0
local touchConnection = nil
function update(frac)
--script.Parent.Fuse.Color = Colo... | 649 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40892781/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(... | 256 |
Roblox/gear | Roblox-gear-28b88df/src/gear/40892781/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.Nam... | 995 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409745306/src/Script/HitScript/FirePoison/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Player = Players:GetPlayerFromCharacter(Character)
Fire = script:WaitForChild("Fir... | 522 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409745306/src/Script/HitScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
FirePoison = script:WaitForChild("FirePoison")
Creator = script:WaitForChild("Creator")
AlreadyHit = false
function IsTeamMate(Player... | 679 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409745306/src/Script/OrbExplosion/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... | 528 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409745306/src/Script/OrbExplosion/init.server.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Material = Enum.Material.Plastic,
Shape = Enum.PartType.Block,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.Surfa... | 1,108 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409745306/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,942 |
Roblox/gear | Roblox-gear-28b88df/src/gear/409746054/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function t... | 1,694 |
Roblox/gear | Roblox-gear-28b88df/src/gear/410001793/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... | 986 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.