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/18482570/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 = "http://www.roblox.com/asset/?id=18471816"
SlashSound.Parent = sword
SlashSound.Volume = 1
local UnsheathSo... | 694 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422055/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "SteampunkBow"
function onAction(actionName, inputState, inputObject)
if inputState == En... | 228 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422055/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local TickEvent
local Charging = false
local Charge = 0
local ChargeRate = 25
local ChargeVis
local MinChargeTime = 1.3
local ChargeNeededToFire = ChargeRate * MinChargeTime
local Damage = 30
local R = ... | 1,906 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422295/src/Assets.luau | luau | .luau | --Made by Luckymaxer
BaseUrl = "http://www.roblox.com/asset/?id="
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function that gives us the nice Create'string'{data} syntax
--The first function call is a func... | 2,338 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422295/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Assets = require(Tool:WaitForChild("Assets"))
Data = Assets.Data
BaseUrl = Assets.BaseUrl
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
... | 4,169 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422758/src/Script/Movement.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatar by StarWars
Figure = script.Parent
Humanoid = Figure:WaitForChild("Humanoid")
Torso = Figure:WaitForChild("Torso")
Creator = Figure:WaitForChild("Creator")
FollowingPath = false
WalkRadius = 25
Humanoid.Health = Humanoid.MaxHealth
function RayCast(Position, Direction, ... | 659 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422758/src/Script/Remover.server.luau | luau | .luau | --Made by Luckymaxer
Model = script.Parent
Debris = game:GetService("Debris")
Creator = Model:FindFirstChild("Creator")
Tool = Model:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 2)
end
if not Creator or not Creator.Value or not Creator.Value:IsA("Player") or not Creator.Value.Parent or not... | 205 |
Roblox/gear | Roblox-gear-28b88df/src/gear/185422758/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")
Movement = script:WaitForChild("Movement")
Remover = script:WaitForChild("Remover")
GrimlockModel = InsertService:... | 879 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1856117810/src/BloxyColaScript.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,-.759,-.651)
Tool.GripPos = Vector3.new(1.37, -0.73, 0.2)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,.651,-.759)
Tool.Handle.DrinkSoun... | 292 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1865177377/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 = {}
LocalObjects = {}
ServerControl = T... | 1,615 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1865177377/src/Script/CameraShake.client.luau | luau | .luau | --Made by Luckymaxer
Camera = game:GetService("Workspace").CurrentCamera
Debris = game:GetService("Debris")
Duration = script:WaitForChild("Duration")
while Duration and Duration.Parent and Duration.Value > 0 do
local CameraRotation = Camera.CoordinateFrame - Camera.CoordinateFrame.p
local CameraScroll = (Camera.... | 183 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1865177377/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")
CameraShake = script:WaitForChild("CameraShake")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BaseP... | 3,023 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1865195740/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 ... | 446 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1865195740/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;
... | 723 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186521342/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/1868161479/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")
ViolinSong = Handle:WaitForChild("ViolinSong")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Mater... | 3,198 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186867645/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitFo... | 744 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186867645/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sparkles = Handle:WaitForChild("Sparkles")
PointLight = Handle:WaitForChild("PointLight")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Animations = {
Activate = {Animation = Tool:WaitForChild("Activate"), FadeT... | 3,235 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186867671/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Sparkles = Handle:WaitForChild("Sparkles")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Animations = {
Equip = {Animation = Tool:WaitForChild("Equip"), FadeTime = nil, Weight = nil, Speed = 1, Duration = 1.7},
... | 1,444 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186867693/src/Client.client.luau | luau | .luau | local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
function onMouseMove()
Remote:FireServer("UpdateDirection", Mouse.Hit.p)
end
function onMouseClick()
Remote:FireServer("ToggleLight")
end
Mouse.Move:connect(o... | 101 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186867693/src/Server.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Light = Handle:WaitForChild("Light")
local Remote = Tool:WaitForChild("Remote")
local Weld
local Motor
local MotorPart0
local MotorPart1
function getPlayer()
return game:GetService("Players"):GetPlayerFr... | 506 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868641/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
Camera = game:GetService("Workspace").CurrentCamera
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitFo... | 793 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868641/src/Script/Remover/FixCamera.client.luau | luau | .luau | --Made by Luckymaxer
Debris = game:GetService("Debris")
Camera = game:GetService("Workspace").CurrentCamera
Camera.FieldOfView = 70
Debris:AddItem(script, 2) | 45 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868641/src/Script/Remover/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script
Debris = game:GetService("Debris")
FixCamera = script:FindFirstChild("FixCamera")
Creator = Model:FindFirstChild("Creator")
Tool = Model:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 2)
if Creator and Creator.Parent then
local Backpack = Creator:FindFi... | 276 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868641/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")
Remover = script:WaitForChild("Remover")
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
BasePart.Sha... | 4,471 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868758/src/GravityCoilScript.server.luau | luau | .luau | -------- OMG HAX
r = game:service("RunService")
Tool = script.Parent
local equalizingForce = 236 / 1.2 -- amount of force required to levitate a mass
local gravity = .75 -- things float at > 1
local ghostEffect = nil
local massCon1 = nil
local massCon2 = nil
local head = nil
function recursiveGetLift(root)
loca... | 460 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186868758/src/Handle/IcyScript.server.luau | luau | .luau | local icyColors = {"Pastel blue", "Light blue", "Bright bluish-green"}
local function icyColor()
return BrickColor.new(icyColors[math.random(1, #icyColors)])
end
local function lineBetween(a, b)
local part = Instance.new("Part")
part.TopSurface = "Smooth"
part.BottomSurface = "Smooth"
part.Anchored = true
part.C... | 660 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186958653/src/Script/ConfusionScript.server.luau | luau | .luau | --Made by Luckymaxer
Humanoid = script.Parent
Character = Humanoid.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Head = Character:WaitForChild("Head")
Face = Head:FindFirstChild("face")
Texture = 186936495
FaceId = 186936651
FreezeColor = BrickColor.new("Pastel Blue")
Player = Pl... | 1,065 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186958653/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
ConfusionScript = script:WaitForChild("ConfusionScript")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Material = Enum.Material.Plastic
BasePart.Shape = Enum.PartType.Blo... | 3,855 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186959114/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "SnowmanSword"
function onAction(actionName, inputState, inputObject)
if inputState == Enum.UserInputState.Begin then
Remote:FireServer("Attack")
end
end
function onEquippe... | 276 |
Roblox/gear | Roblox-gear-28b88df/src/gear/186959114/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local AttackAble = true
local AttackDamaging = false
local AttackWindow = 0.5
local AttackRestTime = 1
local AttackDamage = 34
local AttackType = "Slash"
local AttackConnection
function onEquipped()
--ens... | 1,448 |
Roblox/gear | Roblox-gear-28b88df/src/gear/187688069/src/Script/BlackOutScript/init.client.luau | luau | .luau | --Made by Luckymaxer
Character = script.Parent
Humanoid = Character:WaitForChild("Humanoid")
Torso = Character:WaitForChild("Torso")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
KnockOut = script:WaitForChild("KnockOut")
Player = Players:GetPlayerFromCharacter(Character)
if Player then
P... | 370 |
Roblox/gear | Roblox-gear-28b88df/src/gear/187688069/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")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurfa... | 3,697 |
Roblox/gear | Roblox-gear-28b88df/src/gear/187840979/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "PenguinAttack"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
function onAction(actionName, inputState, inputObject)
if inputState == E... | 298 |
Roblox/gear | Roblox-gear-28b88df/src/gear/187840979/src/PenguinAi.server.luau | luau | .luau | local Penguin = script.Parent
local Tool = Penguin:WaitForChild("ToolPointer").Value
local Damage = Penguin:WaitForChild("Damage").Value
local Player = Penguin:WaitForChild("Player").Value
local DamageAble = true
local DamageReload = 1
--stabilize
local Gyro = Instance.new("BodyGyro")
Gyro.maxTorque = Vector3.new(mat... | 620 |
Roblox/gear | Roblox-gear-28b88df/src/gear/187840979/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local PenguinAi = Tool:WaitForChild("PenguinAi")
local TargetPosition = Tool:WaitForChild("TargetPosition")
local PenguinDamage = 15
local PenguinTime = 15
local PenguinsNumber = 5
local PenguinsMax = 8
lo... | 534 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1886281601/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local tool = script.Parent
local character
local humanoid
local cacheWalkspeed = 16
tool.Equipped:Connect(function()
character = tool.Parent
humanoid = character:FindFirstChildOfClass("Humanoid")
if humanoid then
cacheWalkspeed = humanoid.WalkSpeed
humanoid.WalkSpeed = 24
end
end)
... | 112 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/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,402 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/src/Objects/ScreenAdjust.client.luau | luau | .luau | --Made by Luckymaxer
wait()
ZoomGui = script.Parent
Scope = ZoomGui:WaitForChild("Scope")
Frame1 = ZoomGui:WaitForChild("Frame1")
Frame2 = ZoomGui:WaitForChild("Frame2")
function AdjustScreenSize()
Scope.Position = UDim2.new(0.5, (-10 - (ZoomGui.AbsoluteSize.Y / 2)), 0, -10)
Scope.Size = UDim2.new(0, (20 + ZoomGui... | 262 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/src/Objects/init.luau | luau | .luau | --Made by Luckymaxer
ScreenAdjust = script:WaitForChild("ScreenAdjust")
Objects = {}
function Objects.CreateZoomGui()
local ZoomGui = Instance.new("ScreenGui")
ZoomGui.Name = "ZoomGui"
local Frame1 = Instance.new("Frame")
Frame1.Name = "Frame1"
Frame1.BackgroundColor3 = Color3.new(0, 0, 0)
Frame1.BorderColor3 ... | 1,592 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/src/Script/Remover/FixCamera.client.luau | luau | .luau | --Made by Luckymaxer
Players = game:GetService("Players")
Debris = game:GetService("Debris")
Camera = game:GetService("Workspace").CurrentCamera
Player = Players.LocalPlayer
PlayerMouse = Player:GetMouse()
Camera.FieldOfView = 70
Player.CameraMode = Enum.CameraMode.Classic
PlayerMouse.Icon = ""
Debris:AddItem(scri... | 81 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/src/Script/Remover/init.server.luau | luau | .luau | --Made by Luckymaxer
Model = script
Debris = game:GetService("Debris")
FixCamera = script:FindFirstChild("FixCamera")
Creator = Model:FindFirstChild("Creator")
Tool = Model:FindFirstChild("Tool")
function DestroyModel()
Debris:AddItem(Model, 2)
if Creator and Creator.Parent then
local Backpack = Creator:FindFi... | 281 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188643628/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")
Remover = script:WaitForChild("Remover")
Objects = require(Tool:WaitForChild("Objects"))
R15 = false
BasePart = Instance.new("... | 4,087 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188644205/src/Script/HitScript.server.luau | luau | .luau | --Made by Luckymaxer
Star = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Creator = Star:WaitForChild("Creator")
HitSound = Star:WaitForChild("Hit")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Materi... | 1,344 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188644205/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")
Debris = game:GetService("Debris")
HitScript = script:WaitForChild("HitScript")
DisplayModel = Tool:FindFirstChild("DisplayMode... | 1,689 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188644771/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.... | 5,868 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188853857/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "ArcticFoxTail"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
function onAction(actionName, inputState, inputObject)
if inputState == E... | 299 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188853857/src/Server.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Mesh = Handle:WaitForChild("Mesh")
local Remote = Tool:WaitForChild("Remote")
local UcMeshData = "http://www.roblox.com/asset/?id=188539404"
local UcGripPos = Vector3.new(1.5, 1.25, -3.5)
local UcGripUp = ... | 858 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188854357/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 = {}
LocalObjects = {}
ServerControl = T... | 1,549 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188854357/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BasePart.TopSurface = Enum.SurfaceType.Smooth
BasePart.... | 3,114 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188868661/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "PenguinAttack"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local EquipTrack
function onAction(actionName, inputState, inputObject)
... | 340 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188868661/src/Projectile.server.luau | luau | .luau | local Part = script.Parent
local Heartbeat = game:GetService("RunService").Heartbeat
while Heartbeat:wait() do
Part.CFrame = CFrame.new(Part.Position, Part.Position + Part.Velocity)
end
| 49 |
Roblox/gear | Roblox-gear-28b88df/src/gear/188868661/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local ProjectileScript = Tool:WaitForChild("Projectile")
local LeftHandle
local Equipping = false
local AttackType = "ThrowRight"
local AttackAble = true
local AttackRest = 1
local AttackDamage = 20
local... | 989 |
Roblox/gear | Roblox-gear-28b88df/src/gear/18971349/src/TeddyScript.server.luau | luau | .luau | local Tool = script.Parent;
enabled = true
s1 = Instance.new("Sound")
s1.SoundId = "http://www.roblox.com/asset/?id=18970347"
s1.Parent = Tool.Handle
s2 = Instance.new("Sound")
s2.SoundId = "http://www.roblox.com/asset/?id=18970405"
s2.Parent = Tool.Handle
s3 = Instance.new("Sound")
s3.SoundId = "h... | 471 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189756588/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local AttackAble = true
local AttackDamaging = false
local AttackWindow = 0.5
local AttackRestTime = 1
local AttackDamage = 34
local AttackType = "Slash"
local AttackTypes = {"Slash", "Chop", "Spin"}
local ... | 997 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910262/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 = {}
LocalObjects = {}
ServerControl = T... | 1,583 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910262/src/Script.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")
VehicleModule = require(Tool:WaitForChild("VehicleModule"))
Controls = {
Forward = false,
Backward = false,
Left = false,
R... | 3,023 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910262/src/VehicleModule.luau | luau | .luau | --Made by Luckymaxer
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 = Enum.FormFactor.Custom
BasePart.Size = Vector3.new(0.2, 0.2, 0.2)
Base... | 685 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910707/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 = {}
LocalObjects = {}
ServerControl = T... | 1,589 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910707/src/Script/Movement/NormalSurfaceModule.luau | luau | .luau | --Normal Surface Retrieval by xXxMoNkEyMaNxXx
Terrain = game:GetService("Workspace").Terrain
GetCell = Terrain.GetCell
CellCenterToWorld = Terrain.CellCenterToWorld
WorldToCellPreferSolid = Terrain.WorldToCellPreferSolid
IdentityVector = Vector3.new()
IdentityCFrame = CFrame.new()
--Returns:
--Index of closest plane... | 2,225 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910707/src/Script/Movement/init.server.luau | luau | .luau | --Made by Luckymaxer
--Updated for R15 avatars by StarWars
Figure = script.Parent
Humanoid = Figure:WaitForChild("Humanoid")
Torso = Figure:WaitForChild("Torso")
Plow = Figure:WaitForChild("Plow")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
Debris = game:GetService("Debris")
SnowM... | 1,412 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910707/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")
Movement = script:WaitForChild("Movement")
Remover = script:WaitForChild("Remov... | 1,372 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910805/src/LocalScript.client.luau | luau | .luau | --Rescripted by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
Rate = (1 / 60)
ToolEquipped = false
function SetAnimation(mode, value)
... | 709 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910805/src/Script/CloudScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Cloud = script.Parent
Mesh = Cloud:WaitForChild("Mesh")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
Creator = script:WaitForChild("Creator")
RainDuration = script:WaitForChild("RainDuration")
Target = script:WaitForChil... | 787 |
Roblox/gear | Roblox-gear-28b88df/src/gear/189910805/src/Script/init.server.luau | luau | .luau | --Rescripted by Luckymaxer
--Updated for R15 avatars by StarWars
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
CloudScript = script:WaitForChild("CloudScript")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'stri... | 1,594 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190094159/src/ProjectileScript.server.luau | luau | .luau | local part = script.Parent
local hb = game:GetService("RunService").Heartbeat
while hb:wait() do
part.CFrame = CFrame.new(part.Position, part.Position + part.Velocity)
end
| 45 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190094270/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")
Remover = script:WaitForChild("Remover")
VehicleModel = InsertService:LoadAsse... | 652 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190094313/src/Script.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RunService = game:GetService("RunService")
NormalSurfaceModule = require(Tool:WaitForChild("NormalSurfaceModule"))
BasePart = Instance.new("Part")
BasePart.Shape = E... | 5,599 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190111117/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/1903663829/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool)
gear:SetupLocalScript("MouseIcon")
for _, particle in next, tool.Handle.BarrelAttachment:GetChildren() do
if particle:IsA("ParticleEmitter") then
particle.Enabled = false
end
end
ge... | 298 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1903666770/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local runService = game:GetService("RunService")
local players = game:GetService("Players")
local GearService = require(1075123174)
local tool = script.Parent
local gear = GearService:BindGear(tool, "Sword")
tool.Open.Transparency = 1
tool.Close.Transparency = 0
gear:BindActivateFunction("... | 229 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190880295/src/Script/ExplosionScript.server.luau | luau | .luau | --Made by Luckymaxer
Firework = script.Parent
Debris = game:GetService("Debris")
Sounds = {
Fly = Firework:WaitForChild("Fly"),
Explode = Firework:WaitForChild("Explode")
}
Duration = script:FindFirstChild("Duration")
BodyForce = Firework:FindFirstChild("BodyForce")
Colors = {
Color3.new((255 / 255), 0, 0),
C... | 1,206 |
Roblox/gear | Roblox-gear-28b88df/src/gear/190880295/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")
ExplosionScript = script:WaitForChild("ExplosionScript")
Animations = {
Light = {Animation = Tool:WaitForChild("Light"), FadeT... | 960 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19111869/src/LocalScript.client.luau | luau | .luau | --Made by Stickmasterluke
--Rescripted by StarWars
local Players = game:GetService("Players")
local Tool = script.Parent
local Player = Players.LocalPlayer
local LastUse = Tool:WaitForChild("LastUse")
local COOLDOWN = 10
function OnEquipped(mouse)
if mouse and Player then
if tick() - COOLDOWN < LastUse.Value t... | 260 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19111883/src/CoinScript.server.luau | luau | .luau | local debris = game:service("Debris")
pellet = script.Parent
local heal = 2
local healsound = Instance.new("Sound")
healsound.SoundId = "http://www.roblox.com/asset/?id=15372684"
healsound.Parent = pellet
healsound.PlayOnRemove = true
function onTouched(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
if hum... | 240 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19111883/src/DreidelScript.server.luau | luau | .luau | -------- OMG HAX
debris = game:GetService("Debris")
r = game:service("RunService")
Tool = script.Parent
--local Pellet = Tool.Handle:Clone() --Tool.Handle:Clone()
--Tool.CoinScript:Clone().Parent = Pellet
Tool.CoinScript.Disabled = false
function onEquipped()
--body of the dreidel
dBody= Instance.new("Part")
... | 1,411 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19111894/src/SnowGlobeScript.server.luau | luau | .luau | local Tool = script.Parent;
Tool.Enabled = true
local sparkles = script.Parent.Handle:findFirstChild("Sparkles")
function onActivated()
if not Tool.Enabled then
return
end
sparkles.Enabled = true
snowglobesound:Play()
Tool.Parent.Torso["Right Shoulder"].MaxVelocity = 0.5
Tool.Parent.Torso["... | 584 |
Roblox/gear | Roblox-gear-28b88df/src/gear/191261808/src/Client.client.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "PenguinAttack"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local HoldAni = Tool:WaitForChild("h... | 503 |
Roblox/gear | Roblox-gear-28b88df/src/gear/191261808/src/continuumScript.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local handle = Tool:WaitForChild("Handle")
local EngineSound = handle:WaitForChild("Running")
local HoldAni = Tool:WaitForChild("holdAni")
local R15Sit = Tool:WaitForChild("R15Sit")
local Remote = Tool:WaitForChild("Remote")
local left=false
local r... | 2,182 |
Roblox/gear | Roblox-gear-28b88df/src/gear/191261930/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "BlackAndWhiteWingedSword"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
function onAction(actionName, inputState, inputObject)
if inpu... | 356 |
Roblox/gear | Roblox-gear-28b88df/src/gear/191261930/src/Server.server.luau | luau | .luau | --Updated for R15 avatars by StarWars
local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Handle = Tool:WaitForChild("Handle")
local Human
local JumpConnection
local HB = game:GetService("RunService").Heartbeat
local DB = game:GetService("Debris")
local AttackAble = true
local AttackRestTime = ... | 1,082 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1915020448/src/Script.server.luau | luau | .luau | -- // Created by StarWars
local InsertService = game:GetService("InsertService")
local Tool = script.Parent
Tool.RequiresHandle = false
if Tool:FindFirstChild("Handle") then
Tool.Handle:Destroy()
end
if Tool:FindFirstChild("Display") then
Tool.Display:Destroy()
end
local Wasp = InsertService:LoadAsset(1914909026)... | 276 |
Roblox/gear | Roblox-gear-28b88df/src/gear/192456288/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
ContentProvider = game:GetService("ContentProvider")
Animations = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = Tool:WaitForChild("ClientControl")
ClientControl.OnClientInvoke... | 568 |
Roblox/gear | Roblox-gear-28b88df/src/gear/192456288/src/Script/GuiHandler.client.luau | luau | .luau | --Made by Luckymaxer
ScreenGui = script.Parent
ScrollingFrame = ScreenGui:WaitForChild("ScrollingFrame")
ServerControl = ScreenGui:WaitForChild("ServerControl").Value
FrameSize = ScrollingFrame.Position
ScrollingFrame.Position = UDim2.new(0, (ScreenGui.AbsoluteSize.X - ScrollingFrame.AbsoluteSize.X - FrameSize.X.Of... | 464 |
Roblox/gear | Roblox-gear-28b88df/src/gear/192456288/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
local PackageLib = require(836581200)
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
InsertService = game:GetService("InsertService")
GuiHandler = script:WaitForChild("GuiHandler")
BasePart = Instance.new("Part"... | 3,716 |
Roblox/gear | Roblox-gear-28b88df/src/gear/192537346/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local AmmoMeshData = "http://www.roblox.com/asset/?id=191294160"
local AttackAble = true
local AttackReloadTime = 0.5
local Penguins = {}
function penguinsOut()
for index, penguin in pairs(Penguins) do
... | 748 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1929592959/src/LocalScript.client.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
RunService = game:GetService("RunService")
UserInputService = game:GetService("UserInputService")
Animations = {}
LocalObjects = {}
ServerControl = Tool:WaitForChild("ServerControl")
ClientControl = T... | 1,008 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1929592959/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function t... | 3,517 |
Roblox/gear | Roblox-gear-28b88df/src/gear/1929597345/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,382 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19328185/src/SnowballLauncher/ProjectileScript.server.luau | luau | .luau | --Rescripted by Luckymaxer
Projectile = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local Hitsounds = {"19326853", "19326880", "19326891"}
local flakes = {"19003948", "19003957", "19003971", "19003978", "19003982", "19003990", "19003998"}
local globs = {"19323823", "19323854... | 1,067 |
Roblox/gear | Roblox-gear-28b88df/src/gear/19328185/src/SnowballLauncher/init.server.luau | luau | .luau | --Rescripted 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 func... | 1,671 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193705415/src/Server.server.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local Dropped = false
function getPlayer()
return game:GetService("Players"):GetPlayerFromCharacter(Tool.Parent)
end
function onActivate()
if Dropped then return end
local root = Tool.Parent:FindFirstChild("HumanoidRootPart")
if root then
l... | 190 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193743245/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 = {}
LocalObjects = {}
ServerControl = T... | 1,531 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193743245/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")
CameraShake = script:WaitForChild("CameraShake")
BasePart = Instance.new("Part")
BasePart.Shape = Enum.PartType.Block
BasePart.Material = Enum.Material.Plastic
BaseP... | 2,664 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193769809/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local songgui
local CAS = game:GetService("ContextActionService")
local ActionName = "PenguinAttack"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
function onAction()
Remote:FireServer("Activate", Mouse.Hit... | 807 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193769809/src/Server.server.luau | luau | .luau | --[[
Fixed by ArceusInator & ReallyLongArms
--]]
local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local Remote = Tool:WaitForChild("Remote")
local Sound = Handle:WaitForChild("Sound")
local LastRequestTime = 0
function floodCheck()
local timeNow = tick()
local elapsed = timeNow - LastRequestTi... | 389 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193771176/src/Script/LightningModule.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Players = game:GetService("Players")
Debris = game:GetService("Debris")
RbxUtility = LoadLibrary("RbxUtility")
Create = RbxUtility.Create
BasePart = Create("Part"){
Material = Enum.Material.Plastic,
TopSurface = Enum.SurfaceType.Smooth,
BottomSurface = Enum.SurfaceType.S... | 1,724 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193771176/src/Script/init.server.luau | luau | .luau | --Made by Luckymaxer
Tool = script.Parent
Handle = Tool:WaitForChild("Handle")
Players = game:GetService("Players")
Debris = game:GetService("Debris")
local function Create_PrivImpl(objectType)
if type(objectType) ~= 'string' then
error("Argument of Create must be a string", 2)
end
--return the proxy function t... | 2,296 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193772607/src/Client.client.luau | luau | .luau | local Tool = script.Parent
local Remote = Tool:WaitForChild("Remote")
local CAS = game:GetService("ContextActionService")
local ActionName = "KorbloxIceHunterBow"
local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
local Tracks = {}
function onAction(actionName, inputState, inputOb... | 385 |
Roblox/gear | Roblox-gear-28b88df/src/gear/193772607/src/Projectile.server.luau | luau | .luau | local heartbeat = game:GetService("RunService").Heartbeat
local part = script.Parent
while true do
part.CFrame = CFrame.new(part.Position, part.Position + part.Velocity)
heartbeat:wait()
end | 46 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.