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/444457864/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,296 |
Roblox/gear | Roblox-gear-28b88df/src/gear/445118715/src/Script.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="
Sounds = {
Unsheath = Handle:WaitForChild("Unsheath"... | 2,302 |
Roblox/gear | Roblox-gear-28b88df/src/gear/445120580/src/Script/ExplosionScript.server.luau | luau | .luau | --Made by Luckymaxer
Firework = script.Parent
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.Smoo... | 2,127 |
Roblox/gear | Roblox-gear-28b88df/src/gear/445120580/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="
ExplosionScript = script:WaitForChild("ExplosionScrip... | 1,044 |
Roblox/gear | Roblox-gear-28b88df/src/gear/445150567/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function t... | 2,961 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44561400/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
p... | 179 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44561400/src/THawk.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
local chFace = nil
local trollWeld = nil
local headWeld = nil
local hatHandleList = nil
local transparencyList = nil
local closestHead = nil
function onActivated()
if not Tool.Enabled then
return
end
local character = Tool.Parent;
local humanoid = character:Fi... | 2,022 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44561450/src/CrowbarScript.server.luau | luau | .luau | -------- OMG HAX
-- 43645306: Full LaserSword
-- 43960328: LaserBlade
-- 43960368: LaserHandle
r = game:service("RunService")
debris = game:GetService("Debris")
local damage = 5
local held_damage = 5
local slash_damage = 10
local spark_color = Color3.new(0, 1, 1)
sword = script.Parent.Handle
Tool = ... | 2,464 |
Roblox/gear | Roblox-gear-28b88df/src/gear/44561450/src/FlashyScript.server.luau | luau | .luau | local i = 0
local delta = 0
while true do
if i <= 0 then delta = .1 end
if i >= 1 then delta = -.1 end
script.Parent.RisingBlade.Mesh.VertexColor = Vector3.new(1-i,1-i,1)
wait(.1)
i = i + delta
end
| 74 |
Roblox/gear | Roblox-gear-28b88df/src/gear/450565762/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,603 |
Roblox/gear | Roblox-gear-28b88df/src/gear/450566409/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a stri... | 3,231 |
Roblox/gear | Roblox-gear-28b88df/src/gear/450566409/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
DisplayModel:Destroy()
end | 45 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45094376/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local keepLooping = true
function onEquippedLocal(mouse)
keepLooping = true
if mouse == nil then
print("Mouse not found")
return
end
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while keepLooping do
while Tool.Enabled do
if not keepLooping then retu... | 212 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45094376/src/SaxScript.client.luau | luau | .luau | local Sax = script.Parent
local oldGF = Vector3.new(0, 1, 0)
local oldGP = Vector3.new(0.15, -0.25, -0.5)
local oldGR = Vector3.new(1, 0, 0)
local oldGU = Vector3.new(0, 0, 1)
local newGF = Vector3.new(-.6821, .5751, -.4517)
local newGP = Vector3.new(.15, -.25, -.15)
local newGR = Vector3.new(.7313, .5364, -... | 594 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45177979/src/CrowbarScript.server.luau | luau | .luau | debris = game:GetService("Debris")
local damage = 0
local slash_damage = 10
sword = script.Parent.Handle
Tool = script.Parent
local UnsheathSound = Instance.new("Sound")
UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
UnsheathSound.Parent = sword
UnsheathSound.Volume = .5
function blow(... | 783 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45177979/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local keepLooping = true
function onEquippedLocal(mouse)
keepLooping = true
if mouse == nil then
print("Mouse not found")
return
end
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while keepLooping do
while Tool.Enabled do
if not keepLooping then retu... | 297 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45201977/src/SwordScript.server.luau | luau | .luau | local kit = script.Parent
local reloadTime = 30
kit.Enabled = true
function onUsed()
if not kit.Enabled then return end
local vChar = kit.Parent
if vChar == nil then return end
local hum = vChar:FindFirstChild("Humanoid")
if hum == nil then return end
kit.Enabled = false
local targetPos = hum.TargetPoint
... | 837 |
Roblox/gear | Roblox-gear-28b88df/src/gear/454733534/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,729 |
Roblox/gear | Roblox-gear-28b88df/src/gear/454734258/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
NPCModule = require(191816425)
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... | 1,346 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45513203/src/SwordScript.server.luau | luau | .luau | local damage = 20
sword = script.Parent.Handle
Tool = script.Parent
local bang = Tool.Handle.Bangbang
local debris = game:GetService("Debris")
function confuzzleHumanoid(myHum)
myHum.Sit = true
if myHum.Parent == nil then return end
humHead = myHum.Parent:FindFirstChild("Head")
if humHead == nil then return e... | 1,338 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45513247/src/RobotCompanionScript.server.luau | luau | .luau | -- First Plushie!
-- Needed for calculating time
-- r = game:service("RunService")
-- Store the Tool information
local Tool = script.Parent
-- Variable for making sure our function is entered only once during a particular instance
enabled = true
local sitting_on_character = false
-- Sounds
local on... | 881 |
Roblox/gear | Roblox-gear-28b88df/src/gear/456221232/src/Script/ProjectileScript/ParticleScript.server.luau | luau | .luau | --Made by Luckymaxer
Particle = script.Parent
Visible = script:WaitForChild("Visible")
wait(Visible.Value)
pcall(function()
Particle.Enabled = false
end) | 39 |
Roblox/gear | Roblox-gear-28b88df/src/gear/456221232/src/Script/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")
ParticleScr... | 1,560 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45754061/src/MicScript.client.luau | luau | .luau | -- Microphone!! --
-- Have a handle to the game service in case we need to get the time object
r = game:service("RunService")
-- Tool and the Object, in this case Microphone
local Microphone = script.Parent.Handle
local Tool = script.Parent
-- Just a partial lock, which disallows multiple instances of the o... | 1,251 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45941397/src/Dragon Script/init.server.luau | luau | .luau | -- Dragon Plushie!!
Tool = script.Parent
Dragon = script.Parent.Handle
Tool.Enabled = true
local FlapSound = script.FlapSound
local FireSound = script.FireSound
local NumClicks = 0
--This call will cause a "wait" until the data comes back
local error = true
local FireFace = nil
while FireFace == ... | 843 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45941451/src/DanceBlast/Dancinator/init.client.luau | luau | .luau | local myChar = script.Parent
if script.Parent ~= nil then
local myHum = script.Parent:FindFirstChild("Humanoid")
if myHum ~= nil then
newAnim = myHum:LoadAnimation(script.Boogie)
newAnim:Play()
end
script.BoogieSound:Play()
if myHum ~= nil then
wait(4)
myHum.Sit = true
myTorso = script.Parent:... | 219 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45941451/src/DanceBlast/init.server.luau | luau | .luau | ball = script.Parent
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
if hit == nil or hit.Parent == nil then return end
local humanoid = hit.Parent:findFirstChil... | 224 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45941451/src/DanceBlasta.server.luau | luau | .luau | local dGun = script.Parent
--This call will cause a "wait" until the data comes back
local error = true
local danceBomb = nil
while danceBomb == nil do
error = false
danceBomb = game:GetService("InsertService"):LoadAsset(45914702)
local instances = danceBomb:GetChildren()
if #instances == 0 then
danceBomb:Remo... | 909 |
Roblox/gear | Roblox-gear-28b88df/src/gear/45941451/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and stillEquipped do
wait(.01)
end
mou... | 163 |
Roblox/gear | Roblox-gear-28b88df/src/gear/460099901/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ToolEquipped = false
Handle.Transparency = 0
Tool.Enabled = true
function CheckIfAlive()
return (((Character and Character.Parent and Humanoid and Humanoid.Parent ... | 265 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46132907/src/Mahjong Sword LS.client.luau | luau | .luau | -- CHESS SWORD --
-- Handle to the game service, in case we need to get the time
r = game:service("RunService")
-- normal damage, when the sword touches a humanoid object
local damage = 5
-- Slash damage
local slash_damage = 10
-- Stab damage
local stab_damage = 10
-- Handle to tool
sword = scri... | 1,564 |
Roblox/gear | Roblox-gear-28b88df/src/gear/461488745/src/Script/HitScript/ParticleScript.server.luau | luau | .luau | --Made by Luckymaxer
Particles = script.Parent
Debris = game:GetService("Debris")
Debris:AddItem(Particles, 3)
wait(1.5)
Particles.Enabled = false | 42 |
Roblox/gear | Roblox-gear-28b88df/src/gear/461488745/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Particles = Handle:WaitForChild("Particles")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
FireParticles = script:WaitForChild("Particles")
HitScript = script:WaitFo... | 1,848 |
Roblox/gear | Roblox-gear-28b88df/src/gear/461489128/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
Controls = {
Forward = {
Value = 0,
DesiredValue = -1,
Keys = {... | 2,576 |
Roblox/gear | Roblox-gear-28b88df/src/gear/461489128/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")
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' t... | 1,637 |
Roblox/gear | Roblox-gear-28b88df/src/gear/462294549/src/Script/ExplosionScript.server.luau | luau | .luau | --Made by Luckymaxer
Firework = script.Parent
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Shape = Enum.PartType.Block,
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.Smoo... | 1,181 |
Roblox/gear | Roblox-gear-28b88df/src/gear/462294549/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,473 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360821/src/LocalGUI.client.luau | luau | .luau | local Tool = script.Parent;
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
print("Setting Mouse to Go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled an... | 179 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360821/src/OnTouchScript/PenguinMaker/init.client.luau | luau | .luau | local Tool = script.Parent
-- Sound Object
PenguinSound = script.PenguinSound
--Animation
local walkAnim
local JumpAnim
-- Reduce the walking speed of the character
walkSpeed = Tool:FindFirstChild("Humanoid").WalkSpeed
walkSpeed = walkSpeed/2.0
-- If the character jumps switch the animation
function o... | 741 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360821/src/OnTouchScript/init.server.luau | luau | .luau | -- Search for the Thrown Potion Object in the workspace
-- It was made child of Workspace in the PPScript
thrownPP = script.Parent
if not thrownPP then
print("Not yet thrown")
return
end
local connnection = nil
-- Sound
local HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.Sound... | 293 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360821/src/PPScript.client.luau | luau | .luau | -- Handle to the tool
local Tool = script.Parent
print("IN SCRIPT")
-- Culling Service
local debris = game:GetService("Debris")
local r = game:service("RunService")
Tool.Enabled = true
function shoot(pPos, missile)
print("IN SHOOT")
--
local vCharacter = Tool.Parent
if vCharacter == nil or vCharac... | 856 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360870/src/AxeScript.client.luau | luau | .luau | -- Ice Axe --
r = game:service("RunService")
local Tool = script.Parent
local IceAxe = Tool.Handle
-- damage
local damage = 10
local swingDamage = 12
Tool.Enabled = true
--Animation
local SwingAnim
--Sounds
axeSwirl = Tool.AxeSwirl
-- On Slash
function slash(hit)
local humanoid = hit.Parent... | 1,548 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360870/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("NO MOUSE")
return
end
while stillEquipped do
print("Setting Mouse to Go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and stil... | 180 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360870/src/MSReducer.client.luau | luau | .luau | -- Injection Script that reduces the character's speed
local Tool = script.Parent
local walkSpeed = Tool:FindFirstChild("Humanoid").WalkSpeed
local count = 0
for j = walkSpeed, 0, -2 do
if count < 5 then
Tool:FindFirstChild("Humanoid").WalkSpeed = walkSpeed - j
wait(1.0)
count = count + 1
e... | 120 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46360920/src/Script.server.luau | luau | .luau | -- Mackerel --
-- Whack Animation, time 0.5 seconds
-- Whack Sound, 0.4 seconds
-- Handle to the game service, in case we need to get the time
r = game:service("RunService")
-- normal damage, when the Mackerel touches a humanoid object
local damage = 5
-- Whack damage
local whack_damage = 8
-- Handle to tool
Macke... | 1,220 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46362414/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
print("Setting Mouse to Go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and... | 179 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46362414/src/SlideScript.client.luau | luau | .luau | -- SLIDING MAN!!! OMG!! --
local canSlide = true
local Tool = script.Parent
local slidePotion = Tool.Handle
Tool.Enabled = true
-- Animation
local penguinSlide
local JumpAnim
--Forces
local bodyVelocity
local bodyGyro
-- Sound --Fix implemented by Luckymaxer
local slideSound = Tool:WaitForChild("SlideSound")
local ... | 1,059 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467109039/src/LocalScript.client.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,227 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467137230/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="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a s... | 1,500 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467138029/src/Script/Dancify/DisableJump.client.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="
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Controller = script:WaitForChild("Con... | 210 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467138029/src/Script/Dancify/init.server.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="
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
DisableJump = script:WaitForChild("Di... | 433 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467138029/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,337 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467859890/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")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error... | 5,320 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467895641/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,786 |
Roblox/gear | Roblox-gear-28b88df/src/gear/467935723/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,590 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46846074/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 5
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
if hit == nil or hit.Parent == nil then return end
local humanoid = hit.Parent:findFirstChild... | 200 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46846074/src/THawk.server.luau | luau | .luau | local Tool = script.Parent;
local vChar = Tool.Parent
local torso = nil
local RightShoulder = nil
local RightArm = nil
--while vChar == nil or vChar.Name == "BackPack" or torso == nil or RightShoulder == nil or RightArm == nil do
-- vChar = Tool.Parent
-- if vChar ~= nil and vChar.Name ~= "BackPack" then
-- torso = v... | 1,064 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46846115/src/RHK Script.client.luau | luau | .luau | -- RHKMan!! --
-- Have a handle to the game service in case we need to get the time object
r = game:service("RunService")
-- Tool and the Object, in this case RHKMan
local Tool = script.Parent
-- Just a partial lock, which disallows multiple instances of the onActivated function
Tool.Enabled = true
-- In... | 1,564 |
Roblox/gear | Roblox-gear-28b88df/src/gear/46846246/src/Panda Script.server.luau | luau | .luau | -- Panda Plushie!!
Tool = script.Parent
Panda = script.Parent.Handle
local squeakSound = Panda.SqueakSound
local angrySound = Panda.AngrySound
local pandaUnequipped = false
-- set up blade of extreme panda ire
--This call will cause a "wait" until the data comes back
local error = true
local panda... | 1,112 |
Roblox/gear | Roblox-gear-28b88df/src/gear/471830826/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")
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' t... | 1,952 |
Roblox/gear | Roblox-gear-28b88df/src/gear/472607336/src/Script/Animation.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
RunService = game:GetService("RunService")
Shell = Figure:WaitForChild("Shell")
LeftShoulder = Shell:WaitForChild("TopLeftFin")
RightShoulder = Shell:WaitForChild("TopRightFin")
LeftHip = Shell:WaitForChild("BottomLeftFin")
RightHip = Shell:WaitForChild("BottomRightFin")
... | 292 |
Roblox/gear | Roblox-gear-28b88df/src/gear/472607336/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")
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' t... | 2,345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/472607575/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,644 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47262108/src/LaserBlast.server.luau | luau | .luau | ball = script.Parent
damage = 15
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouched(hit)
if hit == nil or hit.Parent == nil then return end
local humanoid = hit.Parent:findFirstChil... | 200 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47262108/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
return
end
while stillEquipped do
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and stillEquipped do
wait(.01)
end
mouse.Icon = "rbxasset://textu... | 156 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47262108/src/THawk.server.luau | luau | .luau | local Tool = script.Parent;
local vChar = Tool.Parent
local torso = nil
local RightShoulder = nil
local RightArm = nil
while vChar == nil or vChar.Name == "BackPack" or torso == nil or RightShoulder == nil or RightArm == nil do
vChar = Tool.Parent
if vChar ~= nil and vChar.Name ~= "BackPack" then
torso = vChar:Fin... | 1,867 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47262951/src/LocalStaffScript.client.luau | luau | .luau | -- Ninja Staff --
local Tool = script.Parent
local Staff = Tool.Handle
Tool.Enabled = true
local BoStaff = Tool.Handle:Clone()
BoStaff.Name = "BoStaff"
BoStaff.CanCollide = false
newBAV = Instance.new("BodyAngularVelocity")
newBAV.P = 100000
newBAV.maxTorque = Vector3.new(newBAV.P, newBAV.P, newBAV.P)... | 1,245 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47597760/src/StarScript.server.luau | luau | .luau | local Tool = script.Parent
local damage = 15
local debris = game:GetService("Debris")
Tool.Enabled = true
local starClone
local maxDistance = 60.0
local count = 0
local AwayFromCharacter = true
-- Sounds
local chakraSpin = nil
while chakraSpin == nil do
chakraSpin = Tool:FindFirstChild("ChakraSpin")
wait(.5)
... | 1,640 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47597835/src/BlinkScript.server.luau | luau | .luau | local Tool = script.Parent
local vChar = nil
local torso = nil
local maxRange = 30
local lowerBound = nil
local upperBound = nil
local debris = game:GetService("Debris")
local r = game:GetService("RunService")
local blinkSound = Tool.Blink
function onEquipped()
torso = nil
vChar = Tool.Parent
if vChar ~= nil th... | 1,720 |
Roblox/gear | Roblox-gear-28b88df/src/gear/4771618549/src/LocalScript/EggPhone/init.luau | luau | .luau |
--Services
local RunService = game:GetService("RunService")
local TweenService = game:GetService("TweenService")
local ContentProvider = game:GetService("ContentProvider")
local UserInput = game:GetService("UserInputService")
local Marketplace = game:GetService("MarketplaceService")
local Players = game:GetService("Pl... | 4,637 |
Roblox/gear | Roblox-gear-28b88df/src/gear/4771618549/src/LocalScript/init.client.luau | luau | .luau | wait()
local tool = script.Parent
local EggPhone = require(script.EggPhone)
tool.Equipped:Connect(function()
if EggPhone.Enabled == false then
EggPhone:Open()
end
end)
tool.Unequipped:Connect(function()
if EggPhone.Enabled == true then
EggPhone:Close()
end
end) | 73 |
Roblox/gear | Roblox-gear-28b88df/src/gear/4771619789/src/Client.client.luau | luau | .luau | local MOUSE_ICON = "rbxasset://textures/GunCursor.png"
local RELOAD_ICON = "rbxasset://textures/GunWaitCursor.png"
local player = game.Players.LocalPlayer
local tool = script.Parent
local handle = tool:WaitForChild("Handle")
local launch = tool:WaitForChild("LaunchEgg")
local active = true
local mouse
local Settings ... | 743 |
Roblox/gear | Roblox-gear-28b88df/src/gear/477910063/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Too... | 1,814 |
Roblox/gear | Roblox-gear-28b88df/src/gear/477910063/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")
RemovalMonitor = script:WaitForChild("RemovalMonitor")
CarpetPieces = {
{MeshId = 223079795, Angle = 160},
{MeshId = 223079835, Angle = 100},
{MeshId = 223079888,... | 3,544 |
Roblox/gear | Roblox-gear-28b88df/src/gear/477911027/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,641 |
Roblox/gear | Roblox-gear-28b88df/src/gear/477911027/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
ColorValue = Tool:WaitForChild("CurrentColor")
BaseUrl = Assets.BaseUrl
BasePart = Instance.new("P... | 4,631 |
Roblox/gear | Roblox-gear-28b88df/src/gear/477911027/src/TrailScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Debris = game:GetService("Debris")
CurrentColor = Tool:WaitForChild("CurrentColor")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smo... | 776 |
Roblox/gear | Roblox-gear-28b88df/src/gear/478707595/src/Script/TripScript.client.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:WaitForChild("Humanoid")
Torso = Character:WaitForChild("Torso")
Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
Humanoid.Changed:connect(function(Property)
Humanoid.Jump = false
--Humanoid.Sit = true
end) | 79 |
Roblox/gear | Roblox-gear-28b88df/src/gear/478707595/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... | 4,239 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47871597/src/MilitarySwordScript.server.luau | luau | .luau | -- PIERCING SWORD --
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 8
local epicKatana = false
local p = nil
local humanoid = nil
local slash_damage = 8
local lunge_damage = 8
local markDuration = 15
local SlashSound = Instance.new("Sound")
SlashSound.S... | 1,137 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47871615/src/Script.server.luau | luau | .luau | --Rescripted 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 fun... | 2,432 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47871635/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Animations = {
Play = {Animation = Tool:WaitForChild("Play"), FadeTime = nil, Weight = nil, Speed = nil, Duration = 2},
}
Sounds = {
TubaSound = Handle:WaitF... | 1,559 |
Roblox/gear | Roblox-gear-28b88df/src/gear/47871646/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local MouseInput = Tool:WaitForChild("MousePos",10)
function MouseInput.OnClientInvoke()
return game.Players.LocalPlayer:GetMouse().Hit.p
end | 40 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159731/src/AnimateScript.client.luau | luau | .luau | --Fixed by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
-- Animations
local slashAnim
local twoHandAnim
local twoHandedSlashAnim
ToolEquipped = false
function animate()
if Tool:FindFirstChild("Growth").Value > 3 and ToolEquipped then
if twoHandAnim then
twoHandAnim:Stop()
end
myHum... | 389 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159731/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = false
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
print("Setting Mouse to go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and still... | 182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159731/src/RegenScript.server.luau | luau | .luau | --Fixed by Luckymaxer
Tool = script.Parent
Growth = Tool:WaitForChild("Growth")
Healing = false
Growth.Changed:connect(function()
if Healing then
return
end
Healing = true
while Growth.Value >= 6 do
local Character = Tool.Parent
local Humanoid = Character:FindFirstChild("Humanoid")
if Humanoid and Human... | 139 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159731/src/SpringSwordScript.server.luau | luau | .luau | --Fixed by Luckymaxer
Tool = script.Parent
Sword = Tool.Handle
Sparkle = Sword:WaitForChild("Sparkles")
Players = game:GetService("Players")
Growth = Tool:WaitForChild("Growth")
Sparkle.Enabled = false
Tool.Enabled = true
-- damage
damage = 12
-- Sound
local slashSound
local sparkleSound
-- Clone
local sparkleClo... | 1,063 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159815/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("NO MOUSE")
return
end
while stillEquipped do
print("Setting Mouse to go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and stillEquipped... | 181 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159815/src/LocalShadowScript.client.luau | luau | .luau | Tool = script.Parent
Sword = Tool.Handle
local shadowActive = Tool:FindFirstChild("ShadowActive")
-- Animations
local initiateCloneAnim
local shadowLungeAnim
local slashAnim
local dualSlashAnim
-- swordClone
local swordClone
-- To gauge key presses
local lungeTime = 0
local spinTime = 0
-- game s... | 1,375 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48159815/src/ShadowScript.server.luau | luau | .luau | Tool = script.Parent
Sword = Tool.Handle
Tool.Enabled = true
-- damage
damage = 18
cloneDamage = 4
local swordClone
-- Sounds
local slashSound
local spinSound
--
-- Animations
local slashAnim
local initiateCloneAnim
--connection
local connection
-- ShadowActive
local shadowActive = Tool:... | 914 |
Roblox/gear | Roblox-gear-28b88df/src/gear/483308034/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,662 |
Roblox/gear | Roblox-gear-28b88df/src/gear/483308681/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... | 4,429 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48395736/src/KnightSwordScript.server.luau | luau | .luau | --[[
Fixed by ArceusInator: The mesh is now visible on Macs!
--]]
-- PIERCING SWORD --
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 7
local epicKatana = false
local p = nil
local humanoid = nil
local slash_damage = 9
local lunge_damage = 11
local Slas... | 1,041 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48395736/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = true
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
print("Setting Mouse to go")
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
while Tool.Enabled and st... | 182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local MouseInput = Tool:WaitForChild("MousePos",10)
local Services = {
Players = (game:FindService("Players") or game:GetService("Players")),
TweenService = (game:FindService("TweenService") or game:GetService("TweenService")),
RunService = (game:FindService("RunService") or game:GetServ... | 235 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Server/ConfuseScript/Confuse/CamSpinServer/CamSpinClient.client.luau | luau | .luau | local Duration = script:WaitForChild("Duration").Value
local RunService = (game:FindService("RunService") or game:GetService("RunService"))
local Camera = workspace.CurrentCamera
local rad,sin = math.rad,math.sin
local Angle = 0
local Seed = Random.new()
local Current_Time = 0
warn(Duration)
repeat
Camera.CFra... | 148 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Server/ConfuseScript/Confuse/CamSpinServer/init.server.luau | luau | .luau | --monitors the client to make sure nothing glitches
local Self = script
local Duration,Target = Self:WaitForChild("Duration").Value,Self:WaitForChild("Target").Value
local CamSpinClient = Self:FindFirstChild("CamSpinClient")
if CamSpinClient then
local Dur = Instance.new("NumberValue")
Dur.Name = "Duration"
Dur.... | 148 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Server/ConfuseScript/Confuse/init.server.luau | luau | .luau | local Duration = 5
local Players = (game:FindService("Players") or game:GetService("Players"))
local Self = script
local Character = Self.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local IsPlayer = Players:GetPlayerFromCharacter(Character)
if IsPlayer then
local CamSpin = Self:WaitForChil... | 210 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Server/ConfuseScript/init.server.luau | luau | .luau | local Self = script
local Projectile = Self.Parent
local Creator = Self:WaitForChild("Creator")
local Instant,Pairs,Type,Tick,wrap,Delay,Wait,Pcall = Instance.new,pairs,type,tick,coroutine.wrap,delay,wait,pcall
local Services = {
Debris = (game:FindService("Debris") or game:GetService("Debris")),
Players = (game:... | 504 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596305/src/Server/init.server.luau | luau | .luau | local Self = script
local Tool = Self.Parent
Tool.Enabled = true
local Handle = Tool:WaitForChild("Handle")
local Character,Humanoid,Player
local Instant,Pairs,Type,Tick,wrap,Delay,Wait,Pcall = Instance.new,pairs,type,tick,coroutine.wrap,delay,wait,pcall
local Cframe,rad,Angles,Vec3,huge = CFrame.new,math.rad,CFra... | 974 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.