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/77443704/src/SwordScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") BaseUrl = "http://www.roblox.com/asset/?id=" Grips = { Up = CFrame.new(0, 0, -1....
1,377
Roblox/gear
Roblox-gear-28b88df/src/gear/78005009/src/Handle/SoundScript.server.luau
luau
.luau
--Stickamsterluke --this script this made so that the sound is not played locally sp=script.Parent local s=Instance.new("Sound") s.Volume=2 s.SoundId="http://www.roblox.com/asset/?id=75992638" s.Looped=false s.PlayOnRemove=false s.Parent=sp wait() s:Play()
81
Roblox/gear
Roblox-gear-28b88df/src/gear/78005009/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent local weaponevent=sp:WaitForChild("WeaponEvent") firerate=.25 function onEquipped(mouse) if mouse~=nil then mouse.Icon="rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() weaponevent:FireServer("Fire",mouse.Hit.p) mouse.Icon="rbxasset://t...
135
Roblox/gear
Roblox-gear-28b88df/src/gear/78005009/src/Script.server.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent local weaponevent=sp:WaitForChild("WeaponEvent") damage=22 firerate=.25 range=200 barreloffset=Vector3.new(0,1.9,.3) blackholeduration=3.5 force=3000 eventhorizon=2 effectradius=20 rate=1/30 debris=game:GetService("Debris") lastblackhole=0 equipped=false check=true fu...
1,727
Roblox/gear
Roblox-gear-28b88df/src/gear/78005022/src/Local Gui.client.luau
luau
.luau
--By QuantumSama Tool = script.Parent local checkConnection local userMouse function CheckEnabled() if userMouse ~= nil then if Tool.Enabled then userMouse.Icon = "rbxasset://textures\\GunCursor.png" else userMouse.Icon = "rbxasset://textures\\GunWaitCursor.png" end end end function onEquippedLocal(mou...
167
Roblox/gear
Roblox-gear-28b88df/src/gear/78005022/src/LocalFlakScript.client.luau
luau
.luau
local Tool = script.Parent local charging = false function charge() if not Tool.Enabled then return end Tool.Enabled = false charging = true local vPlayer = game.Players:GetPlayerFromCharacter(Tool.Parent) if vPlayer ~= nil then local fuseGui = vPlayer.PlayerGui.UserGui.Background.Fuse local fuseTime = 100 ...
217
Roblox/gear
Roblox-gear-28b88df/src/gear/78005082/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent local debris=game:GetService("Debris") function onEquipped(mouse) if mouse~=nil then mouse.Button1Down:connect(function() local chr=sp.Parent if chr and sp.Enabled then local t=chr:FindFirstChild("Torso") local h=chr:FindFirstChild("Humanoid") ...
376
Roblox/gear
Roblox-gear-28b88df/src/gear/78005082/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent rate=1/30 time=2 radius=15 heal=100 local debris=game:GetService("Debris") humanoids={} while (sp.Velocity).magnitude>.1 do wait(.25) end sp.Anchored=true sp.CanCollide=false p=Instance.new("Part") p.Anchored=true p.CanCollide=false p.FormFactor="Custom" ...
605
Roblox/gear
Roblox-gear-28b88df/src/gear/78026639/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local RHead = Tool.Handle local WalkAnim local RapidFireAnim local function fuse(key) -- Need to add animation key = key:lower() if key == "q" then local rFire = Tool:FindFirstChild("RapidFire") if rFire and rFire.Value == false and vHumanoid then RapidFireAnim =...
276
Roblox/gear
Roblox-gear-28b88df/src/gear/78026639/src/CannonScript.server.luau
luau
.luau
local Tool = script.Parent local RHead = Tool.Handle Tool.Enabled = true local vCharacter local vTorso local vHead local vHumanoid local vPlayer local Rocket = Instance.new("Part") Rocket.Size = Vector3.new(0.5, 3, 0.5) Rocket.Transparency = 0.0 Rocket.Shape = "Block" Rocket.FormFactor = 3 Rocket....
1,372
Roblox/gear
Roblox-gear-28b88df/src/gear/78367424/src/TigerPlushieScript.server.luau
luau
.luau
-- First Plushie! -- Needed for calculating time -- r = game:service("RunService") -- Store the Tool information local Tool = script.Parent -- Variable for making sure our function is entered only once during a particular instance enabled = true local sitting_on_character = false --Tool.Enabled = true...
830
Roblox/gear
Roblox-gear-28b88df/src/gear/78665196/src/Damage.server.luau
luau
.luau
local 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 -------------------------------------------------------------------------------- ------...
587
Roblox/gear
Roblox-gear-28b88df/src/gear/78665204/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke local sp=script.Parent local sword=sp.Handle basedamage=3 swingdamage=22 dragonrestusage=10 restrate=8 anims={"RightSlash","LeftSlash","OverHeadSwing"} rate=1/30 damage=basedamage dragonrest=0 resting=false equipped=false check=true taunting=false lastanim="" lastspeed=16 ...
1,854
Roblox/gear
Roblox-gear-28b88df/src/gear/78665204/src/SoundScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent sword=sp.Handle script.ChildAdded:connect(function(item) if item~=nil then local s=sword:FindFirstChild(item.Name) if s~=nil then s:Play() end item:remove() end end)
65
Roblox/gear
Roblox-gear-28b88df/src/gear/78665215/src/LaserBlast.server.luau
luau
.luau
ball = script.Parent damage = 19 HitSound = Instance.new("Sound") HitSound.Name = "HitSound" HitSound.SoundId = "http://www.roblox.com/asset/?id=11945266" HitSound.Parent = ball HitSound.Volume = 1 local touchedYet = false function onTouched(hit) if hit == nil or hit.Parent == nil or touchedYet or hit.N...
431
Roblox/gear
Roblox-gear-28b88df/src/gear/78730532/src/Client.client.luau
luau
.luau
local Tool = script.Parent Tool.Enabled = true local Players = game:GetService'Players' GetCharacterFromPart = function(part) local current = part local character = nil while true do for i, child in next, current:GetChildren() do if child:IsA'Humanoid' then character = current break end end i...
258
Roblox/gear
Roblox-gear-28b88df/src/gear/78730532/src/Server.server.luau
luau
.luau
local Tool = script.Parent Tool.Enabled = true local Players = game:GetService'Players' function BuildCharacterRig(Character, AppearanceModel, IsR15) local Humanoid,FF = Character:FindFirstChildOfClass("Humanoid"),Character:FindFirstChildOfClass("ForceField") if not Humanoid and Humanoid.Health > 0 or FF then return...
1,160
Roblox/gear
Roblox-gear-28b88df/src/gear/790967234/src/Script.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Humanoid = nil local OriginalWalkSpeed = 16 local FAST_WALKSPEED = 25 local Grips = { R15 = CFrame.new(0.699999988, -0.200000003, 0, 0, -1, 0, 0.772708714, 0, -0.634760797, 0.634760737, 0, 0.7727...
397
Roblox/gear
Roblox-gear-28b88df/src/gear/790968060/src/Script.server.luau
luau
.luau
-- // Made by StarWars local RunService = game:GetService('RunService') local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Torso = nil local Humanoid = nil local Grips = { R15 = CFrame.new(1.25, 0, 0.150000006, 0.98042661, 0, -0.196884856, 0, 1, 0, 0.196884856, -0, 0.9...
370
Roblox/gear
Roblox-gear-28b88df/src/gear/790968791/src/Script.server.luau
luau
.luau
-- // Made by StarWars local RunService = game:GetService('RunService') local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Torso = nil local Humanoid = nil local COOLDOWN_TIME = 20 local SPIN_TIME = 2 local SPINNER_SPEED = 500 local SpawnPoints = {} function FindPart(...
506
Roblox/gear
Roblox-gear-28b88df/src/gear/790979662/src/CarScript/Car.luau
luau
.luau
-- // Made by StarWars local Car = {} Car.__index = Car local function WeldModel(model, primaryPart) for i, v in ipairs(model:GetChildren()) do if v:IsA("BasePart") then if v ~= primaryPart then local NewWeld = Instance.new("Weld") NewWeld.Name = v.Name NewWeld.Part0 = primaryPart NewWeld.Part1 ...
922
Roblox/gear
Roblox-gear-28b88df/src/gear/790979662/src/CarScript/init.server.luau
luau
.luau
local RunService = game:GetService("RunService") local Car = require(script:WaitForChild("Car")) local Model = script.Parent local Creator = Model:WaitForChild("creator") local Character = Creator.Value.Character local Humanoid = Character:FindFirstChildOfClass("Humanoid") local NewCar = Car.new(Creator.Value, Model...
152
Roblox/gear
Roblox-gear-28b88df/src/gear/790979662/src/Script.server.luau
luau
.luau
--// Made by StarWars local Debris = game:GetService("Debris") local InsertService = game:GetService("InsertService") local LightningModel = InsertService:LoadAsset(787396013):GetChildren()[1] local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Character = nil local Player = nil local Humanoid...
556
Roblox/gear
Roblox-gear-28b88df/src/gear/79446395/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent plr=game.Players.localPlayer firerate=1 rate=1/30 debris=game:GetService("Debris") equipped=false check=true storeWeld=sp:FindFirstChild("PartWeld") while storeWeld==nil do wait() storeWeld=sp:FindFirstChild("PartWeld") end function throw(vec,vel) ...
560
Roblox/gear
Roblox-gear-28b88df/src/gear/79446395/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent sounds={79080744,79080766} function playsound() local s=Instance.new("Sound") s.SoundId="http://www.roblox.com/asset/?id="..tostring(sounds[math.random(1,#sounds)]) s.Pitch=.8+(math.random()*.4) s.Volume=.5 s.Parent=sp s:Play() end check=true sp.Touched:c...
367
Roblox/gear
Roblox-gear-28b88df/src/gear/79446433/src/FSBlocal.client.luau
luau
.luau
print("Script gets called hurrr") local Tool = script.Parent local Handle = Tool.Handle local Char local Torso, Weld, saluteAnim function getPlayer(mouse) --grabs target player and makes them salute local notfound = true if mouse.Target ~= nil then local target = mouse.Target local oChar = target.Parent -- the c...
400
Roblox/gear
Roblox-gear-28b88df/src/gear/79446433/src/SaluteScript/init.client.luau
luau
.luau
wait() sp = script.Parent while script:FindFirstChild("CheckEye") == nil do wait() end local humanoid = sp:FindFirstChild("Humanoid") if humanoid ~= nil then humanoid.WalkSpeed = 0 local salute = humanoid:LoadAnimation(script:FindFirstChild("CheckEye")) if salute then salute:Play() end sound = script.sSoun...
170
Roblox/gear
Roblox-gear-28b88df/src/gear/79446454/src/BulletScript.server.luau
luau
.luau
ball = script.Parent damage = 15 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/79446454/src/Gun.server.luau
luau
.luau
local Tool = script.Parent; local gun = Tool.Handle local vCharacter local myTorso local myHumanoid local leftGun local leftGunWeld local holdAnim local gripCopy = Tool.Grip local equipped = false function doubleGun() --if true then return end if Tool.Parent ~= game.Workspace then return end ...
1,569
Roblox/gear
Roblox-gear-28b88df/src/gear/79446454/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\\GunWaitCursor.png" wait(.1) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end local holdAnim function onEquipped...
186
Roblox/gear
Roblox-gear-28b88df/src/gear/79446473/src/GunScript.server.luau
luau
.luau
--Made by Stickmasterluke --[[ Fixed by ArceusInator 2/18/2015 - Works with FE - No longer bumps unanchored blocks around - No longer moves anchored blocks - No longer teamkills - Now uses velocity to push bricks and it looks way cooler --]] sp=script.Parent plr=game.Players.localPlayer local GLib = require(20...
1,473
Roblox/gear
Roblox-gear-28b88df/src/gear/79446473/src/LocalScript.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.Icon="rbxasset://textures\\GunCursor.png" mouse.Button1Down:connect(function() script.Parent.Click:FireServer(mouse.Hit.p) mouse.Icon='rbxasset://textures/GunWaitCursor.png' wait(1) mouse.Icon="rbxasset://textures\\GunCursor.png" end) end)
80
Roblox/gear
Roblox-gear-28b88df/src/gear/79446473/src/Script.server.luau
luau
.luau
--Stickamsterluke --this script this made so that the sound is not played locally sp=script.Parent wait(1) sp.PlaySound.Changed:connect(function() sp.Handle.Sound:Play() end)
47
Roblox/gear
Roblox-gear-28b88df/src/gear/79446473/src/SoundScript.server.luau
luau
.luau
--Stickamsterluke --this script this made so that the sound is not played locally sp=script.Parent local s=Instance.new("Sound") s.Volume=2 s.SoundId="http://www.roblox.com/asset/?id=77170993" s.Looped=false s.PlayOnRemove=false s.Parent=sp wait() s:Play()
81
Roblox/gear
Roblox-gear-28b88df/src/gear/79736563/src/SpyTool.client.luau
luau
.luau
local spyTool = script.Parent local spyHandle = spyTool.Handle local vChar local Torso, Head local RightArm local Weld local equipAnim while GUI == nil do wait() GUI = spyTool:FindFirstChild("ScreenGui") end function onEquipped(mouse) mouse.Icon = "rbxasset://textures\\GunCursor.png" vChar = spyTool.Parent Tors...
725
Roblox/gear
Roblox-gear-28b88df/src/gear/79736586/src/LocalScript.client.luau
luau
.luau
local animations = {} local tool = script.Parent local remoteConnections = {} tool.Equipped:connect(function(mouse) for i,con in next, remoteConnections do con:disconnect() end animations = {} -- remoteConnections.SetIcon = tool.SetIcon.OnClientEvent:connect(function(icon) mouse.Icon = icon end) remoteCo...
318
Roblox/gear
Roblox-gear-28b88df/src/gear/79736586/src/Script.server.luau
luau
.luau
--[[ Fixed by ArceusInator 1/23/2015 This seriously needs to be rewritten --]] -- Tiny Event Manager; Add: [[Event.EventName = (event)]]; Remove: [[Disconnect("EventName",...)]] local Event = {} -- wait until child exists; return child local function WaitForChild(parent,name) while not parent:FindFirstChild(name...
2,065
Roblox/gear
Roblox-gear-28b88df/src/gear/80576913/src/TrapCoreScript.server.luau
luau
.luau
local Tool = script.Parent local Trap = Tool.Handle Tool.Enabled = true local vCharacter local vPlayer local numberOfTraps local screenGui local buzzer local myTorso local myHumanoid local trapCFrame = CFrame.new() function checkTrap(trap) if trap and trap.Parent == nil then numberOfTraps = Tool:FindFirstC...
980
Roblox/gear
Roblox-gear-28b88df/src/gear/80576913/src/TrapScript/init.server.luau
luau
.luau
local Trap = script.Parent local debounce = false local vCharacter local torso local debris = game:GetService("Debris") local creatorTag if Trap.CFrame.lookVector:Dot(Vector3.new(0, 1, 0)) > 0 then Trap.CFrame = Trap.CFrame * CFrame.Angles(0, -math.pi, 0) end wait(1.5) Trap.Transparency = 0.9 local burnSound fu...
1,625
Roblox/gear
Roblox-gear-28b88df/src/gear/80576928/src/LocalScript.client.luau
luau
.luau
local Player = game.Players.LocalPlayer local Tool = script.Parent local LaunchShirtEvent = Tool:WaitForChild("LaunchShirt") local FIRE_RATE = 3 local WAIT_TIME = 1/60 local ShirtId = 79219345 local Gui = Tool:WaitForChild("ShirtGui") local LastFired = 0 local function UpdateId(property) if property == "Text" the...
350
Roblox/gear
Roblox-gear-28b88df/src/gear/80576928/src/OldLocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=3 power=150 rate=1/30 baseid="http://www.roblox.com/asset/?id=" debris=game:GetService("Debris") equipped=false check=true shirtid=79219345 while sp:FindFirstChild("ShirtGui")==nil do wait() end gui=sp:FindFirstChild("ShirtGui") function upd...
767
Roblox/gear
Roblox-gear-28b88df/src/gear/80576928/src/Script.server.luau
luau
.luau
local Tool = script.Parent local Character = nil local Equipped = false local POWER = 150 local function FireShirt(hitPosition, shirtId) local Part = Instance.new("Part") Part.BrickColor = BrickColor.new("White") Part.CanCollide = false Part.TopSurface = Enum.SurfaceType.Smooth Part.BottomSurface = Enum.Surface...
524
Roblox/gear
Roblox-gear-28b88df/src/gear/80576952/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent time=5 radius=10 function playsound(pitch) --Fix implemented by Luckymaxer pitch=pitch or 1 local s=sp:FindFirstChild("BeepTone") if s~=nil then s.Pitch=pitch s:Play() end end for i=1,time-1 do wait(1) playsound(1.5) end wait(1) playsound(2) wait(.1) playsound(2) wait(...
233
Roblox/gear
Roblox-gear-28b88df/src/gear/80576967/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent cooldown=2.1 spraysize=5 range=10 baseid="http://www.roblox.com/asset/?id=" sprayid=80373024 local debris=game:GetService("Debris") equipped=false check=true while gui==nil do wait() gui=sp:FindFirstChild("SprayGui") end function updateid() if gui:FindF...
962
Roblox/gear
Roblox-gear-28b88df/src/gear/80597060/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 = (...
459
Roblox/gear
Roblox-gear-28b88df/src/gear/80597060/src/Server/ShieldScript/init.server.luau
luau
.luau
local Character = script.Parent local Human = Character:FindFirstChildOfClass("Humanoid") local IgnoreHealthChange = false local CurrentHealth = Human.Health Human.Changed:Connect(function(Property) -- Based on Azure Periastron local NewHealth = Human.Health if not IgnoreHealthChange and NewHealth ~= Human.Ma...
2,897
Roblox/gear
Roblox-gear-28b88df/src/gear/80597060/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Revamped Periastrons: The Periastron of Chartreuse Artillery 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 Seed =...
2,259
Roblox/gear
Roblox-gear-28b88df/src/gear/80661504/src/Server/ShieldScript/init.server.luau
luau
.luau
local Character = script.Parent local Human = Character:FindFirstChildOfClass("Humanoid") local IgnoreHealthChange = false local CurrentHealth = Human.Health Human.Changed:Connect(function(Property) -- Based on Azure Periastron local NewHealth = Human.Health if not IgnoreHealthChange and NewHealth ~= Human.Ma...
2,910
Roblox/gear
Roblox-gear-28b88df/src/gear/80661504/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Revamped Periastrons: The Periastron of Chartreuse Artillery 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 Seed =...
2,257
Roblox/gear
Roblox-gear-28b88df/src/gear/81154592/src/SwordScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") BaseUrl = "http://www.roblox.com/asset/?id=" Grips = { Up = CFrame.new(0, 0, -2,...
1,126
Roblox/gear
Roblox-gear-28b88df/src/gear/81155006/src/SwordScript__1.client.luau
luau
.luau
local UIS, CAS = game:GetService'UserInputService', game:GetService'ContextActionService' script.Parent.Equipped:connect(function(mouse) mouse.KeyDown:connect(function(key) script.Parent.Input:Fire('Key', true, key) end) if UIS.TouchEnabled then local out2 = false local detatched = false CAS:BindActionToInpu...
478
Roblox/gear
Roblox-gear-28b88df/src/gear/81155006/src/SwordScript__2.server.luau
luau
.luau
--[[ // Now, I arrange my gear with a handle and 2 hidden blades under it. ]] local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do print(parent, " waiting for ", instance) wait() end return parent[instance] end local Tool = script.Parent local Saber = Tool.Handle ...
2,074
Roblox/gear
Roblox-gear-28b88df/src/gear/81330766/src/WatchScript.server.luau
luau
.luau
local frameInterval = .35 local numFrames = 11 local reloadTime = numFrames * frameInterval + 1 local currentFrame = 0 local speedUp = 2.5 local frames = {} local Tool = script.Parent; local player local torso local hum local running = false function onActivated() if not Tool.Enabled then return end Tool.Enable...
591
Roblox/gear
Roblox-gear-28b88df/src/gear/81847365/src/CannonScript/SplatScript.client.luau
luau
.luau
local function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do wait() end return parent[instance] end local vCharacter = script.Parent local vPlayer = game.Players.LocalPlayer local vHumanoid = waitForChild(vCharacter, "Humanoid") vHumanoid.WalkSpeed = 0.0 local ...
380
Roblox/gear
Roblox-gear-28b88df/src/gear/81847365/src/CannonScript/init.server.luau
luau
.luau
-- Assuming 0 air resistance local Tool = script.Parent local Cannon = Tool.Handle local vCharacter local vTorso local vHumanoid local vPlayer local Damage = 49 Tool.Enabled = true local Potato = Instance.new("Part") Potato.Name = "Potato" Potato.FormFactor = 3 Potato.Shape = "Block" Potato.Size = Vector3.ne...
1,375
Roblox/gear
Roblox-gear-28b88df/src/gear/81847365/src/Local Gui.client.luau
luau
.luau
Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then --print("No mouse") return end while stillEquipped do --print("Setting Mouse to go") mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEqu...
187
Roblox/gear
Roblox-gear-28b88df/src/gear/81847570/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke --A nice simple axe local sp=script.Parent local sword=sp.Handle enabled=true taunting=false function onButton1Down(mouse) if not enabled then return end enabled=false mouse.Icon="rbxasset://textures\\GunWaitCursor.png" wait(1.25) mouse.Icon="rbxasset://textures\\GunCurs...
567
Roblox/gear
Roblox-gear-28b88df/src/gear/81847570/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke --A nice simple axe sp=script.Parent r=game:service("RunService") anims={"RightSlash","LeftSlash","OverHeadSwing"} basedamage=2 slashdamage=11 swingdamage=25 damage=basedamage sword=sp.Handle sp.Taunting.Value=false local SlashSound=Instance.new("Sound") SlashSound.SoundId=...
665
Roblox/gear
Roblox-gear-28b88df/src/gear/81847637/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke local sp=script.Parent local Backpack = sp.Handle rate=1/30 equipped=false check=true debris=game:GetService("Debris") while sp.Handle:FindFirstChild("Motor")==nil do wait() end local storeWeld=sp.Handle.Motor local HoseSound function playsound(soundname) if sou...
1,248
Roblox/gear
Roblox-gear-28b88df/src/gear/820013867/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/820013867/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,279
Roblox/gear
Roblox-gear-28b88df/src/gear/82357079/src/Client.client.luau
luau
.luau
local Player = game:GetService("Players").LocalPlayer local Mouse = Player:GetMouse() local Tool = script.Parent local Remote = Tool:WaitForChild("Remote") local CAS = game:GetService("ContextActionService") local ActionName = "RiotShield" local WalkTrack function playAnimation(animationName, fadeTime, weight, spee...
424
Roblox/gear
Roblox-gear-28b88df/src/gear/82357079/src/Server.server.luau
luau
.luau
local Tool = script.Parent local Handle = Tool:WaitForChild("Handle") local Remote = Tool:WaitForChild("Remote") local ClubMeshData = "http://www.roblox.com/asset/?id=82264918" local ClubTextureData = "http://www.roblox.com/asset/?id=82265067" local ShieldMeshData = Handle:WaitForChild("Mesh").MeshId local ShieldText...
1,015
Roblox/gear
Roblox-gear-28b88df/src/gear/82357079/src/SlowScript/init.server.luau
luau
.luau
local Human = script.Parent local Percent = script:WaitForChild("Percentage") local Duration = script:WaitForChild("Duration") local Delta = Human.WalkSpeed * Percent.Value Human.WalkSpeed = Human.WalkSpeed - Delta wait(Duration.Value) Human.WalkSpeed = Human.WalkSpeed + Delta game:GetService("Debris"):AddItem(script...
81
Roblox/gear
Roblox-gear-28b88df/src/gear/82357101/src/Client.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 Prison = Tool.Handle local vCharacter local vTorso local vHumanoid local vPlayer local PlayerGui local Help_Gui local Help_Frame local Help_TextLabe...
854
Roblox/gear
Roblox-gear-28b88df/src/gear/82357101/src/Server/CellScript.server.luau
luau
.luau
----------------- local Target = script:FindFirstChild("Target") if not Target then script:Destroy() end Target = Target.Value local Humanoid = Target:FindFirstChildOfClass("Humanoid") Humanoid:UnequipTools() local Stop = false coroutine.wrap(function() repeat Humanoid.JumpPower = 0 Humanoid.WalkSpeed = 0 ...
715
Roblox/gear
Roblox-gear-28b88df/src/gear/82357101/src/Server/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 Tool = script.Parent local Handle = Tool:WaitForChild("Handle",10) local MouseClick = Tool:WaitForCh...
646
Roblox/gear
Roblox-gear-28b88df/src/gear/82357123/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent function updateicon() if themouse~=nil then if sp.Enabled then themouse.Icon="rbxasset://textures\\GunCursor.png" else themouse.Icon="rbxasset://textures\\GunWaitCursor.png" end end end function onEquipped(mouse) if mouse~=nil then themouse=mouse end up...
117
Roblox/gear
Roblox-gear-28b88df/src/gear/82357123/src/Pain/Script.server.luau
luau
.luau
script.Parent.Transparency=1
6
Roblox/gear
Roblox-gear-28b88df/src/gear/82357123/src/Script/GetTasedBro/Trippy.client.luau
luau
.luau
while true do script.Parent:ChangeState(Enum.HumanoidStateType.FallingDown) local torso = script.Parent:FindFirstChild("Torso") or script.Parent:FindFirstChild("UpperTorso") if torso then script.Parent.Torso.RotVelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2*30 end wait(1) end
88
Roblox/gear
Roblox-gear-28b88df/src/gear/82357123/src/Script/GetTasedBro/init.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent taseduration=7 rate=.5 local s=Instance.new("Sound") s.SoundId="http://www.roblox.com/asset/?id=82277505" s.Looped=true joints={} local t=sp:FindFirstChild("HumanoidRootPart") if t~=nil then s.Parent=t s:Play() for i,v in ipairs(t:GetChildren()) do if v.className=="Motor" ...
320
Roblox/gear
Roblox-gear-28b88df/src/gear/82357123/src/Script/init.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent powertime=3 equipped=false powered=false while sp:FindFirstChild("ElectricWeld")==nil do wait() end local storeweld=sp.ElectricWeld local initCF = storeweld.C0 sp.Handle.Touched:connect(function(hit) if hit~=nil and powered then local eh=hit.Parent:FindFirstChild("Humanoi...
569
Roblox/gear
Roblox-gear-28b88df/src/gear/82358339/src/BadgeScript/FreezeScript.client.luau
luau
.luau
local duration = 4.5 local RightShoulder local LeftShoulder local RightHip local LeftHip function moveJump() if RightShoulder then --RightShoulder.CurrentAngle = 3.14+math.random()-.5 RightShoulder.MaxVelocity = 0.5 RightShoulder:SetDesiredAngle(3.14) end if LeftShoulder then --LeftShoulder....
457
Roblox/gear
Roblox-gear-28b88df/src/gear/82358339/src/BadgeScript/init.server.luau
luau
.luau
local function WaitForChild(parent,name) while not parent:FindFirstChild(name) do parent.ChildAdded:wait() end return parent:FindFirstChild(name) end local reloadTime = 8 local Tool = script.Parent local freezeScript = WaitForChild(script,"FreezeScript") local running = false function onAct...
337
Roblox/gear
Roblox-gear-28b88df/src/gear/82358339/src/Local Gui.client.luau
luau
.luau
--By QuantumSama Tool = script.Parent local checkConnection local userMouse function CheckEnabled() if userMouse ~= nil then if Tool.Enabled then userMouse.Icon = "rbxasset://textures\\GunCursor.png" else userMouse.Icon = "rbxasset://textures\\GunWaitCursor.png" end end end function onE...
167
Roblox/gear
Roblox-gear-28b88df/src/gear/82707568/src/SwordScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be ...
2,606
Roblox/gear
Roblox-gear-28b88df/src/gear/82707577/src/ShotScript/init.server.luau
luau
.luau
function WaitFor(name) while not script:FindFirstChild(name) do script.ChildAdded:wait() end return script[name].Value end --get vars local cframe = WaitFor('cframe') local creator = WaitFor('creator') --get my humanoid local myHum = creator.Character:FindFirstChild('Humanoid') --main effect code --...
2,175
Roblox/gear
Roblox-gear-28b88df/src/gear/82707577/src/SlashScript/init.server.luau
luau
.luau
--failsafe Delay(30, function() script:Destroy() end) function WaitFor(name) while not script:FindFirstChild(name) do script.ChildAdded:wait() end return script[name].Value end --get vars local position = WaitFor('position') local creator = WaitFor('creator') --main effect code function MakeSnakeB...
1,489
Roblox/gear
Roblox-gear-28b88df/src/gear/82711866/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 ...
608
Roblox/gear
Roblox-gear-28b88df/src/gear/82711866/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...
584
Roblox/gear
Roblox-gear-28b88df/src/gear/82711870/src/DogAIScript/init.client.luau
luau
.luau
while script:FindFirstChild("Dog") == nil do wait() end local projectile = Instance.new("Part") projectile.FormFactor = 3 projectile.Size = Vector3.new(1, 1, 1) projectile.Name = "Projectile" projectile.CanCollide = false local projectileMesh = Instance.new("SpecialMesh") projectileMesh.MeshId = "http://www.roblox....
2,675
Roblox/gear
Roblox-gear-28b88df/src/gear/82711870/src/DogScript.server.luau
luau
.luau
local Tool = script.Parent local Dog = Tool.Handle local vCharacter local myTorso local myHumanoid Tool.Enabled = true local petDog local debris = game:GetService("Debris") local summonSound function summonDog() if myTorso and myHumanoid then summonSound = Dog:FindFirstChild("LetItBegin") if summonSound...
773
Roblox/gear
Roblox-gear-28b88df/src/gear/82711870/src/GuiScript.client.luau
luau
.luau
local Tool = script.Parent local Lantern = Tool.Handle local vCharacter local vPlayer local sg local frame function onEquipped() vCharacter = Tool.Parent vPlayer = game.Players:GetPlayerFromCharacter(vCharacter) if vPlayer then local playerGui = vPlayer:FindFirstChild("PlayerGui") if playe...
462
Roblox/gear
Roblox-gear-28b88df/src/gear/83021217/src/LocalScript.client.luau
luau
.luau
local Tool = script.Parent local GetMousePosition = Tool:WaitForChild("GetMousePosition") local LastUse = Tool:WaitForChild("LastUse") local CurrentMouse = nil local COOLDOWN_TIME = 3 function GetMousePosition.OnClientInvoke() if not CurrentMouse then return Vector3.new(0, 0, 0) end return CurrentMouse.Hit.p end ...
282
Roblox/gear
Roblox-gear-28b88df/src/gear/83021217/src/Old.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent firerate=3 power=150 rate=1/30 damage=55 debris=game:GetService("Debris") equipped=false check=true sharkids={82821384,82843647,82821384,82843712} function onEquipped(mouse) equipped=true if mouse~=nil then mouse.Icon="rbxasset://textures\\GunCur...
980
Roblox/gear
Roblox-gear-28b88df/src/gear/83021217/src/Script.server.luau
luau
.luau
local Debris = game:GetService("Debris") local Tool = script.Parent local Handle = Tool.Handle local Sound = Handle:FindFirstChild("Sound") local GetMousePosition = Instance.new("RemoteFunction") GetMousePosition.Name = "GetMousePosition" GetMousePosition.Parent = Tool local Player = nil local Character = nil local...
1,258
Roblox/gear
Roblox-gear-28b88df/src/gear/83021236/src/ProjectileScript/ShurikenPierceScript.server.luau
luau
.luau
local vCharacter = script.Parent local myTorso = vCharacter:FindFirstChild("Torso") local myHumanoid = vCharacter:FindFirstChild("Humanoid") if myTorso == nil or myHumanoid == nil then script:Remove() end local duration = 7.0 while duration > 0 do myHumanoid:TakeDamage(4.0) duration = duration - wai...
109
Roblox/gear
Roblox-gear-28b88df/src/gear/83021236/src/ProjectileScript/init.server.luau
luau
.luau
ball = script.Parent damage = 9 hitSound = Instance.new("Sound") hitSound.Name = "hitSound" hitSound.SoundId = "http://www.roblox.com/asset/?id=11945266" hitSound.Parent = ball hitSound.Volume = 1 while script:FindFirstChild("ShurikenPierceScript") == nil do wait() end function onTouched(hit) print(...
325
Roblox/gear
Roblox-gear-28b88df/src/gear/83021236/src/StarFish.server.luau
luau
.luau
local Tool = script.Parent local Char = Tool.Parent local torso = nil local RightShoulder = nil local RightArm = nil local reload = 1 local numNeedles = 5 local debris = game:GetService("Debris") Tool.Enabled = true function fire(dPos) local character = Tool.Parent if character == nil then re...
1,137
Roblox/gear
Roblox-gear-28b88df/src/gear/83021250/src/Script/BlindScript.server.luau
luau
.luau
--Rescripted by Luckymaxer --Fixed by TakeoHonorable Creator = script:WaitForChild("Creator") Character = script.Parent Humanoid = Character:FindFirstChildOfClass("Humanoid") Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") Players = game:GetService("Players") Debris = game:GetServ...
557
Roblox/gear
Roblox-gear-28b88df/src/gear/83021250/src/Script/init.server.luau
luau
.luau
--Rescripted by Luckymaxer --Fixed by TakeoHonorable function Create(ty) return function(data) local obj = Instance.new(ty) for k, v in pairs(data) do if type(k) == 'number' then v.Parent = obj else obj[k] = v end end return obj end end Tool = script.Parent Tool.Enabled = true Handle = Tool...
2,168
Roblox/gear
Roblox-gear-28b88df/src/gear/834681446/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") Module = require(185791213) GuitarDanceScript = script:WaitForChild("GuitarDanceScript") Sounds = { S1 = Handle:WaitForChild("S1"), S2 = Handle:WaitForChild...
1,800
Roblox/gear
Roblox-gear-28b88df/src/gear/835779898/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,260
Roblox/gear
Roblox-gear-28b88df/src/gear/835780770/src/Script/Remover.server.luau
luau
.luau
--Made by Luckymaxer Debris = game:GetService("Debris") Creator = script:FindFirstChild("Creator") 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 end Debris:AddItem(script, 1) if scri...
238
Roblox/gear
Roblox-gear-28b88df/src/gear/835780770/src/Script/init.server.luau
luau
.luau
local Debris = game:GetService("Debris") local Players = game:GetService("Players") local Module = require(191816425) local Tool = script.Parent local Handle = Tool.Handle local Remover = script:WaitForChild("Remover") local Player = nil local Character = nil local Torso = nil local Humanoid = nil local Mount = ni...
627
Roblox/gear
Roblox-gear-28b88df/src/gear/83704154/src/SwordScript.server.luau
luau
.luau
local tool = script.Parent local handle = tool.Handle tool.Enabled = true local damage = 15 local TorsoDmg = 80 local slashSound = Instance.new("Sound") slashSound.SoundId = "rbxasset://sounds\\swordaxe.wav" slashSound.Volume = 0.7 slashSound.Parent = tool local vCharacter function Color(r, g, b)...
1,096
Roblox/gear
Roblox-gear-28b88df/src/gear/83704165/src/SwordScript/IceEffect/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Head = Character:FindFirstChild("Head") Players = game:GetService("Players") Debris = game:GetService("Debris") Player = Players:GetPlayerFromCharacter(Character) Creator = script:FindFirstChild("Creator") Sounds =...
1,184
Roblox/gear
Roblox-gear-28b88df/src/gear/83704165/src/SwordScript/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") BaseUrl = "http://www.roblox.com/asset/?id=" Grips = { Up = CFrame.new(0, 0, -0....
1,597
Roblox/gear
Roblox-gear-28b88df/src/gear/83704169/src/LocalSwordScript.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\\GunWaitCursor.png" wait(.5) mouse.Icon = "rbxasset://textures\\GunCursor.png" enabled = true end function onKeyDown( key ) key = key...
233
Roblox/gear
Roblox-gear-28b88df/src/gear/83704169/src/SwordScript.server.luau
luau
.luau
-- by QuantumSama -- creates a defensive orb local r = game:service("RunService") local debris = game:GetService("Debris") sword = script.Parent.Handle Tool = script.Parent local damage = 5 local default_damage = 5 local slash_damage = 10 local lunge_damage = 19 --also projectile damage local lastOrbTime = 0 loca...
2,112