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/168140516/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
print(1);
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
debris = game:GetService("Debris"),
tween = require(script:WaitForChild("b")),
easing = require(script:WaitForChild("e")),
lastHumanoid = nil,
anims = {
script.... | 1,069 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140813/src/LocalScript/fireDeath/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = {
p = game.Players.LocalPlayer,
h = game.Players.LocalPlayer.Character:findFirstChild("Humanoid"),
debris = game:GetService("Debris"),
c = script:WaitForChild("creator")
};
local ff = c.p.Character:findFirstChild("ForceField");
function c.r()
for i,v in ipairs(c.h:GetChildren(... | 244 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140813/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
print(1);
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
debris = game:GetService("Debris"),
lastHumanoid = nil,
anims = {
script.Parent:WaitForChild("OverHeadSwing")
},
sounds = {
script.Parent.Handle:WaitForChild(... | 738 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140813/src/LocalScript/s.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
wait(3);
script.Parent.Fire.Enabled = false;
wait(1);
script.Parent:Destroy();
| 29 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140949/src/LocalScript/fire/death/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = {
p = game.Players.LocalPlayer,
h = game.Players.LocalPlayer.Character:findFirstChild("Humanoid"),
debris=game:GetService("Debris"),
c = script:WaitForChild("creator")
};
function c.r()
for i,v in ipairs(c.h:GetChildren()) do
if v.Name=="creator" then
v:Destroy()
end
en... | 170 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140949/src/LocalScript/fire/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local config = {
object = script.Parent,
debris=game:GetService("Debris"),
creator = script.Parent:WaitForChild("creator"),
};
config.object.Touched:connect(function(hit)
if hit and hit~=nil and hit.Parent~=nil then
local h=hit.Parent:FindFirstChild("Humanoid");
local t=hit.Parent:Fin... | 591 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140949/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
print(1);
local gearConfig = {
gear = script.Parent,
equipped = false,
isSwinging = false,
attackDeb = true,
check = true,
taunting = false,
debris = game:GetService("Debris"),
taunting = script.Parent:WaitForChild("Taunting"),
runAnim = script.P... | 1,193 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140949/src/SwordScript.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = {
gear = script.Parent,
sword = script.Parent:WaitForChild("Handle"),
r=game:service("RunService"),
debris=game:GetService("Debris"),
anims={"RightSlash","LeftSlash","OverHeadSwing"},
taunting = script.Parent:WaitForChild("Taunting"),
sound = script.Parent.Handle:WaitForChild... | 607 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168141301/src/LocalScript/fire/death/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = {
p = game.Players.LocalPlayer,
h = game.Players.LocalPlayer.Character:findFirstChild("Humanoid"),
debris=game:GetService("Debris"),
c = script:WaitForChild("creator")
};
function c.r()
for i,v in ipairs(c.h:GetChildren()) do
if v.Name=="creator" then
v:Destroy()
end
en... | 170 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168141301/src/LocalScript/fire/fix.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local p = game.Players.LocalPlayer;
local h = p.Character:findFirstChild("Humanoid");
if (h ~= nil) then
wait(7+math.random())
h.WalkSpeed = 16;
end | 54 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168141301/src/LocalScript/fire/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local config = {
object = script.Parent,
debris=game:GetService("Debris"),
creator = script.Parent:WaitForChild("creator"),
};
config.object.Touched:connect(function(hit)
if hit and hit~=nil and hit.Parent~=nil then
local h=hit.Parent:FindFirstChild("Humanoid");
local t=hit.Parent:Fin... | 479 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168141301/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
print(1)
local gearConfig = {
gear = script.Parent,
equipped = false,
isSwinging = false,
attackDeb = true,
check = true,
taunting = false,
debris = game:GetService("Debris"),
taunting = script.Parent:WaitForChild("Taunting"),
runAnim = script.Pa... | 1,232 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168141496/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Standing = Tool:WaitForChild("Standing")
JumpPose1 = Tool:WaitForChild("JumpPose1")
JumpPose2 = Tool:WaitForChild("JumpPose2")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Damage = 15
ReloadTime = 2
LastJump =... | 2,187 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142114/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Eat = Tool:WaitForChild("Eat")
IdlePunch = Tool:WaitForChild("IdlePunch")
LeftPunch = Tool:WaitForChild("LeftPunch")
RightPunch = Tool:WaitForChild("RightPunch")
Whack = Handle:WaitForChild("Whack")
Eating = Handle:WaitForChild("Eating")
... | 1,169 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142394/src/Script/NewAnimate/init.client.luau | luau | .luau | function waitForChild(parent, childName)
local child = parent:findFirstChild(childName)
if child then return child end
while true do
child = parent.ChildAdded:wait()
if child.Name==childName then return child end
end
end
local Figure = script.Parent
local Torso = waitForChild(Figure, "Torso")
local RightShou... | 3,716 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142394/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
local GLib = require(206209239)
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
InsertService = game:GetService("InsertService")
SlashSound = Handle:WaitForChild("SlashSou... | 1,700 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142620/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Fire = Tool:WaitForChild("Fire")
Reload = Tool:WaitForChild("Reload")
EquipSound = Handle:WaitForChild("Equip")
ReloadSound = Handle:WaitForChild("Reload")
SwooshSound = Handle:WaitForChild("Swoosh")
Players = game:GetService("Players")
... | 2,025 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142869/src/Script/NewAnimate/init.client.luau | luau | .luau | function waitForChild(parent, childName)
local child = parent:findFirstChild(childName)
if child then return child end
while true do
child = parent.ChildAdded:wait()
if child.Name==childName then return child end
end
end
local Figure = script.Parent
local Torso = waitForChild(Figure, "Torso")
local RightShou... | 4,055 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168142869/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")
NewAnimate = script:WaitForChild("NewAnimate")
ShoeDisplay = Tool:FindFirstChild("ShoeDisplay")
if ShoeDisplay then
ShoeDisplay:Destroy()
end
if not Players:GetPla... | 997 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168143042/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Equip = Tool:WaitForChild("Equip")
FireSound = Handle:WaitForChild("Fire")
FireFunction = Tool:WaitForChild("FireFunction")
Equipped = false
MouseDown = false
Relo... | 1,063 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168143042/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Damage = 5
Projectile = Instance.new("Part")
Projectile.Name = "Projectile"
Projectile.BrickColor = BrickColor.new("Pastel Blue")
Projectile.Material = Enum.Material... | 720 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16895215/src/SwordScript/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,024 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16895215/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, -1.... | 1,346 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16924676/src/OpponentChoose.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local ChooseOpponent = Tool:FindFirstChild("ChooseOpponent") or Instance.new("RemoteEvent")
ChooseOpponent.Name = "ChooseOpponent"
ChooseOpponent.Parent = Tool
local Players = (game:FindService("Players") or game:GetService("Players"))
ChooseOppon... | 201 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16924676/src/TicTac_LocalMain.client.luau | luau | .luau | local clicks = 0
local con = nil
local ChooseOpponent = script.Parent:WaitForChild("ChooseOpponent")
script.Parent.Equipped:Connect(function(mouse)
script.Name = "TicTac_LocalMain_Selected"
--when clicked look for an opponent
con = mouse.Button1Down:Connect(function()
--check for a humanoid
--OR hack for quick... | 312 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16924676/src/TicTac_OpponentCleanup/init.server.luau | luau | .luau | ----------------------------------------------------------------------------
-------- cleans up the opponent's stuff if the player leaves
game.Players.PlayerRemoving:Connect(function(p)
if p == script.Challenger.Value then
script.Cleanup.Value:Destroy()
script:Destroy()
end
end)
| 51 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1694623317/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/1694661592/src/SwordScript.server.luau | luau | .luau | --// Made by StarWars
local Tool = script.Parent
local Handle = Tool:FindFirstChild("Handle")
if not Handle then return end
local Sword = require(754568173)
local Player = nil
local Character = nil
local Humanoid = nil
local Torso = nil
local SwordData = Sword.SwordFunctions.GetData("Cane")
local SwordModel = Sword... | 440 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16951083/src/Script/MindGrapeEffect/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Updated for R15 avatars by StarWars
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
Players = game:GetService("Players")
Debris = game:GetS... | 662 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16951083/src/Script/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BaseUrl = "http://www.roblox.com/asset/?id="
Sounds = {
Drink = Handle:WaitForChild("Drink"),
}
Grips = {
Normal = CFrame.new(0, 1.29999995, 0, 0.217036337,... | 647 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602010/src/LocalScript.client.luau | luau | .luau | local Tool = script.Parent
local UserInputTypes = {
CreateRope = 1;
BreakRope = 2;
}
local UserInputRemoteEvent = script.Parent:WaitForChild("UserInput")
function onButton1Down(mouse)
--print("Local mousedown")
UserInputRemoteEvent:FireServer(UserInputTypes.CreateRope, mouse.Hit.p)
end
function onKeyDown(key)
... | 230 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602010/src/ServerScript.server.luau | luau | .luau | -- A hacked together modification of the Grapple Hook Shot gear
--
local bolts = {}
local maxBolts = 8
local boltLifetime = 10
local currentBolt = nil
local UserInputTypes = {
CreateRope = 1;
BreakRope = 2;
}
local UserInputRemoteEvent = script.Parent:WaitForChild("UserInput")
local maxDistance = 200
local hopU... | 2,583 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602103/src/Animation/init.client.luau | luau | .luau | --------------------
--| WaitForChild |--
--------------------
-- Waits for parent.child to exist, then returns it
local function WaitForChild(parent, childName)
assert(parent, "ERROR: WaitForChild: parent is nil")
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
e... | 295 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602103/src/CreateAndFireRocket/Rocket.server.luau | luau | .luau | -----------------
--| Constants |--
-----------------
local BLAST_RADIUS = 7
local BLAST_PRESSURE = 1000000
local IGNORE_LIST = {rocket = 1, handle = 1, effect = 1, water = 1} -- Rocket will fly through things named these
--NOTE: Keys must be lowercase, values must evaluate to true
--------------------
--| WaitForCh... | 727 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602103/src/CreateAndFireRocket/init.server.luau | luau | .luau | -- RocketPropulsion Fields
local TARGET_RADIUS = 5
local MAX_SPEED = 150--60
local MAX_TORQUE = Vector3.new(40, 40, 0)
local MAX_THRUST = 40000
local THRUST_P = 100--500
local THRUST_D = 5
local DebrisService = Game:GetService('Debris')
local SwooshSound = script:WaitForChild('Swoosh')
local BoomSound = script:WaitFor... | 797 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602103/src/Launcher.client.luau | luau | .luau | -----------------
--| Constants |--
-----------------
local COOLDOWN = 5 -- Seconds until tool can be used again
--------------------
--| WaitForChild |--
--------------------
-- Waits for parent.child to exist, then returns it
local function WaitForChild(parent, childName)
assert(parent, "ERROR: WaitForChild: pare... | 875 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602103/src/VisualizeReload.client.luau | luau | .luau | -----------------
--| Constants |--
-----------------
local ROCKET_MESH_ID = 'http://www.roblox.com/asset/?id=94690081'
local ROCKET_MESH_SCALE = Vector3.new(1, 1, 1)
local ROCKET_SHOW_TIME = 1.5 -- Seconds after animation begins to show the rocket
local ROCKET_HIDE_TIME = 2.2 -- Seconds after animation begins to hid... | 575 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602388/src/ChairScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
SwooshSound = Handle:WaitForChild("Swoosh")
ExplosionSound = Handle:WaitForChild("Explosion")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
KeyControl = (Tool:FindFirstChild("K... | 4,528 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169602388/src/ChairScriptLocal.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
KeyControls = Tool:WaitForChild("KeyControls")
CameraControl = Tool:WaitForChild("CameraControl")
Sit = Tool:WaitForChild("SitAnim")
Camera = game:GetService("Workspace").CurrentCamera
CameraControl... | 333 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169669671/src/RunGlobal_SSTool/init.server.luau | luau | .luau | local Players = Game:GetService('Players')
local RunService = Game:GetService('RunService')
local Character = script.Parent
local Player = Players:GetPlayerFromCharacter(Character)
local ShootFrom = script:WaitForChild('ShootFrom')
local ShootTo = script:WaitForChild('ShootTo')
local IsShooting = script:WaitForChild(... | 2,543 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169669671/src/ToolGlobal.server.luau | luau | .luau | local Players = Game:GetService('Players')
local Tool = script.Parent
local Player, Character, Backpack;
local Equipped = false
local Debounce = false
local RunGlobal_SSTool = Tool:WaitForChild('RunGlobal_SSTool')
local BeginTransform = Tool:WaitForChild('BeginTransform')
local Handle = Tool:WaitForChild('Handle')
l... | 298 |
Roblox/gear | Roblox-gear-28b88df/src/gear/169669671/src/ToolLocal.client.luau | luau | .luau | local Tool = script.Parent
local BeginTransform = Tool:WaitForChild('BeginTransform')
local RunLocal_SSTool = Tool:WaitForChild('RunLocal_SSTool')
local Handle = Tool:WaitForChild('Handle')
local Mesh = Handle:WaitForChild('Mesh')
-- Fix up the grip / mesh from the profile one
Tool.Grip = CFrame.new(-0.4,0,0) * CFra... | 223 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16969792/src/Resize Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/resize_sel.png")
local selectionBox
local selectionLasso
local handles
local previousDistance
function onHandlesDown(normal)
print("handlesDown")
previousDistanc... | 584 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16975388/src/Configuration Local.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/configure_sel.png")
local selectionLasso
local selectionBox
local guiMain
local selectionGui
local hintGui
local valueConnections = {}
local objectValueSelect =... | 6,113 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16979083/src/FlashBangScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent;
local GlassBreak = Instance.new("Sound")
GlassBreak.Name = "GlassBreak"
GlassBreak.SoundId = "http://www.roblox.com/asset/?id=16976189"
GlassBreak.Volume = 1
GlassBreak.Parent = Tool.Handle
function onActivated()
if not Tool.Enabled then
ret... | 437 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16979083/src/Glass.server.luau | luau | .luau | --print("lol")
--Updated for R15 avatars by StarWars
local grenade = script.Parent
local tosser = script.Parent.Tosser.Value
function GetNearbyPlayers(pos, distance)
local players = game.Players:GetPlayers()
local results = {}
for i=1,#players do
if (players[i].Character ~= nil) then
local t = players[i].Cha... | 565 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16979083/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(15)
mouse.Icon = "rbxasset://textures\\GunCursor.png"
enabled = true
end
function onEquippedLocal(mouse)
i... | 140 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986649/src/CrossbowBoltScript.server.luau | luau | .luau | debris = game:GetService("Debris")
bolt = script.Parent
damage = 33
local GLib = require(206209239)
debris:AddItem(bolt, 20)
function stick(hit)
-- joint myself to the thing i hit
local weld = Instance.new("Weld")
weld.Part0 = bolt
weld.Part1 = hit
local HitPos = bolt.Position + (bolt.Velocity.unit * 3) -... | 411 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986649/src/CrossbowLauncher.server.luau | luau | .luau | Tool = script.Parent
function fire(v)
local vCharacter = Tool.Parent
local vPlayer = game.Players:playerFromCharacter(vCharacter)
Tool.Parent.Torso["Right Shoulder"].DesiredAngle = 3 --moves your arm as if firing.
local missile = Tool.Bolt:Clone()
-- find firing direction
local v1 = -Tool.Bolt.CFrame.loo... | 622 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986649/src/InputListener.client.luau | luau | .luau | --[[
Listens for input, ya know
--]]
script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
script.Parent.Fire:FireServer(mouse.Hit.p)
end)
end) | 45 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986649/src/Local Gui.client.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onButton1Down(mouse)
if not enabled then return end
script.Parent.Bolt.Transparency = 1
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(2)
script.Parent.Bolt.Transparency = 0
mouse.Icon = "rbxasset://textures\\G... | 166 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986649/src/WeldScript.server.luau | luau | .luau | local basebolt = require(230095940)
basebolt.Parent = script.Parent
w2 = Instance.new("Weld")
w2.Name = "BoltWeld"
w2.Parent = script.Parent.Handle
w2.Part0 = script.Parent.Handle
w2.Part1 = basebolt
w2.C1 = CFrame.new(0,-.35,-1.6)
| 80 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986805/src/Script/PieScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Pie = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Pie:FindFirstChild("creator")
BodyForce = Pie:FindFirstChild("BodyForce")
BodyGyro = Pie:FindFirstChild("BodyGyro")
HitSound = Pie:FindFirstChild("Hit")
Stuck = false
Damage = 0
funct... | 725 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16986805/src/Script/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")
PieScript = script:WaitForChild("PieScript")
Sounds = {
Fire = Handle:WaitForChild("Fire"),
Hit = Handle:WaitForChild("Hit... | 821 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16987194/src/TeddyScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
s1 = Instance.new("Sound")
s1.SoundId = "http://www.roblox.com/asset/?id=16921115"
s1.Parent = Tool.Handle
s2 = Instance.new("Sound")
s2.SoundId = "http://www.roblox.com/asset/?id=16921154"
s2.Parent = Tool.Handle
s3 = Instance.new("Sound")
s3.SoundId = "h... | 461 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1708354246/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local InsertService = game:GetService("InsertService")
local Tool = script.Parent
local Display = Tool:FindFirstChild("Display")
if Display then
Display:Destroy()
end
local PinataModel = InsertService:LoadAsset(1664679743)
PinataModel = PinataModel:GetChildren()[1]
local GearService = requ... | 108 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1708355542/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,594 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1708355542/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,055 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896461/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false... | 1,110 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896461/src/Script/EatScript/init.client.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Character = Humanoid.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Food = script:WaitForChild("Food").Value
Eat = script:WaitForChild("EatAnim")
R15Eat = script:WaitForChild("R15EatAnim")
function TagHumanoid(humanoid, player)
local Cre... | 399 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896461/src/Script/FoodScript.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = script:WaitForChild("Creator").Value
Duration = script:WaitForChild("Duration").Value
Damage = script:WaitForChild("Damage").Value
function... | 390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896461/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")
BaseUrl = "http://www.roblox.com/asset/?id="
EatScript = script:WaitForChild("EatScript")
FoodScript = script:WaitForChild("FoodScript")
Gravity = workspace.Gravity... | 2,041 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896571/src/Assets.luau | luau | .luau | --Rescripted 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 ... | 2,011 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896571/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--[[ alexnewtron 2014 ]]--
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.... | 3,993 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896571/src/TrailScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.BottomSurface = Enum.SurfaceTyp... | 758 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170896941/src/Handle/PhoenixScript.server.luau | luau | .luau | --Phoenix settings are here
local Aggressive = true --Phoenix will attack enemies
local SmallDamage = 15
local LargeDamage = 25 --Does more damage while tool is equipped
local AttackRange = 40
local ShortReload = 2.5 --Shoots faster if given an assigned area to move to
local LongReload = 4
local EquipReloadBonus = -1.2... | 2,606 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170897263/src/KnifeSetUp.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Module = require(191816425)
ModuleData = Module.GetTable({Key = "TMMKnife"})
Data = ModuleData.GetData({Tool = Tool})
Data.SharpenKnife() | 62 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170902990/src/GearScript/ClientAgent.luau | luau | .luau | -- REMOTE FUNCTION CLIENT AGENT 8-10-14 ALEXNEWTRON
return {
REQUEST_TARGETPOINT = 1,
REQUEST_ANIMATIONS = 2,
REQUEST_PLAYER = 3,
REQUEST_ANIMATIONS_END = 4,
SERVER_PLAY_SOUND = 6,
straight = 7,
done = 8
}; | 75 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170902990/src/GearScript/GearLibrary.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local Gear = script.Parent.Parent;
local Player = nil;
local Character = nil;
local Humanoid = nil;
local Controller = script.Parent:WaitForChild("Controller");
local d = {
Debris = game:GetService("Debris")
};
local ClientAgent = require(script.Parent:WaitForChild("ClientAgent"));
local... | 391 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170902990/src/GearScript/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local ClientAgent = require(script:WaitForChild("ClientAgent"));
local Controller = script:WaitForChild("Controller");
local Gear = script.Parent;
local Character = nil;
local Player = nil;
local Humanoid = nil;
local Check = true;
local Dmg = false;
local swing = false;
local d = { Debri... | 808 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903216/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,073 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903216/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
... | 3,982 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903610/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ControlFunction = Tool:WaitForChild("ControlFunction")
Animations = {
{Animation = Tool:WaitForChild("Swing1"), Duration = 0.5, Speed = 2, Damage = 12},
{Animation... | 955 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903868/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
LocalControls = Tool:WaitForChild("LocalControls")
LocalControls.OnClientInvoke = (function(Player)
return ((Humanoid and Humanoid.TargetPoint) or nil)
end)
function Equipped()
Character = Tool.Par... | 131 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903868/src/Script/EatScript/init.client.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Character = Humanoid.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Food = script:WaitForChild("Food").Value
Eat = script:WaitForChild("EatAnim")
Damage = 20
function TagHumanoid(humanoid, player)
local Creator_Tag = Instance.new("Objec... | 353 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903868/src/Script/SpicyScript/PlayAnim/init.client.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Spicy = script:WaitForChild("SpicyAnim")
SpicyAnim = Humanoid:LoadAnimation(Spicy)
if SpicyAnim then
SpicyAnim:Play()
end
wait(2)
script:Destroy() | 62 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903868/src/Script/SpicyScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Character = Humanoid.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
PlayAnim = script:WaitForChild("PlayAnim")
function TagHumanoid(humanoid, player)
local Creator_Tag = Instance.new("ObjectValue")
Creator_Tag.Name = "creator"
Creator_... | 804 |
Roblox/gear | Roblox-gear-28b88df/src/gear/170903868/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")
EatScript = script:WaitForChild("EatScript")
SpicyScript = script:WaitForChild("SpicyScript")
Damage = 25
ReloadTime = 2
Projectile = Instance.new("Part")
Projectil... | 1,764 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/src/LauncherFiltered.server.luau | luau | .luau | --Stickmasterluke
local sp=script.Parent
local weaponevent=sp:WaitForChild("WeaponEvent")
local handle=sp:WaitForChild("Handle")
local firesound=handle:WaitForChild("Fire")
local debris=game:GetService("Debris")
firerate=.4
velocity=200
loaded=false
local Pellet = Instance.new("Part")
Pellet.Name="Paintball"
Pelle... | 672 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/src/LocalGuiFiltered.client.luau | luau | .luau | --Made by Stickmasterluke
sp=script.Parent
local weaponevent=sp:WaitForChild("WeaponEvent")
function onEquippedLocal(mouse)
if mouse then
mouse.Icon="rbxasset://textures\\GunCursor.png"
mouse.Button1Down:connect(function()
weaponevent:FireServer("Fire",mouse.Hit.p)
end)
end
end
sp.Equipped:connect(onEq... | 95 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/src/ProjectileScript.server.luau | luau | .luau | --Stickmasterluke was here last
sp=script.Parent
local debris=game:GetService("Debris")
local creator=sp:WaitForChild("creator")
damage=62
local splatted=false
local flakes = {168187887, 168187896, 168187907, 168187916, 168187923, 168187935} --Alexnewtron created these splats
local globs = {168187916, 168187923}... | 1,029 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/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... | 469 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/src/WeldScript.server.luau | luau | .luau | t = script.Parent
function stick(x, y)
weld = Instance.new("Weld")
weld.Part0 = x
weld.Part1 = y
local HitPos = x.Position
local CJ = CFrame.new(HitPos)
local C0 = x.CFrame:inverse() *CJ
local C1 = y.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = x
end
function Weldnow()
... | 208 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246669/src/Welding.server.luau | luau | .luau | function Weld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
local CJ = CFrame.new(x.Position)
local C0 = x.CFrame:inverse()*CJ
local C1 = y.CFrame:inverse()*CJ
W.C0 = C0
W.C1 = C1
W.Parent = x
end
function Get(A)
if A.className == "Part" then
Weld(script.Parent.Handle, A)
A.A... | 180 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246820/src/GearScript/ClientAgent.luau | luau | .luau | -- REMOTE FUNCTION CLIENT AGENT 8-10-14 ALEXNEWTRON
return {
REQUEST_TARGETPOINT = 1,
REQUEST_ANIMATIONS = 2,
REQUEST_PLAYER = 3,
REQUEST_ANIMATIONS_END = 4,
SERVER_START = 5,
SERVER_PLAY_SOUND = 6,
}; | 71 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246820/src/GearScript/GearLibrary.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local Gear = script.Parent.Parent;
local Player = nil;
local Character = nil;
local Humanoid = nil;
local Controller = script.Parent:WaitForChild("Controller");
local d = {
Debris = game:GetService("Debris")
};
local ClientAgent = require(script.Parent:WaitForChild("ClientAgent"));
local... | 560 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246820/src/GearScript/bang.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
damage=60
local tag=script.Parent:WaitForChild("creator")
local c = {
a = {168187887, 168187896, 168187907, 168187916, 168187923, 168187935},
d = 25,
f = -1500,
deb = game:GetService("Debris"),
s = script.Parent:WaitForChild("Splat"),
clients = nil,
affectedClients = {},
creator = ... | 1,014 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172246820/src/GearScript/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
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 ClientAgent = require(script:WaitForChild("ClientAgent"));
local Controlle... | 1,036 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172248941/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Slide = Tool:WaitForChild("Slide")
ClientControl = Tool:WaitForChild("ClientControl")
ServerControl = Tool:WaitForChild("ServerControl")
ServerControl.OnClientInvoke = (function(Mode, Value)
if Mode... | 337 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172248941/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Creator = Figure:WaitForChild("Creator").Value
Debris = game:GetService("Debris")
function DestroyModel()
Debris:AddItem(Figure, 2)
end
if Creator:IsA("Player") then
Character = Creator.Character
if Character then
Character.Changed:connect(function(Property)
if no... | 111 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172248941/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")
InsertService = game:GetService("InsertService")
Remover = script:WaitForChild("Remover")
FakeHandle = Tool:FindFirstChild("FakeHandle")
if FakeHandle then
FakeHand... | 1,898 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172249239/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Camera = game:GetService("Workspace").CurrentCamera
ClientControls = Tool:WaitForChild("ClientControls")
ServerControls = Tool:WaitForChild("ServerControls")
ServerControls.OnClientInvoke = (function... | 339 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172249239/src/Script/Remover/FixCamera.client.luau | luau | .luau | --Made by Luckymaxer
Parent = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Camera = game:GetService("Workspace").CurrentCamera
PossiblePlayer = Players:GetPlayerFromCharacter(Parent)
Player = ((Parent:IsA("Backpack") and Parent.Parent) or (PossiblePlayer and PossiblePlayer)... | 106 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172249239/src/Script/Remover/init.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Creator = Figure:WaitForChild("Creator").Value
Debris = game:GetService("Debris")
FixCamera = script:WaitForChild("FixCamera")
function DestroyModel()
if Player then
local Backpack = Player:FindFirstChild("Backpack")
if Backpack then
local FixCameraClone = FixCame... | 178 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172249239/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")
Remover = script:WaitForChild("Remover")
TankModel = InsertService:LoadAsset(172079556)
Tank = TankModel:GetChildren... | 2,187 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172289170/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ControlFunction = Tool:WaitForChild("ControlFunction")
Animations = {
{Animation = Tool:WaitForChild("Swing1"), Duration = 1, Speed = 1.125, Damage = 20},
{Animati... | 901 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172298750/src/GearScript/ClientAgent.luau | luau | .luau | -- REMOTE FUNCTION CLIENT AGENT 8-10-14 ALEXNEWTRON
return {
REQUEST_TARGETPOINT = 1,
REQUEST_ANIMATIONS = 2,
REQUEST_PLAYER = 3,
REQUEST_ANIMATIONS_END = 4,
SERVER_PLAY_SOUND = 6
}; | 64 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172298750/src/GearScript/GearLibrary.client.luau | luau | .luau | --Fixed by Luckymaxer
--[[ alexnewtron 2014 ]]--
local Gear = script.Parent.Parent;
local Player = nil;
local Character = nil;
local Humanoid = nil;
local Controller = script.Parent:WaitForChild("Controller");
local d = {
Debris = game:GetService("Debris")
};
local ClientAgent = require(script.Parent:WaitForChil... | 900 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172298750/src/GearScript/init.server.luau | luau | .luau | --Fixed by Luckymaxer
--[[ alexnewtron 2014 ]]--
local ClientAgent = require(script:WaitForChild("ClientAgent"));
local Controller = script:WaitForChild("Controller");
local Gear = script.Parent;
local PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil... | 1,146 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17237662/src/Script/SpeedEffect/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Updated for R15 avatars by StarWars
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
Head = Character:FindFirstChild("Head")
Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
Players = game:GetService("Players")
Debris = game:GetS... | 456 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.