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/146057771/src/Handle/EffectsScript/Poisoned/init.client.luau
luau
.luau
Debris = game:GetService("Debris") Humanoid = script.Parent Character = Humanoid.Parent Head = Character:WaitForChild("Head") HumanoidWalkSpeed = nil EatAnimation = script:WaitForChild("EatAnimation") ScreamAnimation = script:WaitForChild("ScreamAnimation") Parts = {} if Humanoid and Humanoid:IsA("Humanoid") and H...
718
Roblox/gear
Roblox-gear-28b88df/src/gear/146057771/src/Handle/EffectsScript/init.server.luau
luau
.luau
Cake = script.Parent Players = game:GetService("Players") Debris = game:GetService("Debris") Debounce = false while not script:FindFirstChild("creator") or not script.creator.Value do wait() end Creator = script.creator.Value EatingScript = script:WaitForChild("Poisoned") Cake.Touched:connect(function(Hit) if H...
470
Roblox/gear
Roblox-gear-28b88df/src/gear/146057771/src/Handle/SelfDestruct/init.server.luau
luau
.luau
-- Calls Destroy on this script's Parent after TimeToLive TimeToLive = script:WaitForChild("TimeToLive") wait(TimeToLive.Value) if script.Parent then script.Parent:Destroy() end
45
Roblox/gear
Roblox-gear-28b88df/src/gear/146057771/src/ThrowingScript.server.luau
luau
.luau
--By Luckymaxer CoolDown = 0.75 -- Seconds until another can be thrown Duration = 10 -- Seconds until each old one is destroyed Throw_Speed = 100 Players = Game:GetService("Players") Debris = Game:GetService("Debris") Tool = script.Parent Handle = Tool:WaitForChild("Handle") ThrowSound = Handle:WaitForChild("Throw"...
445
Roblox/gear
Roblox-gear-28b88df/src/gear/146071355/src/BalloonScript.server.luau
luau
.luau
local Tool = script.Parent local upAndAway = false local humanoid = nil local head = nil local upAndAwayForce = Instance.new("BodyForce") local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass local gravity = 1.05 -- things float at > 1 local height = nil local maxRise = 150 function onTou...
909
Roblox/gear
Roblox-gear-28b88df/src/gear/146071355/src/LocalScript.client.luau
luau
.luau
function Leap() script.Parent.Parent.Humanoid.Jump = false end script.Parent.Parent.Humanoid.Jumping:connect(Leap)
29
Roblox/gear
Roblox-gear-28b88df/src/gear/146071355/src/WeldArm.server.luau
luau
.luau
Tool = script.Parent; local arms = nil local torso = nil local welds = {} function Equip(mouse) wait(0.01) arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")} torso = Tool.Parent:FindFirstChild("Torso") if arms ~= nil and torso ~= nil then local sh = {torso:FindFirstChild...
437
Roblox/gear
Roblox-gear-28b88df/src/gear/1466341532/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Tool = script.Parent local Gear = GearService:BindGear(Tool, "Sword") Gear.Class:DisableLunge() Gear.Class.Sounds.Unshealth.SoundId = "" Gear.Class.Sounds.Slash.SoundId = ""
60
Roblox/gear
Roblox-gear-28b88df/src/gear/1466353882/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Tool = script.Parent local Gear = GearService:BindGear(Tool, "Sword")
32
Roblox/gear
Roblox-gear-28b88df/src/gear/1469849512/src/Script.server.luau
luau
.luau
--Made 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") RemoteControl = Tool:WaitForChild("RemoteControl") ServerControl = (RemoteControl:FindFirstC...
1,580
Roblox/gear
Roblox-gear-28b88df/src/gear/1469850646/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Debris = game:GetService("Debris") local GearService = require(1075123174) local Tool = script.Parent local ClapboardModel = Tool:FindFirstChild("Clapboard") local BottomPart = ClapboardModel:FindFirstChild("Bottom") local ClapboardMotor = BottomPart:FindFirstChildOfClass("Motor6D") l...
669
Roblox/gear
Roblox-gear-28b88df/src/gear/1469987740/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool.Handle Players = game:GetService("Players") Sparkles = Handle:WaitForChild("Sparkles") Sounds = { Clap = Handle:WaitForChild("Clap"), } ToolEquipped = false Sparkles.Enabled = false Tool.Enabled = true function Goldify(Hit) if not Hit or not Hit.Parent then return end loca...
438
Roblox/gear
Roblox-gear-28b88df/src/gear/147143821/src/Client.client.luau
luau
.luau
--Rescripted by TakeoHonorable local Tool = script.Parent local Remote = Tool:WaitForChild("ThrowAxe") local MouseLoc = Tool:WaitForChild("MouseLoc") local Input = (game:FindService("ContextActionService") or game:GetService("ContextActionService")) local function ThrowAxe(ActionName,InputState,InputObj) if Inpu...
190
Roblox/gear
Roblox-gear-28b88df/src/gear/147143821/src/Server/ProjectileScript/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") --Returned = Tool:WaitForChild("Returned") Target = script:WaitForChild("TargetPos").Value WhipSound = script:WaitForChild("WhipSound") ThudSound = Handle:WaitForChild("ThudSound") Players = game:GetService("Players") Debris = game:GetSer...
1,031
Roblox/gear
Roblox-gear-28b88df/src/gear/147143821/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable local Seed --Randomness local Tool = script.Parent local Grips = {Normal = CFrame.new(0, -0.899999976, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)} Tool.Grip = Grips.Normal Tool.Enabled = true --Ensure the tool wouldn't break easy local Handle = Tool:WaitForChild("Handle",10) Handle.Transparenc...
1,453
Roblox/gear
Roblox-gear-28b88df/src/gear/147143848/src/Local Script/DamageScript/init.server.luau
luau
.luau
-- Gradually deals damage to the player wait() Debris = game:GetService("Debris") Fire = script.Parent Humanoid = Fire.Parent.Parent:FindFirstChild("Humanoid") Character = Humanoid.Parent if Humanoid and Humanoid.Parent then Damage = script:WaitForChild("Damage") Rate = 100 for i = 1, Rate do if (Humanoid.Health -...
219
Roblox/gear
Roblox-gear-28b88df/src/gear/147143848/src/Local Script/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SpecialEnabled = Tool:WaitForChild("SpecialEnabled") SlashSound = Handle:WaitForChild("SlashSound") Fire = Handle:WaitForChild("Fire") DamageScript = script:WaitForChild("DamageScript") Damage = 9 FireballDamage = 50 Anims = {"RightSlash"...
1,894
Roblox/gear
Roblox-gear-28b88df/src/gear/147143848/src/SpecialHandler.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SpecialEnabled = Tool:WaitForChild("SpecialEnabled") SpecialEnabled.Value = true SpecialEnabled.Changed:connect(function() if not SpecialEnabled.Value then wait(15) SpecialEnabled.Value = true end end)
72
Roblox/gear
Roblox-gear-28b88df/src/gear/147143863/src/Local Gui.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireShield = Tool:WaitForChild("FireShield") Special = Tool:WaitForChild("Special") Fire = Handle:WaitForChild("Fire") Equip = Tool:WaitForChild("Equip") ArmsUp = Tool:WaitForChild("ArmsUp") Anims = {"LeftSlash", "LeftSwingFast", "RightSlas...
1,916
Roblox/gear
Roblox-gear-28b88df/src/gear/147143863/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireShield = Tool:WaitForChild("FireShield") Special = Tool:WaitForChild("Special") Damage = 7 SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\Handleslash.wav" SlashSound.Parent = Handle SlashSound.Volume = 1 U...
580
Roblox/gear
Roblox-gear-28b88df/src/gear/147143881/src/LocalScript/BlackHoleScript/init.server.luau
luau
.luau
--Made by Luckymaxer creator = script:WaitForChild("creator") Debris = game:GetService("Debris") function RayCast(Position, Direction, MaxDistance, IgnoreList) return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) end function Gat...
774
Roblox/gear
Roblox-gear-28b88df/src/gear/147143881/src/LocalScript/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") BlackHoleScript = script:WaitForChild("BlackHoleScript") Anims = { Equip = Handle:WaitForChild("Equip"), Hold = Handle:WaitForChild("Hold"), LeftSlash = Handle:WaitForChild("LeftSlash"), Rig...
1,126
Roblox/gear
Roblox-gear-28b88df/src/gear/147143881/src/PlaySound.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Debris = game:GetService("Debris") PlaySound.Changed:connect(function() if PlaySound.Value ~= "" then local SoundId = PlaySound.Value PlaySound.Value = "" local Sound = Instance.new("Sou...
175
Roblox/gear
Roblox-gear-28b88df/src/gear/14719505/src/Old.server.luau
luau
.luau
-------- OMG HAX r = game:service("RunService") local damage = 9 local slash_damage = 16 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = sword SlashSound.Volume = 1 loc...
679
Roblox/gear
Roblox-gear-28b88df/src/gear/14719505/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,074
Roblox/gear
Roblox-gear-28b88df/src/gear/147937284/src/Handle/DiscoBallScript/DanceScript.client.luau
luau
.luau
--Made by Luckymaxer Animations = {{73137669, 5}, {33796059, nil}, {27789359, nil}} ChosenAnimation = Animations[math.random(1, #Animations)] Humanoid = script.Parent OriginalWalkSpeed = Humanoid.WalkSpeed Humanoid.WalkSpeed = 0 Humanoid.Changed:connect(function(Property) if Property == "Jump" then Humanoid.Jum...
224
Roblox/gear
Roblox-gear-28b88df/src/gear/147937284/src/Handle/DiscoBallScript/init.server.luau
luau
.luau
--Made by Luckymaxer DiscoBall = script.Parent Light = DiscoBall:WaitForChild("Light") DanceScript = script:WaitForChild("DanceScript") Players = game:GetService("Players") DanceScripts = {} DanceRadius = 50 LightColorChange = 0 LightChangeRate = 0.5 Spawn(function() while true do DiscoBall.CFrame = DiscoBall...
351
Roblox/gear
Roblox-gear-28b88df/src/gear/147937284/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") DanceRadius = 50 function Activated() if Tool.Enabled then Tool.Enabled = false local Increase = 0.1 local MaxSize = 6 local DiscoBall = Handle:Clone() Ha...
439
Roblox/gear
Roblox-gear-28b88df/src/gear/147937377/src/PlaySound.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Debris = game:GetService("Debris") PlaySound.Changed:connect(function() if PlaySound.Value ~= "" then local SoundId = PlaySound.Value PlaySound.Value = "" local Sound = Instance.new("Sou...
173
Roblox/gear
Roblox-gear-28b88df/src/gear/147937377/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer MouseDown = false Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Necklace = InsertService:LoadAsset(147198993):GetChil...
980
Roblox/gear
Roblox-gear-28b88df/src/gear/147937415/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer MouseDown = false Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Necklace = InsertService:LoadAsset(147198993):GetChil...
1,325
Roblox/gear
Roblox-gear-28b88df/src/gear/147937443/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer r = game:service("RunService") Debris = game:GetService("Debris") local damage = 5 local slash_damage = 7 local lunge_damage = 10 sword = script.Parent.Handle Tool = script.Parent local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Par...
1,202
Roblox/gear
Roblox-gear-28b88df/src/gear/148017553/src/Firescript.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent check=true gundamage=30 --Base output damage per shot. firerate=.27 --How often the weapon can fire. automatic=false --hold down to continue firing range=300 --Max distance that the weapon can fire. spread=2 --The bigger the spread, the ...
2,082
Roblox/gear
Roblox-gear-28b88df/src/gear/148017553/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke cursors={ "http://www.roblox.com/asset/?id=50912619", --red --change the cursors "http://www.roblox.com/asset/?id=50912641", --blue "http://www.roblox.com/asset/?id=50911776", --purple reloading="http://www.roblox.com/asset/?id=50911776", } clipsize=12 equipped=false sp=script.Par...
905
Roblox/gear
Roblox-gear-28b88df/src/gear/14864611/src/CompassScript/CompassArrow.luau
luau
.luau
--Made by StarWars local Debris = game:GetService("Debris") local Mesh = Instance.new("SpecialMesh") Mesh.MeshType = Enum.MeshType.FileMesh Mesh.MeshId = "http://www.roblox.com/asset/?id=14656345" Mesh.Scale = Vector3.new(0.1, 0.1, 0.1) Mesh.Name = "Mesh" local ACTIVE_TIME = 10 function CreateArrow() local Part = ...
420
Roblox/gear
Roblox-gear-28b88df/src/gear/14864611/src/CompassScript/init.server.luau
luau
.luau
--Rescripted for the R15 update by StarWars local Tool = script.Parent local Enabled = true local CompassArrow = require(script:WaitForChild("CompassArrow")) function OnActivated() if not Enabled then return end Enabled = false Tool.Handle.OpenSound:Play() local Character = Tool.Parent local Humanoid = Cha...
146
Roblox/gear
Roblox-gear-28b88df/src/gear/14876573/src/SwordScript.server.luau
luau
.luau
--Fixed by Luckymaxer -------- OMG HAX Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") DamageValues = { BaseDamage = 10, SlashDamage = 12, LungeDamage = 24 } Damage = DamageValues.BaseDam...
959
Roblox/gear
Roblox-gear-28b88df/src/gear/148791372/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ToolEquipped = false function SetAnimation(mode, value) if mode == "PlayAnimati...
601
Roblox/gear
Roblox-gear-28b88df/src/gear/148791372/src/PieScript.server.luau
luau
.luau
--Made by Luckymaxer Pie = script.Parent HitSound = Pie:WaitForChild("Hit") Players = game:GetService("Players") Debris = game:GetService("Debris") BodyGyro = Pie:WaitForChild("BodyGyro") BodyForce = Pie:WaitForChild("BodyForce") Creator = Pie:WaitForChild("creator") Damage = Pie:WaitForChild("Damage") function IsT...
714
Roblox/gear
Roblox-gear-28b88df/src/gear/148791372/src/ToolScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") BaseUrl = "http://www.roblox.com/asset/?id=" Sounds = { Fire = Handle:WaitForChild("Fire"), Hit = Handle:WaitForCh...
2,412
Roblox/gear
Roblox-gear-28b88df/src/gear/148791414/src/AnimationPlayerScript.client.luau
luau
.luau
function FindAttachedHumanoid(part) local tpart = part while tpart.Parent do if tpart.Parent:FindFirstChild('Humanoid') then return tpart.Parent.Humanoid end tpart = tpart.Parent end return nil end script.ChildAdded:connect(function(nchild) local humanoid = FindAttachedHumanoid(script) local ani = Instance.n...
126
Roblox/gear
Roblox-gear-28b88df/src/gear/148791414/src/Script.server.luau
luau
.luau
--Made by Luckymaxer --Updated for R15 avatar by StarWars Pies = { {MeshId = 18417911, TextureId = 18417918, Name = "ApplePie", Scale = Vector3.new(0.35, 0.35, 0.35), Size = Vector3.new(1, 1, 0.25), Angle = CFrame.Angles(0, -(math.pi / 2), 0), Damage = 40}, {MeshId = 40312463, TextureId = 40311968, Name = "CherryPie...
2,528
Roblox/gear
Roblox-gear-28b88df/src/gear/148791460/src/OutfitScript.server.luau
luau
.luau
--Made by Luckymaxer --Update for R15 avatar by StarWars Character = script.Parent Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") Duration = 30 Meshes = { {MeshId = 125732887, TextureId = 125728597, Scale = Vector3.new(5, 5, 5), Angle = CFrame.Angles(0, 0, 0)}, {MeshId = 1841791...
817
Roblox/gear
Roblox-gear-28b88df/src/gear/148791460/src/ProjectileScript.server.luau
luau
.luau
--Made by Luckymaxer arrow = script.Parent creator = arrow:WaitForChild("creator") debris = game:GetService("Debris") local HitSound = Instance.new("Sound") HitSound.SoundId = "http://www.roblox.com/asset/?id=28913460" HitSound.Parent = arrow HitSound.Volume = 1 function onTouched(hit) arrow.RaySound.Looped = fa...
273
Roblox/gear
Roblox-gear-28b88df/src/gear/148791460/src/ShootScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireSound = Handle:WaitForChild("Fire") ProjectileScript = Tool:WaitForChild("ProjectileScript") OutfitScript = Tool:WaitForChild("OutfitScript") Players = game:GetService("Players") Debris = game:GetService("Debris") Velocity = 50 local...
633
Roblox/gear
Roblox-gear-28b88df/src/gear/148812192/src/Local Gui.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") SpecialReady = true SpecialCoolDown = 10 Pies = { {MeshId = 18417911, TextureId = 18417918, Name = "ApplePie", Scale = Vector3.new(0.35, 0.35, 0.35), Size = Vector3...
1,772
Roblox/gear
Roblox-gear-28b88df/src/gear/148812192/src/SwordScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Damage = 10 local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\Handleslash.wav" SlashSound.Parent = Handle SlashSound.Volume = 1 local UnsheathSound = Instance.new("Soun...
478
Roblox/gear
Roblox-gear-28b88df/src/gear/149222485/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 = ...
606
Roblox/gear
Roblox-gear-28b88df/src/gear/149222558/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 = ...
606
Roblox/gear
Roblox-gear-28b88df/src/gear/1492226137/src/LocalScript.client.luau
luau
.luau
-- // Created by StarWars local ContextActionService = game:GetService("ContextActionService") local Tool = script.Parent local R15Hold = Tool:WaitForChild("R15Hold") local Hold = Tool:WaitForChild("Hold") local ToolEquipped = false local Humanoid = nil local CurrentAnimation = nil function Equipped() if ToolEqui...
356
Roblox/gear
Roblox-gear-28b88df/src/gear/1492226137/src/Script.server.luau
luau
.luau
-- // Created by StarWars local CollectionService = game:GetService("CollectionService") local GearService = require(1075123174) local Tool = script.Parent local BASE_URL = "rbxassetid://" local Gear = GearService:BindGear(Tool, "Sword") Gear:SetupRemoteFunctions() Gear:SetupLocalScript("MouseIcon") Gear.Class:Disab...
632
Roblox/gear
Roblox-gear-28b88df/src/gear/149612167/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Player = nil Character = nil Humanoid = nil -- Returns a character ancestor and its Humanoid, or nil function FindCharac...
1,327
Roblox/gear
Roblox-gear-28b88df/src/gear/149612200/src/PlaySound.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Charging = Tool:WaitForChild("Charging") Charge = Handle:WaitForChild("Charge") Debris = game:GetService("Debris") PlaySound.Changed:connect(function() if PlaySound.Value ~= "" then local So...
228
Roblox/gear
Roblox-gear-28b88df/src/gear/149612200/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") Charging = Tool:WaitForChild("Charging") Equipped = false MouseDown = false ParticlesCompleted = true Particles = {} Curr...
2,311
Roblox/gear
Roblox-gear-28b88df/src/gear/149612243/src/AnimateScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") AnimPlaying = Tool:WaitForChild("AnimPlaying") AnimReloading = Tool:WaitForChild("AnimReloading") PlaySound = Handle:WaitForChild("PlaySound") Debris = game:GetService("Debris") Players = game:GetService("Players") Animating = false MouseDown = false Camera ...
690
Roblox/gear
Roblox-gear-28b88df/src/gear/149612243/src/SwordScript.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") AnimPlaying = Tool:WaitForChild("AnimPlaying") AnimReloading = Tool:WaitForChild("AnimReloading") Players = game:GetService("Players") Debris = game:GetService("Debris") SpecialReloadTime = 15 Damage = 10 function TagHumanoid(humanoid, player) local creator...
1,419
Roblox/gear
Roblox-gear-28b88df/src/gear/149638899/src/LeprechaunScript/LeprechaunAi/init.server.luau
luau
.luau
--Made by Luckymaxer ----------------- --| Constants |-- ----------------- THROWABLE_DAMAGE = 15 THROWABLE_CHANCE = 0.05 THROWABLE_TIMETOLIVE = 15 ONE_STEP = 1 / 30 -------------------- --| WaitForChild |-- -------------------- ----------------- --| Variables |-- ----------------- Debris = Game:GetService("Debris...
1,651
Roblox/gear
Roblox-gear-28b88df/src/gear/149638899/src/LeprechaunScript/init.server.luau
luau
.luau
--Made by Luckymaxer ----------------- --| Constants |-- ----------------- CHANCE_TO_SUMMON = 0.1 SUMMON_DEBRIS_TIME = 120 SUMMON_ID = 149633637 SUMMON_SPAWN_OFFSET = Vector3.new(15, 0, 15) AI_SCRIPT_NAME = "LeprechaunAi" COOLDOWN = 1 ----------------- --| Variables |-- ----------------- InsertService = Game:GetSe...
1,161
Roblox/gear
Roblox-gear-28b88df/src/gear/150363993/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,493
Roblox/gear
Roblox-gear-28b88df/src/gear/150366274/src/GravityCoilScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") CoilSound = Handle:WaitForChild("CoilSound") EqualizingForce = (236 / 1.2) -- amount of force required to levitate a mass Gravity = 0.85 -- things float at > 1 GhostEffect = nil MassCon1 = nil MassCon2 = nil function GetTotalMass(root) ...
454
Roblox/gear
Roblox-gear-28b88df/src/gear/150366320/src/CrossbowLauncher.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireSound = Handle:WaitForChild("FireSound") HitSound = Handle:WaitForChild("HitSound") Players = game:GetService("Players") Debris = game:GetService("Debris") function FindCharacterAncestor(Parent) if Parent and Parent ~= game:GetServi...
1,051
Roblox/gear
Roblox-gear-28b88df/src/gear/150366351/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") FireSound = Handle:WaitForChild("FireSound") HitSound = Handle:WaitForChild("HitSound") Players = game:GetService("Players") Debris = game:GetService("Debris") function FindCharacterAncestor(Parent) if Parent and Parent ~= game:GetServi...
1,807
Roblox/gear
Roblox-gear-28b88df/src/gear/1504917437/src/Script.server.luau
luau
.luau
-- // Created by StarWars local Tool = script.Parent local CacheJumpPower = 50 local Humanoid = nil Tool.Equipped:Connect(function() local Character = Tool.Parent Humanoid = Character:FindFirstChildOfClass("Humanoid") if Humanoid then CacheJumpPower = Humanoid.JumpPower Humanoid.JumpPower = CacheJumpPower * 2 ...
120
Roblox/gear
Roblox-gear-28b88df/src/gear/150927798/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 = ...
606
Roblox/gear
Roblox-gear-28b88df/src/gear/151291980/src/Handle/PlaySound.server.luau
luau
.luau
--Made by Luckymaxer Handle = script.Parent Sound = Handle:WaitForChild("HitSound") Sound:Play()
27
Roblox/gear
Roblox-gear-28b88df/src/gear/151291980/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Tool = script.Parent Handle = Tool:WaitForChild("Handle") ThrowChair = Tool:WaitForChild("ThrowChair") Equipped = false MouseDown = false ReloadTime = 1 function FindCharacterAncestor(Parent) if Parent and Parent ~= game:...
1,175
Roblox/gear
Roblox-gear-28b88df/src/gear/151292047/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SpecialReady = Tool:WaitForChild("SpecialReady") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") FiringSound = Handle:WaitForChild("FiringSound") SwingingSound = Han...
2,653
Roblox/gear
Roblox-gear-28b88df/src/gear/151292047/src/ManageSpecial.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SpecialReady = Tool:WaitForChild("SpecialReady") SpecialReady.Value = true SpecialReady.Changed:connect(function() if not SpecialReady.Value then wait(15) SpecialReady.Value = true end end)
72
Roblox/gear
Roblox-gear-28b88df/src/gear/151292047/src/SoundManager.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") for i, v in pairs(Handle:GetChildren()) do if v:IsA("Sound") then v.ChildAdded:connect(function(Child) if Child.Name == "Play" then v:Play() elseif Child.Name == "Stop" then v:Stop() end Delay(0, function() Child...
109
Roblox/gear
Roblox-gear-28b88df/src/gear/151311761/src/jmrLocalScript.client.luau
luau
.luau
----------------------- --| Variables |-- ----------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local Players = Game:GetService('Players') ----------------------- --| GUI |-- ----------------------- local ScreenGui = Tool:WaitForChild('ScreenGui') local Frame =...
1,724
Roblox/gear
Roblox-gear-28b88df/src/gear/151311761/src/jmrScript.server.luau
luau
.luau
----------------------- --| Variables |-- ----------------------- local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local DebrisService = Game:GetService('Debris') local Players = Game:GetService('Players') local TheCharacter = nil -- local HitPlayers = {} local RemoteEvents = Tool:WaitForChil...
1,078
Roblox/gear
Roblox-gear-28b88df/src/gear/1513260464/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Tool = script.Parent local Handle = Tool.Handle local Trail = Handle:FindFirstChildOfClass("Trail") local Gear = GearService:BindGear(Tool, "Sword") Gear:BindActivateFunction("pot_of_gold_activate", function() if Trail then Trail.Enabled = true delay(0.2, function(...
104
Roblox/gear
Roblox-gear-28b88df/src/gear/1513262045/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 = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitF...
1,149
Roblox/gear
Roblox-gear-28b88df/src/gear/1513262045/src/Script/Functions.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create Functions = {} function Functions.GetAngle(Direction) local Angle = math.acos(Direction:Dot(Vector3.new(1, 0, 0))) local Modifier = math.acos(Directi...
1,084
Roblox/gear
Roblox-gear-28b88df/src/gear/1513262045/src/Script/init.server.luau
luau
.luau
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=" Functions = require(script:WaitForChild("Functions")) local function Create_PrivImpl(objectType) if type(...
3,435
Roblox/gear
Roblox-gear-28b88df/src/gear/15176169/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent; enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\ArrowFarCursor.png" wait(.5) mouse.Icon = "rbxasset://textures\\ArrowCursor.png" enabled = true end function onEquippedLocal(mouse) ...
140
Roblox/gear
Roblox-gear-28b88df/src/gear/15176169/src/PlantBomb.server.luau
luau
.luau
bombScript = script.Parent.Spikey Tool = script.Parent function plant(pos) local vCharacter = Tool.Parent local vPlayer = game.Players:playerFromCharacter(vCharacter) local dir = vCharacter.Torso.CFrame.lookVector local bomb = Tool.Handle:Clone() bomb.RotVelocity = Vector3.new(math.random...
343
Roblox/gear
Roblox-gear-28b88df/src/gear/15176169/src/Spikey.server.luau
luau
.luau
debris = game:GetService("Debris") local damage = 10 wait(.5) function newSound(id) local sound = Instance.new("Sound") sound.Name = "Died" sound.SoundId = id sound.archivable = false return sound end -- declarations local sDied = newSound("rbxasset://sounds/uuhhh.wav") function playOuc...
277
Roblox/gear
Roblox-gear-28b88df/src/gear/15177716/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.97, 1.02e-005, -0.243) Tool.GripPos = Vector3.new(-0.2, 0, -1.23) Tool.GripRight = Vector3.new(0.197, 0.581, -0.79) Tool.GripUp = Vector3.new...
320
Roblox/gear
Roblox-gear-28b88df/src/gear/151777652/src/WubstepTool/DanceScript/init.client.luau
luau
.luau
--Just dance like you never had a chance --I'd rhyme, but I dont have the time --this is getting silly, so orange. while script:FindFirstChild('DanceAnim') == nil do wait() end local Character = script.Parent local Humanoid = Character:FindFirstChild('Humanoid') Humanoid.WalkSpeed = 0.0 local DanceA...
141
Roblox/gear
Roblox-gear-28b88df/src/gear/151777652/src/WubstepTool/init.server.luau
luau
.luau
--Wait for the bass local Tool = script.Parent local Wubstep = nil local Character local Player local Torso local Humanoid local AOE = 15 local DubstepLength = 12 local AreaQueryInterval = 1 local dt = 0 function DestroyBoombox() if not Wubstep then print("Cannot destroy boombox when boombox doesn't exist"...
628
Roblox/gear
Roblox-gear-28b88df/src/gear/15179006/src/TeddyScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true s1 = Instance.new("Sound") s1.SoundId = "http://www.roblox.com/asset/?id=15174446" s1.Parent = Tool.Handle s2 = Instance.new("Sound") s2.SoundId = "http://www.roblox.com/asset/?id=15174538" s2.Parent = Tool.Handle s3 = Instance.new("Sound") s3.SoundId = "h...
521
Roblox/gear
Roblox-gear-28b88df/src/gear/152187131/src/SpecialHandler.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") SpecialReady = Tool:WaitForChild("SpecialReady") SpecialReady.Value = true SpecialReady.Changed:connect(function() if not SpecialReady.Value then wait(40) SpecialReady.Value = true end end)
72
Roblox/gear
Roblox-gear-28b88df/src/gear/152187131/src/SphereScript.server.luau
luau
.luau
--Made by Luckymaxer Sphere = script.Parent Creator = script:WaitForChild("creator") Players = game:GetService("Players") Debris = game:GetService("Debris") Sound = Instance.new("Sound") Sound.Looped = true Sound.Volume = 0.5 Sound.Pitch = 1 Sound.SoundId = "http://www.roblox.com/asset?id=152092907" Sound.Parent = ...
400
Roblox/gear
Roblox-gear-28b88df/src/gear/152187131/src/ToolScript.client.luau
luau
.luau
--Made by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Tool = script.Parent Handle = Tool:WaitForChild("Handle") PlaySound = Handle:WaitForChild("PlaySound") SphereScript = Tool:WaitForChild("SphereScript") SpecialReady = Tool:WaitForChild("SpecialReady") -- Returns a character ...
1,861
Roblox/gear
Roblox-gear-28b88df/src/gear/152187198/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,048
Roblox/gear
Roblox-gear-28b88df/src/gear/152233094/src/BassScript/MeteorBassDropScript.server.luau
luau
.luau
--Made by Luckymaxer --[[ Fixed by ArceusInator 1/23/2015 - It actually does damage now --]] BassDrop = script.Parent Creator = BassDrop:WaitForChild("creator") Players = game:GetService("Players") Debris = game:GetService("Debris") BassDrop.Touched:connect(function(hitPart) local explosion = Instance.new('Explos...
380
Roblox/gear
Roblox-gear-28b88df/src/gear/152233094/src/BassScript/init.server.luau
luau
.luau
--Made by Luckymaxer Debris = Game:GetService("Debris") Players = Game:GetService("Players") Tool = script.Parent Handle = Tool:FindFirstChild("Handle") Tool.Enabled = true Handle.Transparency = 0 Music = Handle:WaitForChild("Music") MeteorBassDropScript = script:WaitForChild("MeteorBassDropScript") BassDrop = Tool...
1,565
Roblox/gear
Roblox-gear-28b88df/src/gear/152233381/src/MainScript.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Tool.Enabled = true connection = nil BirdSounds = {152092820, 152092841, 152092862} debris = game:GetService("Debris") fire = Instance.new("Fire") fire.Parent = fireball fire.Color = Color3.new(244/255, 164/255, 96/255) fire.Seconda...
2,012
Roblox/gear
Roblox-gear-28b88df/src/gear/152660131/src/HotWheelsScript/init.client.luau
luau
.luau
local ASSETS = { CarMesh = 149408914; CarTX = 152653238; Icon = 152653157; } local Tool = script.Parent local Handle = Tool:WaitForChild('Handle') local Character = nil local Torso = nil local Humanoid = nil local CarPrefab = Game:GetService("InsertService"):LoadAsset(147928844):GetChildren()[1] --local CarPrefab...
1,319
Roblox/gear
Roblox-gear-28b88df/src/gear/152822847/src/EggTrackerScript.client.luau
luau
.luau
local Tool = script.Parent local Tracker = Tool.Handle local TrackerGui local TrackerFrame local Player local PlayerGui local Character local Eggs_Model = Game.Workspace:WaitForChild('SpawnedEggs') local ToolTip = Instance.new('TextLabel') ToolTip.BackgroundTransparency = 0.25 ToolTip.BackgroundColor3 = Co...
960
Roblox/gear
Roblox-gear-28b88df/src/gear/152823565/src/LauncherScript.server.luau
luau
.luau
local Tool = script.Parent local Launcher = Tool.Handle local Character local Player local Humanoid local Torso local EggsToClone = { 'Egg of Life', 'Egg of Verticality', 'Basic Egg', 'Poached Egg', 'Luregg', 'Malicious Egg', 'Egg of Frost', } local Eggs_Model = Game.ServerStorage:WaitForChild('Eggs') l...
816
Roblox/gear
Roblox-gear-28b88df/src/gear/152824174/src/ClonerScript.server.luau
luau
.luau
local chooseEgg = script.Parent.ChooseEgg local chosenEgg = script.Parent.ChosenEgg chooseEgg.OnServerEvent:connect(function(player, name) chosenEgg.Value = name end)
48
Roblox/gear
Roblox-gear-28b88df/src/gear/1536052210/src/Script.server.luau
luau
.luau
local GearService = require(1075123174) local Gear = GearService:BindGear(script.Parent, "Sword")
26
Roblox/gear
Roblox-gear-28b88df/src/gear/1536053426/src/Assets.luau
luau
.luau
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 function call is a function call using Lua's single-string-argum...
2,407
Roblox/gear
Roblox-gear-28b88df/src/gear/1536053426/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") DisplayModel = Tool:FindFirstChild("DisplayModel") if DisplayModel then DisplayModel:Destroy() end Assets = require(Tool:WaitForChild("Assets")) Data = Assets.Data BaseUrl = Assets.Base...
5,053
Roblox/gear
Roblox-gear-28b88df/src/gear/153938986/src/LocalScript/ArrowScript.server.luau
luau
.luau
--Made by Luckymaxer Arrow = script.Parent HitSound = Arrow:FindFirstChild("HitSound") HitSound:Play()
28
Roblox/gear
Roblox-gear-28b88df/src/gear/153938986/src/LocalScript/FaceChange.server.luau
luau
.luau
--Made by Luckymaxer Humanoid = script.Parent Character = Humanoid.Parent Head = Character:FindFirstChild("Head") if Head then Face = Head:FindFirstChild("face") if Face then OriginalFace = Face.Texture Face.Texture = "http://www.roblox.com/asset/?id=108213708" wait(20) Face.Texture = OriginalFace script:D...
97
Roblox/gear
Roblox-gear-28b88df/src/gear/153938986/src/LocalScript/init.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") ArrowScript = script:WaitForChild("ArrowScript") FaceChangeScript = script:WaitForChild("FaceChange") ReloadArrow = Tool:WaitForChild("ReloadArrow") Players = game:GetService("Players") Debris = game:Get...
2,814
Roblox/gear
Roblox-gear-28b88df/src/gear/153938986/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