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/1602503043/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local Players = game:GetService("Players")
local CollectionService = game:GetService("CollectionService")
local GearService = require(1075123174)
local Tool = script.Parent
local Handle = Tool.Handle
CollectionService:AddTag(Handle, "Gear_Shield")
local Gear = GearService:BindGear(Tool)
Ge... | 413 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1609498185/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Tracks = {}
local InputType = Enum.UserInputType
local BeganConnection, EndedConnection
function playAnimati... | 396 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161075864/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
UpperSlash = Tool:WaitForChild("UpperSlash")
Charge = Tool:WaitForChild("Charge")
SlashSound = Handle:WaitForChild("SlashSound")
Fire = Handle:WaitForChild("Fire")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
E... | 1,345 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161211085/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Throw = Handle:WaitForChild("Throw")
Reload = Tool:WaitForChild("Reload")
Loaded = Tool:WaitForChild("Loaded")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Equipped = false
Charging = false
FireDebounce = fals... | 2,510 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161211085/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
DisplayPart = Tool:WaitForChild("DisplayPart")
DisplayPart:Destroy() | 29 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161216321/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
LocalObjects = {}
Speed = {
CurrentSpeed = 2,
MaxSp... | 2,368 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161216321/src/Script.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")
Animations = {
Takeoff = {Animation = Tool:WaitForChild("Takeoff"), FadeTime = nil, Weight = nil, Speed = nil},
Pose = {Animation... | 2,181 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161219921/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... | 1,567 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161219921/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Made by alexnewtron
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.Mater... | 3,994 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161219985/src/LocalScript/eagleFramework.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local config = {
b = script.Parent,
bP = script.Parent:WaitForChild("BodyPosition"),
bG = script.Parent:WaitForChild("BodyGyro"),
attack = script.Parent:WaitForChild("EagleAttack"),
attackH = script.Parent:WaitForChild("EagleAttackHumanoid"),
reachedTarget = false,
};
while not config.r... | 358 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161219985/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
callSound = script.Parent.Handle:WaitForChild("EagleCall"),
lastEagle = script.Parent:WaitForChild("LastEagle"),
debris = game:GetService("Debris"),
maxDistance = 100,
eag... | 1,110 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161220552/src/Script/Explosions.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local config = {
force = nil,
shell = script.Parent,
colors = {Color3.new(1,0,0), Color3.new(0,1,0), Color3.new(0,0,1), Color3.new(1,.5,0), Color3.new(0,.5,1)},
starMap = {Vector2.new(0,0), Vector2.new(468,0), Vector2.new(0,468)},
debris = game:GetService("Debris"),
explodeSound = scrip... | 804 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161220552/src/Script/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
debris = game:GetService("Debris"),
tween = require(script:WaitForChild("b")),
easing = require(script:WaitForChild("e")),
mesh = script.Parent.Handle:WaitForChild("Mesh"),... | 1,179 |
Roblox/gear | Roblox-gear-28b88df/src/gear/161230469/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Splat = Handle:WaitForChild("Splat")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ReloadTime = 2
Damage = 15
Meshes = {
Loaded = "http://www.roblox.com/asset?id=160207972",... | 2,160 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16200199/src/Dragger Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/freemove_sel.png")
local selectionBox
local currentSelection
local currentSelectionColors = {}
local selectionLasso
local inGui = false
local inPalette = false
local l... | 1,346 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16200199/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 0
local slash_damage = 0
sword = script.Parent.Handle
Tool = script.Parent
function attack()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Slash"
anim.Parent = Tool
end
function swordUp... | 279 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16200373/src/Color Picker Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/color_sel.png")
function onButton1Down(mouse)
if not enabled then
return
end
enabled = false
mouse.Icon = "rbxasset://textures\\GunWaitCursor.png"
wait(.5)
... | 2,075 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16200420/src/Material Picker Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/material_sel.png")
local selectionBox
local selectionLasso
local inGui
local inPalette
local selectedButton
local oldButton
function onMouseLeave(hoverSelection)... | 1,913 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16200508/src/Surface Picker Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/surface_sel.png")
local selectionSurface
local selectionLasso
local inGui = false
local inPalette = false
local selectedButton = nil
local oldButton = nil
function... | 2,018 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16201421/src/Script.server.luau | luau | .luau | bin = script.Parent
resetted = false
function dis(part)
while (part.Transparency < 1) do
part.Transparency = part.Transparency+0.1
wait()
end
part:remove()
end
function ref(part)
while (part.Reflectance < 1) do
part.Reflectance = part.Reflectance+0.1
wait()
end
part:remove()
end
function... | 253 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16201628/src/Model Delete Local.client.luau | luau | .luau | local Tool = script.Parent
enabled = true
local origTexture = Tool.TextureId
game:GetService("ContentProvider"):Preload("rbxasset://icons/delete_sel.png")
local selectionBox
local currentSelection
local currentSelectionColors = {}
local selectionLasso
local inGui = false
local inPalette = false
local loc... | 1,160 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16201628/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 0
local slash_damage = 0
sword = script.Parent.Handle
Tool = script.Parent
function attack()
local anim = Instance.new("StringValue")
anim.Name = "toolanim"
anim.Value = "Slash"
anim.Parent = Tool
end
function swordUp... | 284 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16214845/src/SandwichScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.GripForward = Vector3.new(0.675, -0.675, -0.3)
Tool.GripPos = Vector3.new(0.4, -0.9, 0.9)
Tool.GripRight = Vector3.new(0.212, -0.212, 0.954)
Tool.GripUp = Vector3.new(0.7... | 316 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16216702/src/CrossbowLauncher/BoltScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Bolt = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Bolt:FindFirstChild("creator")
BodyForce = Bolt:FindFirstChild("BodyForce")
BodyGyro = Bolt:FindFirstChild("BodyGyro")
HitSound = Bolt:FindFirstChild("Hit")
Stuck = false
Damage = 33
... | 657 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16216702/src/CrossbowLauncher/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")
StarScript = script:WaitForChild("BoltScript")
Velocity = 50
Sounds = {
Fire = Handle:WaitForChild("Fire"),
Hit = Handle:... | 962 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16216702/src/DisplayWeld.server.luau | luau | .luau | --Fix implemented by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
BasePart.Shape = Enum.PartType.Block
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.BottomSurface = Enum.SurfaceType.Smooth
BasePart.FormFactor = ... | 510 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857268/src/Glider_LocalMain.client.luau | luau | .luau | --[[
Fixed by ArceusInator. Now replicates, follows mouse cursor, drops bombs properly.
--]]
--imports
local RbxUtility = LoadLibrary('RbxUtility')
local Create = RbxUtility.Create
--main vars
local Tool = script.Parent
local Equipped = false
local Flying = false
local UIS, CAS = game:GetService'UserInputService', ... | 2,126 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857268/src/MineScript/init.server.luau | luau | .luau | ------------------------------------------
local function WaitFor(parent)
return setmetatable({}, {
__index = function(tb, child)
return function()
while not parent:FindFirstChild(child) do
parent.ChildAdded:wait()
end
return parent:FindFirstChild(child)
end
end;
})
end
---... | 829 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857268/src/MotorizeRightGrip.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 armChildRemovedConn = nil
local Motor6DGrip = nil
local EquippedNum = 0
T... | 615 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857268/src/Script.server.luau | luau | .luau | local RbxUtility = LoadLibrary('RbxUtility')
local Create = RbxUtility.Create
script.Parent.DropBomb.OnServerEvent:connect(function(client)
if client.Character == script.Parent.Parent then
local bomb = Create'Part'{
Size = Vector3.new(1,2,1);
TopSurface = 'Smooth';
BottomSurface = 'Smooth';
Archivable =... | 266 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857316/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
--[[
Fixed by ArceusInator
- Works with FE
--]]
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sound = Handle:WaitForChild("Sound")
Debris = game:GetService("Debris")
Equipped = false
Debounce = false
ReloadTime = 0.5
BasePart = Instance.new("Part")
BasePart.Material = Enum.Mater... | 838 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857357/src/FakeThumbnail.server.luau | luau | .luau | --[[alexnewtron 2014]]--
local p = script.Parent;
if p:findFirstChild("Fake1") then p["Fake1"]:Destroy(); end
if p:findFirstChild("Fake2") then p["Fake2"]:Destroy(); end
script:Destroy(); | 57 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857357/src/Script/Tween.luau | luau | .luau | local a=require(script.Parent:WaitForChild("Easing"))local tostring=tostring;local b={forward=true,backward=true,loopforward=true,loopbackward=true,pingpong=true}local c={__tostring=function(d)local e="tween{"for f,g in pairs(d.p)do e=e.." "..tostring(f).."="..tostring(g)end;e=e.." }"return e end}local function h(i,j,k... | 928 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857357/src/Script/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
--[[alexnewtron 2014]]--
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Tween = script:WaitForChild("Tween")
Tween = require(Tween)
Easing = script:WaitForChild("Easing")
... | 1,951 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857391/src/Firework.server.luau | luau | .luau | --Stickmasterluke
sp=script.Parent
local debris=game:GetService("Debris")
equipped=false
check=true
function seticon(icon)
script.Parent.SetMouseIcon:FireAllClients(icon)
end
function onEquipped()
equipped=true
if check then
seticon"rbxasset://textures\\ArrowCursor.png"
else
seticon"rbxasset://textures\\A... | 472 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857391/src/LocalScript.client.luau | luau | .luau | local con
script.Parent.Equipped:connect(function(mouse)
if con then con:disconnect() end
con = script.Parent.SetMouseIcon.OnClientEvent:connect(function(icon)
mouse.Icon = icon
end)
end)
script.Parent.Unequipped:connect(function()
if con then con:disconnect() end
end) | 68 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857391/src/Script.server.luau | luau | .luau | --Stickmasterluke
sp=script.Parent
local debris=game:GetService("Debris")
clrcount=0
local explotype=math.random(1,3)
--163373035 Neat texture
--163373470 Neat texture x2
--163372452 Desired Texture
local colors={"red","orange","yellow","green","blue","purple"}
function flare(pos,vel,floaty,timer,color)
local ... | 1,389 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857422/src/Handle/FireworksScript.server.luau | luau | .luau | --Made by Stickmasterluke
--This code got messy quick. Forgive me
local sp=script.Parent
local launcher=sp
local debris=game:GetService("Debris")
local bang4=launcher:WaitForChild("Bang4")
local pop2=launcher:WaitForChild("Pop2")
local fountain=launcher:WaitForChild("Fountain")
local bangsounds={160248459,1602... | 2,386 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857422/src/LocalScript.client.luau | luau | .luau | script.Parent.Equipped:connect(function(mouse)
if script.Parent.Empty.Value then
mouse.Icon = 'rbxasset://textures\\ArrowFarCursor.png'
else
mouse.Icon = 'rbxasset://textures\\ArrowCursor.png'
mouse.Button1Down:connect(function()
mouse.Icon = 'rbxasset://textures\\ArrowFarCursor.png'
end)
end
end) | 83 |
Roblox/gear | Roblox-gear-28b88df/src/gear/162857422/src/Script.server.luau | luau | .luau | --Stickmasterluke
--[[
Fixed by ArceusInator
- Works in FE
--]]
sp=script.Parent
local debris=game:GetService("Debris")
local equipped=false
local check=true
function onEquipped()
equipped=true
end
function onUnequipped()
equipped=false
end
function onActivated()
local chr=sp.Parent
if chr and check then
... | 460 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163323379/src/LocalScript.client.luau | luau | .luau | --Made by Stickmasterluke
sp=script.Parent
local speedboostscript=sp:WaitForChild("SpeedBoostScript")
function Equipped()
wait()
local s=speedboostscript:clone()
local tooltag=Instance.new("ObjectValue")
tooltag.Name="ToolTag"
tooltag.Value=sp
tooltag.Parent=s
s.Parent=sp.Parent
s.Disabled=false
local sou... | 122 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163323379/src/SpeedBoostScript.server.luau | luau | .luau | --Made by Stickmasterluke
sp=script.Parent
speedboost=.95 --95% speed bonus
speedforsmoke=10 --smoke apears when character running >= 10 studs/second.
function waitfor(a,b,c)
local c=c or 5*60
local d=tick()+c
while a:FindFirstChild(b)==nil and tick()<=d do
wait()
end
return a:FindFirstChild(b)
end
local t... | 547 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348575/src/Handle/Destroy/init.server.luau | luau | .luau | script:Destroy()
| 4 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348575/src/LocalScript.client.luau | luau | .luau | local equipped = false
script.Parent.Equipped:connect(function(mouse)
equipped = true
mouse.Button1Down:connect(function() script.Parent.Input:FireServer('Mouse1', true) end)
mouse.Button1Up:connect(function() script.Parent.Input:FireServer('Mouse1', false) end)
mouse.KeyDown:connect(function(key) script.Parent.In... | 145 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348575/src/Script/NeverSit.client.luau | luau | .luau | local humanoid = script.Parent.Humanoid
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
humanoid.StateChanged:connect(function(from, to)
if to == Enum.HumanoidStateType.Seated then
humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
end
end) | 67 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348575/src/Script/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
equipped = false,
plyr = nil,
tween = require(script:WaitForChild("b")),
easing = require(script:WaitForChild("e")),
check = true,
control = 0,
speed = 5,
planeGoTo = nil,
mouseDown = false,
endPlane ... | 2,161 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348758/src/Script/Explosion/Sitter.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local p = game.Players.LocalPlayer;
local i = 0;
while (i < 50) do
i = i + 1;
p.Character:findFirstChild("Humanoid").Sit = true;
wait();
end
script:Destroy(); | 60 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348758/src/Script/Explosion/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local GLib = require(206209239)
local config = {
shell = script.Parent,
tween = require(script:WaitForChild("b")),
easing = require(script:WaitForChild("e")),
vP = script.Parent:WaitForChild("Victrola"),
vE = script.Parent:WaitForChild("Explosion"),
deb = game:GetService("Debris"),
own... | 903 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348758/src/Script/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local GLib = require(206209239)
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
debris = game:GetService("Debris"),
anims = {
script.Parent:WaitForChild("Throw")
},
readyAnims = {}
};
function gearConfig.throwAsset()
g... | 532 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348987/src/KillFakeHandle.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("FakeHandleDisplay"); script.Parent["FakeHandleDisplay"]:Destroy(); | 29 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163348987/src/LocalScript/init.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
handle = script.Parent["Handle"],
newAnimate = script:WaitForChild("NewAnimate"),
slam = script.Parent.Handle:WaitForChild("Slam"),
character = nil,
equipped = false,
check = true,
leftCymbal = nil,
newA... | 806 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163350265/src/Script.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local GLib = require(206209239)
script.Parent:WaitForChild("Handle");
local gearConfig = {
gear = script.Parent,
plyr = nil,
equipped = false,
check = true,
attackReady = false,
attacking = false,
firePiece = {},
debris = game:GetService("Debris"),
gulping = script.Parent.Handle:Wait... | 1,000 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163351966/src/LocalClick.client.luau | luau | .luau | script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
script.Parent.RemoteClick:FireServer(mouse.Hit.p)
end)
end) | 34 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163351966/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
--[[
Fixed by ArceusInator
- Works with FE
--]]
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
EquipSound = Handle:WaitForChild("EquipSound")
PewPew = Handle:WaitForChild("PewPew")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ReloadTime = 3
Damage = 20
... | 1,505 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163352376/src/LocalScript.client.luau | luau | .luau | script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
script.Parent.Input:FireServer('Mouse1Down')
end)
mouse.KeyDown:connect(function(key)
script.Parent.Input:FireServer('KeyDown', key)
end)
end) | 56 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163352376/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Creator = Model:FindFirstChild("Creator")
Enabled = false
wait(1)
if Creator and Creator.Value and Creator.Value.Parent and Creator.Value:IsA("Player") and Creator.Value.Character then
Player = Creator.Value
Character = Player.Character
Humanoid = Character:FindFirstCh... | 192 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163352376/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--[[
Fixed by ArceusInator
2/23 - The UFO now replicates properly
--]]
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
UFOModel = InsertService:LoadAsset(162741606... | 1,543 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163352376/src/ToolDisplay.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
ToolDisplays = {
Normal = {
Grip = CFrame.new(0, -0.75, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
MeshScale = Vector3.new(0.25, 0.25, 0.25)
},
Display = {
Grip = CFrame.new(1.5, 2.54999995, -1.5, 1, 0, 0, 0... | 203 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163352376/src/ToolDropped.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Players = game:GetService("Players")
CurrentUFO = Tool:WaitForChild("CurrentUFO")
Tool.Changed:connect(function(Property)
if Property == "Parent" then
local Player = Players:GetPlayerFromCharacter(Tool.Parent)
if not Tool.Parent:IsA("Backpack") and not Player and Curre... | 110 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163353363/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ContentProvider = game:GetService("ContentProvider")
Grips = {
Normal = CFrame.new(0, -0.5, 0.649999976, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Firing = CFrame.new(0, -0.5, 0.... | 1,806 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163354553/src/LocalSwing.client.luau | luau | .luau | Tool = script.Parent
local GLib = require(Tool:WaitForChild'GLib')
Swing = Tool:WaitForChild("Swing")
ReloadTime = 2
function Activated()
local Character, Player, Humanoid = GLib.GetCharacter(Tool)
local Torso = Humanoid.Torso
if Tool.Enabled and Player and Humanoid and Humanoid.Health > 0 and Torso then
Tool.E... | 214 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163354553/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
--[[
Fixed by ArceusInator
- Works in FE
--]]
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
local GLib = require(206209239)
GLib.Script.Parent = Tool
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Sounds = {
Handle:WaitForChild("Midas1"),
Handle:WaitForC... | 1,076 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163355404/src/Handle/PhoenixScript.server.luau | luau | .luau | --Made by Luckymaxer
--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 E... | 2,596 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163355404/src/ToolScript.server.luau | luau | .luau | --Made by Luckymaxer
local PhoenixDuration = 5*60
function WaitForChildren(parent, childTable)
for i, v in pairs(childTable) do
parent:WaitForChild(v)
end
end
local Tool = script.Parent
local Phoenix = Tool.Handle
local prevHealth = 100
local healthConnect
local vCharacter
local myTorso
local myHumanoid ... | 1,495 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163355764/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,113 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163488515/src/LocalToolScript.client.luau | luau | .luau | --Made by Stickmasterluke
local sp=script.Parent
local handle=sp:WaitForChild("Handle")
local debounce=true
local modelassetid=160000787
function finddwarf()
for _,v in ipairs(game.Workspace:GetChildren()) do
if v and v.Name=="Grumpy" then
local creator=v:FindFirstChild("creator")
if creator and creato... | 253 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163995329/src/Script.server.luau | luau | .luau | --Rescripted 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.Pl... | 4,393 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163995460/src/LocalScript.client.luau | luau | .luau | local tool = script.Parent
tool.Equipped:connect(function(m)
m.Button1Up:connect(function()
tool.Click:FireServer()
end)
end) | 35 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163995460/src/Script/dragonFramework/FireballScript.server.luau | luau | .luau | --[[alexnewtron 2014]]--
local GLib = require(206209239)
local config = {
g = script.Parent,
check = true
}
function config.burn(hit)
if hit and config.check and hit.Name~='NobleDragon' and hit.Name~='Effect' then
config.check = false;
local character, owner, humanoid = GLib.GetCharacter(hit)
print('hit',hit,c... | 218 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163995460/src/Script/dragonFramework/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local config = {
b = script.Parent,
m = script.Parent:WaitForChild("Mesh"),
bP = script.Parent:WaitForChild("BodyPosition"),
bG = script.Parent:WaitForChild("BodyGyro"),
tween = require(script:WaitForChild("b")),
easing = require(script:WaitForChild("e")),
owner = script.Parent:WaitFor... | 1,133 |
Roblox/gear | Roblox-gear-28b88df/src/gear/163995460/src/Script/init.server.luau | luau | .luau | -- Original by Alexnewtron
--[[
Fixed by ArceusInator
- Works with FE
- No longer spawns frozen
--]]
script.Parent:WaitForChild("Handle");
local remoteCon
local gearConfig = {
gear = script.Parent,
equipped = false,
check = true,
damage = 0,
anims = {},
plyr = nil,
roar = script.Parent.Handle:WaitForChild("R... | 1,211 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164016477/src/Handle/RubyScript/HealScript.server.luau | luau | .luau | --Made by Stickmasterluke
local sp=script.Parent
for i=1,100 do
wait(1/30)
if sp.className=="Humanoid" and sp.Health>0 then
sp.Health=sp.Health+1
end
end
script:remove()
| 59 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164016477/src/Handle/RubyScript/init.server.luau | luau | .luau | --Made by Stickmasterluke
local sp=script.Parent
wait(2)
local timer=60*3
local healamount=100
local floatradius=1
local floatcycletime=5
local floatpoint=sp.Position+Vector3.new(0,3,0)
local debris=game:GetService("Debris")
local bb=Instance.new("BillboardGui")
bb.Parent=sp
bb.Size=UDim2.new(5.1,0,5.7,0)
bb.S... | 559 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164016477/src/LocalToolScript.client.luau | luau | .luau | --Made by Stickmasterluke
local sp=script.Parent
local handle=sp:WaitForChild("Handle")
local debounce=true
function onequipped(mouse)
mouse.Button1Down:connect(function()
local plr=game.Players.LocalPlayer
if plr and plr.Character and debounce then
debounce=false
local h=plr.Character:FindFirstChild(... | 333 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164017027/src/BookScript.client.luau | luau | .luau | local function waitForChild(parent, child)
while parent:FindFirstChild(child) == nil do
wait()
end
return parent[child]
end
local Tool = script.Parent
local Book = Tool.Handle
local vCharacter
local vTorso
local vHumanoid
local vPlayer
local PlayerGui
Tool.Enabled = true
local AORGui
local AORGui_Id = ... | 606 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164174293/src/ProtestScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
local sounds = {Tool.Handle.AngrySound1, Tool.Handle.AngrySound2, Tool.Handle.AngrySound3}
function onActivated()
if not enabled then
return
end
enabled = false
sounds[math.random(3)]:Play()
Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0... | 364 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164207580/src/Convertable/C.server.luau | luau | .luau | --[[alexnewtron 2014]]--
model = script.Parent;
local model = script.Parent
model:WaitForChild("Brakelight_Left");
model:WaitForChild("Brakelight_Right");
model:WaitForChild("Headlight_Left");
model:WaitForChild("Headlight_Right");
model:WaitForChild("Wheel_FrontLeft");
model:WaitForChild("Wheel_FrontRight");
model:Wa... | 1,728 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164207580/src/LocalScript.client.luau | luau | .luau | script.Parent.Equipped:connect(function(mouse)
mouse.Button1Down:connect(function()
script.Parent.Click:FireServer()
end)
end) | 30 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164207580/src/Script.server.luau | luau | .luau | --[[alexnewtron 2014]]--
--[[
Fixed by ArceusInator
- Works with FE
- Wheels no longer spaz out
- Spawns facing away from the character just like every other vehicle
- No longer bounces around when spawning
--]]
local GLib = require(206209239)
local config = {
gear = script.Parent,
check = true,
PlayersService ... | 761 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164207580/src/Thumbnail.server.luau | luau | .luau | -- alexnewtron 2014
if (script.Parent:findFirstChild("Convertable")) then
script.Parent["Convertable"]:Destroy();
end | 30 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164207842/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--[[ alexnewtron 2014 ]]--
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Mate... | 1,611 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16433862/src/SwordScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
local damage = 10
local slash_damage = 15
sword = script.Parent.Handle
Tool = script.Parent
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
SlashSound.Parent = sword
SlashSound.Volume = 1
lo... | 679 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16435368/src/SwordScript/init.server.luau | luau | .luau | -------- OMG HAX
debris = game:GetService("Debris")
r = game:service("RunService")
local damage = 15
local slash_damage = 15
sword = script.Parent.Handle
Tool = script.Parent
local SlashSound = Instance.new("Sound")
SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
SlashSound.Parent = sw... | 1,173 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164369961/src/CarpetScript.server.luau | luau | .luau | local Tool = script.Parent
local Carpet = Tool.Handle
function waitForChild(parent, instance)
while parent:FindFirstChild(instance) == nil do
print("Waiting for" .. instance)
wait()
end
end
waitForChild(Tool, "CarpetB1Weld")
waitForChild(Tool, "CarpetB2Weld")
waitForChild(Tool, "CarpetTailWeld")
waitForChild... | 1,910 |
Roblox/gear | Roblox-gear-28b88df/src/gear/164369961/src/FlightControl.client.luau | luau | .luau | local Tool = script.Parent --Fix implemented by Luckymaxer
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 unEquipped = false
local movementHandlerCo
local hover = -.1
local ca... | 1,100 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1645052196/src/Script/Remover.server.luau | luau | .luau | 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 script and script.Parent t... | 243 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1645052196/src/Script/init.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Remover = script:WaitForChild("Remover")
Module = require(191816425)
DisplayModel = Tool:FindFirstChild("DisplayModel")
if DisplayModel then
DisplayModel:Destroy()
end
ToolEquipped = f... | 671 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1645056094/src/Script.server.luau | luau | .luau | local Players = game:GetService("Players")
local InsertService = game:GetService("InsertService")
local DOWN_VECTOR = Vector3.new(0, -1, 0)
local ASSET_ID = 1587361744
local PlantModel = InsertService:LoadAsset(ASSET_ID):GetChildren()[1]
local Tool = script.Parent
local Handle = Tool.Handle
Handle.Transparency = 1
l... | 442 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16641274/src/SwordScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Light = Handle:WaitForChild("IlluminaLight")
Light.Enabled = true
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
BaseUrl = "http:... | 1,806 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1665509807/src/Script.server.luau | luau | .luau | Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RemoteControl = Tool:WaitForChild("RemoteControl")
ServerControl = (RemoteControl:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
Ser... | 1,445 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1665541125/src/Script.server.luau | luau | .luau | local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "Sword") | 31 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16688968/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Sounds = {
CoilSound = Handle:WaitForChild("CoilSound"),
}
Gravity = 196.20
JumpHeightPercentage = 0.25
ToolEquipped = false
function GetAllConnectedParts(Object)
local Parts = {}
local fun... | 806 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16722267/src/MoneyBagScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent;
debris = game:GetService("Debris")
enabled = true
local sounds = {Tool.Handle.MoneySound1, Tool.Handle.MoneySound2, Tool.Handle.MoneySound3}
local buck = nil
buck = Instance.new("Part")
buck.formFactor = 2
buck.Size = Vector3.new(2,.4,1)
buck.BrickCo... | 661 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16726030/src/SandwichScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
Tool.GripForward = Vector3.new(-.981, .196, 0)
Tool.GripPos = Vector3.new(-.5, -0.6, -1.5)
Tool.GripRight = Vector3.new(0, -0, -1)
Tool.GripUp = Vector3.new(0.196, .981, 0)
... | 303 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16726984/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 = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ToolEquipped = false
function SetAnim... | 707 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16726984/src/RayGun/LaserBlast.server.luau | luau | .luau | --Rescripted by Luckymaxer
Pellet = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Pellet:FindFirstChild("creator")
HitSound = Pellet:FindFirstChild("HitSound")
Stuck = false
Damage = 25
function IsHuntedVictim(character)
return character:FindFirstChild("NinjaMas... | 470 |
Roblox/gear | Roblox-gear-28b88df/src/gear/16726984/src/RayGun/init.server.luau | luau | .luau | --Fixed by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
ServerControl.Name = "ServerControl"
ServerControl.Parent = Tool
ClientCont... | 897 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1678314358/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local Gear = GearService:BindGear(script.Parent, "Sword") | 33 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1678349400/src/Script.server.luau | luau | .luau | 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 that gives us the nice ... | 2,349 |
Roblox/gear | Roblox-gear-28b88df/src/gear/168140516/src/LocalScript/fireDeath/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local h = script.Parent;
local d = true;
local e = game:GetService("Debris");
local c = script:WaitForChild("creator");
local sound = script.Parent:WaitForChild("Pop");
function r(a)
for i,v in ipairs(a:GetChildren()) do
if v.Name=="creator" then
v:Destroy()
end
end
local creator_t... | 346 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.