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/243790334/src/Server.server.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Handle = Tool:WaitForChild("Handle") local FriendlyFire = false local ArmMesh local HitAble = false local HitWindup = 0.15 local HitWindow = 0.75 local HitDamage = 15 local HitVictims = {} local SwingAble = true local SwingRestTime = 1 --r...
931
Roblox/gear
Roblox-gear-28b88df/src/gear/243790517/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") AnimationTracks = {} ServerCont...
2,969
Roblox/gear
Roblox-gear-28b88df/src/gear/243790517/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") InsertService = game:GetService("InsertService") ParticlesModel = InsertService:LoadAsset(228304820) Particles = ParticlesModel:G...
2,802
Roblox/gear
Roblox-gear-28b88df/src/gear/243791145/src/SwordScript.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,376
Roblox/gear
Roblox-gear-28b88df/src/gear/243791329/src/Script/DeathEffect/init.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" WindDirection = script:FindFirstChild("WindDirection") Force = script:FindFirstChild("Force") BaseColor...
1,865
Roblox/gear
Roblox-gear-28b88df/src/gear/243791329/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Helix = Handle:WaitForChild("Helix") Spread = Handle:WaitForChild("Spread") Sparks = Handle:WaitForChild("Sparks") Players = game:GetService("Players") Debris = game:GetService("Debris") DeathEffect = script:WaitForChild("DeathEffect") B...
3,533
Roblox/gear
Roblox-gear-28b88df/src/gear/243890860/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = T...
930
Roblox/gear
Roblox-gear-28b88df/src/gear/243890860/src/MotorizeGrip.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") function CheckIfAlive() return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) o...
478
Roblox/gear
Roblox-gear-28b88df/src/gear/243890860/src/Script/Functions.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Bullet"} Functions = { CreateConfiguration = (function(Configurations, Table) for i, v in pairs(Configurations:GetChildren()) do if string.find(v.ClassName, "Value") then ...
948
Roblox/gear
Roblox-gear-28b88df/src/gear/243890860/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") BeamModel = InsertService:LoadAsset(243879490) Beam = BeamModel:GetChildren()[1]...
2,410
Roblox/gear
Roblox-gear-28b88df/src/gear/24396804/src/Bomb.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=24395519" FuseSound.Parent = script.Parent FuseSound:Play() local total_time = 5 -- seconds local cur_time = 0 function update(frac) script.Parent.Fuse.Color = Color3.new(1,0, 1) end function blowUp() local sound ...
476
Roblox/gear
Roblox-gear-28b88df/src/gear/244081145/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") UserInputService = game:GetService("UserInputService") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ...
796
Roblox/gear
Roblox-gear-28b88df/src/gear/244081145/src/MotorizeGrip.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") function CheckIfAlive() return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Player and Player.Parent) and true) or false) end function Equipped() Ch...
468
Roblox/gear
Roblox-gear-28b88df/src/gear/244081145/src/Script.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") BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Mate...
3,108
Roblox/gear
Roblox-gear-28b88df/src/gear/244082303/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....
3,434
Roblox/gear
Roblox-gear-28b88df/src/gear/24440014/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctions.GetData("Katana2") local SwordModel = Sw...
488
Roblox/gear
Roblox-gear-28b88df/src/gear/2445084910/src/AnimateFloatingSword.client.luau
luau
.luau
-- // Created by StarWars local RunService = game:GetService("RunService") local tool = script.Parent local floatingSword tool.Equipped:Connect(function() floatingSword = tool.Parent:WaitForChild("FloatingSword") end) tool.Unequipped:Connect(function() floatingSword = nil end) RunService.RenderStepped:Connect(fu...
267
Roblox/gear
Roblox-gear-28b88df/src/gear/2445084910/src/Script.server.luau
luau
.luau
-- // Created by StarWars local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local GearService = require(1075123174) local gear = GearService:BindGear(script.Parent) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local tool = script.Parent local handle = tool.Ha...
1,420
Roblox/gear
Roblox-gear-28b88df/src/gear/2445089071/src/Assets.luau
luau
.luau
--Made by Luckymaxer -- Updated for new gear by StarWars BaseUrl = "rbxassetid://" 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 functi...
2,404
Roblox/gear
Roblox-gear-28b88df/src/gear/2445089071/src/Script.server.luau
luau
.luau
--Rescripted 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.Pl...
4,112
Roblox/gear
Roblox-gear-28b88df/src/gear/245617341/src/BookScript.client.luau
luau
.luau
local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local Tool = script.Parent local Book = Tool.Handle local vCharacter local vTorso local vHumanoid local vPlayer local PlayerGui Tool.Enabled = true local AORGui local AORGui_Id = 2...
606
Roblox/gear
Roblox-gear-28b88df/src/gear/245617341/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent --Fix implemented by Luckymaxer local debris=game:GetService("Debris") equipped=false check=true function onEquipped(mouse) if mouse~=nil then equipped=true if mouse~=nil then if check then mouse.Icon="rbxasset://textures\\ArrowCursor.png" else mouse.Icon="rbx...
594
Roblox/gear
Roblox-gear-28b88df/src/gear/2463674178/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Mount") local babyNessie = InsertService:LoadAsset(2431256078) babyNessie = babyNessie:GetChildren()[1] gear.Class:SetMountMode...
90
Roblox/gear
Roblox-gear-28b88df/src/gear/2463675080/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") SpeedBoostGui = script:WaitForChild("SpeedBoostGui") BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSurface = E...
1,910
Roblox/gear
Roblox-gear-28b88df/src/gear/2463683230/src/Script.server.luau
luau
.luau
-- // Created by StarWars local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local GearService = require(1075123174) local gear = GearService:BindGear(script.Parent) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local tool = script.Parent local handle = tool.Ha...
1,432
Roblox/gear
Roblox-gear-28b88df/src/gear/2463693263/src/Assets.luau
luau
.luau
--Made by Luckymaxer -- Updated for new gear by StarWars BaseUrl = "rbxassetid://" 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 functi...
2,397
Roblox/gear
Roblox-gear-28b88df/src/gear/2463693263/src/Script.server.luau
luau
.luau
--Rescripted 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.Pl...
4,110
Roblox/gear
Roblox-gear-28b88df/src/gear/24659699/src/HugScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true s1 = Instance.new("Sound") s1.SoundId = "http://www.roblox.com/asset/?id=24477781" s1.Parent = Tool.Handle s2 = Instance.new("Sound") s2.SoundId = "http://www.roblox.com/asset/?id=24477809" s2.Parent = Tool.Handle s3 = Instance.new("Sound") s3.SoundId = "h...
482
Roblox/gear
Roblox-gear-28b88df/src/gear/2470915740/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local gear = GearService:BindGear(script.Parent, "Sword") gear:SetupLocalScript("MouseIcon")
42
Roblox/gear
Roblox-gear-28b88df/src/gear/2470977704/src/LocalScript.client.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") ContentProvider = game:GetService("ContentProvider") UserInputService = game:GetService("UserInputService") InputChec...
1,887
Roblox/gear
Roblox-gear-28b88df/src/gear/2470977704/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer --Updated for R15 avatars by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "rbxasseti...
3,319
Roblox/gear
Roblox-gear-28b88df/src/gear/2470982537/src/Script/AIScript.server.luau
luau
.luau
-- // Created by StarWars local RunService = game:GetService("RunService") local Debris = game:GetService("Debris") local ImaginaryFriend = script.Parent local Humanoid = ImaginaryFriend:WaitForChild("Humanoid") local Owner = ImaginaryFriend:WaitForChild("Owner") local Head = ImaginaryFriend:FindFirstChild("Head") if...
263
Roblox/gear
Roblox-gear-28b88df/src/gear/2470982537/src/Script/init.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local AIScript = script.AIScript local Imaginar...
329
Roblox/gear
Roblox-gear-28b88df/src/gear/2470984833/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local Debris = game:GetService("Debris") local tool = script.Parent local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local BASE_URL = "rbxassetid://" local CANDY_MESHES = { --179536104; --BloxyDro...
759
Roblox/gear
Roblox-gear-28b88df/src/gear/24713330/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctions.GetData("Katana3") local SwordModel = Sw...
482
Roblox/gear
Roblox-gear-28b88df/src/gear/24785057/src/SandwichScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripForward = Vector3.new(0.989, 0.148, -0) Tool.GripPos = Vector3.new(0.5, -0.75, 1.55) Tool.GripRight = Vector3.new(0, 0, 1) Tool.GripUp = Vector3.new(-0.148, 0.989, -0...
306
Roblox/gear
Roblox-gear-28b88df/src/gear/24791472/src/SodaScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true function onActivated() if not enabled then return end enabled = false Tool.GripForward = Vector3.new(-0.958, -0.287, -0) Tool.GripPos = Vector3.new(-0.5, -0.3, -1.3) Tool.GripRight = Vector3.new(0, 0, -1) Tool.GripUp = Vector3.new(-0.287, 0.958,...
285
Roblox/gear
Roblox-gear-28b88df/src/gear/24791472/src/SpeedEffect.server.luau
luau
.luau
--Fixed by Luckymaxer function sepuku() script.Parent = nil end local h = script.Parent:FindFirstChild("Humanoid") if (h == nil) then sepuku() end h.WalkSpeed = 16 * 1.6 local torso = script.Parent:FindFirstChild("Torso") or script.Parent:FindFirstChild("UpperTorso") if (torso == nil) then sepuku() end loca...
333
Roblox/gear
Roblox-gear-28b88df/src/gear/248285248/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,088
Roblox/gear
Roblox-gear-28b88df/src/gear/248287898/src/Server.server.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Handle = Tool:WaitForChild("Handle") local FriendlyFire = false local DanceScene = nil local Player local Humanoid --returns the wielding player of this tool function getPlayer() local char = Tool.Parent return game:GetService("Players"):...
1,251
Roblox/gear
Roblox-gear-28b88df/src/gear/24839406/src/Bomb.server.luau
luau
.luau
FuseSound = Instance.new("Sound") FuseSound.SoundId = "http://www.roblox.com/asset/?id=11565378" FuseSound.Parent = script.Parent FuseSound:Play() local Tool = script.Parent; local redColor = Vector3.new(1,0,0) local normalColor = Vector3.new(1,1,1) local total_time = 5 -- seconds local cur_time = 0 loca...
568
Roblox/gear
Roblox-gear-28b88df/src/gear/24839406/src/TeddyScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true s1 = Instance.new("Sound") s1.SoundId = "http://www.roblox.com/asset/?id=24721821" s1.Parent = Tool.Handle s2 = Instance.new("Sound") s2.SoundId = "http://www.roblox.com/asset/?id=24721863" s2.Parent = Tool.Handle s3 = Instance.new("Sound") s3.SoundId = "h...
884
Roblox/gear
Roblox-gear-28b88df/src/gear/24841520/src/Script.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Sounds = { CoilSound = Handle:WaitForChild("CoilSound"), } Gravity = workspace.Gravity JumpHeightPercentage = 0.8 ToolEquipped = false function GetAllConnectedParts(Object) local Parts = {}...
831
Roblox/gear
Roblox-gear-28b88df/src/gear/24903431/src/findEggsScript.server.luau
luau
.luau
local Tool = script.Parent; local gui = script.Parent.EggGUI local guiEnabled = false local guiOnPlayer = nil local fixedGui = false enabled = true -- when activated, either bring gui up or down, depending on current state function onActivated() if not enabled then return end local h = To...
1,676
Roblox/gear
Roblox-gear-28b88df/src/gear/24903441/src/MagnetizeEgg.server.luau
luau
.luau
if script.Parent.className == "Hat" then script.Parent.Handle.Mesh.VertexColor = Vector3.new(0.2, 0.6, 0.9) elseif script.Parent.className == "Part" then script.Parent.Mesh.VertexColor = Vector3.new(0.2, 0.6, 0.9) end
71
Roblox/gear
Roblox-gear-28b88df/src/gear/24903441/src/getMetallicEggs.server.luau
luau
.luau
local Tool = script.Parent local equipped = false local sound = Instance.new("Sound") sound.SoundId = "http://www.roblox.com/asset/?id=24907199" sound.Parent = Tool.Handle function findNearestMetallicEgg(pos) local metallicEggs = {} local dist = 50 local list = game.Workspace:FindFirstChild("eggroot") if...
858
Roblox/gear
Roblox-gear-28b88df/src/gear/24903474/src/CompassEffect/init.server.luau
luau
.luau
debris = game:GetService("Debris") -- finds direction to point compass at for rare egg function findNearestRareEgg(pos) local temp = nil local rareEgg = nil local list = game.Workspace:FindFirstChild("eggroot") if list ~= nil then list = list:GetChildren() for x = 1, #list do local temp = list...
1,032
Roblox/gear
Roblox-gear-28b88df/src/gear/24903474/src/CompassScript.server.luau
luau
.luau
local Tool = script.Parent enabled = true function onActivated() if not enabled then return end enabled = false Tool.Handle.OpenSound:play() local h = Tool.Parent:FindFirstChild("Humanoid") if (h ~= nil) then local s = script.Parent.CompassEffect:Clone() s.Disabled = false s.Parent...
132
Roblox/gear
Roblox-gear-28b88df/src/gear/250407413/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") ContentProvider = game:GetService("ContentProvider") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") Animations = {}...
663
Roblox/gear
Roblox-gear-28b88df/src/gear/250407413/src/Script.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") BaseUrl = "http://www.roblox.com/asset/?id=" InnerPart = Tool:WaitForChild("Inner"):Clone() InnerPart.Transparency = 0 BasePar...
4,225
Roblox/gear
Roblox-gear-28b88df/src/gear/250407647/src/Client.client.luau
luau
.luau
local Player = game:GetService("Players").LocalPlayer local UIS = game:GetService("UserInputService") local Mouse = Player:GetMouse() local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Tracks = {} local InputType = Enum.UserInputType local BeganConnection, EndedConnection function playAnimati...
399
Roblox/gear
Roblox-gear-28b88df/src/gear/250407647/src/Server.server.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Handle = Tool:WaitForChild("Handle") local FriendlyFire = false local CanSlow = true local SlowAmount = 6 local SlowTime = 1.5 local SlowRange = 48 local RainbowColors = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Brigh...
1,071
Roblox/gear
Roblox-gear-28b88df/src/gear/250533235/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") Remover = script:WaitForChild("Remover") VehicleModel = InsertService:LoadAsset...
651
Roblox/gear
Roblox-gear-28b88df/src/gear/250534394/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("...
941
Roblox/gear
Roblox-gear-28b88df/src/gear/250534394/src/Script/AIScript/Functions.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Laser", "Ray", "Bullet", "ParticlePart"} Functions = { CheckTableForString = (function(Table, String) for i, v in pairs(Table) do if string.lower(...
553
Roblox/gear
Roblox-gear-28b88df/src/gear/250534394/src/Script/AIScript/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Model = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") Functions = require(script:WaitForChild("Functions")) Rate = (1 / 60) LastMove = 0 BasePart = Instance.new("Part") BaseP...
2,206
Roblox/gear
Roblox-gear-28b88df/src/gear/250534394/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") InsertService = game:GetService("InsertService") Debris = game:GetService("Debris") AIScript = script:WaitForChild("AIScript") Remover = script:WaitForChild("Remove...
4,064
Roblox/gear
Roblox-gear-28b88df/src/gear/2506347092/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local tool = script.Parent local handle = tool.Handle local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local RELOAD_TIME = 1.5 local ANIMATIONS = { Cheer = {Animation = tool.Animations.R6.Cheer}, ...
274
Roblox/gear
Roblox-gear-28b88df/src/gear/2506365260/src/AnimationScript.client.luau
luau
.luau
-- animations must be run in a local script, so animation handling is delegated here local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Animations = Tool:WaitForChild("Animations") local R15Folder = Animations:WaitForChild("R15") local R6Folder = Animations:WaitForChild("R6") local humanoid = ...
1,640
Roblox/gear
Roblox-gear-28b88df/src/gear/2506365260/src/MouseIcon.client.luau
luau
.luau
Mouse_Icon = "rbxasset://textures/GunCursor.png" Reloading_Icon = "rbxasset://textures/GunWaitCursor.png" Tool = script.Parent Mouse = nil function UpdateIcon() if Mouse then Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon end end function OnEquipped(ToolMouse) Mouse = ToolMouse UpdateIcon() end T...
114
Roblox/gear
Roblox-gear-28b88df/src/gear/2506365260/src/SwordScript.server.luau
luau
.luau
-------- OMG HAX r = game:service("RunService") local sword = script.Parent.Handle local Tool = script.Parent local damage = 15 local p = nil local humanoid = nil local hitCoolDown = 0 local slashSounds = {"28144268 ","28144277","28144291","28144295"} local SlashSound = Instance.new("Sound") SlashSound.SoundId = "h...
858
Roblox/gear
Roblox-gear-28b88df/src/gear/25158998/src/Script.server.luau
luau
.luau
local Tool = script.Parent; local bodyp = Instance.new("BodyPosition") local targetPos = nil local lookAt = nil enabled = true function fire(v) if(Tool.Handle.FlyingSound.IsPlaying == false) then Tool.Handle.FlyingSound:Play() end local vCharacter = Tool.Parent local vPlayer = game.Players:play...
396
Roblox/gear
Roblox-gear-28b88df/src/gear/25162389/src/StealBucketScript.server.luau
luau
.luau
Tool = script.Parent local canStealBucket = 0 local stopStealingBucket = true function onEquipped() if Tool.Handle.IHasABucket.IsPlaying == false and Tool.Handle.StealingBucket.IsPlaying == false then Tool.Handle.IHasABucket.Volume = 0.5 Tool.Handle.IHasABucket:Play() end end function onUnequippe...
421
Roblox/gear
Roblox-gear-28b88df/src/gear/252564167/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 th...
1,308
Roblox/gear
Roblox-gear-28b88df/src/gear/252564167/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Grips = { Unequipped = CFrame.new(1.25, -0.2, 0.1, 1, -0, 0, 0, 1, -0, 0, 0, 1), Equipped = CFrame.new(1.25, -0.2, 0.1, 0.984703243, -0, 0.17423971, 0, 1, 0, -0.174239695, 0, 0.984703362), } Tool.Gr...
317
Roblox/gear
Roblox-gear-28b88df/src/gear/2528612802/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local tool = script.Parent local handle = tool.Handle local gear = GearService:BindGear(tool, "Sword") gear:SetupLocalScript("MouseIcon")
53
Roblox/gear
Roblox-gear-28b88df/src/gear/2528738178/src/Assets.luau
luau
.luau
BaseUrl = "rbxassetid://" local InsertService = game:GetService("InsertService") local baseModel = InsertService:LoadAsset(2122458415):GetChildren()[1] 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,573
Roblox/gear
Roblox-gear-28b88df/src/gear/2528738178/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,404
Roblox/gear
Roblox-gear-28b88df/src/gear/2530753967/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctions.GetData("Cane") local SwordModel = Sword...
431
Roblox/gear
Roblox-gear-28b88df/src/gear/25317304/src/LaserBlast.server.luau
luau
.luau
ball = script.Parent damage = 25 debris = game:GetService("Debris") debris:AddItem(ball, 10) HitSound = Instance.new("Sound") HitSound.Name = "HitSound" HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266" HitSound.Pitch = .5 HitSound.Parent = ball function onTouched(hit) local humanoid ...
236
Roblox/gear
Roblox-gear-28b88df/src/gear/25317304/src/RayGun.server.luau
luau
.luau
local Tool = script.Parent; local reloading = 0 enabled = true local reloadSound = Instance.new("Sound") reloadSound.Name = "reloadSound" reloadSound.SoundId = "http://www.roblox.com/asset/?id=25299064" reloadSound.Parent = Tool.Handle reloadSound.Volume = 2 function fire(v) local vCharacter = Tool.Pa...
894
Roblox/gear
Roblox-gear-28b88df/src/gear/253485047/src/BookScript.client.luau
luau
.luau
local function waitForChild(parent, child) while parent:FindFirstChild(child) == nil do wait() end return parent[child] end local Tool = script.Parent local Book = Tool.Handle local vCharacter local vTorso local vHumanoid local vPlayer local PlayerGui Tool.Enabled = true local AORGui local AORGui_Id = 2...
606
Roblox/gear
Roblox-gear-28b88df/src/gear/2535102249/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local Gear = GearService:BindGear(script.Parent, "Sword") Gear:SetupLocalScript("MouseIcon")
42
Roblox/gear
Roblox-gear-28b88df/src/gear/2535102910/src/Script/init.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local AIScript = script.AIScript local Penguin ...
296
Roblox/gear
Roblox-gear-28b88df/src/gear/253518869/src/Script/LightningModule.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BasePart = Create("Part"){ Material = Enum.Material.Plastic, TopSurface = Enum.SurfaceType.Smooth, BottomSurface = Enum.SurfaceType.S...
1,741
Roblox/gear
Roblox-gear-28b88df/src/gear/253518869/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,296
Roblox/gear
Roblox-gear-28b88df/src/gear/253518920/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,198
Roblox/gear
Roblox-gear-28b88df/src/gear/253519495/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") UserInputService = game:GetService("UserInputService") Animations = {} RemoteControl = Tool:WaitForChild("RemoteControl") ...
649
Roblox/gear
Roblox-gear-28b88df/src/gear/253519495/src/McLarenF1LM/DisplayRemover.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Debris = game:GetService("Debris") Debris:AddItem(Model, 0) Model:Destroy()
35
Roblox/gear
Roblox-gear-28b88df/src/gear/253519495/src/Script/Remover.server.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Creator = script:FindFirstChild("Creator") Tool = script:FindFirstChild("Tool") Model = script:WaitForChild("Model") function DestroyModel() if Model and Model.Parent then Debris:AddItem(Model, 1) if Model and Model.Parent then Model:Destroy() end en...
304
Roblox/gear
Roblox-gear-28b88df/src/gear/253519495/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayMo...
1,371
Roblox/gear
Roblox-gear-28b88df/src/gear/2535479252/src/Script.server.luau
luau
.luau
--Created by StarWars local Tool = script.Parent local GearService = require(1075123174) local PunchArms = GearService:BindGear(Tool, "PunchArms") local LeftArm = Tool:FindFirstChild("LeftArm") local Handle = Tool:FindFirstChild("Handle") if LeftArm then LeftArm:Destroy() end if Handle then Handle:Destroy() end l...
308
Roblox/gear
Roblox-gear-28b88df/src/gear/2544539043/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Debris = game:GetService("Debris") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local RELOAD_TIME = 2 local DAMAGE = 10 local MAX_FORCE = 50 function FireStar(...
613
Roblox/gear
Roblox-gear-28b88df/src/gear/2544539559/src/Script/init.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local Tool = script.Parent Tool.RequiresHandle = false if Tool:FindFirstChild("Handle") then Tool.Handle:Destroy() end if Tool:FindFirstChild("Display") then Tool.Display:Destroy() end local AIScript = script.AIScript local Dog = In...
285
Roblox/gear
Roblox-gear-28b88df/src/gear/2544549379/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) local MouseInput = Tool:WaitForChild("MouseInput") local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (...
469
Roblox/gear
Roblox-gear-28b88df/src/gear/254608905/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") ContentProvider = game:GetService("ContentProvider") local function Create_PrivImpl(objectType) if typ...
2,123
Roblox/gear
Roblox-gear-28b88df/src/gear/254608905/src/Script/StunScript.client.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Duration = script:WaitForChild("Duration") Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") function DestroyScript() Debris:AddItem(script, 0.5) script:Destroy() Humanoid.PlatformStand = false Humanoid.AutoRotate = true end functi...
171
Roblox/gear
Roblox-gear-28b88df/src/gear/2548989639/src/Script.server.luau
luau
.luau
-- // Recreated by StarWars local RunService = game:GetService("RunService") local GearService = require(1075123174) local tool = script.Parent local handle = tool.Handle local gear = GearService:BindGear(tool) gear:SetupRemoteFunctions() gear:SetupLocalScript("MouseIcon") local slashSound = handle.SlashSound local...
1,156
Roblox/gear
Roblox-gear-28b88df/src/gear/2548992615/src/Script.server.luau
luau
.luau
-- // Created by StarWars local InsertService = game:GetService("InsertService") local GearService = require(1075123174) local tool = script.Parent local gear = GearService:BindGear(tool, "Mount") local seaDragon = InsertService:LoadAsset(2552781085) seaDragon = seaDragon:GetChildren()[1] gear.Class:SetMountModel(s...
82
Roblox/gear
Roblox-gear-28b88df/src/gear/2548993638/src/LocalScript.client.luau
luau
.luau
local Tool = script.Parent local stabAnim = nil local throwAnim = nil local h = nil local con = nil local animations = { tridentstab = nil; tridentthrow = nil; } function standardGrip() Tool.GripPos = Vector3.new(0,0,0) end function onEquippedLocal(mouse) h = Tool.Parent:FindFirstChild("Humanoid") if h == nil...
464
Roblox/gear
Roblox-gear-28b88df/src/gear/2548993638/src/Script.server.luau
luau
.luau
local Tool = script.Parent local last_attack = 0 local r = game:service("RunService") local humanoid = nil function onTouched(part) local h = part.Parent:FindFirstChild("Humanoid") if h ~= nil and h ~= humanoid and Tool.Attacking.Value == true then h:TakeDamage(5) end end function onEquipped() humanoid = Tool...
476
Roblox/gear
Roblox-gear-28b88df/src/gear/2548993638/src/TridentScript.server.luau
luau
.luau
local trident = script.Parent local debris = game:GetService("Debris") local impaled = false function onTouched(part) if not impaled then impaled = true debris:AddItem(trident, 5) local weld = Instance.new("Weld") weld.Part0 = trident weld.Parent = trident local h = part.Parent:FindFi...
173
Roblox/gear
Roblox-gear-28b88df/src/gear/25545089/src/CheckOfEpicKatana.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") EpicKatanaModel = InsertService:LoadAsset(246270069) EpicKatana = EpicKatanaModel:GetChildren()[1]:Clone() Debr...
910
Roblox/gear
Roblox-gear-28b88df/src/gear/255800146/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") ContentProvider = game:GetService("ContentProvider") local function Create_PrivImpl(objectType) if typ...
2,133
Roblox/gear
Roblox-gear-28b88df/src/gear/255800146/src/Script/StunScript.client.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Duration = script:WaitForChild("Duration") Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") function DestroyScript() Debris:AddItem(script, 0.5) script:Destroy() Humanoid.PlatformStand = false Humanoid.AutoRotate = true end functi...
186
Roblox/gear
Roblox-gear-28b88df/src/gear/255800146/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") StunScript = script:WaitForChild("StunScript") BaseUrl = "http://www.roblox.com/asset/?id=" RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseP...
4,072
Roblox/gear
Roblox-gear-28b88df/src/gear/255800577/src/SwordScript.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,376
Roblox/gear
Roblox-gear-28b88df/src/gear/255800783/src/Projectile.server.luau
luau
.luau
local Projectile = script.Parent local Heartbeat = game:GetService("RunService").Heartbeat while Heartbeat:wait() do Projectile.CFrame = CFrame.new(Projectile.Position, Projectile.Position + Projectile.Velocity) * CFrame.Angles(0, 0, math.pi/2) end
66
Roblox/gear
Roblox-gear-28b88df/src/gear/255800783/src/Server.server.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local Handle = Tool:WaitForChild("Handle") local FriendlyFire = false local AttackPower = 1 local AttackDamage = 22.5 local AtackRechargeTime = 1.75 local AttackRecharge = 1/AtackRechargeTime local AttackSpeed = 256 local Equipped = false local He...
1,098
Roblox/gear
Roblox-gear-28b88df/src/gear/2568113462/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