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/48596324/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
-- Animations
local staffAnim
local Animations = {
ForceStaff = Tool:WaitForChild("ForceStaffAnim");
R15ForceStaff = Tool:WaitForChild("R15ForceStaffAnim")
}
function onActivatedL()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then ... | 227 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596324/src/ForceStaffScript.server.luau | luau | .luau | local Tool = script.Parent
local Staff = Tool.Handle
Tool.Enabled = true
local staffAOE = Vector3.new(15, 15, 15)
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.P = 10000
bodyVelocity.maxForce = Vector3.new(bodyVelocity.P, bodyVelocity.P, bodyVelocity.P)
bodyVelocity.Name = "BV"
bodyForce = Instance.new("... | 1,656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596324/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 stillE... | 182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596336/src/MorphPotionScript/TransformScript/init.server.luau | luau | .luau | --Transform into someone else for X amount of seconds!
--Scripted by TakeoHonorable
local Character,CharacterHumanoid,Target = script.Parent,script.Parent:FindFirstChildOfClass("Humanoid"),script:FindFirstChild("Target")
if not Character or not Character:FindFirstChildOfClass("Humanoid") or not Target or not Target.V... | 254 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48596336/src/MorphPotionScript/init.server.luau | luau | .luau | --Rescripted by TakeoHonorable
--No more Obtaining Forcefields with this one (^:
function Create(ty)
return function(data)
local obj = Instance.new(ty)
for k, v in pairs(data) do
if type(k) == 'number' then
v.Parent = obj
else
obj[k] = v
end
end
return obj
end
end
local Tool = script.Parent
... | 656 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48847374/src/HandCannonScript.server.luau | luau | .luau | -- Heat Seeker Missiles 1..2..3 --
local Tool = script.Parent
local Cannon = Tool.Handle
local debris = game:GetService("Debris")
Tool.Enabled = true
rocket = Instance.new("Part")
rocket.Size = Vector3.new(0.5, 0.5, 0.5)
rocket.Transparency = 0.8
rocket.Shape = "Ball"
rocket.FormFactor = 3
rocket.Nam... | 1,350 |
Roblox/gear | Roblox-gear-28b88df/src/gear/48847374/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = false
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 stillEquippe... | 181 |
Roblox/gear | Roblox-gear-28b88df/src/gear/489196923/src/SwordScript.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")
DamageValues = {
BaseDamage = 5,
SlashDamage = 8,
LungeDamage = 12
}
Damage = DamageValues.BaseDamage
Grips = {
Up = ... | 1,124 |
Roblox/gear | Roblox-gear-28b88df/src/gear/489197999/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
local sp=script.Parent
originalgrip=CFrame.new(0.0500000045, 1.93715096e-007, -1.90000033, 0, 0, -1, -1, 1.31134158e-007, 0, 1.31134158e-007, 1, 0)
currentgrip=originalgrip
swingspeed=1.5
debris=game:GetService("Debris")
enabled=true
function waitfor(parent,name)
while true do
local child=... | 1,258 |
Roblox/gear | Roblox-gear-28b88df/src/gear/489197999/src/SwordScript.server.luau | luau | .luau | --Made by Luckymaxer
sp=script.Parent
r=game:service("RunService")
debris=game:GetService("Debris")
anims={"RightSlash","OverHeadSwing","LeftSwingFast","RightSwingFast"} --,"LeftSlash"
basedamage=9
slashdamage=14
swingdamage=22
damage=basedamage
sword=sp.Handle
local UnsheathSound=Instance.new("Sound")
Unsheat... | 702 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49052638/src/BootScript.server.luau | luau | .luau | -- Hold space or tap thrice to jump higher --
Tool = script.Parent
Boots = Tool.Handle
local leftBootClone
local rightBootClone
local bootsActive
local bootWeld
local vCharacter
local connection
Tool.Enabled = true
newBV = Instance.new("BodyVelocity")
newBV.P = 10000
newBV.maxForce = Vector3.new... | 1,191 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49052686/src/PistolScript.client.luau | luau | .luau | local CAS, UIS = game:GetService'ContextActionService', game:GetService'UserInputService'
script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1', true, mouse.Hit) end)
mouse.KeyDown:connect(function(key) script.Parent.Input:FireServer('Key', true, ... | 216 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49052686/src/Script.server.luau | luau | .luau | --[[
Fixed by ArceusInator
- Mac users can now see the mesh
- The gear works in FE games
--]]
Tool = script.Parent
Pistol = Tool.Handle
local pistolClone
local newWeld
local dualActive
local dualWalk
local vCharacter
local bulletSound
Tool.Enabled = true
local damage = 10
local bulletClone
local debris = game:... | 1,577 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49052716/src/CowboySwordScript.server.luau | luau | .luau | -- Cowboy SWORD --
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 7
local p = nil
local humanoid = nil
local slash_damage = 10
local lunge_damage = 12
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
SlashS... | 1,057 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49059364/src/InsertScript/PoisonScript.server.luau | luau | .luau | humanoid = script.Parent
if humanoid then
for i = 1, 15 do
if humanoid.Health > 0 then
humanoid:TakeDamage(6)
end
wait(1.0)
end
end
wait(2.0)
script:Remove() | 64 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49059364/src/InsertScript/init.server.luau | luau | .luau | local Snake = script.Parent
bodyForce = Instance.new("BodyForce")
bodyForce.force = Vector3.new(0.0, 196.1 * Snake:GetMass(), 0.0)
bodyForce.Parent = Snake
local perpVelocity
local sign = 1
function onTouch(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
tag = Snake:Fi... | 372 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49059364/src/SnakeScript.server.luau | luau | .luau | -- Beware the Snakes! --
local Tool = script.Parent
local Crate = Tool.Handle
local vCharacter
local crateClone
local numberOfSnakes = 6
local crateSound
local debris = game:GetService("Debris")
local smoke = Instance.new("Smoke")
smoke.Opacity = 0.0
--smoke.RiseVelocity = 1.0
--smoke.Size = 10.0
... | 1,459 |
Roblox/gear | Roblox-gear-28b88df/src/gear/492854717/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Animations = {
Drink = {Animation = Tool:WaitForChild("Drink"), FadeTime = nil, Weight = nil, Speed = nil, Duration = 1},
R15Drink = {Animation = Tool:WaitForChild(... | 675 |
Roblox/gear | Roblox-gear-28b88df/src/gear/492979024/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")
LaserEffects = Particles:WaitForChild("Lase... | 4,563 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491716/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
-- Animations
local wandAnim
function onActivatedL()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
return
end
if Tool.Enabled then
wandAnim = myHumanoid:LoadAnimation(Tool.WandAnim)
if wandAnim then wandAn... | 150 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491716/src/ClownedScript.server.luau | luau | .luau | vCharacter = script.Parent
humanoid = vCharacter:FindFirstChild("Humanoid")
local insertTable = {}
local headTable = {}
local torsoTable = {}
-- Storing the current attire to reset back after 10 seconds
local charChildren = vCharacter:GetChildren()
for c = 1, #charChildren do
if charChildren[c].className ... | 1,397 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491716/src/WandScript.server.luau | luau | .luau | local Tool = script.Parent
local Wand = Tool.Handle
Tool.Enabled = true
local vCharacter
local giggle
local wandAOE = Vector3.new(15.0, 15.0, 15.0)
function onActivated()
if Tool.Enabled == false then
return
end
Tool.Enabled = false
vCharacter = Tool.Parent
myTorso = vCharacter:FindFirstC... | 414 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Client.client.luau | luau | .luau | --Rescripted by TakeoHonorable
local Tool = script.Parent
local Remote = Tool:WaitForChild("ClientInput")
--local MouseLoc = Tool:WaitForChild("MouseLoc")
local Input = (game:FindService("ContextActionService") or game:GetService("ContextActionService"))
local function SetSpell(ActionName,InputState,InputObj)
if I... | 270 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Server/HalfHealth/init.server.luau | luau | .luau | local Particle = script:WaitForChild("Particle")
local Character = script.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local AffectedParts = {"torso"} -- Highlight the bodyparts with the name found
local ParticleTable = {}
if Humanoid and Humanoid.Health ~= 0 then
Humanoid.Health = Humanoid... | 295 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Server/Health&Speed/init.server.luau | luau | .luau | local Particle = script:WaitForChild("Particle")
local Creator = script:WaitForChild("Creator")
local Character = script.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local AffectedParts = {"torso","leg","foot"} -- Highlight the bodyparts with the name found
local ParticleTable = {}
functio... | 396 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Server/LessSpeed/init.server.luau | luau | .luau | local Particle = script:WaitForChild("Particle")
local Character = script.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local AffectedParts = {"leg","foot"} -- Highlight the bodyparts with the name found
local ParticleTable = {}
if Humanoid and Humanoid.Health ~= 0 then
Humanoid.WalkSpeed ... | 244 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Server/OneHealth/init.server.luau | luau | .luau | local Particle = script:WaitForChild("Particle")
local Character = script.Parent
local Humanoid = Character:FindFirstChildOfClass("Humanoid")
local AffectedParts = {"head"} -- Highlight the bodyparts with the name found
if Humanoid and Humanoid.Health ~= 0 then
if Humanoid.Health > 1 then
Humanoid.Health = 1
... | 202 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491736/src/Server/init.server.luau | luau | .luau | --Rescripted by TakeoHonorable
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
--Handle:WaitForChild("Smoke").Enabled = true
local SpellGui = Tool:WaitForChild("SpellGui"):Clone()
local BookSound = Handle:WaitForChild("BookSound")
local Remote = Tool:WaitForChild("ClientInput")
--local Mouse... | 2,536 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491781/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
-- Animations
local staffAnim
function onActivatedL()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
return
end
if Tool.Enabled then
staffAnim = myHumanoid:LoadAnimation(Tool.LightStaffAnim)
staffAnim:Play(... | 146 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491781/src/CharScript/init.server.luau | luau | .luau | local vChar = script.Parent
local torso = vChar.Torso
buff = vChar.Humanoid:FindFirstChild("Buff")
numChar = script.NumChar
buffDuration = 35 -- Number of seconds the buff should last
sign = -0.2
local co
humanoid = vChar:FindFirstChild("Humanoid")
if humanoid ~= nil then
maximumHealth = humanoid.MaxHealth + num... | 360 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491781/src/LightInsertScript.server.luau | luau | .luau | vChar = script.Parent
humanoid = vChar:FindFirstChild("Humanoid")
local co
healing = humanoid:FindFirstChild("Healing")
local sign = -0.2
function reset()
wait(10.0)
if humanoid.Health > 70 then humanoid.Health = humanoid.Health - 50 end
if humanoid.MaxHealth > 100 then humanoid.MaxHealth = 100 end
... | 266 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491781/src/StaffScript.server.luau | luau | .luau | local Tool = script.Parent
local Staff = Tool.Handle
local vCharacter
local numChar = 0
Tool.Enabled = true
local staffSound
local staffAOE = Vector3.new(20.0, 20.0, 20.0)
local healField = Instance.new("Part")
healField.Name = "Field"
healField.Size = Vector3.new(1, 1, 1)
healField.Transparency = 0... | 798 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491808/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
-- Animations
local staffAnim
function onActivatedL()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
return
end
if Tool.Enabled then
if myHumanoid then
if myHumanoid.RigType == Enum.HumanoidRigType.R15 the... | 204 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491808/src/PitInsertScript.server.luau | luau | .luau | vChar = script.Parent
humanoid = vChar:FindFirstChild("Humanoid")
torso = vChar:FindFirstChild("Torso") or vChar:FindFirstChild("UpperTorso")
if humanoid ~= nil and torso ~= nil then
fire = Instance.new("Fire")
fire.Parent = torso
end
local fireTime = 5.0
while fireTime > 0 do
humanoid:TakeDamage(5) ... | 147 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49491808/src/PitStaffScript.server.luau | luau | .luau | local Tool = script.Parent
local Staff = Tool.Handle
Tool.Enabled = true
local debris = game:GetService("Debris")
fireball = Instance.new("Part")
fireball.Size = Vector3.new(4.0, 4.0, 4.0)
fireball.Transparency = 0.8
fireball.Shape = "Ball"
fireball.FormFactor = 3
fireball.Name ="HC"
fireball.CanCollide... | 1,256 |
Roblox/gear | Roblox-gear-28b88df/src/gear/498752334/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,433 |
Roblox/gear | Roblox-gear-28b88df/src/gear/498752764/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,737 |
Roblox/gear | Roblox-gear-28b88df/src/gear/498752764/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},
}
CarpetSize = Vector3.new(6, 0.5, 6.5)
BaseUrl = "http... | 1,660 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929724/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
local Axe = Tool.Handle
local slashAnim
local twoHandAnim
local vCharacter
function onActivated()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
return
end
if myHumanoid then
if myHumanoid.RigType == Enum.Hum... | 376 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929724/src/AxeScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Axe = Tool.Handle
Tool.Enabled = true
local damage
local staticDamage = 12
local swingDamage = 18
local torsoDamage = 40
local axeSound = Instance.new("Sound")
axeSound.SoundId = "rbxasset://sounds\\swordaxe.wav"
axeSound.Pare... | 574 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929746/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
local Axe = Tool.Handle
local slamAnim
local vCharacter
function onActivated()
vCharacter = Tool.Parent
local myHumanoid = vCharacter:FindFirstChild("Humanoid")
if not myHumanoid then
return
end
if myHumanoid then
if myHumanoid.RigType == Enum.HumanoidRigType.R15 then
slamAn... | 223 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929746/src/MorningStarScript.server.luau | luau | .luau | local Tool = script.Parent
local Mace = Tool.Handle
Tool.Enabled = true
local vCharacter
local staticDamage = 12
local damage = 18
local debris = game:GetService("Debris")
local MaceSound,EquipSound
local Services = {
Players = (game:FindService("Players") or game:GetService("Players")),
Debris = (game:FindSe... | 798 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929767/src/SwordScript.server.luau | luau | .luau | -- Sword and shield
-- shield damage 12, sword damage 18
-- health increased by 75, movement speed decreased by 2
local Tool = script.Parent
local Sword = Tool.Handle
local shield
local shieldMesh
local vCharacter
local damage = 18
Tool.Enabled = true
function blow(hit) -- For the Sword
humano... | 843 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929776/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
local Bow = Tool.Handle
local vCharacter
local walkAnim
local arrowAnim
local fireArrow
local co
local debounce = false
function onKeyDown(key)
if key:lower() == "q" then
if debounce == false then
fireArrow = Tool:FindFirstChild("FireArrow")
if fireArrow the... | 388 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929776/src/BowScript.server.luau | luau | .luau | local Tool = script.Parent
local Bow = Tool.Handle
local vCharacter
local quiver
local quiverWeld
local arrows = {}
local debris = game:GetService("Debris")
Tool.Enabled = true
arrow = Instance.new("Part")
arrow.FormFactor = 3
arrow.Shape = "Block"
arrow.Size = Vector3.new(0.5, 3.0, 0.5)
arrow.CanC... | 1,549 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929776/src/OnTouchScript/BurnScript.server.luau | luau | .luau | vCharacter = script.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
myTorso = vCharacter:FindFirstChild("Torso")
local count = 5
while myHumanoid and count > 0 do
print(count)
myHumanoid:TakeDamage(10)
count = count - 1
wait(1.0)
end
if myTorso then
fire = myTorso:FindFirstChi... | 121 |
Roblox/gear | Roblox-gear-28b88df/src/gear/49929776/src/OnTouchScript/init.server.luau | luau | .luau | local arrow = script.Parent
local damage = 50
function onTouch(hit)
if hit.Parent then
vChar = hit.Parent
humanoid = vChar:FindFirstChild("Humanoid")
if humanoid ~= nil then
tag = arrow:FindFirstChild("creator")
if tag then tag.Parent = humanoid end
if hit.Name == "Head" then damage... | 175 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501753915/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new(... | 1,454 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501755654/src/SwordScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Damage = {
Touched = 5,
Slash = 18,
Current = 0
}
Sounds = {
Unsheath = Handle:WaitForChild("Unsheath"),
Slash = Handle:WaitForChild("Slash"),
}
Grips = {
Up ... | 951 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501939119/src/ProtestScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sounds = {}
for i, v in pairs(Handle:GetChildren()) do
if v:IsA("Sound") then
table.insert(Sounds, v)
end
end
function Activated()
if not Tool.Enabled then
return
end
Tool.Enabled = false
Sounds[math.random(1, #Sounds)]:Play()
... | 113 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501941714/src/SwordScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
DamageValues = {
BaseDamage = 5,
SlashDamage = 10,
LungeDamage = 15
}
Damage = DamageValues.BaseDamage
Grips = {... | 1,107 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501942750/src/SwordScript/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")
InsertService = game:GetService("InsertService")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string... | 3,868 |
Roblox/gear | Roblox-gear-28b88df/src/gear/501966315/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new(... | 1,455 |
Roblox/gear | Roblox-gear-28b88df/src/gear/503955938/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
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel the... | 379 |
Roblox/gear | Roblox-gear-28b88df/src/gear/503957396/src/Script/LightningFunctions/init.luau | luau | .luau | --Made by Luckymaxer
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 string", 2)
end
--return the proxy function that gives us the... | 2,490 |
Roblox/gear | Roblox-gear-28b88df/src/gear/503957396/src/Script/StunScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Player = Players:GetPlayerFromCharacter(Character)
Duration = script:FindFirstChild("Duration")
BaseColor = ... | 872 |
Roblox/gear | Roblox-gear-28b88df/src/gear/503957396/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")
BaseUrl = "http://www.roblox.com/asset/?id="
LightningFunctions = require(script:WaitForChild("LightningFunctions"))
StunScript = ... | 1,971 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454041/src/BunnyPunchScript.client.luau | luau | .luau | local Tool = script.Parent
local Carrot = Tool.Handle
local vCharacter
local connection
local bunnyActive = Tool:FindFirstChild("BunnyActive")
function blow(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
vCharacter = Tool... | 644 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454041/src/BunnyScript.server.luau | luau | .luau | local InsertService = game:GetService("InsertService")
local Tool = script.Parent
local Carrot = Tool.Handle
local PackageMaker = require(836581200)
Tool.Enabled = true
local vCharacter = Tool.Parent
local insertTable = {}
local headTable = {}
local torsoTable = {}
local co
local biteSound
local bunnyActive = To... | 1,437 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454041/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 stillEquipped... | 184 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454086/src/DropScript.server.luau | luau | .luau | egg = script.Parent
debris = game:GetService("Debris")
FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378"
FuseSound.Parent = script.Parent
FuseSound:Play()
wait(3.0)
local sound = Instance.new("Sound")
sound.SoundId = "rbxasset://sounds\\Rocket shot.wav" ... | 485 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454086/src/EggScript.server.luau | luau | .luau | local Tool = script.Parent
local Egg = Tool.Handle
local debris = game:GetService("Debris")
local vCharacter
local blastSound
local eggClone
local co
Tool.Enabled = true
function explode(eggClone)
if eggClone then
if blastSound then blastSound:Play() end
wait(3.0)
local sound = Inst... | 854 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454086/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 an... | 184 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50454086/src/boomScript.server.luau | luau | .luau | egg = script.Parent
debris = game:GetService("Debris")
FuseSound = Instance.new("Sound")
FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378"
FuseSound.Parent = script.Parent
FuseSound:Play()
wait(3.0)
local sound = Instance.new("Sound")
sound.SoundId = "rbxasset://sounds\\Rocket shot.wav" ... | 170 |
Roblox/gear | Roblox-gear-28b88df/src/gear/507797529/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new(... | 1,453 |
Roblox/gear | Roblox-gear-28b88df/src/gear/507803661/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... | 1,472 |
Roblox/gear | Roblox-gear-28b88df/src/gear/507803661/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
BaseUrl = Assets.BaseUrl
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
... | 3,984 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50937815/src/Server/ProjectileScript/init.server.luau | luau | .luau | local Projectile = script.Parent
local Creator = script:WaitForChild("Creator",math.huge)
local Services = {
Players = (game:FindService("Players") or game:GetService("Players")),
Debris = (game:FindService("Debris") or game:GetService("Debris")),
ServerScriptService = (game:FindService("ServerScriptService") or g... | 685 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50937815/src/Server/init.server.luau | luau | .luau | --Rescripted By TakeoHonorable
function Create(ty)
return function(data)
local obj = Instance.new(ty)
for k, v in pairs(data) do
if type(k) == 'number' then
v.Parent = obj
else
obj[k] = v
end
end
return obj
end
end
local Tool = script.Parent
Tool.Enabled = true
local Handle = Tool:WaitForC... | 900 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938746/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\\GunCursor.png"
while Tool.Enabled and stillEquipped do
... | 182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938746/src/SwordScript.server.luau | luau | .luau | -- PIERCING SWORD --
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 10
local debris = game:GetService("Debris")
local flareDamage = 5
local co -- Coroutine
local slash_damage = 14
local lunge_damage = 20
local SlashSound = Instance.new("Sound")
SlashSo... | 1,399 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938765/src/DestinyScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
local UIS, CAS = game:GetService'UserInputService', game:GetService'ContextActionService'
A... | 646 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938765/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--[[
Fixed by ArceusInator
--]]
local GLib = require(206209239)
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Damage = 22
Tool.Enabled = true
ScytheAOE = Vector3.new(22.5, 22.5, 22.5)
LastKeyDown = 0
Da... | 1,747 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938773/src/EnergySwordScript.server.luau | luau | .luau | -- PIERCING SWORD --
r = game:service("RunService")
local sword = script.Parent.Handle
local Tool = script.Parent
local damage = 10
local slash_damage = 14
local lunge_damage = 18
local vCharacter
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
SlashSound.Parent = s... | 1,246 |
Roblox/gear | Roblox-gear-28b88df/src/gear/50938773/src/ShockScript.server.luau | luau | .luau | vChar = script.Parent
humanoid= vChar:FindFirstChild("Humanoid")
if humanoid then
humanoid.WalkSpeed = 2.0
children = vChar:GetChildren()
for i = 1, #children do
if children[i]:IsA("Tool") then
children[i].Parent = workspace
end
end
end
wait(2.0)
humanoid.WalkSpeed = 16.0
script:Destroy()
| 100 |
Roblox/gear | Roblox-gear-28b88df/src/gear/511930668/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")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
I... | 1,769 |
Roblox/gear | Roblox-gear-28b88df/src/gear/511930668/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,186 |
Roblox/gear | Roblox-gear-28b88df/src/gear/511931885/src/Script/BombScript.server.luau | luau | .luau | --Made by Luckymaxer
Bomb = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
Creator = Bomb:FindFirstChild("Creator")
Damage = Bomb:FindFirstChild("Damage")
Multiply = Bomb:FindFirstChild("Multiply")
Start = tick... | 1,193 |
Roblox/gear | Roblox-gear-28b88df/src/gear/511931885/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,409 |
Roblox/gear | Roblox-gear-28b88df/src/gear/512422543/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 CheckIfAlive()
return (((Character and Character.Parent and ... | 301 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51302649/src/AnimateScript.client.luau | luau | .luau | -- Sword and shield
local Tool = script.Parent
local Sword = Tool.Handle
local vCharacter
local shieldWeld
local shieldWalkAnim
local slashAnim
local bashAnim
local time
local shieldActive
local lastAttack = 0
local bashDamage = 8
local connection
function bash(hit)
print("Bashing")
if hit.... | 1,326 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51302649/src/SlowScript/init.server.luau | luau | .luau | vChar = script.Parent
myHumanoid = vChar:FindFirstChild("Humanoid")
slow = script.Slow
if myHumanoid then
myHumanoid.WalkSpeed = 16 - slow.Value
wait(3.0)
myHumanoid.WalkSpeed = 16
end
wait(1.0)
script:Remove()
| 73 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51302649/src/SwordScript.server.luau | luau | .luau | -- Sword and shield
-- shield damage 12, sword damage 18
-- health increased by 50
-- Slows enemies based off their maximum health
local Tool = script.Parent
local Sword = Tool.Handle
local shield
local shieldMesh
local vCharacter
local damage = 18
local judgement
Tool.Enabled = true
function bl... | 960 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346271/src/AnimateScript.client.luau | luau | .luau | local Tool = script.Parent
local Blowgun = Tool.Handle
local blowAnim
local vCharacter
local Animatons = {
Blow = Tool:WaitForChild("Blow");
R15Blow = Tool:WaitForChild("R15Blow");
}
function onActivated()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
... | 225 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346271/src/BlowgunScript.server.luau | luau | .luau | local Tool = script.Parent
local Blowgun = Tool.Handle
Tool.Enabled = true
local debris = game:GetService("Debris")
part = Instance.new("Part")
part.Size = Vector3.new(0.8, 0.8, 0.8)
part.Transparency = 0.0
part.CanCollide = false
local fieldMesh = Instance.new("SpecialMesh")
fieldMesh.MeshType = "FileMesh" ... | 1,001 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346271/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = false
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(0.01)
end
mouse.Icon = "rbxasset://textures\\G... | 159 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346271/src/OnTouchScript.server.luau | luau | .luau | local dart = script.Parent
creatorTag = dart:FindFirstChild("creator")
HitSound = Instance.new("Sound")
HitSound.Name = "HitSound"
HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266"
HitSound.Parent = ball
HitSound.Volume = 1
function onTouch(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
if... | 161 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346336/src/LocalSaiScript.client.luau | luau | .luau | local Tool = script.Parent
local Sai = Tool.Handle
local dualAnim
local vCharacter
function onActivatedLocal()
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
if myHumanoid == nil then
return
end
dualAnim = myHumanoid:LoadAnimation(Tool.SaiSlash)
if dualAnim th... | 157 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346336/src/SaiScript.server.luau | luau | .luau | local Tool = script.Parent
local Sai = Tool.Handle
Tool.Enabled = true
local vCharacter
local leftSai
local damage = 25
function blow(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
vCharacter = Tool.Parent
myHumanoid = vCharacter:FindFirstChild("Humanoid")
vPlayer = game.Players:GetPlayerFr... | 959 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346471/src/AnimateScript.server.luau | luau | .luau | local Tool = script.Parent
local Kodachi = Tool:WaitForChild("Handle")
local vCharacter
local walkAnim
local slashAnim
local stabAnim
local HiddenBlade
local lastKeyDown = 0
local dashTime = 0
local lastSlash = 0
local myHumanoid
local dualSlashSound
swordActive = Tool:WaitForChild("SwordActive")
hiddenBladeActi... | 2,013 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346471/src/KodachiScript.server.luau | luau | .luau | --[[
Fixed by ArceusInator. Now works with FE and has a mobile button for equipping the second kodachi. Fixed teamkilling. Fixed an issue with the animation freezing.
--]]
-- Right Sword 51288759
-- Left Sword 51286923
-- Kodachi without Right Sword 51287154
-- Sheath Only 51286751
-- Full Kodachi 51237272
-- Te... | 1,440 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51346471/src/LocalScript.client.luau | luau | .luau | local CAS, UIS = game:GetService'ContextActionService', game:GetService'UserInputService'
script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1', true, mouse.Hit.p) end)
mouse.Button1Up:connect(function() script.Parent.Input:FireServer('Mouse1', fa... | 243 |
Roblox/gear | Roblox-gear-28b88df/src/gear/51347716/src/EagleScript.server.luau | luau | .luau | local Tool = script.Parent
local Eagle = Tool.Handle
Tool.Enabled = true
local eagleSound
local vCharacter
local damage = 35
local connection
local eagleClone
local count = 0
local torsoFire
local AOE = Vector3.new(10, 10, 10)
local redCliffItems = {"Phoenix Bow", "Phoenix Axe", "PhoenixSw... | 1,260 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515687734/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,581 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515687734/src/Script/ProjectileManager/init.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
BaseUrl = "http://www.roblox.com/asset/?id="
FadeScript = script:WaitForChild("... | 1,811 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515687734/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
FunctionsLibrary = script:WaitForChild("Functions")
ProjectileMa... | 2,939 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515687925/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")
Logo = script:WaitForChild("Logo")
ToolEquipped = false
function CheckIfAlive()
return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Human... | 271 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515688182/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")
Logo = script:WaitForChild("Logo")
Animations = {
Drink = {Animation = Tool:WaitForChild("Drink"), FadeTime = nil, Weight = nil, Speed = nil, Duration = 1},
}
Soun... | 692 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515688568/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
UserInputService = game:GetService("UserInputService")
Animations = {}
Remotes = Tool:WaitForChild("Remotes")
ServerControl = Remotes:WaitForChild("ServerControl")
ClientControl = Remotes:WaitForChild... | 758 |
Roblox/gear | Roblox-gear-28b88df/src/gear/515688568/src/Script/BombScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Part = script.Parent
Mesh = Part:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
OrigSize = Part.Size
OrigScale = Mesh.Scale
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BaseUrl = "http://www.roblox.com/asset/?id="
Creator = Pa... | 1,966 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.