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/153939072/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") PlaySound = Tool:WaitForChild("PlaySound") HitGroundSound = Handle:WaitForChild("HitGround") JumpDownSound = Handle:WaitForChild("JumpDown") SlashSound = Handle:Wait...
2,201
Roblox/gear
Roblox-gear-28b88df/src/gear/153939226/src/LocalScript.client.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") BunnyModel = InsertService:LoadAsset(153878529) BunnyAI = BunnyModel:GetChildren()[1]:Clone() BunnyModel:Destroy() B...
1,639
Roblox/gear
Roblox-gear-28b88df/src/gear/15397778/src/PelletScript.server.luau
luau
.luau
local debris = game:service("Debris") pellet = script.Parent local heal = 50 local healsound = Instance.new("Sound") healsound.SoundId = "http://www.roblox.com/asset/?id=15372684" healsound.Parent = pellet healsound.PlayOnRemove = true function onTouched(hit) humanoid = hit.Parent:findFirstChild("Hum...
213
Roblox/gear
Roblox-gear-28b88df/src/gear/15397778/src/Slingshot.server.luau
luau
.luau
--Updated for R15 avatars by StarWars Tool = script.Parent VELOCITY = 50 -- constant loaded=false local Pellet = Tool.Handle:Clone() Tool.PelletScript:Clone().Parent = Pellet function fire(mouse_pos) local character = Tool.Parent local Torso = character:FindFirstChild("Torso") or character:FindFirstChild("UpperTors...
914
Roblox/gear
Roblox-gear-28b88df/src/gear/15470183/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.675, -0.675, -0.3) Tool.GripPos = Vector3.new(0.1, -0.85, 1.2) Tool.GripRight = Vector3.new(0.212, -0.212, 0.954) Tool.GripUp = Vector3.new(0....
318
Roblox/gear
Roblox-gear-28b88df/src/gear/15470222/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
1,635
Roblox/gear
Roblox-gear-28b88df/src/gear/15470359/src/SwordScript.server.luau
luau
.luau
-------- OMG HAX r = game:service("RunService") local damage = 10 local slash_damage = 15 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = 1 lo...
674
Roblox/gear
Roblox-gear-28b88df/src/gear/154727201/src/Script/ExplosionScript.server.luau
luau
.luau
--Made by Luckymaxer Table = script.Parent Creator = Table:FindFirstChild("Creator") Player = Creator.Value Character = Player.Character Players = game:GetService("Players") Debris = game:GetService("Debris") function FindCharacterAncestor(Parent) if Parent and Parent ~= game:GetService("Workspace") then local hu...
909
Roblox/gear
Roblox-gear-28b88df/src/gear/154727201/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") ExplosionScript = script:WaitForChild("ExplosionScript") Players = game:GetService("Players") Debris = game:GetService("Debris") ReloadTime = 30 function Activated() if Tool.Enabled then Tool.Enabled = false local Table = Handle:Clo...
347
Roblox/gear
Roblox-gear-28b88df/src/gear/154727251/src/Script/FastScript.server.luau
luau
.luau
Humanoid = script.Parent Character = Humanoid.Parent Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") OriginalWalkSpeed = Humanoid.WalkSpeed SavedInstances = {} function GatherAllInstances(Parent) local Instances = {} local function GatherInstances(Parent) for i, v in pairs(Par...
564
Roblox/gear
Roblox-gear-28b88df/src/gear/154727251/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") DrinkAnim = Tool:WaitForChild("DrinkAnim") FastScript = script:WaitForChild("FastScript") PlaySound = Tool:WaitForChild("PlaySound") DrinkSound = Handle:WaitForChild("DrinkSound") Players = game:GetService("Players") Debris = game:GetService("Debris") Reloa...
567
Roblox/gear
Roblox-gear-28b88df/src/gear/154727343/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") Rate = (1 / 60) ToolEquipped = false function SetAnimation(mode, value) if mod...
707
Roblox/gear
Roblox-gear-28b88df/src/gear/154727343/src/Script/LightningFunctions/LightningModelRemoval.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Debris = game:GetService("Debris") FadeRate = 0.025 Rate = (1 / 15) Removing = false function RemoveModel() if Removing then return end local Parts = {} for i, v in pairs(Model:GetChildren()) do if v:IsA("Model") then table.insert(Parts, v) end end if #Part...
154
Roblox/gear
Roblox-gear-28b88df/src/gear/154727343/src/Script/LightningFunctions/init.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create LightningModelRemoval = script:WaitForChild("LightningModelRemoval") BasePart = Create("Part"){ Material = Enum.M...
1,656
Roblox/gear
Roblox-gear-28b88df/src/gear/154727343/src/Script/ShockScript.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Creator = script:WaitForChild("Creator") Damage = script:WaitForChild("Damage") AlreadyHit = false function GetCreatorPlayer() return...
789
Roblox/gear
Roblox-gear-28b88df/src/gear/154727343/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,053
Roblox/gear
Roblox-gear-28b88df/src/gear/154727487/src/LocalScript/TouchScript/SlimeScript.server.luau
luau
.luau
--Made by Luckymaxer Humanoid = script.Parent Character = Humanoid.Parent Creator = script:WaitForChild("Creator") Player = Creator.Value Debris = game:GetService("Debris") function GatherAllInstances(Parent) local Instances = {} local function GatherInstances(Parent) for i, v in pairs(Parent:GetChildren()) do ...
814
Roblox/gear
Roblox-gear-28b88df/src/gear/154727487/src/LocalScript/TouchScript/init.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Creator = Part:WaitForChild("Creator") Player = Creator.Value Character = Player.Character SlimeScript = script:WaitForChild("SlimeScript") Debounce = false TouchConnection = nil function FindCharacterAncestor(Parent) if Parent and Parent ~= game:GetService("Workspace") t...
286
Roblox/gear
Roblox-gear-28b88df/src/gear/154727487/src/LocalScript/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") TouchScript = script:WaitForChild("TouchScript") StandardC1 = CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(0, (math.pi / 2), 0) Debris = game:GetService("Debris") Players = game:GetService("Players") ReloadTime = 10 function Activated() i...
838
Roblox/gear
Roblox-gear-28b88df/src/gear/155414424/src/LocalScript.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1', true, mouse.Hit) end) mouse.Button1Up:connect(function() script.Parent.Input:FireServer('Mouse1', false, mouse.Hit) end) end)
62
Roblox/gear
Roblox-gear-28b88df/src/gear/155414424/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Equipped = false MouseDown = false Void = nil VoidParts = {} function RayCast(Position, Direction, MaxDistance, IgnoreList) return game:GetService("Workspace"):Fin...
1,764
Roblox/gear
Roblox-gear-28b88df/src/gear/155661985/src/Client.client.luau
luau
.luau
Mouse_Icon = "rbxasset://textures/GunCursor.png" Reloading_Icon = "rbxasset://textures/GunWaitCursor.png" Tool = script.Parent local Input = (game:FindService("UserInputService") or game:GetService("UserInputService")) local Remote = Tool:WaitForChild("Remote") local InputConnection Mouse = nil function UpdateIcon() ...
267
Roblox/gear
Roblox-gear-28b88df/src/gear/155661985/src/Server.server.luau
luau
.luau
--Made by Luckymaxer --Fixed by TakeoHonorable Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") RunService = game:GetService("RunService") PlaySound = Tool:WaitForChild("PlaySound") local...
1,538
Roblox/gear
Roblox-gear-28b88df/src/gear/155661985/src/SoundManager.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Tool:WaitForChild("PlaySound") PlaySound.Value = "" PlaySound.Changed:Connect(function() if PlaySound.Value ~= "" then local Sound = Handle:FindFirstChild(PlaySound.Value) if Sound then Sound:Play() end PlaySound.V...
93
Roblox/gear
Roblox-gear-28b88df/src/gear/155662051/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SummonShip = Tool:WaitForChild("SummonShip") Players = game:GetService("Players") Debris = game:GetService("Debris") ReloadTime = 5 ShipSize = 10 Damage = 60 function TagHumanoid(humanoid, player) local Creator_Tag = Instance.new("Ob...
937
Roblox/gear
Roblox-gear-28b88df/src/gear/155662087/src/LocalScript/PauseScript.server.luau
luau
.luau
--Made by Luckymaxer Humanoid = script.Parent OriginalWalkSpeed = Humanoid.WalkSpeed Humanoid.WalkSpeed = 0 wait(10) Humanoid.WalkSpeed = OriginalWalkSpeed script:Destroy()
50
Roblox/gear
Roblox-gear-28b88df/src/gear/155662087/src/LocalScript/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Loaded = Tool:WaitForChild("Loaded") PauseScript = script:WaitForChild("PauseScript") PlaySound = Tool:WaitForChild("PlaySound") Meshes = { Cannon = "http://www.roblox.com/asset?id=155461643", CannonW...
1,087
Roblox/gear
Roblox-gear-28b88df/src/gear/155696189/src/LocalScript.client.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") SealModel = InsertService:LoadAsset(155681109) SealAI = SealModel:GetChildren()[1]:Clone() SealModel:Destroy() SealS...
864
Roblox/gear
Roblox-gear-28b88df/src/gear/1560398824/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") local BladeMotor = Handle:FindFirstChild("Blade") local Gear = GearService:BindGear(Tool, "Sword") Gear:BindActivateFunction("pizza_slider_swing", function() if BladeMotor then BladeMotor.DesiredAngle =...
94
Roblox/gear
Roblox-gear-28b88df/src/gear/1560400932/src/Script.server.luau
luau
.luau
-- // Created by StarWars local TweenService = game:GetService("TweenService") local GearService = require(1075123174) local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") local BaconSound = Handle:FindFirstChild("BaconSound") local Gear = GearService:BindGear(Tool) Gear:SetupRemoteFunctions() Gea...
785
Roblox/gear
Roblox-gear-28b88df/src/gear/1560608167/src/Script.server.luau
luau
.luau
-- // Created by StarWars local GearService = require(1075123174) local Gear = GearService:BindGear(script.Parent, "Sword") Gear.Class:SetBaseDamage(0) Gear.Class:SetSlashDamage(5) Gear.Class:DisableLunge() Gear.Class.Sounds.Slash.SoundId = "rbxassetid://" .. 1515630304 Gear.Class.Sounds.Unshealth.SoundId = "rbxassetid...
100
Roblox/gear
Roblox-gear-28b88df/src/gear/15642486/src/ProtestScript.server.luau
luau
.luau
--Updated for R15 avatars by StarWars local Tool = script.Parent; enabled = true local sounds = {Tool.Handle.AngrySound1, Tool.Handle.AngrySound2, Tool.Handle.AngrySound3} function onActivated() if not enabled then return end enabled = false local Character = Tool.Parent local Torso = Character:FindFirstC...
384
Roblox/gear
Roblox-gear-28b88df/src/gear/156467855/src/AnimateScript.client.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") WhackAnim = Tool:WaitForChild("Whack") SlashSound = Handle:WaitForChild("SlashSound") Damage = 15 ReloadTime = 0.7...
1,170
Roblox/gear
Roblox-gear-28b88df/src/gear/156467926/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Anims = {Tool:WaitForChild("LeftSlash"), Tool:WaitForChild("RightSlash")} PlaySound = Tool:WaitForChild("PlaySound") SlashSound = Handle:WaitForChild("Slash") Debris = game:GetService("Debris") Players = game:GetService("Players") Overs...
724
Roblox/gear
Roblox-gear-28b88df/src/gear/156467963/src/BallistaColdScript.server.luau
luau
.luau
vCharacter = script.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") myTorso = vCharacter:FindFirstChild("Torso") local count = 6 while myHumanoid and count > 0 do myHumanoid:TakeDamage(10) myHumanoid.WalkSpeed = myHumanoid.WalkSpeed - 16.0 count = count - 1 wait(1.0) end if (myHumanoid.WalkSpeed + 8...
187
Roblox/gear
Roblox-gear-28b88df/src/gear/156467963/src/BallistaScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") BallistaActive = Tool:WaitForChild("BallistaActive") Players = game:GetService("Players") Debris = game:GetService("Debris") ShieldStrength = 10 Damage = 50 Bolt = Instance.new("Part") Bolt.Shape = Enum.PartType.Block Bolt.FormFactor =...
1,710
Roblox/gear
Roblox-gear-28b88df/src/gear/156467990/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} Sounds = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") local UIS, CAS = game:GetService'UserInputService', game:GetService'C...
738
Roblox/gear
Roblox-gear-28b88df/src/gear/15668963/src/CompassEffect/init.server.luau
luau
.luau
--Updated for R15 avatars by StarWars --print("do compass") debris = game:GetService("Debris") -- create arrow local p = Instance.new("Part") p.formFactor = 2 p.Size = Vector3.new(1,.4,1) p.Transparency = .5 p.BrickColor = BrickColor.new(119) p.CanCollide = false p.Locked = true p.RotVelocity = Vector3.new(math.ran...
319
Roblox/gear
Roblox-gear-28b88df/src/gear/15668963/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 ...
133
Roblox/gear
Roblox-gear-28b88df/src/gear/157205782/src/LocalScript/TrainRemoval.server.luau
luau
.luau
--Made by Luckymaxer wait() Train = script.Parent Players = game:GetService("Players") Creator = Train:FindFirstChild("Creator") if Creator and Creator.Value and Creator.Value:IsA("Player") and Creator.Value.Character then Character = Creator.Value.Character Character.Changed:connect(function() if not Char...
121
Roblox/gear
Roblox-gear-28b88df/src/gear/157205782/src/LocalScript/init.client.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") ControllableTrainModel = InsertService:LoadAsset(157131091) ControllableTrain = ControllableTrainModel:GetChildren()[...
3,127
Roblox/gear
Roblox-gear-28b88df/src/gear/157205818/src/MouseIcon.client.luau
luau
.luau
--Made by Luckymaxer 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 = ToolMous...
121
Roblox/gear
Roblox-gear-28b88df/src/gear/157205818/src/Script/HitScript.server.luau
luau
.luau
--Made by Luckymaxer Star = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Star:WaitForChild("Creator") HitSound = Star:WaitForChild("HitSound") Damage = 25 Stuck = false function TagHumanoid(humanoid, player) local Creator_Tag = Instance.new("ObjectValue") Creato...
487
Roblox/gear
Roblox-gear-28b88df/src/gear/157205818/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Fire = Handle:WaitForChild("Fire") HitScript = script:WaitForChild("HitScript") Players = game:GetService("Players") Debris = game:GetService("Debris") NinjaStars = { Meshes = {156292343, 156292355, 1...
706
Roblox/gear
Roblox-gear-28b88df/src/gear/157205831/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 = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("Cl...
663
Roblox/gear
Roblox-gear-28b88df/src/gear/157205831/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") CurrentFuel = Tool:WaitForChild("CurrentFuel") StandStill = Tool:WaitForChild("StandStill") FuelGui = Tool:WaitForChild("FuelGui") Animations = { StandStill = {Animation = Tool:WaitForChild("StandSti...
2,188
Roblox/gear
Roblox-gear-28b88df/src/gear/157205837/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FoamSound = Handle:WaitForChild("FoamSound") Players = game:GetService("Players") Debris = game:GetService("Debris") ReloadTime = 3 Damage = 0.25 function TagHumanoid(humanoid, player) local Creator_Tag = Instance.new("ObjectValue") C...
1,032
Roblox/gear
Roblox-gear-28b88df/src/gear/15731350/src/TeddyScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true s1 = Instance.new("Sound") s1.SoundId = "http://www.roblox.com/asset/?id=15729218" s1.Parent = Tool.Handle s2 = Instance.new("Sound") s2.SoundId = "http://www.roblox.com/asset/?id=15729227" s2.Parent = Tool.Handle s3 = Instance.new("Sound") s3.SoundId = "h...
521
Roblox/gear
Roblox-gear-28b88df/src/gear/158069071/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Slash = Handle:WaitForChild("Slash") Charge = Tool:WaitForChild("Charge") Players = game:GetService("Players") Debris = game:GetService("Debris") LeftSlash = Tool:WaitForChild("LeftSlash") RightSlash =...
1,554
Roblox/gear
Roblox-gear-28b88df/src/gear/158069110/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") EquipAnim = Tool:WaitForChild("Equip") IdleAnim = Tool:WaitForChild("Idle") SlashAnim = Tool:WaitForChild("Slash") function Equipped() Character = Tool.Parent Player = Players:GetPlayerFromCharacter...
299
Roblox/gear
Roblox-gear-28b88df/src/gear/158069110/src/ScytheScript/PoisonScript.server.luau
luau
.luau
--Made by Luckymaxer Humanoid = script.Parent Character = Humanoid.Parent Debris = game:GetService("Debris") Creator = script:WaitForChild("Creator") Health = Humanoid.Health IgnoreChange = false Colors = {"Med. yellowish green", "Br. yellowish green", "Medium green", "Tr. Green", "Faded green", "Bright green", "...
494
Roblox/gear
Roblox-gear-28b88df/src/gear/158069110/src/ScytheScript/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") PoisonScript = script:WaitForChild("PoisonScript") Swinging = false SlashCoolDown = 0.7 Damage = 9 function TagHumanoid(humanoid, player) local Creator_Tag = Inst...
616
Roblox/gear
Roblox-gear-28b88df/src/gear/158069143/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,338
Roblox/gear
Roblox-gear-28b88df/src/gear/158069143/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 ...
4,167
Roblox/gear
Roblox-gear-28b88df/src/gear/158069180/src/Sword/DualVenomshanks_DisableJump/init.client.luau
luau
.luau
--[[ Copied into the character to disable jumping --]] local humanoid = script:WaitForChild'Humanoid'.Value local jumpCon = humanoid.Changed:connect(function(prop) if prop == 'Jump' and humanoid.Jump == true then humanoid.Jump = false end end) wait(script:WaitForChild'Lifetime'.Value) jumpCon:disconnect() wait...
94
Roblox/gear
Roblox-gear-28b88df/src/gear/158069180/src/Sword/RemovePuddles/init.server.luau
luau
.luau
--[[ This is inserted into the puddle model when the acid rain power is used so that the puddles will be removed even if the tool is destroyed --]] wait(script.WaitFor.Value) script.Parent:Destroy()
44
Roblox/gear
Roblox-gear-28b88df/src/gear/1587165780/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local SpearTweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Linear, Enum.EasingDirection.Out, 0, true) local Tool = script.Parent local Remotes = Tool.Remotes local ClientControls = Remotes.Client...
646
Roblox/gear
Roblox-gear-28b88df/src/gear/1587175338/src/CrossbowLauncher/BoltScript.server.luau
luau
.luau
Bolt = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Bolt:FindFirstChild("creator") BodyForce = Bolt:FindFirstChild("BodyForce") BodyGyro = Bolt:FindFirstChild("BodyGyro") HitSound = Bolt:FindFirstChild("Hit") Stuck = false Damage = 33 function TagHumanoid(humano...
648
Roblox/gear
Roblox-gear-28b88df/src/gear/1587175338/src/CrossbowLauncher/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") StarScript = script:WaitForChild("BoltScript") Velocity = 50 Sounds = { Fire = Handle:WaitForChild("Fire"), Hit = Handle:WaitForChild("Hit") } BaseU...
975
Roblox/gear
Roblox-gear-28b88df/src/gear/1587175338/src/DisplayWeld.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") BasePart = Instance.new("Part") BasePart.Material = Enum.Material.Plastic BasePart.Shape = Enum.PartType.Block BasePart.TopSurface = Enum.SurfaceType.Smooth BasePart.BottomSurface = Enum.SurfaceType.Smooth BasePart.FormFactor = Enum.FormFactor.Custom BasePart.S...
523
Roblox/gear
Roblox-gear-28b88df/src/gear/159199204/src/LocalScript/LaserModelRemoval.server.luau
luau
.luau
--Made by Luckymaxer Model = script.Parent Debris = game:GetService("Debris") function CountLasers(Parent) local Lasers = {} for i, v in pairs(Parent:GetChildren()) do if v:IsA("BasePart") and string.lower(v.Name) == "laser" then table.insert(Lasers, v) end end return Lasers end function DestroyModel() ...
133
Roblox/gear
Roblox-gear-28b88df/src/gear/159199204/src/LocalScript/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Pose = Tool:WaitForChild("Pose") LaserSound = Handle:WaitForChild("LaserSound") LaserModelRemoval = script:WaitForChild("LaserModelRemoval") Players = game:GetService("Players") Debris = game:GetService("Debris") Damage = 5 ReloadTime ...
2,280
Roblox/gear
Roblox-gear-28b88df/src/gear/159199218/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Slash = Tool:WaitForChild("Slash") LaserShot = Tool:WaitForChild("LaserShot") LaserSound = Handle:WaitForChild("LaserSound") SlashSound = Handle:WaitForChild("SlashSound") Players = game:GetService("Players") Debris = game:GetService("De...
1,758
Roblox/gear
Roblox-gear-28b88df/src/gear/159199229/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Remover = script:WaitForChild("Remover") Module = require(191816425) DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy()...
677
Roblox/gear
Roblox-gear-28b88df/src/gear/159199263/src/Client.client.luau
luau
.luau
local Tool = script.Parent local connection local Input = (game:FindService("UserInputService") or game:GetService("UserInputService")) local Remote = Tool:WaitForChild("Remote") local InputConnection function onEquippedL(mouse) InputConnection = Input.InputBegan:Connect(function(InputObject,Processed) if InputObj...
154
Roblox/gear
Roblox-gear-28b88df/src/gear/159199263/src/Server.server.luau
luau
.luau
--Made by Luckymaxer --Fixed by TakeoHonorable Tool = script.Parent Handle = Tool:WaitForChild("Handle") local input SlashSound = Handle:WaitForChild("SlashSound") local Remote = (Tool:FindFirstChild("Remote") or Instance.new("RemoteEvent"));Remote.Name = "Remote";Remote.Parent = Tool Players = game:GetService("Play...
1,765
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Client.client.luau
luau
.luau
local Tool = script.Parent local Remote = Tool:WaitForChild("Remote",10) local MouseInput = Tool:WaitForChild("MouseInput",10) local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService ...
761
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Handle/PointLight/LightFade.server.luau
luau
.luau
local Light = script.Parent local TweenService = (game:FindService("TweenService") or game:GetService("TweenService")) local LightFade = TweenInfo.new(1,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,.5) local ColorCycle = {} ColorCycle[#ColorCycle+1] = Color3.fromRGB(0,0,0) ColorCycle[#ColorCycle+1] = Color3....
291
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/BlackHole/init.server.luau
luau
.luau
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 function IsInTable(Table,Value) for _,v in pairs(Table) do if v == Value then return true end end ...
956
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/CrimsonPillar/init.server.luau
luau
.luau
local Pillar = script.Parent local Creator = script:WaitForChild("Creator",5).Value local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (game:FindService("RunService") or game:G...
720
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/RainBeam/init.server.luau
luau
.luau
local Creator = script:WaitForChild("Creator",5) local Tool = script:WaitForChild("Tool",5).Value local PeriFormation = script:WaitForChild("PeriFormation",5):GetChildren() if not Creator then script:Destroy() return end local Humanoid,Root = Creator.Value.Character:FindFirstChildOfClass("Humanoid"),Creator.Value....
3,843
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/RegionModule.luau
luau
.luau
--[[ By AxisAngle, (Trey Reynolds) Documentation http://www.roblox.com/item.aspx?id=227509468 Region constructors: Region Region.new(CFrame RegionCFrame, Vector3 RegionSize) >Returns a new Region object Region Region.FromPart(Instance Part) >Returns a new Region objects Region methods: table Region:Cast([Ins...
8,970
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/RevealRainbow/init.server.luau
luau
.luau
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 Character = script.Parent local Hum = Character:FindFirstChildOfClass("Humanoid") local Center = Cha...
812
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/RockSummon/init.server.luau
luau
.luau
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 function VisualizeRay(ray,RayLength) local RayCast = Create("Part"){ Material = Enum.Material.Neon,...
717
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/ShieldScript.server.luau
luau
.luau
local Character = script.Parent local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:FindService("TweenService") or game:GetService("TweenService")), RunService = (game:FindService("RunService") or game:GetService("RunService")), Debris = (game:FindService(...
922
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/StarShard/init.server.luau
luau
.luau
local Shard = script.Parent delay(2,function() Shard:Destroy() end) local Creator = script:WaitForChild("Creator",10) local CreatorHumanoid = Creator.Value.Character:FindFirstChildOfClass("Humanoid") local Services = { Players = (game:FindService("Players") or game:GetService("Players")), TweenService = (game:Fi...
1,173
Roblox/gear
Roblox-gear-28b88df/src/gear/159229806/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Revamped Periastrons: The Periastron of Rainbow Maelstrom --The leader of the bunch, you know it well (get the reference?) 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 ...
5,723
Roblox/gear
Roblox-gear-28b88df/src/gear/15932306/src/Script/SpeedEffect/init.server.luau
luau
.luau
--Rescripted by Luckymaxer --Updated for R15 avatars by StarWars Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Head = Character:FindFirstChild("Head") Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") Players = game:GetService("Players") Debris = game:GetS...
455
Roblox/gear
Roblox-gear-28b88df/src/gear/15932306/src/Script/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" Sounds = { Drink = Handle:WaitForChild("Drink"), } Grips = { Normal = CFrame.new(0.200000003, -0.100000001, 0, ...
508
Roblox/gear
Roblox-gear-28b88df/src/gear/15970544/src/IceHammer.server.luau
luau
.luau
-------- OMG HAX debris = game:GetService("Debris") r = game:service("RunService") local damage = 18 local slash_damage = 18 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=15933756" SlashSound.Pare...
965
Roblox/gear
Roblox-gear-28b88df/src/gear/15973049/src/ProtestScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true local sounds = {Tool.Handle.AngrySound1, Tool.Handle.AngrySound2, Tool.Handle.AngrySound3} function onActivated() if not enabled then return end enabled = false sounds[math.random(3)]:Play() -- Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5 -- Tool.Paren...
381
Roblox/gear
Roblox-gear-28b88df/src/gear/159913543/src/Script.server.luau
luau
.luau
-- // Rescripted for R15 and FE by StarWars local InsertService = game:GetService("InsertService") local MODEL_ASSET_ID = 159856065 local TOOTHLESS_MODEL = InsertService:LoadAsset(MODEL_ASSET_ID):GetChildren()[1] local Tool = script.Parent local Handle = Tool.Handle local GearService = require(1075123174) local Gea...
473
Roblox/gear
Roblox-gear-28b88df/src/gear/160189476/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Slash = Tool:WaitForChild("Slash") Swing = Tool:WaitForChild("Swing") HoldOut = Tool:WaitForChild("HoldOut") SlashSound = Handle:WaitForChild("SlashSound") HitSound = Handle:WaitForChild("HitSound") SwingSound = Handle:WaitForChild("Swing...
2,144
Roblox/gear
Roblox-gear-28b88df/src/gear/160189629/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") StaffSlash = Tool:WaitForChild("StaffSlash") StaffGrip = Tool:WaitForChild("StaffGrip") SlashSound = Handle:WaitForChild("SlashSound") Players = game:GetService("Players") Debris = game:GetService("Debris") Equipped = false SpecialReady...
1,465
Roblox/gear
Roblox-gear-28b88df/src/gear/160189720/src/Script/HitScript/EatScript/init.client.luau
luau
.luau
--Made by Luckymaxer Humanoid = script.Parent Character = Humanoid.Parent RightArm = Character:WaitForChild("Right Arm") or Character:FindFirstChild("RightHand") Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = script:WaitForChild("Creator") Food = script:WaitForChild("Food") Eat = s...
624
Roblox/gear
Roblox-gear-28b88df/src/gear/160189720/src/Script/HitScript/init.server.luau
luau
.luau
--Made by Luckymaxer Food = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = Food:WaitForChild("Creator") HitSound = Food:WaitForChild("HitSound") EatScript = script:WaitForChild("EatScript") Stuck = false function FindCharacterAncestor(Parent) if Parent and Parent ~=...
473
Roblox/gear
Roblox-gear-28b88df/src/gear/160189720/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Fire = Handle:WaitForChild("Fire") HitScript = script:WaitForChild("HitScript") Players = game:GetService("Players") Debris = game:GetService("Debris") NinjaStars = { Meshes = {159689261, 159689271}, ...
752
Roblox/gear
Roblox-gear-28b88df/src/gear/160189871/src/KillFakeHandle.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent FakeHandle = Tool:WaitForChild("FakeHandleDisplay") FakeHandle:Destroy()
30
Roblox/gear
Roblox-gear-28b88df/src/gear/160189871/src/LocalScript/NewAnimate/init.client.luau
luau
.luau
function waitForChild(parent, childName) local child = parent:findFirstChild(childName) if child then return child end while true do child = parent.ChildAdded:wait() if child.Name==childName then return child end end end local Figure = script.Parent local Torso = waitForChild(Figure, "Torso") local RightShou...
3,683
Roblox/gear
Roblox-gear-28b88df/src/gear/160189871/src/LocalScript/init.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") SlashSound = Handle:WaitForChild("SlashSound") LeftSlash = Tool:WaitForChild("LeftSlash") RightSlash = Tool:WaitForChild("...
1,252
Roblox/gear
Roblox-gear-28b88df/src/gear/160198008/src/LocalScript/Script.server.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- config = { arrow = script.Parent, damage = script.Parent:WaitForChild("dmg").Value, sound = script.Parent.Hum, objectHit = script.Parent:WaitForChild("HitObject"), playerHit = script.Parent:WaitForChild("HitPlayer"), light = script.Parent.Light, weld = script.Parent:WaitForChild("Wel...
341
Roblox/gear
Roblox-gear-28b88df/src/gear/160198008/src/LocalScript/b.luau
luau
.luau
local a=require(script.Parent:WaitForChild("e"))local tostring=tostring;local b={forward=true,backward=true,loopforward=true,loopbackward=true,pingpong=true}local c={__tostring=function(d)local e="tween{"for f,g in pairs(d.p)do e=e.." "..tostring(f).."="..tostring(g)end;e=e.." }"return e end}local function h(i,j,k)retu...
927
Roblox/gear
Roblox-gear-28b88df/src/gear/160198008/src/LocalScript/e.luau
luau
.luau
local pow = math.pow local sin = math.sin local cos = math.cos local pi = math.pi local sqrt = math.sqrt local abs = math.abs local asin = math.asin local function linear(t, b, c, d) return c * t / d + b end local function inQuad(t, b, c, d) t = t / d return c * pow(t, 2) + b end local function outQuad(t, b, ...
3,540
Roblox/gear
Roblox-gear-28b88df/src/gear/160198008/src/LocalScript/init.client.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- script.Parent:WaitForChild("Handle"); local gearConfig = { gear = script.Parent, equipped = false, owner = game.Players.LocalPlayer, deb = game:GetService("Debris"), fireSound = script.Parent.Handle:WaitForChild("FireSound"), loadSound = script.Parent.Handle:WaitForChild("Loading"), ch...
2,760
Roblox/gear
Roblox-gear-28b88df/src/gear/160198363/src/LocalScript/c.client.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- local a=script.Parent;local b=0.5;while true do if a.Parent~=nil then for c=1,50 do a.ImageTransparency=a.ImageTransparency-0.05;wait(0.05)if a.ImageTransparency<=0.25 then break end end;wait(b)for c=1,50 do a.ImageTransparency=a.ImageTransparency+0.05;wait(0.05)if a.ImageTransparency>=0.5 th...
115
Roblox/gear
Roblox-gear-28b88df/src/gear/160198363/src/LocalScript/init.client.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- script.Parent:WaitForChild("Handle"); local gearConfig = { gear = script.Parent, equipped = false, isSwinging = false, attackDeb = true, check = true, debris = game:GetService("Debris"), anims = { script.Parent:WaitForChild("Slash2Anim"), script.Parent:WaitForChild("Slash3Anim"), ...
961
Roblox/gear
Roblox-gear-28b88df/src/gear/160198658/src/LocalScript.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1Down') end) mouse.Button1Up:connect(function() script.Parent.Input:FireServer('Mouse1Up') end) end)
56
Roblox/gear
Roblox-gear-28b88df/src/gear/160198658/src/Script/init.server.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- script.Parent:WaitForChild("Handle"); local gearConfig = { gear = script.Parent, equipped = false, check = true, gearTitle = "ToD-11571622", slashAnim = nil, slashSound = script.Parent.Handle:WaitForChild("Slash"), thunderSound = script.Parent.Handle:WaitForChild("Lightning"), chargeS...
3,144
Roblox/gear
Roblox-gear-28b88df/src/gear/160199141/src/LocalScript/blimpFramework/init.server.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- local config = { b = script.Parent, m = script.Parent:WaitForChild("Mesh"), bP = script.Parent:WaitForChild("BodyPosition"), bG = script.Parent:WaitForChild("BodyGyro"), script.Parent:WaitForChild("BodyGyro"), tween = require(script:WaitForChild("b")), easing = require(script:WaitForCh...
690
Roblox/gear
Roblox-gear-28b88df/src/gear/160199141/src/LocalScript/init.client.luau
luau
.luau
--[[ alexnewtron 2014 ]]-- script.Parent:WaitForChild("Handle"); local gearConfig = { gear = script.Parent, equipped = false, check = true, damage = 0, anims = { }, plyr = game.Players.LocalPlayer, readyAnims = {} }; gearConfig.gear.Unequipped:connect(function() gearConfig.equipped = false; end); gearConf...
609