Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
TweenService = :()
RunService = :()
CoreGui = :()
LocalPlayer = Players.LocalPlayer
Mouse = LocalPlayer:()
Camera = .CurrentCamera
CONFIG = {
GunName = ,
LaserColor = .(, , ),
LaserDuration = ,
Cooldown = ,
ShootSound = ,
ReloadSound = ,
MeshId = ,
TextureId =
}
RemoteName =
remoteEvent = ReplicatedStorage:(RemoteName)
remoteEvent
remoteEvent = .()
remoteEvent.Name = RemoteName
remoteEvent.Parent = ReplicatedStorage
isShiftLockEnabled =
shiftLockConnection =
(enable)
isShiftLockEnabled = enable
shiftLockConnection
shiftLockConnection:()
shiftLockConnection =
isShiftLockEnabled
shiftLockConnection = RunService.RenderStepped:(()
character = LocalPlayer.Character
character character:()
rootPart = character.HumanoidRootPart
cameraLook = Camera.CFrame.LookVector
lookVector = .(cameraLook.X, , cameraLook.Z).Unit
rootPart.CFrame = .(rootPart.Position, rootPart.Position + lookVector)
)
localDummyModel =
dummyMovementThread =
isDummyMovementEnabled =
isDummyJumpEnabled =
()
dummyMovementThread
.(dummyMovementThread)
dummyMovementThread =
()
()
localDummyModel
localDummyModel:()
localDummyModel =
character = LocalPlayer.Character
character character:()
hrp = character.HumanoidRootPart
spawnCFrame = hrp.CFrame * .(, , -)
dummy = .()
dummy.Name =
tag = .()
tag.Name =
tag.Parent = dummy
rootPart = .()
rootPart.Name =
rootPart.Size = .(, , )
rootPart.CFrame = spawnCFrame
rootPart.Transparency =
rootPart.CanCollide =
rootPart.Parent = dummy
torso = .()
torso.Name =
torso.Size = .(, , )
torso.CFrame = spawnCFrame
torso.Color = .(, , )
torso.Material = .Material.SmoothPlastic
torso.Parent = dummy
head = .()
head.Name =
head.Size = .(, , )
head.CFrame = spawnCFrame * .(, , )
head.Color = .(, , )
head.Material = .Material.Neon
head.Parent = dummy
rootWeld = .()
rootWeld.Part0 = rootPart
rootWeld.Part1 = torso
rootWeld.Parent = rootPart
headWeld = .()
headWeld.Part0 = torso
headWeld.Part1 = head
headWeld.Parent = torso
humanoid = .()
humanoid.MaxHealth =
humanoid.Health =
humanoid.WalkSpeed =
humanoid.JumpPower =
humanoid.Parent = dummy
billboard = .()
billboard.Name =
billboard.Size = .(, , , )
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.Parent = head
textLabel = .()
textLabel.Size = .(, , , )
textLabel.BackgroundTransparency =
textLabel.Text =
textLabel.TextColor3 = .(, , )
textLabel.Font = .Font.SourceSansBold
textLabel.TextSize =
textLabel.Parent = billboard
dummy.PrimaryPart = rootPart
dummy.Parent =
localDummyModel = dummy
dummyMovementThread = .(()
dummy dummy.Parent humanoid.Health >
isDummyMovementEnabled rootPart
randomOffset = .(.(-, ), , .(-, ))
targetPos = rootPart.Position + randomOffset
humanoid:(targetPos)
isDummyJumpEnabled .(, ) ==
.(.(, ) / )
humanoid.Health >
humanoid.Jump =
.(.(, ))
)
(origin, endPos)
distance = (endPos - origin).Magnitude
laser = .()
laser.Name =
laser.Anchored =
laser.CanCollide =
laser.Material = .Material.Neon
laser.Color = CONFIG.LaserColor
laser.Size = .(, , distance)
laser.CFrame = .(origin, endPos) * .(, , -distance / )
laser.Parent =
tweenInfo = TweenInfo.(CONFIG.LaserDuration, .EasingStyle.Quad, .EasingDirection.Out)
tween = TweenService:(laser, tweenInfo, {Transparency = , Size = .(, , distance)})
tween:()
tween.Completed:(()
laser:()
)
remoteEvent.OnClientEvent:((action, data)
action ==
(data.Origin, data.EndPos)
action ==
data.TargetPlayer == LocalPlayer LocalPlayer.Character
humanoid = LocalPlayer.Character:()
humanoid
humanoid.Health =
)
isReloading =
()
tool = .()
tool.Name = CONFIG.GunName
tool.GripPos = .(, -, )
tool.GripForward = .(, , -)
tool.GripRight = .(, , )
tool.GripUp = .(, , )
handle = .()
handle.Name =
handle.Size = .(, , )
handle.Material = .Material.Neon
handle.Color = .(, , )
handle.Parent = tool
mesh = .()
mesh.MeshType = .MeshType.FileMesh
mesh.MeshId = CONFIG.MeshId
mesh.TextureId = CONFIG.TextureId
mesh.Scale = .(, , )
mesh.Parent = handle
shootSound = .()
shootSound.Name =
shootSound.SoundId = CONFIG.ShootSound
shootSound.Parent = handle
reloadSound = .()
reloadSound.Name =
reloadSound.SoundId = CONFIG.ReloadSound
reloadSound.Parent = handle
tool.Activated:(()
isReloading
isReloading =
shootSound:()
character = LocalPlayer.Character
character character:()
isReloading =
origin = handle.Position
direction
isShiftLockEnabled
direction = Camera.CFrame.LookVector *
targetPos = Mouse.Hit.p
direction = (targetPos - origin).Unit *
raycastParams = RaycastParams.()
raycastParams.FilterDescendantsInstances = {character}
raycastParams.FilterType = .RaycastFilterType.Exclude
result = :(origin, direction, raycastParams)
endPos = result result.Position (origin + direction)
(origin, endPos)
remoteEvent:(, {Origin = origin, EndPos = endPos})
result result.Instance
hitChar = result.Instance.Parent
hitChar:() hitChar.Parent:()
hitChar = hitChar.Parent
targetPlayer = Players:(hitChar)
targetHumanoid = hitChar:()
targetPlayer targetPlayer ~= LocalPlayer
remoteEvent:(, {TargetPlayer = targetPlayer})
targetHumanoid hitChar:()
targetHumanoid.Health =
()
head = hitChar:()
head head.Color = .(, , )
.(, ()
hitChar hitChar.Parent
hitChar:()
localDummyModel =
)
.(CONFIG.Cooldown - , ()
reloadSound:()
)
.(CONFIG.Cooldown, ()
isReloading =
)
)
tool
()
existingGui = CoreGui:() LocalPlayer.PlayerGui:()
existingGui existingGui:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
(() screenGui.Parent = CoreGui )
screenGui.Parent screenGui.Parent = LocalPlayer:()
mainPanel = .()
mainPanel.Name =
mainPanel.Size = .(, , , )
mainPanel.Position = .(, , , )
mainPanel.BackgroundColor3 = .(, , )
mainPanel.Active =
mainPanel.Draggable =
mainPanel.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainPanel
titleLabel = .()
titleLabel.Name =
titleLabel.Size = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.Text =
titleLabel.TextColor3 = .(, , )
titleLabel.Font = .Font.SourceSansBold
titleLabel.TextSize =
titleLabel.Parent = mainPanel
titleLine = .()
titleLine.Size = .(, , , )
titleLine.Position = .(, , , )
titleLine.BackgroundColor3 = .(, , )
titleLine.BorderSizePixel =
titleLine.Parent = mainPanel
container = .()
container.Size = .(, , , -)
container.Position = .(, , , )
container.BackgroundTransparency =
container.Parent = mainPanel
layout = .()
layout.Padding = .(, )
layout.HorizontalAlignment = .HorizontalAlignment.Center
layout.SortOrder = .SortOrder.LayoutOrder
layout.Parent = container
(name, text, order)
btn = .()
btn.Name = name
btn.Size = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.Text = text
btn.TextColor3 = .(, , )
btn.Font = .Font.SourceSansBold
btn.TextSize =
btn.LayoutOrder = order
btn.Parent = container
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
btn
spawnBtn = (, , )
shiftBtn = (, , )
dummyBtn = (, , )
moveBtn = (, , )
jumpBtn = (, , )
crosshair = .()
crosshair.Name =
crosshair.Size = .(, , , )
crosshair.Position = .(, -, , -)
crosshair.BackgroundColor3 = .(, , )
crosshair.Visible =
crosshair.Parent = screenGui
crossCorner = .()
crossCorner.CornerRadius = .(, )
crossCorner.Parent = crosshair
toggleBtn = .()
toggleBtn.Name =
toggleBtn.Size = .(, , , )
toggleBtn.Position = .(, , , )
toggleBtn.BackgroundColor3 = .(, , )
toggleBtn.Text =
toggleBtn.TextColor3 = .(, , )
toggleBtn.Font = .Font.SourceSansBold
toggleBtn.TextSize =
toggleBtn.Active =
toggleBtn.Draggable =
toggleBtn.Parent = screenGui
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleBtn
toggleBtn.MouseButton1Click:(()
mainPanel.Visible = mainPanel.Visible
)
spawnBtn.MouseButton1Click:(()
backpack = LocalPlayer:()
backpack
backpack:(CONFIG.GunName) (LocalPlayer.Character LocalPlayer.Character:(CONFIG.GunName))
gun = ()
gun.Parent = backpack
)
shiftBtn.MouseButton1Click:(()
newState = isShiftLockEnabled
(newState)
newState
shiftBtn.Text =
crosshair.Visible =
shiftBtn.Text =
crosshair.Visible =
)
dummyBtn.MouseButton1Click:(()
()
)
moveBtn.MouseButton1Click:(()
isDummyMovementEnabled = isDummyMovementEnabled
isDummyMovementEnabled
moveBtn.Text =
moveBtn.Text =
)
jumpBtn.MouseButton1Click:(()
isDummyJumpEnabled = isDummyJumpEnabled
isDummyJumpEnabled
jumpBtn.Text =
jumpBtn.Text =
)
()
MESS MESS MESS IM A MESS MESS MESS

Universal