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/17237662/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.200000003, -0.100000001, 0, ... | 538 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17237675/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/17237692/src/SandwichScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent;
enabled = true
local ghostChar = nil
function makeMeGhostly(trans)
if ghostChar == nil then return end
local parts = {"Head", "Torso", "Left Leg", "Right Leg", "Left Arm", "Right Arm", "UpperTorso", "LowerTorso", "RightUpperArm", "RightLowerArm",
... | 514 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172921991/src/Local Gui.client.luau | luau | .luau | Tool = script.Parent
local stillEquipped = false
function onEquippedLocal(mouse)
stillEquipped = true
if mouse == nil then
print("Mouse not found")
return
end
while stillEquipped do
--print("Setting Mouse to go")
mouse.Icon = "rbxasset://textures\\GunCursor.png"
while Tool.Enabled and stillEquipped do... | 186 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172921991/src/MinifigureScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Figure = Tool.Handle
local vCharacter
local myTorso
local clapSound
local sparkles
Tool.Enabled = true
local connection
function glow(hit)
if hit and hit.Parent and hit.Parent ~= vCharacter then
if hit.Size.X <= 5 and hit.Size.Y <= 5 and h... | 367 |
Roblox/gear | Roblox-gear-28b88df/src/gear/172922089/src/MinifigureScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Figure = Tool.Handle
local vCharacter
local myTorso
local clapSound
local sparkles
Tool.Enabled = true
local connection
function glow(hit)
if hit and hit.Parent and hit.Parent ~= vCharacter then
if hit.Size.X <= 5 and hit.Size.Y <= 5 and ... | 367 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173751087/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 = {}
Serve... | 1,160 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173751087/src/Script/ShiverScript/AnimateScript/init.client.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:FindFirstChild("Humanoid")
ShiverScript = Character:FindFirstChild("ShiverScript")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ContentProvider = game:GetService("ContentProvider")
Player = Players:GetPlayerFromCharacter(... | 407 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173751087/src/Script/ShiverScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:WaitForChild("Humanoid")
Head = Character:WaitForChild("Head")
Face = Head:FindFirstChild("face")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
Chat = game:GetService("Chat")
... | 1,817 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173751087/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")
ShiverScript = script:WaitForChild("ShiverScript")
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
BasePart.Shape = Enum.PartType.Block
Bas... | 3,643 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173755801/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,
DAMAGE_PLAYER = 7
}; | 71 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173755801/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"));
loc... | 498 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173755801/src/GearScript/Script.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = script.Parent;
c.Anchored = false;
local bP = Instance.new("BodyPosition", c);
bP.maxForce = Vector3.new(math.huge, math.huge, math.huge);
bP.position = c.Position;
while ((bP.position - c.Position).magnitude > 2) do
bP.position = c.Position;
wait();
end
c:Destroy(); | 92 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173755801/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 796 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173781053/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"));
loc... | 340 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173781053/src/GearScript/bomb.server.luau | luau | .luau | arrow = script.Parent
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=18424769"
HitSound.Parent = arrow
HitSound.Volume = .5
function stick(hit)
local weld = Instance.new("Weld")
weld.Name = "PieWeld"
weld.Part0 = arrow
weld.Part1 = hit
local HitPos = arrow.Position
loca... | 336 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173781053/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 d = { Debris = game:GetService("Debris") };
local s... | 561 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173812248/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 ... | 342 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173812248/src/GearScript/S.server.luau | luau | .luau | local c = script.Parent:WaitForChild("creator").Value;
script.Parent.Touched:connect(function(p)
if (p.Parent:findFirstChild("Humanoid") and game:GetService("Players"):GetPlayerFromCharacter(p.Parent) ~= c) then
p.Parent["Humanoid"].Sit = true;
end
end); | 68 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173812248/src/GearScript/T.server.luau | luau | .luau | local a=script.Parent;local b={}local c=script.Parent:WaitForChild("creator").Value;local d=5.8;local e=d+30;function checkObject(f)if f~=a and f.className=="Part"then if f.Anchored==false then table.insert(b,f)end elseif f.className=="Model"or f.className=="Hat"or f.className=="Tool"or f==workspace then local g=f:GetC... | 358 |
Roblox/gear | Roblox-gear-28b88df/src/gear/173812248/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 1,177 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17407931/src/MidasTouch.server.luau | luau | .luau | -------- OMG HAX
debris = game:GetService("Debris")
r = game:service("RunService")
sword = script.Parent.Handle
Tool = script.Parent
local sounds = {Tool.Handle.Midas1, Tool.Handle.Midas2, Tool.Handle.Midas3}
function goldEffect(pos)
local count = 5
for i=1,count do
local p = Instan... | 593 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174418144/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/174752186/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 = 3, Damage = 12},
{Animation =... | 635 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752186/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 = 10
ReloadTime = 0.25
AnimPlaying = nil
StormGui = Tool:WaitForChild("StormGui")
StormRadius = 20
ControlFunction = (Tool:FindFirstChild("ControlFunction")... | 1,018 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752186/src/StormGui/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
ScreenGui = script.Parent
PlayerGui = ScreenGui.Parent
Player = PlayerGui.Parent
Frame = ScreenGui.Frame
Debris = game:GetService("Debris")
Frame:ClearAllChildren()
Connection = ScreenGui:WaitForChild("Connection")
Colors = {Color3.new(170, 170, 127), Color3.new(138, 138, 103)}
Directions = {... | 858 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752245/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Reload = Tool:WaitForChild("Reload")
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke = (function(Mode, Value)
if Mo... | 276 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752245/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")
ReloadTime = 0.5
ReloadAmmoTime = 5
Meshes = {
BowWithArrow = "http://www.roblox.com/asset?id=172088844",
Bow = "http://www.robl... | 1,556 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752400/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ServerControl = Tool:WaitForChild("ServerControl")
function InvokeServer(Mode, Value)
pcall(function()
ServerControl:InvokeServer(Mode, Value)
end)
end
function Equipped(Mouse)
Character = Tool.... | 209 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752400/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Creator = Model:FindFirstChild("Creator")
Enabled = false
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:FindFirstChild("Huma... | 188 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752400/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
CatapultModel = InsertService:LoadAsset(174303861)
Catapult = CatapultModel:Get... | 1,731 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752553/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ServerControl = Tool:WaitForChild("ServerControl")
function InvokeServer(Mode, Value)
pcall(function()
ServerControl:InvokeServer(Mode, Value)
end)
end
function Equipped(Mouse)
Character = Tool.... | 200 |
Roblox/gear | Roblox-gear-28b88df/src/gear/174752553/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
CannonModel = InsertService:LoadAsset(174258074)
Cannon = CannonModel:GetChildren()[1]:Clone()
CannonModel:Destroy(... | 698 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1748600996/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local runService = game:GetService("RunService")
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local gear = GearService:BindGear(tool, "Sword")
gear.Class:DisableLunge()
gear:SetupLocalScript("MouseIcon")
local SWING_TIME = 2
local spinning =... | 289 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1748602670/src/Script/MillenniumFalcon.luau | luau | .luau | -- // Created by StarWars
local Falcon = {}
Falcon.__index = Falcon
local basePart = Instance.new("Part")
basePart.Size = Vector3.new(1, 1, 1)
basePart.Anchored = false
basePart.CanCollide = false
local baseFalcon = basePart:Clone()
local baseMesh = Instance.new("SpecialMesh")
baseMesh.TextureId = "rbxassetid://1743... | 692 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1748602670/src/Script/init.server.luau | luau | .luau | -- // Created by StarWars
local runService = game:GetService("RunService")
local players = game:GetService("Players")
local tool = script.Parent
tool.Handle.Transparency = 1
local MillenniumFalcon = require(script.MillenniumFalcon)
local character = nil
local player = nil
local currentFalcon = nil
function onEquipp... | 213 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17527921/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(-.857,0,-.514)
Tool.GripPos = Vector3.new(0,1.5,-.4)
Tool.GripRight = Vector3.new(0,1,0)
Tool.GripUp = Vector3.new(-.514,0,.857)
Tool.Hand... | 288 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17527923/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(-.857,0,-.514)
Tool.GripPos = Vector3.new(0,1.5,-.7)
Tool.GripRight = Vector3.new(0,1,0)
Tool.GripUp = Vector3.new(-.514,0,.857)
Tool.Hand... | 286 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1760404984/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local barrelAttachment = handle.BarrelAttachment
local gear = GearService:BindGear(tool)
local baseTeapotAmmo = Instance.new("Part")
baseTeapotAmmo.Size = Vector3.new(1.572, 0.788, 0.984)
baseTeap... | 701 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1760406591/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "Sword")
| 38 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087466/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Equipped = false
MouseDown = false
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke = (function(Mode, Value)
if Mod... | 330 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087466/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
function GetLasers()
local Lasers = {}
for i, v in pairs(Model:GetChildren()) do
if v and v.Parent and v:IsA("BasePart") and (v.Name == "Laser" or v.Name == "InkBlotch") then
table.insert(Lasers, v)
end
end
return Lasers
end
fu... | 183 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087466/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")
Remover = script:WaitForChild("Remover")
Equipped = false
MaxRange = 50
Damage = 5
ReloadTime = 0.01
ServerControl = (Tool:FindFirstChild("ServerControl") or Inst... | 3,231 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087505/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Equipped = false
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke = (function(Mode, Value)
if not Equipped then
re... | 331 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087505/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Sounds = {
Slash = Handle:WaitForChild("Slash"),
Unsheath = Handle:WaitForChild("Unsheath")
}
Animations = {
{Animation = Tool:WaitForChild("LeftSlash"), Speed = ... | 2,174 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087556/src/BalloonScript.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Gravity = 196.2
Floating = false
ConnectedParts = {}
Connections = {}
Animations = { --Animations by Stickmasterluke
Hold = {Animation = Tool:WaitForChild("Hold")... | 1,120 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087556/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ClientControl = Tool:WaitForChild("ClientControl")
Equipped = false
ClientControl.OnClientInvoke = (function(Mode, Value)
if not Equipped or not Humanoid then
return
end
if Mode == "PlayAnimatio... | 273 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087597/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,
FIRE = 7
}; | 70 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087597/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 ... | 390 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087597/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 645 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087639/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/176087639/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Modified by alexnewtron
--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.n... | 3,998 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087640/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/176087640/src/GearScript/GearLibrary.client.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
--Updated for R15 avatars by StarWars
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.Paren... | 372 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176087640/src/GearScript/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
--Updated for R15 avatars by StarWars
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... | 1,061 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176219131/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 ... | 343 |
Roblox/gear | Roblox-gear-28b88df/src/gear/176219131/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 429 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/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 =... | 429 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/BatTransform/BatControls.client.luau | luau | .luau | local Velo,Gyro = script:WaitForChild("Velo",1),script:WaitForChild("Gyro",1)
if not Velo or not Gyro then return end
local Services = {
RunService = (game:FindService("RunService") or game:GetService("RunService"))
}
local Humanoid = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
local Center... | 290 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/BatTransform/DisableBackpack.client.luau | luau | .luau | --Much efficient way to hide the backpack without causing lag
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) | 40 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/BatTransform/EnableBackpack.client.luau | luau | .luau | --Much efficient way to hide the backpack without causing lag
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true) | 40 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/BatTransform/init.server.luau | luau | .luau | local Self = script
local world = workspace
local Target,Duration = Self:FindFirstChild("Target"),Self:FindFirstChild("Duration")
if not Target or not Duration then Self:Destroy() end
local Instant,Type,Vec3,random,cframe,Angles,Wait,rad,huge = Instance.new,type,Vector3.new,math.random,CFrame.new,CFrame.Angles,wai... | 2,591 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/Dash/init.client.luau | luau | .luau | --Creates dash particle effects on the client to reduce unecessary latency
function Create(ty)
return function(data)
local obj = Instance.new(ty)
for k, v in pairs(data) do
if type(k) == 'number' then
v.Parent = obj
else
obj[k] = v
end
end
return obj
end
end
local Seed = Random.new()
local... | 1,260 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/Finisher/init.server.luau | luau | .luau | --Send them away by the bats!
local Self = script
local world = workspace
local Instant,Type,Vec3,cframe,Angles = Instance.new,type,Vector3.new,CFrame.new,CFrame.Angles
local random,huge,rad,Wait = math.random,math.huge,math.rad,wait
local Pcall,Wrap = pcall,coroutine.wrap
local Target,Creator = Self:FindFirstChi... | 1,508 |
Roblox/gear | Roblox-gear-28b88df/src/gear/17680660/src/Server/RegionModule.luau | luau | .luau | --[[
By AxisAngle, (Trey Reynolds)
Documentation
http://www.roblox.com/item.aspx?id=227509468
Region constructors:
Region Region.new(CFrame RegionCFrame, Vector3 RegionSize)
>Returns a new Region object
Region Region.FromPart(Instance Part)
>Returns a new Region objects
Region methods:
table Region:Cast([Ins... | 8,966 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076749/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"));
lo... | 410 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076749/src/GearScript/init.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
-- Fixed by ArceusInator
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 = ... | 1,129 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076831/src/GearScript/ClientAgent.luau | luau | .luau | -- REMOTE FUNCTION CLIENT AGENT 9-14-14
return {
REQUEST_TARGETPOINT = 1,
REQUEST_ANIMATIONS = 2,
REQUEST_PLAYER = 3,
REQUEST_ANIMATIONS_END = 4,
SERVER_PLAY_SOUND = 6,
}; | 59 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076831/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 ... | 342 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076831/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 1,333 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076989/src/GearScript/ClientAgent.luau | luau | .luau | -- REMOTE FUNCTION CLIENT AGENT 9-24-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/178076989/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... | 564 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076989/src/GearScript/bang.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
local c = {
d = 20,
f = -1500,
deb = game:GetService("Debris"),
s = script.Parent:WaitForChild("Splat"),
clients = nil,
affectedClients = {},
creator = script:WaitForChild("Creator")
}
function IsTeamMate(Player1, Player2)
return (Player1 and Player2 and not Player1.Neutral and not ... | 741 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178076989/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 Controll... | 1,350 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178077177/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,
KEY_DOWN = 7,
KEY_UP = 8
}; | 76 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178077177/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 ... | 512 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178077177/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 PlayersService = Game:GetService('Players');
local DebrisService = Game:GetService('Debris');
local Character = nil;
local Player = nil;
... | 2,125 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178400986/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ClientControl = Tool:WaitForChild("ClientControl")
ServerControl = Tool:WaitForChild("ServerControl")
function Click(Down)
if not Player or not Humanoid or Humanoid.Health == 0 then
return
end
pc... | 199 |
Roblox/gear | Roblox-gear-28b88df/src/gear/178400986/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Mesh = Handle:WaitForChild("Mesh")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
Remover = script:WaitForChild("Remover")
FakeHandle = Tool:FindFirstChild("Fak... | 664 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1789546750/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... | 1,988 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1789546750/src/Script.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Made by Fusroblox
--Updated for R15 avatars by StarWars
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 =... | 4,126 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1789547756/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local handle = tool.Handle
local gear = GearService:BindGear(tool)
gear:SetupLocalScript("MouseIcon")
local DAMAGE = 12
local DEBOUNCE = 0.5
local SWING_LENGTH = 8
local grips = {
Equip = tool.Grip,
Swing = tool.Grip * CFr... | 380 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369406/src/Script/GhostScript/init.server.luau | luau | .luau | --Made by Luckymaxer
Figure = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Creator = Figure:FindFirstChild("Creator")
Humanoid = Figure:FindFirstChild("Humanoid")
Head = Figure:FindFirstChild("Head")
Torso = Figure:FindFirstChild("Torso")
HealthDisplay = script:WaitForChild... | 1,244 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369406/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
InsertService = game:GetService("InsertService")
GhostScript = script:WaitForChild("GhostScript")
Grips = {
Equip = CFrame.new(0, -0.5, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1),
Display = CFrame.new(3.25, -... | 648 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369627/src/LocalScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClient... | 487 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369627/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Animations = {
Sit = Tool:WaitForChild("Sit")
}
Sounds = {
Fade = Handle:WaitForChild("Fade")
}
ServerControl = (Tool:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
ServerContro... | 1,804 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369914/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
RunService = game:GetService("RunService")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
ServerControl = Tool:WaitForChild("... | 1,430 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369914/src/MouseIcon.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Players = game:GetService("Players")
Player = Players.LocalPlayer
Icons = {
Normal = "rbxasset://textures/GunCursor.png",
Reloading = "rbxasset://textures/GunWaitCursor.png"
}
ToolEquipped = false
function UpdateIcon()
if Mouse and ToolEquipped then
Mouse.Icon = (((T... | 268 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179369914/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
Model = script:WaitForChild("Model")
function DestroyModel()
if Model and Model.Parent then
Debris:AddItem(Model, 2)
end
Debris:AddItem(script, 2)
end
if not Creator or not Cr... | 270 |
Roblox/gear | Roblox-gear-28b88df/src/gear/179625551/src/PizzaScript.server.luau | luau | .luau | --[[ alexnewtron 2014 ]]--
-- voice by ejob
--Updated for R15 avatars by StarWars
local Tool = script.Parent;
enabled = true;
ghostChar = nil;
ghostHuman = nil;
function makeMeGhostly(trans)
if ghostChar == nil then return end
for i, v in pairs(ghostChar:GetChildren()) do
if v:IsA("BasePart") and v.Name ~= "Hum... | 497 |
Roblox/gear | Roblox-gear-28b88df/src/gear/18010691/src/NinjaStar.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
Tool = script.Parent
VELOCITY = 50 -- constant
loaded=false
local Pellet = Instance.new("Part")
Pellet.Name="NinjaStar"
Pellet.Locked = true
Pellet.BackSurface = 0
Pellet.BottomSurface = 0
Pellet.FrontSurface = 0
Pellet.LeftSurface = 0
Pellet.RightSurface = 0
Pellet.TopSurface = 0... | 972 |
Roblox/gear | Roblox-gear-28b88df/src/gear/18010691/src/StarScript.server.luau | luau | .luau | arrow = script.Parent
damage = 30
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset/?id=11113679"
HitSound.Parent = arrow
HitSound.Volume = .5
function stick(hit)
-- joint myself to the thing i hit
local weld = Instance.new("Weld")
weld.Part0 = arrow
weld.Par... | 391 |
Roblox/gear | Roblox-gear-28b88df/src/gear/18017365/src/SwordScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
DamageValues = {
BaseDamage = 5,
SlashDamage = 12,
LungeDamage = 16
}
Damage = DamageValues.BaseDamage
Grips = {... | 1,126 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298135/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.25, Speed = 1.25, Damage = 20},
{Anima... | 919 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298414/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke = (function(Mode, Value)
if playe... | 268 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298414/src/Script/BatManagement/FixCamera.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
pcall(function()
Camera = game:GetService("Workspace").CurrentCamera
Camera.CameraType = Enum.CameraType.Custom
end)
Debris:AddItem(script, 2) | 52 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298414/src/Script/BatManagement/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
Creator = script:FindFirstChild("Creator")
Tool = script:FindFirstChild("Tool")
FixCamera = script:FindFirstChild("FixCamera")
function DestroyModel()
if Player and Player.Parent then
if FixCamera then
if Character and Character.Pa... | 357 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298414/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
TrainedBatTheifModel = InsertService:LoadAsset(180247488)
TrainedBatTheif = Tra... | 2,143 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298769/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
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke... | 577 |
Roblox/gear | Roblox-gear-28b88df/src/gear/180298769/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")
Animations = {
ArmsOut = Tool:WaitForChild("ArmsOut"),
R15ArmsOut = Tool:WaitForChild("R15ArmsOut")
}
Sounds = {
Handle:WaitForChild("Squeak1"),
Handle:WaitForCh... | 4,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.