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/728207067/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
3,576
Roblox/gear
Roblox-gear-28b88df/src/gear/73089166/src/nstamperScript/README.client.luau
luau
.luau
--[[ New Stamper UpdateLog: 4/16/2013-initial release How to add user sets: add user IDs as intValue's in the Users model to add all sets related to that user How to add induvidual sets: add set IDs as intValue's in the Sets model How to make custom sets: add models under the Sets model, containing intV...
178
Roblox/gear
Roblox-gear-28b88df/src/gear/73089166/src/nstamperScript/init.client.luau
luau
.luau
----------------------- --[[RBXStamper code]]-- ----------------------- --consiter exporting to own file later local RBXStamper = {} do -- Do a line/plane intersection. The line starts at the camera. The plane is at y == 0, normal(0, 1, 0) -- -- vectorPos - End point of the line. -- -- Return: -- cellPos - Th...
33,143
Roblox/gear
Roblox-gear-28b88df/src/gear/73089190/src/DeleteScript.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:FindFirstChild(name) do instance.ChildAdded:wait() end end function waitForProperty(instance, name) while not instance[name] do instance.Changed:wait() end end -- locals local RbxStamper = LoadLibrary("RbxStamper") if not RbxStamper...
2,354
Roblox/gear
Roblox-gear-28b88df/src/gear/73089204/src/CloneScript.client.luau
luau
.luau
-- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end function waitForProperty(instance, name) while not instance[name] do instance.Changed:wait() end end function getPlayer() waitForProperty(game.Players,"LocalPlayer") return ...
4,375
Roblox/gear
Roblox-gear-28b88df/src/gear/73089214/src/RotateScript.client.luau
luau
.luau
-- NOTES: -- NEEDS: -- X 1.) Make single blocks rotate always (they rotate 2x, then seem to think of themselves as blockers of themselves... whaaa?) -- X 2.) Make scripts continue to work through rotations (or else error on any objects which can't be rotated... prehaps elevators?) -- ...
4,563
Roblox/gear
Roblox-gear-28b88df/src/gear/73089229/src/RecentScript/init.client.luau
luau
.luau
print("start recent parts") -- basic functions function waitForChild(instance, name) while not instance:findFirstChild(name) do instance.ChildAdded:wait() end end function waitForProperty(instance, name) while not instance[name] do instance.Changed:wait() end end function getPlayer() waitForProperty(game.Pl...
4,177
Roblox/gear
Roblox-gear-28b88df/src/gear/73089239/src/ConfigurationLocal.client.luau
luau
.luau
-- general functions function waitForProperty(instance, name) while not instance[name] do instance.Changed:wait() end end function waitForChild(instance, name) while not instance:FindFirstChild(name) do instance.ChildAdded:wait() end end local RbxGui if LoadLibrary then RbxGui = LoadLibrary("RbxGui") else re...
9,232
Roblox/gear
Roblox-gear-28b88df/src/gear/73089259/src/DestroyScript/init.server.luau
luau
.luau
local destroyObject = function(object) if object and object.Value then object.Value:Destroy() object:Destroy() end end script.ChildAdded:connect(function(child) if child:IsA("ObjectValue") and child.Name == "ObjectToDestroy" then destroyObject(child) end end)
66
Roblox/gear
Roblox-gear-28b88df/src/gear/73089259/src/WiringScript.client.luau
luau
.luau
function waitForChild(parent, child) while not parent:FindFirstChild(child) do parent.ChildAdded:wait() end end local Tool = script.Parent local mouseMoveCon, mouseButtonDownCon = nil local eventTable = {} local receiverTable = {} local ServiceConnections = {} local adornmentTable = {} local eventB...
10,301
Roblox/gear
Roblox-gear-28b88df/src/gear/73232786/src/BurnScript.server.luau
luau
.luau
local damage = 2 local interval = 0.5 local Debris = Game:GetService("Debris") local BodyPart = script.Parent local Humanoid do if BodyPart.Parent then for i,v in pairs(BodyPart.Parent:GetChildren()) do if v:IsA"Humanoid" then Humanoid = v break end end end end if Humanoid then ...
279
Roblox/gear
Roblox-gear-28b88df/src/gear/73232786/src/MainClient.client.luau
luau
.luau
script.Parent.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() script.Parent.Remote:FireServer('MB1Down') end) mouse.Button1Up:connect(function() script.Parent.Remote:FireServer('MB1Up') end) end)
56
Roblox/gear
Roblox-gear-28b88df/src/gear/73232803/src/Client/ShieldUI/Frame/Shape/Progress/ProgressColor/Rescale.client.luau
luau
.luau
local Main = script.Parent local ScaleRep = script.Parent.Parent.Parent ScaleRep:GetPropertyChangedSignal("AbsoluteSize"):Connect(function() Main.Size = UDim2.new(0,ScaleRep.AbsoluteSize.X,0,ScaleRep.AbsoluteSize.Y+1) end)
56
Roblox/gear
Roblox-gear-28b88df/src/gear/73232803/src/Client/init.client.luau
luau
.luau
--Rescripted by TakeoHonorable --This script doesn't really initiate until the Motor6D has been sucessfully added local Game = game local FindService,GetService = Game.FindService,Game.GetService local wrap,udim2,floor,Pairs,Tick,Instant,Type,Vec3,huge,Wait = coroutine.wrap,UDim2.new,math.floor,pairs,tick,Instance.n...
1,263
Roblox/gear
Roblox-gear-28b88df/src/gear/73232803/src/Server/DashEffect.client.luau
luau
.luau
--For Dragon Slayer's Sword & Shield --Makes an after-image effect when dashing local Self = script local Game = game local Wait,Instant,Pairs,Type = wait,Instance.new,pairs,type --local Mat = Enum.Material.Plastic local Camera = workspace.CurrentCamera local SpawnRate = 1/30 local Character = Self:WaitForChild(...
530
Roblox/gear
Roblox-gear-28b88df/src/gear/73232803/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Motorizes grip for better looking sword animations local Properties = { MaxShieldDurability = 400, ShieldRegenerationIncrement = 5, ShieldRegenerationTime = .5, Damage = 15 } local Self = script local Tool = Self.Parent local Handle = Tool:WaitForChild("Handle") local ShieldUI...
2,533
Roblox/gear
Roblox-gear-28b88df/src/gear/73232825/src/ScreamerScript/DamageHelper.server.luau
luau
.luau
while not script.Parent:FindFirstChild('TargetModel') do script.Parent.ChildAdded:wait() end local Target = script.Parent.TargetModel.Value local hum = Target:FindFirstChild('Humanoid') if hum then for i = 1, 17 do hum:TakeDamage(2) wait(0.07) end end
76
Roblox/gear
Roblox-gear-28b88df/src/gear/73232825/src/ScreamerScript/init.client.luau
luau
.luau
while not script:FindFirstChild('DamageHelper') do script.ChildAdded:wait() end while not script:FindFirstChild('EndTime') do script.ChildAdded:wait() end script.DamageHelper.Disabled = false while not script:FindFirstChild('TargetModel') do script.ChildAdded:wait() end local Target = script:FindFirstChild...
558
Roblox/gear
Roblox-gear-28b88df/src/gear/73265108/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Cannon = Tool.Handle local vCharacter local myTorso local myHumanoid local cannonWalkAnim local chargeCannon function charge(key) if key:lower() == "q" then chargeCannon = Tool:FindFirstChild("ChargeCannon") if chargeCannon and chargeCannon.Value == false th...
233
Roblox/gear
Roblox-gear-28b88df/src/gear/73799243/src/RaygunScript.server.luau
luau
.luau
local Tool = script.Parent local Gun = Tool.Handle Tool.Enabled = true local minRange = 2 local maxRange = 600 local damage = 20 local gunSound ray = Instance.new("Part") ray.FormFactor = 3 ray.Shape = "Ball" ray.Size = Vector3.new(0.2, 0.2, 0.2) ray.CanCollide = false ray.Transparency = 0.7 b...
760
Roblox/gear
Roblox-gear-28b88df/src/gear/73799348/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Axe = Tool.Handle local slashAnim local twoHandAnim local vCharacter function onActivated() vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") if myHumanoid == nil then return end slashAnim = myHumanoid:LoadAnimation(Tool.AxeSlash) ...
221
Roblox/gear
Roblox-gear-28b88df/src/gear/73799348/src/AxeScript.server.luau
luau
.luau
local Tool = script.Parent local Axe = Tool.Handle Tool.Enabled = true local damage = 12 local staticDamage = 12 local swingDamage = 18 local torsoDamage = 40 local debris = game:GetService("Debris") local axeSound = Instance.new("Sound") axeSound.SoundId = "rbxasset://sounds\\swordaxe.wav" axeSo...
761
Roblox/gear
Roblox-gear-28b88df/src/gear/73829193/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 = (...
458
Roblox/gear
Roblox-gear-28b88df/src/gear/73829193/src/Server/SONARServer/Reveal/init.server.luau
luau
.luau
local Character = script.Parent local Center = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso") or Character:FindFirstChild("HumanoidRootPart") if not Center then script:Destroy() end local Marking = script:WaitForChild("Indicator",10):WaitForChild("Marking",10) local Services = { RunSer...
186
Roblox/gear
Roblox-gear-28b88df/src/gear/73829193/src/Server/SONARServer/SONARClient.client.luau
luau
.luau
local Tint = script:WaitForChild("SONARTint",10) local TintFound = workspace.CurrentCamera:FindFirstChild(Tint.Name) if TintFound then return end Tint.Parent = workspace.CurrentCamera
46
Roblox/gear
Roblox-gear-28b88df/src/gear/73829193/src/Server/init.server.luau
luau
.luau
--Rescripted by TakeoHonorable --Revamped Periastrons: The Periastron of SONAR seeking (Grimgold) 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 See...
1,949
Roblox/gear
Roblox-gear-28b88df/src/gear/73829214/src/LocalSpearScript.client.luau
luau
.luau
local Tool = script.Parent local Spear = Tool.Handle local vCharacter local myTorso local myHumanoid Tool.Enabled = true local slashAnim local debris = game:GetService("Debris") local damage = 21 local runService = game:service("RunService") local dashTime = 0 local lastKeyDown = 0 local ...
1,295
Roblox/gear
Roblox-gear-28b88df/src/gear/73888479/src/GrenadeScript.client.luau
luau
.luau
local Tool = script.Parent local Grenade = Tool.Handle local vCharacter local myTorso local myHumanoid local vPlayer local throwAnim Tool.Enabled = true local boomSound local debris = game:GetService("Debris") local spikePart = Instance.new("Part") spikePart.FormFactor = 3 spikePart.Size = Ve...
1,101
Roblox/gear
Roblox-gear-28b88df/src/gear/738924664/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") UserInputService = game:GetService("UserInputService") Animations = {} Remotes = Tool:WaitForChild("Remotes") ServerControl = Remotes:WaitForChild("ServerControl") ClientControl = Remotes:WaitForChild...
749
Roblox/gear
Roblox-gear-28b88df/src/gear/738924664/src/Script/ProjectileScript.server.luau
luau
.luau
--Made by Luckymaxer Part = script.Parent Mesh = Part:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BaseUrl = "http://www.roblox.com/asset/?id=" Creator = Part:WaitForChild("Creator") Damage = Part:Wait...
491
Roblox/gear
Roblox-gear-28b88df/src/gear/738925737/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") InsertService = game:GetService("InsertService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be ...
2,649
Roblox/gear
Roblox-gear-28b88df/src/gear/743687369/src/Script.server.luau
luau
.luau
local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local Tool = script.Parent local Handle = Tool.Handle local Trail = Handle:FindFirstChild("Trail") local LightAttachment = Handle:FindFirstChild("Light") local SpotLight = LightAttachment:FindFirstChildOfClass("SpotLight")...
1,663
Roblox/gear
Roblox-gear-28b88df/src/gear/743691009/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Players = game:GetService("Players") local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctio...
607
Roblox/gear
Roblox-gear-28b88df/src/gear/743692189/src/LocalScript.client.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") UserInputService = game:GetService("UserInputService") Animations = {} LocalObjects = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("Clie...
1,328
Roblox/gear
Roblox-gear-28b88df/src/gear/743692189/src/Script.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") TweenService = game:GetService("TweenService") LaserTweenInfo = TweenInfo.new( 1, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out ) BaseUrl = "rbxassetid://" Animations = { LeftS...
1,468
Roblox/gear
Roblox-gear-28b88df/src/gear/743692715/src/Script/DamageScript.server.luau
luau
.luau
Weight = script.Parent Pole = Weight:WaitForChild("Pole") Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = script:WaitForChild("Creator") Damage = script:WaitForChild("Damage") Sounds = { HitGround = Pole:WaitForChild("HitGround") } function IsTeamMate(Player1, Player2) return (Pl...
510
Roblox/gear
Roblox-gear-28b88df/src/gear/743692715/src/Script/init.server.luau
luau
.luau
Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") BaseUrl = "http://www.roblox.com/asset/?id=" BasePart = Instance.new("Part") BasePart.Shape = Enum.PartType.Block BasePart.Material = Enum.Material.Plastic BasePart.TopSurface = Enum.Surf...
2,806
Roblox/gear
Roblox-gear-28b88df/src/gear/74385386/src/BladeScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Damage = { ThrowDamage = 16, HitDamage = 22 } Animations = { Tool:WaitForChild("Slash"), Tool:WaitForChild("SlashV2") } MaxDistance = 45 AwayFromCharacte...
1,422
Roblox/gear
Roblox-gear-28b88df/src/gear/74385386/src/ThrowScript.client.luau
luau
.luau
--Rescripted by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") Animations = {} ServerControl = Tool:WaitForChild("ServerControl") ClientControl = Tool:WaitForChild("ClientControl") ClientControl.OnClientInvoke = (function...
420
Roblox/gear
Roblox-gear-28b88df/src/gear/74385399/src/BombScript.server.luau
luau
.luau
local Tool = script.Parent local Remote = Tool.Handle local vCharacter local myTorso local myHumanoid local RE = Tool:WaitForChild("RemoteEvent") Tool.Enabled = true local c4Clone,c4Touch local exploded local debris = game:GetService("Debris") local players = game:GetService("Players") function IsTeamMate(...
1,455
Roblox/gear
Roblox-gear-28b88df/src/gear/74385399/src/GuiScript.client.luau
luau
.luau
local Tool = script.Parent local Lantern = Tool.Handle local vCharacter local vPlayer local sg local frame local genericTextLabel local CAS = game:GetService("ContextActionService") local ActionName = "RemoteDetonator" local RE = Tool:WaitForChild("RemoteEvent") function onAction(actionName, inputState, input...
673
Roblox/gear
Roblox-gear-28b88df/src/gear/74385418/src/LauncherScript.server.luau
luau
.luau
local Tool = script.Parent local Cannon = Tool.Handle local debris = game:GetService("Debris") Tool.Enabled = true 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.Name ="RocketClone" local rocketMesh = Instance...
1,925
Roblox/gear
Roblox-gear-28b88df/src/gear/74385418/src/RapidFireScript.client.luau
luau
.luau
local Tool = script.Parent local Cannon = Tool.Handle local vCharacter local myTorso local myHumanoid function toggleRapidFire(key) if key:lower() == "q" then local rapidFire = Tool:FindFirstChild("RapidFire") if rapidFire and rapidFire.Value == false then rapidFire.Value = true end en...
155
Roblox/gear
Roblox-gear-28b88df/src/gear/74385438/src/FloatScript.server.luau
luau
.luau
local character = script.Parent while character:FindFirstChild("Torso") == nil or character:FindFirstChild("Humanoid") == nil do wait() end local debris = game:GetService("Debris") local torso = character.Torso local humanoid = character.Humanoid function computeMass(obj) local children local mass = 0...
290
Roblox/gear
Roblox-gear-28b88df/src/gear/74385438/src/GrenadeScript.client.luau
luau
.luau
local Tool = script.Parent local Grenade = Tool.Handle local vCharacter local myTorso local myHumanoid local vPlayer local throwAnim Tool.Enabled = true local boomSound local debris = game:GetService("Debris") local spikePart = Instance.new("Part") spikePart.FormFactor = 3 spikePart.Size = Ve...
1,164
Roblox/gear
Roblox-gear-28b88df/src/gear/746686384/src/FlightControl.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") Rate = (1 / 60) CameraSpeed = { X = 20, Z = 25, } Controls = { Forward = { Mode = false, Keys = {Key = "w", ByteKey = 17} }, Backward = { Mode = ...
1,609
Roblox/gear
Roblox-gear-28b88df/src/gear/746686384/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Mesh = Handle:WaitForChild("Mesh") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) ...
2,457
Roblox/gear
Roblox-gear-28b88df/src/gear/746687364/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,178
Roblox/gear
Roblox-gear-28b88df/src/gear/746687364/src/Script/Functions.luau
luau
.luau
--Made by Luckymaxer 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 that gives us the nice Create'string'{data} syntax --The fi...
1,424
Roblox/gear
Roblox-gear-28b88df/src/gear/746687364/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") RunService = game:GetService("RunService") BaseUrl = "http://www.roblox.com/asset/?id=" Functions = require(script:WaitForChild("Functions")) BasePart = Instance.ne...
5,183
Roblox/gear
Roblox-gear-28b88df/src/gear/74904387/src/LocalScript.client.luau
luau
.luau
--Stickmasterluke sp=script.Parent dist=100 rate=1/30 local debris=game:GetService("Debris") equipped=false function onEquipped(mouse) equipped=true if mouse~=nil then mouse.Button1Down:connect(function() local chr=sp.Parent if chr and sp.Enabled then local t=chr:FindFirstChild("T...
755
Roblox/gear
Roblox-gear-28b88df/src/gear/74904387/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent local debris=game:GetService("Debris") check=true prizes={41457719,17407931,61916132,38861951} sp.Touched:connect(function(hit) if hit and hit.Parent~=nil and check then local h=hit.Parent:FindFirstChild("Humanoid") if h~=nil then check=false game:GetS...
378
Roblox/gear
Roblox-gear-28b88df/src/gear/74904396/src/Script/ResizeScript.server.luau
luau
.luau
--Made by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChildOfClass("Humanoid") Debris = game:GetService("Debris") ResizeModule = require(201433042) Duration = script:FindFirstChild("Duration") function DestroyScript() Debris:AddItem(script, 1) end if not Humanoid or not Duration then Dest...
168
Roblox/gear
Roblox-gear-28b88df/src/gear/74904396/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") ResizeScript = script:WaitForChild("ResizeScript") ShrinkFactor = 0.5 Duration = 30 Animations = { DrinkR6 = {Animation = Tool:WaitForChild("DrinkR6"), FadeT...
685
Roblox/gear
Roblox-gear-28b88df/src/gear/74904413/src/Local Gui.client.luau
luau
.luau
--Stickmasterluke local sp=script.Parent local sword=sp.Handle local debris=game:GetService("Debris") cooldown=10 enabled=true lastlunge=tick() lastwdown=tick() local LungeSound=Instance.new("Sound") LungeSound.SoundId="rbxasset://sounds\\swordlunge.wav" LungeSound.Parent=sword LungeSound.Volume=...
1,065
Roblox/gear
Roblox-gear-28b88df/src/gear/74904413/src/SwordScript.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent r=game:service("RunService") local basedamage=4 local slashdamage=10 local damage=basedamage sword=sp.Handle local SlashSound=Instance.new("Sound") SlashSound.SoundId="rbxasset://sounds\\swordslash.wav" SlashSound.Parent=sword SlashSound.Volume=.7 local Unsh...
661
Roblox/gear
Roblox-gear-28b88df/src/gear/74972442/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 playerGui and playe...
457
Roblox/gear
Roblox-gear-28b88df/src/gear/74972442/src/LeprechaunAIScript/init.client.luau
luau
.luau
while script:FindFirstChild("Leprechaun") == 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....
2,530
Roblox/gear
Roblox-gear-28b88df/src/gear/74972442/src/LeprechaunScript.server.luau
luau
.luau
local Tool = script.Parent local Leprechaun = Tool.Handle local vCharacter local myTorso local myHumanoid Tool.Enabled = true local petLeprechaun local debris = game:GetService("Debris") local summonSound function summonLeprechaun() if myTorso and myHumanoid then summonSound = Leprechaun:FindFirstChild("L...
892
Roblox/gear
Roblox-gear-28b88df/src/gear/754869699/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a stri...
3,043
Roblox/gear
Roblox-gear-28b88df/src/gear/754871615/src/LocalScript.client.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") RunService = game:GetService("RunService") ContextActionService = game:GetService("ContextActionService") UserInputService = game:GetService("UserInputService") Animations = {} LocalObjects = {} Remot...
1,114
Roblox/gear
Roblox-gear-28b88df/src/gear/754871615/src/Script/init.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a string", 2) end --return the proxy function t...
3,978
Roblox/gear
Roblox-gear-28b88df/src/gear/754910297/src/Script.server.luau
luau
.luau
--Made by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Sparkles = Handle:WaitForChild("Sparkles") Players = game:GetService("Players") Debris = game:GetService("Debris") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then...
2,947
Roblox/gear
Roblox-gear-28b88df/src/gear/754930870/src/Script/DarkEffect.server.luau
luau
.luau
--Rescripted by Luckymaxer Character = script.Parent Humanoid = Character:FindFirstChild("Humanoid") Players = game:GetService("Players") Debris = game:GetService("Debris") Player = Players:GetPlayerFromCharacter(Character) Creator = script:FindFirstChild("Creator") BaseColor = BrickColor.new("Really black") DarkP...
1,034
Roblox/gear
Roblox-gear-28b88df/src/gear/754930870/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") RunService = game:GetService("RunService") local function Create_PrivImpl(objectType) if type(objectType) ~= 'string' then error("Argument of Create must be a stri...
2,675
Roblox/gear
Roblox-gear-28b88df/src/gear/75550883/src/ChickenifyScript.server.luau
luau
.luau
while script:FindFirstChild("Scale") == nil do wait() end local vCharacter = script.Parent local myTorso = vCharacter:FindFirstChild("Torso") local myHumanoid = vCharacter:FindFirstChild("Humanoid") local scale = script.Scale local charChildren = vCharacter:GetChildren() local chickenTool = game:GetSer...
257
Roblox/gear
Roblox-gear-28b88df/src/gear/75550907/src/DanceScript/init.client.luau
luau
.luau
--Stickmasterluke wait() sp=script.Parent while script:FindFirstChild("Dance1")==nil or script:FindFirstChild("Dance2")==nil or script:FindFirstChild("DanceSound")==nil do wait() end local h=sp:FindFirstChild("Humanoid") if h~=nil then h.WalkSpeed=0 local dance=h:LoadAnimation(script:FindFirstChil...
200
Roblox/gear
Roblox-gear-28b88df/src/gear/75550907/src/LocalScript.client.luau
luau
.luau
--Made by Stickmasterluke sp=script.Parent plr=game.Players.localPlayer rate=1/30 debris=game:GetService("Debris") equipped=false check=true function checkintangible(hit) if hit and hit~=nil then if hit:IsDescendantOf(sp.Parent) or hit.Transparency>.8 or hit.Name=="Handle" or hit.Name=="Effect" ...
875
Roblox/gear
Roblox-gear-28b88df/src/gear/75550928/src/AnimateScript.client.luau
luau
.luau
-- Sword and shield local Tool = script.Parent local Sword = Tool.Handle Tool.Enabled = true local vCharacter local shieldWeld local shieldWalkAnim local slashAnim local bashAnim local lungeAnim local spinAnim local time local shieldActive local lastAttack = 0 local bashDamage = 8 local conne...
2,228
Roblox/gear
Roblox-gear-28b88df/src/gear/75550928/src/SwordScript.server.luau
luau
.luau
local Tool = script.Parent local Sword = Tool.Handle local shield local shieldMesh local vCharacter local damage = 12 Tool.Enabled = true local debris = game:GetService("Debris") local chanceToBreak = 4 -- Wooden Swords have a 4% of breaking your bones, true story! function blow(hit) -- For the...
868
Roblox/gear
Roblox-gear-28b88df/src/gear/75556791/src/AcceptanceScript/init.client.luau
luau
.luau
function waitForChild(parent, instance) while parent:FindFirstChild(instance) == nil do wait() end return parent:FindFirstChild(instance) end local sGui = script.Parent local frame = waitForChild(sGui, "Challenge Frame") local button = waitForChild(frame, "Challenge Button") local accepted = w...
115
Roblox/gear
Roblox-gear-28b88df/src/gear/75556791/src/CameraHijackScript/init.client.luau
luau
.luau
while script:FindFirstChild("CamJam") == nil do wait() end while script:FindFirstChild("SlapAnim") == nil do wait() end local character = script.Parent local torso = character:FindFirstChild("Torso") local initCF = torso.CFrame local camJam = script.CamJam local slapAnim = script.SlapAnim if ca...
253
Roblox/gear
Roblox-gear-28b88df/src/gear/75556791/src/GloveScript.client.luau
luau
.luau
local Tool = script.Parent local Glove = Tool.Handle local vCharacter local vPlayer local myTorso local myHumanoid local genericTextLabel local sg local frame local otherPlayer local challengeGui = Instance.new("ScreenGui") local challengeAccepted = false local debris = game:GetService("Deb...
3,369
Roblox/gear
Roblox-gear-28b88df/src/gear/75906930/src/DamageScript.server.luau
luau
.luau
local debris = game:service("Debris") pellet = script.Parent damage = 30 function onTouched(hit) humanoid = hit.Parent:findFirstChild("Humanoid") if humanoid~=nil then tagHumanoid(humanoid) humanoid:TakeDamage(damage) else damage = damage / 2 if damage < 1 then connection:disconnect() end ...
219
Roblox/gear
Roblox-gear-28b88df/src/gear/75906930/src/MapScript.client.luau
luau
.luau
local Tool = script.Parent local Gun = Tool.Handle local vCharacter local myTorso local myHumanoid local vPlayer local gunCrossHair local mapFrame local guiSet = false function showMap(key) key = key:lower() if key == "v" or key == "e" then if mapFrame then mapFrame.Visible = true ...
500
Roblox/gear
Roblox-gear-28b88df/src/gear/75906930/src/ProjectileScript.server.luau
luau
.luau
local Tool = script.Parent local VELOCITY = 50 -- constant local loaded=true local Pellet = Instance.new("Part") Pellet.Name="Snowball" Pellet.Locked = true Pellet.BackSurface = 0 Pellet.BottomSurface = 0 Pellet.FrontSurface = 0 Pellet.LeftSurface = 0 Pellet.RightSurface = 0 Pellet.TopSurface = 0 Pellet.Shape = 0 Pel...
1,145
Roblox/gear
Roblox-gear-28b88df/src/gear/75906942/src/WeaponScript.server.luau
luau
.luau
-------- OMG HAX r = game:service("RunService") local damage = 8 local usageCount = 4 local Tool = script.Parent local Weapon = Tool.Handle local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" --SlashSound.Parent = Weapon SlashSound.Volume = .7 local...
824
Roblox/gear
Roblox-gear-28b88df/src/gear/75906973/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctions.GetData("WoodenMallet") local SwordModel...
473
Roblox/gear
Roblox-gear-28b88df/src/gear/75941738/src/HugScript.server.luau
luau
.luau
local Tool = script.Parent; enabled = true s1 = Instance.new("Sound") s1.SoundId = "http://www.roblox.com/asset/?id=75923148" s1.Parent = Tool.Handle s2 = Instance.new("Sound") s2.SoundId = "http://www.roblox.com/asset/?id=75923881" s2.Parent = Tool.Handle s3 = Instance.new("Sound") s3.SoundId = "h...
478
Roblox/gear
Roblox-gear-28b88df/src/gear/76170471/src/Script.server.luau
luau
.luau
--Stickmasterluke sp=script.Parent check=true s1=Instance.new("Sound") s1.SoundId="http://www.roblox.com/asset/?id=76115411" s1.Parent=sp.Handle s2=Instance.new("Sound") s2.SoundId="http://www.roblox.com/asset/?id=76115431" s2.Parent=sp.Handle s3=Instance.new("Sound") s3.SoundId="http://www.robl...
423
Roblox/gear
Roblox-gear-28b88df/src/gear/76170515/src/ParasiteScript/ParasiteAIScript/init.server.luau
luau
.luau
--Rescripted by Luckymaxer Parasite = script.Parent Creator = Parasite:WaitForChild("Creator") Target = Parasite:WaitForChild("Target") Bite = script:WaitForChild("Bite") Players = game:GetService("Players") Debris = game:GetService("Debris") Player = Creator.Value Character = Player.Character Humanoid = Character...
1,160
Roblox/gear
Roblox-gear-28b88df/src/gear/76170515/src/ParasiteScript/init.server.luau
luau
.luau
--Fixed by Luckymaxer Tool = script.Parent Handle = Tool:WaitForChild("Handle") Players = game:GetService("Players") Debris = game:GetService("Debris") InsertService = game:GetService("InsertService") HelpGui = script:WaitForChild("HelpGui") ParasiteAIScript = script:WaitForChild("ParasiteAIScript") ParasiteId = 7...
1,348
Roblox/gear
Roblox-gear-28b88df/src/gear/76262706/src/FlightControl.client.luau
luau
.luau
local Tool = script.Parent local flightPower local flightSpin local flightHold local camSpeedZ = 60 local camSpeedX = 40 local forwards = false local back = false local left = false local right = false local movementHandlerCo local hover = -.1 local wingActive local myTorso local myHuman...
1,156
Roblox/gear
Roblox-gear-28b88df/src/gear/76262706/src/FlyScript.server.luau
luau
.luau
local Tool = script.Parent local Elixir = Tool.Handle local flightSpin local flightPower local flightHold local cooldownCo local vCharacter local myTorso local myHumanoid local fire local wingActive local debris = game:GetService("Debris") Tool.Enabled = true local fireball = Instance....
2,332
Roblox/gear
Roblox-gear-28b88df/src/gear/76262706/src/HunkScript/init.server.luau
luau
.luau
while script:FindFirstChild("Unequipped") == nil do wait() end local unequipped_BoolValue = script.Unequipped local vCharacter = script.Parent local myHumanoid = vCharacter:FindFirstChild("Humanoid") local myTorso = vCharacter:FindFirstChild("Torso") local insertTable = {} local headTable = {} local to...
1,897
Roblox/gear
Roblox-gear-28b88df/src/gear/76596269/src/AnimateScript.client.luau
luau
.luau
local Tool = script.Parent local Bow = Tool.Handle local vCharacter local walkAnim local arrowAnim local spamArrow local co local debounce = false function onKeyDown(key) if key:lower() == "q" then if debounce == false then spamArrow = Tool:FindFirstChild("SpamArrow") if spamArrow then spamArrow.V...
363
Roblox/gear
Roblox-gear-28b88df/src/gear/76596299/src/SwordScript/DecimateScript.server.luau
luau
.luau
--Rescripted by Luckymaxer Players = game:GetService("Players") Debris = game:GetService("Debris") Creator = script:FindFirstChild("Creator") RbxUtility = LoadLibrary("RbxUtility") Create = RbxUtility.Create BasePart = Create("Part"){ Material = Enum.Material.Plastic, Shape = Enum.PartType.Block, TopSurface = En...
1,540
Roblox/gear
Roblox-gear-28b88df/src/gear/76596299/src/SwordScript/init.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 ...
3,137
Roblox/gear
Roblox-gear-28b88df/src/gear/76768897/src/Local Gui.client.luau
luau
.luau
local Tool = script.Parent; local cooldown = 20 local crown1, crown2 = "GoldCrown","NinjaTwinSwords" enabled = true function onButton1Down(mouse) if not enabled then return end enabled = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" wait(1) local reloadTime = Tool.Reload.Value -...
182
Roblox/gear
Roblox-gear-28b88df/src/gear/76768897/src/WeaponScript.server.luau
luau
.luau
--by QuantumSama --egg models being spawned can have problems if scripts are disabled. (my scripts depend on getting -- the initial welds. if those welds are broken the egg won't work) --Must test each egg to be spawned from this --Notes: egg buttons are 40 x 40 and take up 41 pixels across --Variables local...
1,263
Roblox/gear
Roblox-gear-28b88df/src/gear/77443436/src/SwordScript.server.luau
luau
.luau
--// Made by StarWars local Tool = script.Parent local Handle = Tool:FindFirstChild("Handle") if not Handle then return end local Sword = require(754568173) local Player = nil local Character = nil local Humanoid = nil local Torso = nil local SwordData = Sword.SwordFunctions.GetData("Breaker") local SwordModel = Sw...
432
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/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 ...
427
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/LightWarp/BezierCurves.luau
luau
.luau
--[[ This is a bezierCurve module that will perform the Bezier Curve algorithm on any data type that supports basic arithmetic operations. Credit to Magnalite for helping me out. This documentation will describe each bezierCurve function then will explain the interpolation function. --BezierCurve.Linear-- T...
1,612
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/LightWarp/FixCam.client.luau
luau
.luau
local Camera = workspace.CurrentCamera local Services = { Players = (game:FindService("Players") or game:GetService("Players")), RunService = (game:FindService("RunService") or game:GetService("RunService")), } repeat Camera.CameraSubject = game.Players.LocalPlayer.Character Camera.CameraType = Enum.CameraType.Cus...
85
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/LightWarp/TrackOrb.client.luau
luau
.luau
local Tracked_Orb = script:FindFirstChild("TrackedOrb") if not Tracked_Orb or not Tracked_Orb.Value then return end Tracked_Orb = Tracked_Orb.Value local Camera = workspace.CurrentCamera local OldSubject,OldType = Camera.CameraSubject,Camera.CameraType Camera.CameraSubject = Tracked_Orb Camera.CameraType = Enum.Ca...
165
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/LightWarp/init.server.luau
luau
.luau
--Cool Sword of Light transport process local Properties = { TravelTime = 1, OrbSpread = 25 } 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 Char...
1,979
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/SoLDefense/init.server.luau
luau
.luau
--Damage resistance & additive healing for Sword of Light --Scripted by TakeoHonorable local Services = { RunService = (game:FindService("RunService") or game:GetService("RunService")), Debris = (game:FindService("Debris") or game:GetService("Debris")), Lighting = (game:FindService("Lighting") or game:GetService("L...
654
Roblox/gear
Roblox-gear-28b88df/src/gear/77443461/src/Server/TimeChange/init.server.luau
luau
.luau
--Time changer for both Sword of Light & Darkness --Cool aesthetics included 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 Services = { Players = ...
1,318
Roblox/gear
Roblox-gear-28b88df/src/gear/77443491/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 ...
430
Roblox/gear
Roblox-gear-28b88df/src/gear/77443491/src/Server/TimeChange/init.server.luau
luau
.luau
--Time changer for both Sword of Light & Darkness --Cool aesthetics included 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 Services = { Players = ...
1,317