Run it
Copy the script and paste it into your executor.
ScreenGui = .()
TextButton = .()
Frame = .()
TextButton_2 = .()
UICorner = .()
TextLabel = .()
UICorner_2 = .()
TextButton_3 = .()
UICorner_3 = .()
TextButton_4 = .()
UICorner_4 = .()
TextButton_5 = .()
UICorner_5 = .()
TextButton_6 = .()
UICorner_6 = .()
TextButton_7 = .()
UICorner_7 = .()
TextButton_8 = .()
UICorner_8 = .()
TextButton_9 = .()
UICorner_9 = .()
TextButton_10 = .()
UICorner_10 = .()
TextButton_11 = .()
UICorner_11 = .()
TextButton_12 = .()
UICorner_12 = .()
TextButton_13 = .()
UIGradient = .()
UICorner_13 = .()
TextButton_14 = .()
UICorner_14 = .()
TextButton_15 = .()
UICorner_15 = .()
TextButton_16 = .()
UICorner_16 = .()
TextLabel_2 = .()
TextLabel_3 = .()
TextButton_17 = .()
UICorner_17 = .()
TextButton_18 = .()
UICorner_18 = .()
TextButton_19 = .()
UICorner_19 = .()
TextButton_20 = .()
UICorner_20 = .()
UIGradient_2 = .()
TextButton_21 = .()
UICorner_21 = .()
UIGradient_3 = .()
TextButton_22 = .()
UICorner_22 = .()
TextButton_23 = .()
UICorner_23 = .()
TextButton_24 = .()
UICorner_24 = .()
TextButton_25 = .()
UICorner_25 = .()
UIGradient_4 = .()
TextButton_26 = .()
UICorner_26 = .()
TextLabel_4 = .()
Frame_2 = .()
TextLabel_5 = .()
TextLabel_6 = .()
TextButton_27 = .()
UICorner_27 = .()
TextButton_28 = .()
UICorner_28 = .()
TextButton_29 = .()
UICorner_29 = .()
TextButton_30 = .()
UICorner_30 = .()
TextButton_31 = .()
UICorner_31 = .()
TextButton_32 = .()
UICorner_32 = .()
TextButton_33 = .()
UICorner_33 = .()
TextButton_34 = .()
UICorner_34 = .()
TextButton_35 = .()
UICorner_35 = .()
UIGradient_5 = .()
TextButton_36 = .()
UICorner_36 = .()
UIGradient_6 = .()
ImageLabel = .()
Frame_3 = .()
TextButton_37 = .()
UICorner_37 = .()
UIGradient_7 = .()
TextButton_38 = .()
UIGradient_8 = .()
UICorner_38 = .()
TextButton_39 = .()
UICorner_39 = .()
UIGradient_9 = .()
TextButton_40 = .()
UICorner_40 = .()
UIGradient_10 = .()
TextButton_41 = .()
UICorner_41 = .()
TextButton_42 = .()
UICorner_42 = .()
TextButton_43 = .()
UICorner_43 = .()
ScreenGui.Parent = .Players.LocalPlayer:()
ScreenGui.ResetOnSpawn =
TextButton.Parent = ScreenGui
TextButton.BackgroundColor3 = .(, , )
TextButton.BorderColor3 = .(, , )
TextButton.BorderSizePixel =
TextButton.Position = .(, , , )
TextButton.Size = .(, , , )
TextButton.Font = .Font.SourceSansLight
TextButton.Text =
TextButton.TextColor3 = .(, , )
TextButton.TextScaled =
TextButton.TextSize =
TextButton.TextWrapped =
Frame.Parent = ScreenGui
Frame.AnchorPoint = .(, )
Frame.BackgroundColor3 = .(, , )
Frame.BorderColor3 = .(, , )
Frame.BorderSizePixel =
Frame.Position = .(, , , )
Frame.Size = .(, , , )
Frame.Active =
Frame.Draggable =
TextButton_2.Parent = Frame
TextButton_2.BackgroundColor3 = .(, , )
TextButton_2.BorderColor3 = .(, , )
TextButton_2.BorderSizePixel =
TextButton_2.Position = .(, , , )
TextButton_2.Size = .(, , , )
TextButton_2.Font = .Font.Unknown
TextButton_2.Text =
TextButton_2.TextColor3 = .(, , )
TextButton_2.TextScaled =
TextButton_2.TextSize =
TextButton_2.TextWrapped =
TextButton_2.MouseButton1Down:(()
(:())()
)
UICorner.CornerRadius = .(, )
UICorner.Parent = TextButton_2
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = .(, , )
TextLabel.BorderColor3 = .(, , )
TextLabel.BorderSizePixel =
TextLabel.Size = .(, , , )
TextLabel.Font = .Font.SourceSansLight
TextLabel.Text =
TextLabel.TextColor3 = .(, , )
TextLabel.TextScaled =
TextLabel.TextSize =
TextLabel.TextWrapped =
UICorner_2.CornerRadius = .(, )
UICorner_2.Parent = TextLabel
TextButton_3.Parent = Frame
TextButton_3.BackgroundColor3 = .(, , )
TextButton_3.BorderColor3 = .(, , )
TextButton_3.BorderSizePixel =
TextButton_3.Position = .(, , , )
TextButton_3.Size = .(, , , )
TextButton_3.Font = .Font.Unknown
TextButton_3.Text =
TextButton_3.TextColor3 = .(, , )
TextButton_3.TextScaled =
TextButton_3.TextSize =
TextButton_3.TextWrapped =
TextButton_3.MouseButton1Down:(()
(:())()
)
UICorner_3.CornerRadius = .(, )
UICorner_3.Parent = TextButton_3
TextButton_4.Parent = Frame
TextButton_4.BackgroundColor3 = .(, , )
TextButton_4.BorderColor3 = .(, , )
TextButton_4.BorderSizePixel =
TextButton_4.Position = .(, , , )
TextButton_4.Size = .(, , , )
TextButton_4.Font = .Font.Unknown
TextButton_4.Text =
TextButton_4.TextColor3 = .(, , )
TextButton_4.TextScaled =
TextButton_4.TextSize =
TextButton_4.TextWrapped =
TextButton_4.MouseButton1Down:(()
.FullBrightExecuted
.FullBrightEnabled =
.NormalLightingSettings = {
Brightness = :().Brightness,
ClockTime = :().ClockTime,
FogEnd = :().FogEnd,
GlobalShadows = :().GlobalShadows,
Ambient = :().Ambient
}
:():():(()
:().Brightness ~= :().Brightness ~= .NormalLightingSettings.Brightness
.NormalLightingSettings.Brightness = :().Brightness
.FullBrightEnabled
()
.FullBrightEnabled
:().Brightness =
)
:():():(()
:().ClockTime ~= :().ClockTime ~= .NormalLightingSettings.ClockTime
.NormalLightingSettings.ClockTime = :().ClockTime
.FullBrightEnabled
()
.FullBrightEnabled
:().ClockTime =
)
:():():(()
:().FogEnd ~= :().FogEnd ~= .NormalLightingSettings.FogEnd
.NormalLightingSettings.FogEnd = :().FogEnd
.FullBrightEnabled
()
.FullBrightEnabled
:().FogEnd =
)
:():():(()
:().GlobalShadows ~= :().GlobalShadows ~= .NormalLightingSettings.GlobalShadows
.NormalLightingSettings.GlobalShadows = :().GlobalShadows
.FullBrightEnabled
()
.FullBrightEnabled
:().GlobalShadows =
)
:():():(()
:().Ambient ~= .(, , ) :().Ambient ~= .NormalLightingSettings.Ambient
.NormalLightingSettings.Ambient = :().Ambient
.FullBrightEnabled
()
.FullBrightEnabled
:().Ambient = .(, , )
)
:().Brightness =
:().ClockTime =
:().FogEnd =
:().GlobalShadows =
:().Ambient = .(, , )
LatestValue =
(()
()
.FullBrightEnabled
()
.FullBrightEnabled ~= LatestValue
.FullBrightEnabled
:().Brightness = .NormalLightingSettings.Brightness
:().ClockTime = .NormalLightingSettings.ClockTime
:().FogEnd = .NormalLightingSettings.FogEnd
:().GlobalShadows = .NormalLightingSettings.GlobalShadows
:().Ambient = .NormalLightingSettings.Ambient
:().Brightness =
:().ClockTime =
:().FogEnd =
:().GlobalShadows =
:().Ambient = .(, , )
LatestValue = LatestValue
)
.FullBrightExecuted =
.FullBrightEnabled = .FullBrightEnabled
)
UICorner_4.CornerRadius = .(, )
UICorner_4.Parent = TextButton_4
TextButton_5.Parent = Frame
TextButton_5.BackgroundColor3 = .(, , )
TextButton_5.BorderColor3 = .(, , )
TextButton_5.BorderSizePixel =
TextButton_5.Position = .(, , , )
TextButton_5.Size = .(, , , )
TextButton_5.Font = .Font.Unknown
TextButton_5.Text =
TextButton_5.TextColor3 = .(, , )
TextButton_5.TextScaled =
TextButton_5.TextSize =
TextButton_5.TextWrapped =
TextButton_5.MouseButton1Down:(()
runDummyScript = (f,scri)
oldenv = (f)
newenv = ({}, {
__index = (_, k)
k:() ==
scri
oldenv[k]
})
(f, newenv)
(() () )
cors = {}
mas = .(,:())
mas.Name =
o1 = .()
o2 = .()
o3 = .()
o4 = .()
o5 = .()
o6 = .()
o7 = .()
o1.Name =
o1.Parent = mas
o2.Name =
o2.Parent = o1
o2.Position = .(-,-,,-)
o2.Size = .(,,,)
o2.Position = .(-,-,,-)
o2.BackgroundColor3 = .(, , )
o2.BackgroundTransparency =
o2.BorderSizePixel =
o3.Name =
o3.Parent = o2
o3.Size = .(,,,)
o3.Text =
o3.BackgroundColor3 = .(, , )
o3.BorderColor3 = .(, , )
o3.BorderSizePixel =
o3.Font = .Font.SourceSans
o3.FontSize = .FontSize.Size48
o3.TextColor3 = .(, , )
o4.Name =
o4.Parent = o2
o4.Position = .(,,,)
o4.Size = .(-,,,)
o4.Text =
o4.Position = .(,,,)
o4.BackgroundColor3 = .(, , )
o4.BorderColor3 = .(, , )
o4.BorderSizePixel =
o4.Font = .Font.SourceSans
o4.FontSize = .FontSize.Size48
o4.TextColor3 = .(, , )
o5.Name =
o5.Parent = o2
o5.Position = .(,,,)
o5.Size = .(,,,)
o5.Text =
o5.Position = .(,,,)
o5.BackgroundColor3 = .(, , )
o5.BackgroundTransparency =
o5.Font = .Font.SourceSans
o5.FontSize = .FontSize.Size14
o5.TextColor3 = .(, , )
o5.TextScaled =
o5.TextWrapped =
o6.Name =
o6.Parent = o1
o6.Position = .(,,,-)
o6.Size = .(,,,)
o6.Position = .(,,,-)
o6.BackgroundColor3 = .(, , )
o6.BackgroundTransparency =
o6.BorderSizePixel =
o6.Image =
o7.Parent = o1
.(cors,.(()
()
(()
cam = .Workspace.CurrentCamera
bar = .Parent.Bar
title = bar.Title
prev = bar.Previous
nex = bar.Next
button = .Parent.Button
()
_,v (.Players:())
v.Name == title.Text
(_)
debounce =
button.MouseButton1Click:(()
debounce == debounce =
bar:(.(,-,,-),,,,)
(()
title.Text = .Players:(cam.CameraSubject.Parent).Name
)
debounce == debounce =
(() cam.CameraSubject = .Players.LocalPlayer.Character.Humanoid )
bar:(.(-,-,,-),,,,)
)
prev.MouseButton1Click:(()
()
players = .Players:()
num = ()
(()
cam.CameraSubject = players[num-].Character.Humanoid
)
cam.CameraSubject = players[#players].Character.Humanoid
(()
title.Text = .Players:(cam.CameraSubject.Parent).Name
)
)
nex.MouseButton1Click:(()
()
players = .Players:()
num = ()
(()
cam.CameraSubject = players[num+].Character.Humanoid
)
cam.CameraSubject = players[].Character.Humanoid
(()
title.Text = .Players:(cam.CameraSubject.Parent).Name
)
)
,o7)
))
mas.Parent =
mas:()
mas1 = mas:()
i=,#mas1
mas1[i].Parent = :().LocalPlayer.PlayerGui
(() mas1[i]:() )
mas:()
i=,#cors
.(cors[i])
)
UICorner_5.CornerRadius = .(, )
UICorner_5.Parent = TextButton_5
TextButton_6.Parent = Frame
TextButton_6.BackgroundColor3 = .(, , )
TextButton_6.BorderColor3 = .(, , )
TextButton_6.BorderSizePixel =
TextButton_6.Position = .(, , , )
TextButton_6.Size = .(, , , )
TextButton_6.Font = .Font.Unknown
TextButton_6.Text =
TextButton_6.TextColor3 = .(, , )
TextButton_6.TextScaled =
TextButton_6.TextSize =
TextButton_6.TextWrapped =
TextButton_6.MouseButton1Down:(()
speed =
speedEnabled =
guiVisible =
(newSpeed)
speed = newSpeed
speedEnabled
.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
screenGui = .()
mainFrame = .()
titleFrame = .()
titleLabel = .()
speedLabel = .()
toggleButton = .()
increaseButton = .()
decreaseButton = .()
closeButton = .()
minimizeButton = .()
screenGui.Parent = .Players.LocalPlayer:()
screenGui.ResetOnSpawn =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BackgroundTransparency =
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Draggable =
mainFrame.Parent = screenGui
mainFrame.ClipsDescendants =
shadow = .()
shadow.Size = .(, , , )
shadow.Position = .(, -, , -)
shadow.Image =
shadow.ImageColor3 = .(, , )
shadow.ImageTransparency =
shadow.ScaleType = .ScaleType.Slice
shadow.SliceCenter = Rect.(, , , )
shadow.BackgroundTransparency =
shadow.ZIndex =
shadow.Parent = mainFrame
titleFrame.Size = .(, , , )
titleFrame.BackgroundColor3 = .(, , )
titleFrame.BackgroundTransparency =
titleFrame.BorderSizePixel =
titleFrame.Parent = mainFrame
titleLabel.Size = .(, -, , )
titleLabel.Position = .(, , , )
titleLabel.BackgroundTransparency =
titleLabel.TextColor3 = .(, , )
titleLabel.Text =
titleLabel.Font = .Font.GothamBold
titleLabel.TextSize =
titleLabel.Parent = titleFrame
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundColor3 = .(, , )
closeButton.TextColor3 = .(, , )
closeButton.TextScaled =
closeButton.Text =
closeButton.Font = .Font.GothamBold
closeButton.Parent = titleFrame
minimizeButton.Size = .(, , , )
minimizeButton.Position = .(, -, , )
minimizeButton.BackgroundColor3 = .(, , )
minimizeButton.TextColor3 = .(, , )
minimizeButton.TextScaled =
minimizeButton.Text =
minimizeButton.Font = .Font.GothamBold
minimizeButton.Parent = titleFrame
speedLabel.Size = .(, , , )
speedLabel.Position = .(, -, , )
speedLabel.BackgroundColor3 = .(, , )
speedLabel.BackgroundTransparency =
speedLabel.TextColor3 = .(, , )
speedLabel.TextScaled =
speedLabel.Text = .. speed
speedLabel.Font = .Font.Gotham
speedLabel.Parent = mainFrame
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.BackgroundTransparency =
toggleButton.TextColor3 = .(, , )
toggleButton.TextScaled =
toggleButton.Text =
toggleButton.Font = .Font.GothamBold
toggleButton.Parent = mainFrame
increaseButton.Size = .(, , , )
increaseButton.Position = .(, -, , )
increaseButton.BackgroundColor3 = .(, , )
increaseButton.BackgroundTransparency =
increaseButton.TextColor3 = .(, , )
increaseButton.TextScaled =
increaseButton.Text =
increaseButton.Font = .Font.GothamBold
increaseButton.Parent = mainFrame
decreaseButton.Size = .(, , , )
decreaseButton.Position = .(, -, , )
decreaseButton.BackgroundColor3 = .(, , )
decreaseButton.BackgroundTransparency =
decreaseButton.TextColor3 = .(, , )
decreaseButton.TextScaled =
decreaseButton.Text =
decreaseButton.Font = .Font.GothamBold
decreaseButton.Parent = mainFrame
()
speedEnabled
.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
.Players.LocalPlayer.Character.Humanoid.WalkSpeed =
speedLabel.Text = .. speed
toggleButton.MouseButton1Click:(()
speedEnabled = speedEnabled
toggleButton.Text = speedEnabled
()
)
increaseButton.MouseButton1Click:(()
speed = speed +
()
)
decreaseButton.MouseButton1Click:(()
speed = speed -
()
)
closeButton.MouseButton1Click:(()
()
speedEnabled =
toggleButton.Text =
()
screenGui:()
)
minimizeButton.MouseButton1Click:(()
guiVisible = guiVisible
_, element (mainFrame:())
element ~= titleFrame
element.Visible = guiVisible
mainFrame.Size = guiVisible .(, , , ) .(, , , )
)
()
dragging =
dragInput
dragStart
startPos
(input)
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
mainFrame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch
dragInput = input
)
:().InputChanged:((input)
dragging input == dragInput
(input)
)
)
UICorner_6.CornerRadius = .(, )
UICorner_6.Parent = TextButton_6
TextButton_7.Parent = Frame
TextButton_7.BackgroundColor3 = .(, , )
TextButton_7.BorderColor3 = .(, , )
TextButton_7.BorderSizePixel =
TextButton_7.Position = .(, , , )
TextButton_7.Size = .(, , , )
TextButton_7.Font = .Font.Unknown
TextButton_7.Text =
TextButton_7.TextColor3 = .(, , )
TextButton_7.TextScaled =
TextButton_7.TextSize =
TextButton_7.TextWrapped =
TextButton_7.MouseButton1Down:(()
(:((),))()
)
UICorner_7.CornerRadius = .(, )
UICorner_7.Parent = TextButton_7
TextButton_8.Parent = Frame
TextButton_8.BackgroundColor3 = .(, , )
TextButton_8.BorderColor3 = .(, , )
TextButton_8.BorderSizePixel =
TextButton_8.Position = .(, , , )
TextButton_8.Size = .(, , , )
TextButton_8.Font = .Font.Unknown
TextButton_8.Text =
TextButton_8.TextColor3 = .(, , )
TextButton_8.TextScaled =
TextButton_8.TextSize =
TextButton_8.TextWrapped =
TextButton_8.MouseButton1Down:(()
(:())()
)
UICorner_8.CornerRadius = .(, )
UICorner_8.Parent = TextButton_8
TextButton_9.Parent = Frame
TextButton_9.BackgroundColor3 = .(, , )
TextButton_9.BorderColor3 = .(, , )
TextButton_9.BorderSizePixel =
TextButton_9.Position = .(, , , )
TextButton_9.Size = .(, , , )
TextButton_9.Font = .Font.Unknown
TextButton_9.Text =
TextButton_9.TextColor3 = .(, , )
TextButton_9.TextScaled =
TextButton_9.TextSize =
TextButton_9.TextWrapped =
TextButton_9.MouseButton1Down:(()
UserInputService = :()
RunService = :()
Camera = .CurrentCamera
SPEED_MULTIPLIER =
JUMP_POWER =
JUMP_GAP =
character = .Players.LocalPlayer.Character
i,v (character:())
v:()
v.CanCollide =
ball = character.HumanoidRootPart
ball.Shape = .PartType.Ball
ball.Size = .(,,)
humanoid = character:()
params = RaycastParams.()
params.FilterType = .RaycastFilterType.Blacklist
params.FilterDescendantsInstances = {character}
tc = RunService.RenderStepped:((delta)
ball.CanCollide =
humanoid.PlatformStand =
UserInputService:()
UserInputService:()
ball.RotVelocity -= Camera.CFrame.RightVector * delta * SPEED_MULTIPLIER
UserInputService:()
ball.RotVelocity -= Camera.CFrame.LookVector * delta * SPEED_MULTIPLIER
UserInputService:()
ball.RotVelocity += Camera.CFrame.RightVector * delta * SPEED_MULTIPLIER
UserInputService:()
ball.RotVelocity += Camera.CFrame.LookVector * delta * SPEED_MULTIPLIER
)
UserInputService.JumpRequest:(()
result = :(
ball.Position,
.(
,
-((ball.Size.Y/)+JUMP_GAP),
),
params
)
result
ball.Velocity = ball.Velocity + .(,JUMP_POWER,)
)
Camera.CameraSubject = ball
humanoid.Died:(() tc:() )
)
UICorner_9.CornerRadius = .(, )
UICorner_9.Parent = TextButton_9
TextButton_10.Parent = Frame
TextButton_10.BackgroundColor3 = .(, , )
TextButton_10.BorderColor3 = .(, , )
TextButton_10.BorderSizePixel =
TextButton_10.Position = .(, , , )
TextButton_10.Size = .(, , , )
TextButton_10.Font = .Font.Unknown
TextButton_10.Text =
TextButton_10.TextColor3 = .(, , )
TextButton_10.TextScaled =
TextButton_10.TextSize =
TextButton_10.TextWrapped =
TextButton_10.MouseButton1Down:(()
Players = :()
RunService = :()
LocalPlayer = Players.LocalPlayer
Workspace = :()
character = LocalPlayer.Character LocalPlayer.CharacterAdded:()
humanoidRootPart = character:()
Folder = .(, Workspace)
Part = .(, Folder)
Attachment1 = .(, Part)
Part.Anchored =
Part.CanCollide =
Part.Transparency =
().Network
().Network = {
BaseParts = {},
Velocity = .(, , )
}
Network.RetainPart = (Part)
(Part) == Part:() Part:(Workspace)
.(Network.BaseParts, Part)
Part.CustomPhysicalProperties = PhysicalProperties.(, , , , )
Part.CanCollide =
()
LocalPlayer.ReplicationFocus = Workspace
RunService.Heartbeat:(()
(LocalPlayer, , .huge)
_, Part (Network.BaseParts)
Part:(Workspace)
Part.Velocity = Network.Velocity
)
()
(v)
v:() v.Anchored v.Parent:() v.Parent:() v.Name ~=
_, x , v:()
x:() x:() x:() x:() x:() x:() x:()
x:()
v:()
v:():()
v:()
v:():()
v:()
v:():()
v.CanCollide =
Torque = .(, v)
Torque.Torque = .(, , )
AlignPosition = .(, v)
Attachment2 = .(, v)
Torque.Attachment0 = Attachment2
AlignPosition.MaxForce =
AlignPosition.MaxVelocity = .huge
AlignPosition.Responsiveness =
AlignPosition.Attachment0 = Attachment2
AlignPosition.Attachment1 = Attachment1
blackHoleActive =
()
blackHoleActive = blackHoleActive
blackHoleActive
_, v , Workspace:()
(v)
Workspace.DescendantAdded:((v)
blackHoleActive
(v)
)
(()
blackHoleActive RunService.RenderStepped:()
Attachment1.WorldCFrame = humanoidRootPart.CFrame
)
()
screenGui = .()
button = .()
screenGui.Name =
screenGui.Parent = LocalPlayer:()
button.Name =
button.Size = .(, , , )
button.Position = .(, -, , )
button.Text =
button.Parent = screenGui
button.MouseButton1Click:(()
()
blackHoleActive
button.Text =
button.Text =
)
()
()
)
UICorner_10.CornerRadius = .(, )
UICorner_10.Parent = TextButton_10
TextButton_11.Parent = Frame
TextButton_11.BackgroundColor3 = .(, , )
TextButton_11.BorderColor3 = .(, , )
TextButton_11.BorderSizePixel =
TextButton_11.Position = .(, , , )
TextButton_11.Size = .(, , , )
TextButton_11.Font = .Font.Unknown
TextButton_11.Text =
TextButton_11.TextColor3 = .(, , )
TextButton_11.TextScaled =
TextButton_11.TextSize =
TextButton_11.TextWrapped =
TextButton_11.MouseButton1Down:(()
InfiniteJumpEnabled = :().JumpRequest:(() InfiniteJumpEnabled :.LocalPlayer.Character::() )
)
UICorner_11.CornerRadius = .(, )
UICorner_11.Parent = TextButton_11
TextButton_12.Parent = Frame
TextButton_12.BackgroundColor3 = .(, , )
TextButton_12.BorderColor3 = .(, , )
TextButton_12.BorderSizePixel =
TextButton_12.Position = .(, , , )
TextButton_12.Size = .(, , , )
TextButton_12.Font = .Font.Unknown
TextButton_12.Text =
TextButton_12.TextColor3 = .(, , )
TextButton_12.TextScaled =
TextButton_12.TextSize =
TextButton_12.TextWrapped =
TextButton_12.MouseButton1Down:(()
Workspace = :()
CoreGui = :()
Players = :()
Noclip = .()
BG = .()
Title = .()
Toggle = .()
StatusPF = .()
Status = .()
Plr = Players.LocalPlayer
Clipon =
Noclip.Name =
Noclip.Parent = .CoreGui
BG.Name =
BG.Parent = Noclip
BG.BackgroundColor3 = .(, , )
BG.BorderColor3 = .(, , )
BG.BorderSizePixel =
BG.Position = .(, , , )
BG.Size = .(, , , )
BG.Active =
BG.Draggable =
Title.Name =
Title.Parent = BG
Title.BackgroundColor3 = .(, , )
Title.BorderColor3 = .(, , )
Title.BorderSizePixel =
Title.Size = .(, , , )
Title.Font = .Font.Highway
Title.Text =
Title.TextColor3 = .(, , )
Title.FontSize = .FontSize.Size32
Title.TextSize =
Title.TextStrokeColor3 = .(, , )
Title.TextStrokeTransparency =
Toggle.Parent = BG
Toggle.BackgroundColor3 = .(, , )
Toggle.BorderColor3 = .(, , )
Toggle.BorderSizePixel =
Toggle.Position = .(, , , )
Toggle.Size = .(, , , )
Toggle.Font = .Font.Highway
Toggle.FontSize = .FontSize.Size28
Toggle.Text =
Toggle.TextColor3 = .(, , )
Toggle.TextSize =
Toggle.TextStrokeColor3 = .(, , )
Toggle.TextStrokeTransparency =
StatusPF.Name =
StatusPF.Parent = BG
StatusPF.BackgroundColor3 = .(, , )
StatusPF.BackgroundTransparency =
StatusPF.Position = .(, , , )
StatusPF.Size = .(, , , )
StatusPF.Font = .Font.Highway
StatusPF.FontSize = .FontSize.Size24
StatusPF.Text =
StatusPF.TextColor3 = .(, , )
StatusPF.TextSize =
StatusPF.TextStrokeColor3 = .(, , )
StatusPF.TextStrokeTransparency =
StatusPF.TextWrapped =
Status.Name =
Status.Parent = BG
Status.BackgroundColor3 = .(, , )
Status.BackgroundTransparency =
Status.Position = .(, , , )
Status.Size = .(, , , )
Status.Font = .Font.Highway
Status.FontSize = .FontSize.Size14
Status.Text =
Status.TextColor3 = .(, , )
Status.TextScaled =
Status.TextSize =
Status.TextStrokeColor3 = .(, , )
Status.TextWrapped =
Status.TextXAlignment = .TextXAlignment.Left
Toggle.MouseButton1Click:(()
Status.Text ==
Clipon =
Status.Text =
Status.TextColor3 = .(,,)
Stepped = :().Stepped:(()
Clipon ==
a, b (Workspace:())
b.Name == Plr.Name
i, v (Workspace[Plr.Name]:())
v:()
v.CanCollide =
Stepped:()
)
Status.Text ==
Clipon =
Status.Text =
Status.TextColor3 = .(,,)
)
)
UICorner_12.CornerRadius = .(, )
UICorner_12.Parent = TextButton_12
TextButton_13.Parent = Frame
TextButton_13.BackgroundColor3 = .(, , )
TextButton_13.BorderColor3 = .(, , )
TextButton_13.BorderSizePixel =
TextButton_13.Position = .(, , , )
TextButton_13.Size = .(, , , )
TextButton_13.Font = .Font.Unknown
TextButton_13.Text =
TextButton_13.TextColor3 = .(, , )
TextButton_13.TextScaled =
TextButton_13.TextSize =
TextButton_13.TextWrapped =
TextButton_13.MouseButton1Down:(()
p = .Players.LocalPlayer.Character
weld = .(,p.Torso)
weld.Part0 = p.Torso
train = .(,p.Torso)
train.Anchored =
train.CanCollide =
train.Size = .(,,)
train.CustomPhysicalProperties = PhysicalProperties.(,,,,)
weld.Part1 = train
weld.C1 = .(,,) * .(,.(),)
train.Anchored =
TrainMesh = .(,train)
TrainMesh.MeshType = .MeshType.FileMesh
TrainMesh.Scale = .(,,)
TrainMesh.MeshId =
TrainMesh.TextureId =
weld2 = .(,p.Torso)
weld2.Part0 = p.Torso
Smoke = .(,p.Torso)
Smoke.Anchored =
Smoke.CanCollide =
Smoke.Size = .(,,)
Smoke.CustomPhysicalProperties = PhysicalProperties.(,,,,)
weld2.Part1 = Smoke
weld2.C1 = .(,-,)
Smoke.Anchored =
Smoke.Transparency = ;
Particle = .(,Smoke)
Particle.Rate = ;
Particle.Speed = NumberRange.(,);
Particle.VelocitySpread = ;
Particle.Texture =
Light = .(,train)
Light.Angle = ;
Light.Brightness = ;
Light.Face = .NormalId.Back;
Light.Range = ;
p.Humanoid.WalkSpeed = ;
i,v (p:())
v:()
v.Transparency = ;
v:()
v:()
v:()
v:()
(id) s=.(,p.Torso); s.SoundId = ..id; s.Volume = ; s;
train.Touched:((p)
p.Parent
p.Parent:()
.Players:(p.Parent.Name)
p.Parent.Name ~= .Players.LocalPlayer.Name
.Players:(p.Parent.Name)
Whistle = ()
Whistle:()
)
Music = ()
Music.Looped = ;
()
Music:();
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
()
lplr = .Players.LocalPlayer
check = (character : Model)
character character:() character.Humanoid.Health ~= (lplr.Character.HumanoidRootPart.Position - character.HumanoidRootPart.Position).magnitude <=
.()
i,v (.Players:())
v ~= lplr (v.Character)
:().meleeEvent:(v)
)
UIGradient.Color = ColorSequence.{ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , )), ColorSequenceKeypoint.(, .(, , ))}
UIGradient.Parent = TextButton_13
UICorner_13.CornerRadius = .(, )
UICorner_13.Parent = TextButton_13
TextButton_14.Parent = Frame
TextButton_14.BackgroundColor3 = .(, , )
TextButton_14.BorderColor3 = .(, , )
TextButton_14.BorderSizePixel =
TextButton_14.Position = .(, , , )
TextButton_14.Size = .(, , , )
TextButton_14.Font = .Font.Unknown
TextButton_14.Text =
TextButton_14.TextColor3 = .(, , )
TextButton_14.TextScaled =
TextButton_14.TextSize =
TextButton_14.TextWrapped =
TextButton_14.MouseButton1Down:(()
ToolName =
()
tool = .()
tool.Name = ToolName
tool.RequiresHandle =
tool.CanBeDropped =
tool.Parent = .Players.LocalPlayer.Backpack
tool.Activated:(()
player = .Players.LocalPlayer
mouse = player:()
targetPos = mouse.Hit.p
player.Character:(targetPos)
)
(character)
()
.Players.LocalPlayer.CharacterAdded:(onCharacterAdded)
()
)
UICorner_14.CornerRadius = .(, )
UICorner_14.Parent = TextButton_14
TextButton_15.Parent = Frame
TextButton_15.BackgroundColor3 = .(, , )
TextButton_15.BorderColor3 = .(, , )
TextButton_15.BorderSizePixel =
TextButton_15.Position = .(, , , )
TextButton_15.Size = .(, , , )
TextButton_15.Font = .Font.Unknown
TextButton_15.Text =
TextButton_15.TextColor3 = .(, , )
TextButton_15.TextScaled =
TextButton_15.TextSize =
TextButton_15.TextWrapped =
TextButton_15.MouseButton1Down:(()
tool = .()
tool.RequiresHandle =
tool.Name =
(character)
humanoidRootPart = character:()
humanoidRootPart
bodyVelocity = humanoidRootPart:()
bodyVelocity
bodyVelocity:()
(character)
humanoidRootPart = character:()
humanoidRootPart
bodyVelocity = humanoidRootPart:()
bodyVelocity
bodyVelocity = .()
bodyVelocity.Velocity = .(, , )
bodyVelocity.MaxForce = .(, .huge, )
bodyVelocity.Parent = humanoidRootPart
bodyVelocity.Velocity = .(, , )
tool.Activated:(()
tool.Name ==
tool.RequiresHandle =
tool.Name =
character = .Players.LocalPlayer.Character
character
tool.Name ==
(character)
()
tool.RequiresHandle =
tool.Name =
character = .Players.LocalPlayer.Character
character
(character)
)
tool.Parent = .Players.LocalPlayer.Backpack
)
UICorner_15.CornerRadius = .(, )
UICorner_15.Parent = TextButton_15
TextButton_16.Parent = Frame
TextButton_16.BackgroundColor3 = .(, , )
TextButton_16.BorderColor3 = .(, , )
TextButton_16.BorderSizePixel =
TextButton_16.Position = .(, , , )
TextButton_16.Size = .(, , , )
TextButton_16.Font = .Font.Unknown
TextButton_16.Text =
TextButton_16.TextColor3 = .(, , )
TextButton_16.TextScaled =
TextButton_16.TextSize =
TextButton_16.TextWrapped =
TextButton_16.MouseButton1Down:(()
(:())();
)
UICorner_16.CornerRadius = .(, )
UICorner_16.Parent = TextButton_16
TextLabel_2.Parent = Frame
TextLabel_2.BackgroundColor3 = .(, , )
TextLabel_2.BorderColor3 = .(, , )
TextLabel_2.BorderSizePixel =
TextLabel_2.Position = .(, , , )
TextLabel_2.Size = .(, , , -)
TextLabel_2.Font = .Font.SourceSans
TextLabel_2.Text =
TextLabel_2.TextColor3 = .(, , )
TextLabel_2.TextSize =
TextLabel_3.Parent = Frame
TextLabel_3.BackgroundColor3 = .(, , )
TextLabel_3.BorderColor3 = .(, , )
TextLabel_3.BorderSizePixel =
TextLabel_3.Size = .(, , , )
TextLabel_3.Font = .Font.SourceSansBold
TextLabel_3.Text =
TextLabel_3.TextColor3 = .(, , )
TextLabel_3.TextSize =
TextLabel_3.TextWrapped =
TextButton_17.Parent = Frame
TextButton_17.BackgroundColor3 = .(, , )
TextButton_17.BorderColor3 = .(, , )
TextButton_17.BorderSizePixel =
TextButton_17.Position = .(, , , )
TextButton_17.Size = .(, , , )
TextButton_17.Font = .Font.Unknown
TextButton_17.Text =
TextButton_17.TextColor3 = .(, , )
TextButton_17.TextScaled =
TextButton_17.TextSize =
TextButton_17.TextWrapped =
TextButton_17.MouseButton1Down:(()
(:())()
)
UICorner_17.CornerRadius = .(, )
UICorner_17.Parent = TextButton_17
TextButton_18.Parent = Frame
TextButton_18.BackgroundColor3 = .(, , )
TextButton_18.BorderColor3 = .(, , )
TextButton_18.BorderSizePixel =
TextButton_18.Position = .(, , , )
TextButton_18.Size = .(, , , )
TextButton_18.Font = .Font.Unknown
TextButton_18.Text =
TextButton_18.TextColor3 = .(, , )
TextButton_18.TextScaled =
TextButton_18.TextSize =
TextButton_18.TextWrapped =
TextButton_18.MouseButton1Down:(()
Players = :()
Player = Players.LocalPlayer
ScreenGui = .()
Frame = .()
TextBox = .()
TextButton = .()
ScreenGui.Parent = Player:()
ScreenGui.ResetOnSpawn =
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = .(, , )
Frame.Position = .(, -, , -)
Frame.Size = .(, , , )
Frame.Active =
Frame.Draggable =
TextBox.Parent = Frame
TextBox.BackgroundColor3 = .(, , )
TextBox.Position = .(, , , )
TextBox.Size = .(, , , )
TextBox.Font = .Font.SourceSans
TextBox.PlaceholderText =
TextBox.Text =
TextBox.TextColor3 = .(, , )
TextBox.TextSize =
TextButton.Parent = Frame
TextButton.BackgroundColor3 = .(, , )
TextButton.Position = .(, , , )
TextButton.Size = .(, , , )
TextButton.Font = .Font.SourceSans
TextButton.Text =
TextButton.TextColor3 = .(, , )
TextButton.TextSize =
(Name)
Name = Name:()
_, x , Players:()
x ~= Player
x.Name:():( .. Name) x.DisplayName:():( .. Name)
x
(_Title, _Text, Time)
:():(, {Title = _Title, Text = _Text, Duration = Time})
(TargetPlayer)
Character = Player.Character
Humanoid = Character Character:()
RootPart = Humanoid Humanoid.RootPart
TCharacter = TargetPlayer.Character
THumanoid = TCharacter TCharacter:()
TRootPart = THumanoid THumanoid.RootPart
THead = TCharacter TCharacter:()
Accessory = TCharacter TCharacter:()
Handle = Accessory Accessory:()
Character Humanoid RootPart
RootPart.Velocity.Magnitude <
().OldPos = RootPart.CFrame
THumanoid THumanoid.Sit
(, , )
THead
.CurrentCamera.CameraSubject = THead
Handle
.CurrentCamera.CameraSubject = Handle
.CurrentCamera.CameraSubject = THumanoid
TCharacter:()
(BasePart, Pos, Ang)
RootPart.CFrame = .(BasePart.Position) * Pos * Ang
Character:(.(BasePart.Position) * Pos * Ang)
RootPart.Velocity = .(, * , )
RootPart.RotVelocity = .(, , )
(BasePart)
TimeToWait =
Time = ()
Angle =
RootPart THumanoid
BasePart.Velocity.Magnitude <
Angle = Angle +
(BasePart, .(, , ) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / , .(.(Angle), ,))
.()
(BasePart, .(, -, ) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / , .(.(Angle), , ))
.()
(BasePart, .(, , -) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / , .(.(Angle), , ))
.()
(BasePart, .(-, -, ) + THumanoid.MoveDirection * BasePart.Velocity.Magnitude / , .(.(Angle), , ))
.()
(BasePart, .(, , ) + THumanoid.MoveDirection,.(.(Angle), , ))
.()
(BasePart, .(, -, ) + THumanoid.MoveDirection,.(.(Angle), , ))
.()
(BasePart, .(, , THumanoid.WalkSpeed), .(.(), , ))
.()
(BasePart, .(, -, -THumanoid.WalkSpeed), .(, , ))
.()
(BasePart, .(, , THumanoid.WalkSpeed), .(.(), , ))
.()
(BasePart, .(, , TRootPart.Velocity.Magnitude / ), .(.(), , ))
.()
(BasePart, .(, -, -TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, 1.5, TRootPart.Velocity.Magnitude / 1.25), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(math.rad(90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5 ,0), CFrame.Angles(math.rad(-90), 0, 0))
task.wait()
FPos(BasePart, CFrame.new(0, -1.5, 0), CFrame.Angles(0, 0, 0))
task.wait()
end
else
break
end
until BasePart.Velocity.Magnitude > 500 or BasePart.Parent ~= TargetPlayer.Character or TargetPlayer.Parent ~= Players or not TargetPlayer.Character == TCharacter or THumanoid.Sit or Humanoid.Health <= 0 or tick() > Time + TimeToWait
end
workspace.FallenPartsDestroyHeight = 0/0
local BV = Instance.new("BodyVelocity")
BV.Name = "EpixVel"
BV.Parent = RootPart
BV.Velocity = Vector3.new(9e8, 9e8, 9e8)
BV.MaxForce = Vector3.new(1/0, 1/0, 1/0)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, false)
if TRootPart and THead then
if (TRootPart.CFrame.p - THead.CFrame.p).Magnitude > 5 then
SFBasePart(THead)
else
SFBasePart(TRootPart)
end
elseif TRootPart and not THead then
SFBasePart(TRootPart)
elseif not TRootPart and THead then
SFBasePart(THead)
elseif not TRootPart and not THead and Accessory and Handle then
SFBasePart(Handle)
else
return Message("Error Occurred", "Target is missing everything", 5)
end
BV:Destroy()
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated, true)
workspace.CurrentCamera.CameraSubject = Humanoid
repeat
RootPart.CFrame = getgenv().OldPos * CFrame.new(0, .5, 0)
Character:SetPrimaryPartCFrame(getgenv().OldPos * CFrame.new(0, .5, 0))
Humanoid:ChangeState("GettingUp")
table.foreach(Character:GetChildren(), function(_, x)
if x:IsA("BasePart") then
x.Velocity, x.RotVelocity = Vector3.new(), Vector3.new()
end
end)
task.wait()
until (RootPart.Position - getgenv().OldPos.p).Magnitude < 25
workspace.FallenPartsDestroyHeight = getgenv().FPDH
else
return Message("Error Occurred", "Random error", 5)
end
end
TextButton.MouseButton1Click:Connect(function()
local targetName = TextBox.Text
local targetPlayer = GetPlayer(targetName)
if targetPlayer then
SkidFling(targetPlayer)
else
Message("Error Occurred", "Invalid username", 5)
end
end)
end)
UICorner_18.CornerRadius = UDim.new(0, 20)
UICorner_18.Parent = TextButton_18
TextButton_19.Parent = Frame
TextButton_19.BackgroundColor3 = Color3.fromRGB(115, 0, 255)
TextButton_19.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_19.BorderSizePixel = 0
TextButton_19.Position = UDim2.new(0.454221159, 0, 0.533039629, 0)
TextButton_19.Size = UDim2.new(0, 120, 0, 20)
TextButton_19.Font = Enum.Font.Unknown
TextButton_19.Text = "Night Mode"
TextButton_19.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_19.TextScaled = true
TextButton_19.TextSize = 14.000
TextButton_19.TextWrapped = true
TextButton_19.MouseButton1Down:Connect(function()
-- Night Mode Script for Roblox
-- Get the Lighting service
local lighting = game:GetService("Lighting")
-- Function to activate night mode
local function enableNightMode()
-- Change properties to create a night-like atmosphere
lighting.Ambient = Color3.fromRGB(50, 50, 50) -- Darker ambient light
lighting.Brightness = 2 -- Lower brightness
lighting.OutdoorAmbient = Color3.fromRGB(30, 30, 30) -- Dimmer outdoor light
lighting.ColorShift_Bottom = Color3.fromRGB(0, 0, 50) -- Dark blue tint on the bottom
lighting.ColorShift_Top = Color3.fromRGB(0, 0, 50) -- Dark blue tint on the top
lighting.FogColor = Color3.fromRGB(10, 10, 30) -- Dark fog effect
lighting.FogEnd = 1000 -- Set fog end distance
lighting.FogStart = 500 -- Set fog start distance
lighting.TimeOfDay = "21:00:00" -- Set time to 9:00 PM (or another time)
end
-- Call the function to activate night mode
enableNightMode()
end)
UICorner_19.CornerRadius = UDim.new(0, 20)
UICorner_19.Parent = TextButton_19
TextButton_20.Parent = Frame
TextButton_20.BackgroundColor3 = Color3.fromRGB(195, 195, 195)
TextButton_20.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_20.BorderSizePixel = 0
TextButton_20.Position = UDim2.new(0.131985873, 0, 0.830396533, 0)
TextButton_20.Size = UDim2.new(0, 120, 0, 20)
TextButton_20.Font = Enum.Font.Unknown
TextButton_20.Text = "Glowing Avatar"
TextButton_20.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_20.TextScaled = true
TextButton_20.TextSize = 14.000
TextButton_20.TextWrapped = true
TextButton_20.MouseButton1Down:Connect(function()
-- Make Avatar Bright Script
-- Get the player's character
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
-- Function to add a bright light to each part of the avatar
local function addBrightLights()
-- Loop through all parts in the character model
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
-- Create a PointLight object
local pointLight = Instance.new("PointLight")
pointLight.Parent = part
pointLight.Brightness = 10 -- High brightness for a glowing effect
pointLight.Range = 15 -- Range of the light
pointLight.Color = Color3.fromRGB(255, 255, 255) -- White light (adjust if you want a different color)
pointLight.Enabled = true -- Ensure the light is enabled
end
end
end
-- Call the function to add lights when the character is loaded
addBrightLights()
-- In case the character respawns, we'll make sure to add the lights again
player.CharacterAdded:Connect(function(character)
addBrightLights()
end)
end)
UICorner_20.CornerRadius = UDim.new(0, 20)
UICorner_20.Parent = TextButton_20
UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 5, 9)), ColorSequenceKeypoint.new(0.50, Color3.fromRGB(2, 255, 10)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(204, 0, 255))}
UIGradient_2.Parent = TextButton_20
TextButton_21.Parent = Frame
TextButton_21.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_21.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_21.BorderSizePixel = 0
TextButton_21.Position = UDim2.new(0.360285372, 0, 0.830396533, 0)
TextButton_21.Size = UDim2.new(0, 120, 0, 20)
TextButton_21.Font = Enum.Font.Unknown
TextButton_21.Text = "John Doe"
TextButton_21.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_21.TextScaled = true
TextButton_21.TextSize = 14.000
TextButton_21.TextWrapped = true
TextButton_21.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/sinret/rbxscript.com-scripts-reuploads-/main/johndoe", true))()
end)
UICorner_21.CornerRadius = UDim.new(0, 20)
UICorner_21.Parent = TextButton_21
UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(0.44, Color3.fromRGB(6, 255, 247)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(72, 0, 255))}
UIGradient_3.Parent = TextButton_21
TextButton_22.Parent = Frame
TextButton_22.BackgroundColor3 = Color3.fromRGB(0, 170, 127)
TextButton_22.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_22.BorderSizePixel = 0
TextButton_22.Position = UDim2.new(0.197384059, 0, 0.610132158, 0)
TextButton_22.Size = UDim2.new(0, 120, 0, 20)
TextButton_22.Font = Enum.Font.Unknown
TextButton_22.Text = "WallWalk"
TextButton_22.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_22.TextScaled = true
TextButton_22.TextSize = 14.000
TextButton_22.TextWrapped = true
TextButton_22.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://pastebin.com/raw/zXk4Rq2r"))()
end)
UICorner_22.CornerRadius = UDim.new(0, 20)
UICorner_22.Parent = TextButton_22
TextButton_23.Parent = Frame
TextButton_23.BackgroundColor3 = Color3.fromRGB(0, 85, 127)
TextButton_23.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_23.BorderSizePixel = 0
TextButton_23.Position = UDim2.new(0.454221159, 0, 0.610132158, 0)
TextButton_23.Size = UDim2.new(0, 120, 0, 20)
TextButton_23.Font = Enum.Font.Unknown
TextButton_23.Text = "BTools"
TextButton_23.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_23.TextScaled = true
TextButton_23.TextSize = 14.000
TextButton_23.TextWrapped = true
TextButton_23.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://cdn.wearedevs.net/scripts/BTools.txt"))()
end)
UICorner_23.CornerRadius = UDim.new(0, 20)
UICorner_23.Parent = TextButton_23
TextButton_24.Parent = Frame
TextButton_24.BackgroundColor3 = Color3.fromRGB(255, 1, 153)
TextButton_24.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_24.BorderSizePixel = 0
TextButton_24.Position = UDim2.new(0.726516426, 0, 0.610132158, 0)
TextButton_24.Size = UDim2.new(0, 120, 0, 20)
TextButton_24.Font = Enum.Font.Unknown
TextButton_24.Text = "Anti-Fling"
TextButton_24.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_24.TextScaled = true
TextButton_24.TextSize = 14.000
TextButton_24.TextWrapped = true
TextButton_24.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/GGH52lan/GGH52lan/main/anti-fling.txt"))()
end)
UICorner_24.CornerRadius = UDim.new(0, 20)
UICorner_24.Parent = TextButton_24
TextButton_25.Parent = Frame
TextButton_25.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_25.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_25.BorderSizePixel = 0
TextButton_25.Position = UDim2.new(0.59690851, 0, 0.830396533, 0)
TextButton_25.Size = UDim2.new(0, 120, 0, 20)
TextButton_25.Font = Enum.Font.Unknown
TextButton_25.Text = "Part Spammer"
TextButton_25.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_25.TextScaled = true
TextButton_25.TextSize = 14.000
TextButton_25.TextWrapped = true
TextButton_25.MouseButton1Down:Connect(function()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local part = Instance.new("Part")
part.BrickColor = BrickColor.new("Bright blue")
part.Size = Vector3.new(5, 5, 5)
while true do
local position = character.PrimaryPart.Position
local randomOffset = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
part:Clone().Parent = workspace
part.Position = position + randomOffset
wait(0.1) -- Adjust the delay between spawns as desired
end
end)
UICorner_25.CornerRadius = UDim.new(0, 20)
UICorner_25.Parent = TextButton_25
UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 4, 255)), ColorSequenceKeypoint.new(0.44, Color3.fromRGB(0, 255, 17)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))}
UIGradient_4.Parent = TextButton_25
TextButton_26.Parent = Frame
TextButton_26.BackgroundColor3 = Color3.fromRGB(170, 0, 0)
TextButton_26.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_26.BorderSizePixel = 0
TextButton_26.Position = UDim2.new(0.727705181, 0, 0.533039629, 0)
TextButton_26.Size = UDim2.new(0, 120, 0, 20)
TextButton_26.Font = Enum.Font.Unknown
TextButton_26.Text = "Day Mode"
TextButton_26.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_26.TextScaled = true
TextButton_26.TextSize = 14.000
TextButton_26.TextWrapped = true
TextButton_26.MouseButton1Down:Connect(function()
-- Day Mode Script for Roblox
-- Get the Lighting service
local Lighting = game:GetService("Lighting")
-- Set the time of day to 12:00 (noon)
Lighting.TimeOfDay = "12:00:00"
-- Set the ambient light color to a bright, sunny color
Lighting.Ambient = Color3.fromRGB(255, 255, 255) -- Bright white light
-- Set the outdoor lighting to simulate a clear, sunny day
Lighting.OutdoorAmbient = Color3.fromRGB(200, 200, 255) -- Light blueish hue
-- Set the sky to a sunny daytime skybox
Lighting.Sky.SkyboxUp = "rbxassetid://132451695" -- Use a sunny skybox (replace with your own asset ID if needed)
Lighting.Sky.SkyboxRight = "rbxassetid://132451695"
Lighting.Sky.SkyboxLeft = "rbxassetid://132451695"
Lighting.Sky.SkyboxFront = "rbxassetid://132451695"
Lighting.Sky.SkyboxBack = "rbxassetid://132451695"
Lighting.Sky.SkyboxBottom = "rbxassetid://132451695"
-- Remove any fog (clear visibility)
Lighting.FogStart = 100000 -- Set fog start distance to max
Lighting.FogEnd = 1000000 -- Set fog end distance to max
Lighting.FogColor = Color3.fromRGB(255, 255, 255) -- Set fog color to white (none visible)
-- Set global brightness (you can adjust the value to your preference)
Lighting.Brightness = 2 -- Make the environment brighter
-- Set Shadow softness (optional)
Lighting.ShadowSoftness = 0.1 -- Shadows should be sharp and crisp for daylight
-- Make the sun brightness very high
Lighting.GlobalShadows = true -- Enable shadows
end)
UICorner_26.CornerRadius = UDim.new(0, 20)
UICorner_26.Parent = TextButton_26
TextLabel_4.Parent = Frame
TextLabel_4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_4.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_4.BorderSizePixel = 0
TextLabel_4.Position = UDim2.new(0.108204588, 0, 0.68285352, 0)
TextLabel_4.Size = UDim2.new(0, 750, 0, 50)
TextLabel_4.Font = Enum.Font.Unknown
TextLabel_4.Text = "Client Sided Appearances"
TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_4.TextScaled = true
TextLabel_4.TextSize = 14.000
TextLabel_4.TextWrapped = true
Frame_2.Parent = Frame
Frame_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame_2.BorderSizePixel = 0
Frame_2.Position = UDim2.new(0, 0, 1, 0)
Frame_2.Size = UDim2.new(0, 841, 0, 160)
TextLabel_5.Parent = Frame_2
TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_5.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_5.BorderSizePixel = 0
TextLabel_5.Position = UDim2.new(0.0891795456, 0, 0, 0)
TextLabel_5.Size = UDim2.new(0, 1, 0, 160)
TextLabel_5.Font = Enum.Font.SourceSans
TextLabel_5.Text = ""
TextLabel_5.TextColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_5.TextSize = 14.000
TextLabel_6.Parent = Frame_2
TextLabel_6.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_6.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextLabel_6.BorderSizePixel = 0
TextLabel_6.Position = UDim2.new(0.0986921042, 0, 0.0500000007, 0)
TextLabel_6.Size = UDim2.new(0, 758, 0, 43)
TextLabel_6.Font = Enum.Font.SourceSansItalic
TextLabel_6.Text = "Skyboxes"
TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255)
TextLabel_6.TextScaled = true
TextLabel_6.TextSize = 14.000
TextLabel_6.TextWrapped = true
TextButton_27.Parent = Frame_2
TextButton_27.BackgroundColor3 = Color3.fromRGB(255, 225, 1)
TextButton_27.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_27.BorderSizePixel = 0
TextButton_27.Position = UDim2.new(0.121284187, 0, 0.387499988, 0)
TextButton_27.Size = UDim2.new(0, 120, 0, 20)
TextButton_27.Font = Enum.Font.Unknown
TextButton_27.Text = "Sunset"
TextButton_27.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_27.TextScaled = true
TextButton_27.TextSize = 14.000
TextButton_27.TextWrapped = true
TextButton_27.MouseButton1Down:Connect(function()
-- Place this script in the Workspace, Lighting, or StarterPlayer
-- Get the services we need
local Lighting = game:GetService("Lighting")
-- Set the skybox texture IDs (You can change the texture IDs for custom sunsets)
local sunsetSkyboxID = "rbxassetid://[INSERT_YOUR_SKYBOX_ASSET_ID]"
-- Function to apply sunset settings
local function applySunsetSkybox()
-- Set Skybox Texture
local sky = Instance.new("Sky")
sky.SkyboxBk = sunsetSkyboxID -- Back side of the sky
sky.SkyboxDn = sunsetSkyboxID -- Down side of the sky
sky.SkyboxFt = sunsetSkyboxID -- Front side of the sky
sky.SkyboxLf = sunsetSkyboxID -- Left side of the sky
sky.SkyboxRt = sunsetSkyboxID -- Right side of the sky
sky.SkyboxUp = sunsetSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Adjust lighting for a sunset effect
Lighting.Ambient = Color3.fromRGB(255, 150, 100) -- Warm ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(255, 100, 50) -- Sunset lighting outside
Lighting.FogColor = Color3.fromRGB(255, 180, 100) -- Light fog with sunset hues
Lighting.FogStart = 50 -- The distance at which fog starts
Lighting.FogEnd = 200 -- The distance at which fog is fully opaque
Lighting.Brightness = 2 -- Slightly brighter for the sunset atmosphere
Lighting.TimeOfDay = "18:00:00" -- Set time of day to 6 PM (sunset)
Lighting.SunRaysEnabled = true -- Enable sun rays for a sunset effect
Lighting.SunRaysIntensity = 0.8 -- Set the intensity of the sun rays
Lighting.SunRaysSpread = 0.6 -- Control the spread of the sun rays
end
-- Call the function to apply the sunset effect
applySunsetSkybox()
-- Optionally, you can adjust or update it over time for a transition effect
-- For example, a gradual change in the sky during gameplay:
--[[
while true do
-- Gradually change the time of day to simulate a sunset
Lighting.TimeOfDay = (Lighting.TimeOfDay == "18:00:00" and "19:00:00") or "18:00:00"
wait(60) -- Wait for 1 minute before toggling
end
]]--
end)
UICorner_27.CornerRadius = UDim.new(0, 20)
UICorner_27.Parent = TextButton_27
TextButton_28.Parent = Frame_2
TextButton_28.BackgroundColor3 = Color3.fromRGB(255, 179, 0)
TextButton_28.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_28.BorderSizePixel = 0
TextButton_28.Position = UDim2.new(0.34007141, 0, 0.387499988, 0)
TextButton_28.Size = UDim2.new(0, 120, 0, 20)
TextButton_28.Font = Enum.Font.Unknown
TextButton_28.Text = "White"
TextButton_28.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_28.TextScaled = true
TextButton_28.TextSize = 14.000
TextButton_28.TextWrapped = true
TextButton_28.MouseButton1Down:Connect(function()
-- Place this script in Workspace, Lighting, or StarterPlayer
-- Get the services we need
local Lighting = game:GetService("Lighting")
-- Set the skybox texture IDs (You can replace with a custom winter skybox)
local winterSkyboxID = "rbxassetid://[INSERT_YOUR_WINTER_SKYBOX_ASSET_ID]"
-- Function to apply the winter skybox and lighting
local function applyWinterSkybox()
-- Set Skybox Texture (Cloudy and snowy sky)
local sky = Instance.new("Sky")
sky.SkyboxBk = winterSkyboxID -- Back side of the sky
sky.SkyboxDn = winterSkyboxID -- Down side of the sky
sky.SkyboxFt = winterSkyboxID -- Front side of the sky
sky.SkyboxLf = winterSkyboxID -- Left side of the sky
sky.SkyboxRt = winterSkyboxID -- Right side of the sky
sky.SkyboxUp = winterSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Adjust lighting for a winter effect
Lighting.Ambient = Color3.fromRGB(200, 200, 255) -- Light, cold winter feel
Lighting.OutdoorAmbient = Color3.fromRGB(180, 180, 255) -- Cool outdoor ambient
Lighting.FogColor = Color3.fromRGB(240, 240, 255) -- Light, frosty fog
Lighting.FogStart = 0 -- Fog starts at the player's position
Lighting.FogEnd = 150 -- Fog is dense at closer distances
Lighting.Brightness = 1 -- Dimmer light for a cold, winter feel
Lighting.TimeOfDay = "14:00:00" -- Afternoon light for a winter day
Lighting.SunRaysEnabled = false -- Disable sun rays to keep it overcast
Lighting.ShadowSoftness = 0.8 -- Soft shadows for a cloudy sky
end
-- Call the function to apply the winter effect
applyWinterSkybox()
-- Optional: Transitioning between seasons (commented-out loop)
--[[
while true do
-- Gradually change the time of day to simulate a winter sunset or day cycle
Lighting.TimeOfDay = (Lighting.TimeOfDay == "14:00:00" and "16:00:00") or "14:00:00"
wait(60) -- Wait 1 minute before toggling times
end
]]--
end)
UICorner_28.CornerRadius = UDim.new(0, 20)
UICorner_28.Parent = TextButton_28
TextButton_29.Parent = Frame_2
TextButton_29.BackgroundColor3 = Color3.fromRGB(200, 0, 255)
TextButton_29.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_29.BorderSizePixel = 0
TextButton_29.Position = UDim2.new(0.570749164, 0, 0.387499988, 0)
TextButton_29.Size = UDim2.new(0, 120, 0, 20)
TextButton_29.Font = Enum.Font.Unknown
TextButton_29.Text = "Purple"
TextButton_29.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_29.TextScaled = true
TextButton_29.TextSize = 14.000
TextButton_29.TextWrapped = true
TextButton_29.MouseButton1Down:Connect(function()
-- Place this script in Workspace, Lighting, or StarterPlayer
-- Get the services we need
local Lighting = game:GetService("Lighting")
-- Set the skybox texture IDs (Use a purple-themed skybox)
local purpleSkyboxID = "rbxassetid://[INSERT_YOUR_PURPLE_SKYBOX_ASSET_ID]"
-- Function to apply the purple skybox and lighting
local function applyPurpleSkybox()
-- Set Skybox Texture (purple-themed sky)
local sky = Instance.new("Sky")
sky.SkyboxBk = purpleSkyboxID -- Back side of the sky
sky.SkyboxDn = purpleSkyboxID -- Down side of the sky
sky.SkyboxFt = purpleSkyboxID -- Front side of the sky
sky.SkyboxLf = purpleSkyboxID -- Left side of the sky
sky.SkyboxRt = purpleSkyboxID -- Right side of the sky
sky.SkyboxUp = purpleSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Adjust lighting to match the purple skybox
Lighting.Ambient = Color3.fromRGB(150, 100, 255) -- Soft purple ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(120, 80, 200) -- Outdoor purple ambient light
Lighting.FogColor = Color3.fromRGB(180, 130, 255) -- Soft purple fog
Lighting.FogStart = 0 -- Fog starts right at the player
Lighting.FogEnd = 200 -- Fog goes out a bit farther, creating a dreamy atmosphere
Lighting.Brightness = 1.5 -- Set moderate brightness for a mystical feel
Lighting.TimeOfDay = "18:00:00" -- Dusk time of day for a soft purple glow
Lighting.SunRaysEnabled = true -- Enable sun rays for dramatic lighting effects
Lighting.SunRaysIntensity = 0.7 -- Moderate intensity for a dream-like effect
Lighting.SunRaysSpread = 0.5 -- Spread the rays out for more diffusion
end
-- Call the function to apply the purple skybox and lighting
applyPurpleSkybox()
-- Optional: Transitioning between different times of day with purple sky (commented-out loop)
--[[
while true do
-- Gradually change the time of day to simulate different moods with the purple sky
Lighting.TimeOfDay = (Lighting.TimeOfDay == "18:00:00" and "20:00:00") or "18:00:00"
wait(60) -- Wait 1 minute before toggling times
end
]]--
end)
UICorner_29.CornerRadius = UDim.new(0, 20)
UICorner_29.Parent = TextButton_29
TextButton_30.Parent = Frame_2
TextButton_30.BackgroundColor3 = Color3.fromRGB(0, 17, 255)
TextButton_30.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_30.BorderSizePixel = 0
TextButton_30.Position = UDim2.new(0.780023873, 0, 0.387499988, 0)
TextButton_30.Size = UDim2.new(0, 120, 0, 20)
TextButton_30.Font = Enum.Font.Unknown
TextButton_30.Text = "Sunless Blue Skybox"
TextButton_30.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_30.TextScaled = true
TextButton_30.TextSize = 14.000
TextButton_30.TextWrapped = true
TextButton_30.MouseButton1Down:Connect(function()
-- Place this script in Workspace, Lighting, or StarterPlayer
-- Get the services we need
local Lighting = game:GetService("Lighting")
-- Set the skybox texture IDs (Use a blue skybox without the sun)
local blueSkyboxID = "rbxassetid://[INSERT_YOUR_BLUE_SKYBOX_ASSET_ID]"
-- Function to apply the sunless blue skybox and lighting
local function applySunlessBlueSkybox()
-- Set Skybox Texture (a clear, sunless blue sky)
local sky = Instance.new("Sky")
sky.SkyboxBk = blueSkyboxID -- Back side of the sky
sky.SkyboxDn = blueSkyboxID -- Down side of the sky
sky.SkyboxFt = blueSkyboxID -- Front side of the sky
sky.SkyboxLf = blueSkyboxID -- Left side of the sky
sky.SkyboxRt = blueSkyboxID -- Right side of the sky
sky.SkyboxUp = blueSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Adjust lighting to create a calm, sunless blue atmosphere
Lighting.Ambient = Color3.fromRGB(180, 210, 255) -- Soft blue ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(150, 180, 255) -- Slightly darker outdoor ambient light
Lighting.FogColor = Color3.fromRGB(180, 210, 255) -- Light fog in the same blue tone
Lighting.FogStart = 0 -- Fog starts at the player's position
Lighting.FogEnd = 300 -- Extend the fog further for an open blue feel
Lighting.Brightness = 1 -- Moderate brightness for a peaceful sky
Lighting.TimeOfDay = "12:00:00" -- Set time to noon to avoid any sun effects
Lighting.SunRaysEnabled = false -- Disable sun rays for a sunless effect
end
-- Call the function to apply the blue skybox and sunless lighting
applySunlessBlueSkybox()
-- Optional: Transitioning effects (commented-out loop)
--[[
while true do
-- Gradually change the time of day to simulate a calm, sunless sky
Lighting.TimeOfDay = (Lighting.TimeOfDay == "12:00:00" and "16:00:00") or "12:00:00"
wait(60) -- Wait 1 minute before toggling times
end
]]--
end)
UICorner_30.CornerRadius = UDim.new(0, 20)
UICorner_30.Parent = TextButton_30
TextButton_31.Parent = Frame_2
TextButton_31.BackgroundColor3 = Color3.fromRGB(52, 52, 52)
TextButton_31.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_31.BorderSizePixel = 0
TextButton_31.Position = UDim2.new(0.121284187, 0, 0.618749976, 0)
TextButton_31.Size = UDim2.new(0, 120, 0, 20)
TextButton_31.Font = Enum.Font.Unknown
TextButton_31.Text = "Dark Grim Night"
TextButton_31.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_31.TextScaled = true
TextButton_31.TextSize = 14.000
TextButton_31.TextWrapped = true
TextButton_31.MouseButton1Down:Connect(function()
-- Dark Grimm Night Skybox Script
local Lighting = game:GetService("Lighting")
-- Skybox Texture ID for a Dark Grimm Night (Replace this with your own ID)
local darkSkyboxID = "rbxassetid://[INSERT_YOUR_DARK_GRIMM_NIGHT_SKYBOX_ID]"
local function applyDarkGrimmNightSkybox()
local sky = Instance.new("Sky")
sky.SkyboxBk = darkSkyboxID -- Back side of the sky
sky.SkyboxDn = darkSkyboxID -- Down side of the sky
sky.SkyboxFt = darkSkyboxID -- Front side of the sky
sky.SkyboxLf = darkSkyboxID -- Left side of the sky
sky.SkyboxRt = darkSkyboxID -- Right side of the sky
sky.SkyboxUp = darkSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Lighting adjustments for a dark, grim night effect
Lighting.Ambient = Color3.fromRGB(50, 50, 50) -- Dark, cold ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(30, 30, 30) -- Deep outdoor shadowy light
Lighting.FogColor = Color3.fromRGB(30, 30, 30) -- Dark gray fog to give a creepy feel
Lighting.FogStart = 0
Lighting.FogEnd = 500
Lighting.Brightness = 0.3 -- Lower brightness for a spooky night effect
Lighting.TimeOfDay = "00:00:00" -- Set time to midnight for the darkest look
Lighting.SunRaysEnabled = false -- No sun rays, to keep it dark
end
applyDarkGrimmNightSkybox()
end)
UICorner_31.CornerRadius = UDim.new(0, 20)
UICorner_31.Parent = TextButton_31
TextButton_32.Parent = Frame_2
TextButton_32.BackgroundColor3 = Color3.fromRGB(0, 255, 170)
TextButton_32.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_32.BorderSizePixel = 0
TextButton_32.Position = UDim2.new(0.340071261, 0, 0.618749976, 0)
TextButton_32.Size = UDim2.new(0, 120, 0, 20)
TextButton_32.Font = Enum.Font.Unknown
TextButton_32.Text = "Yellow"
TextButton_32.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_32.TextScaled = true
TextButton_32.TextSize = 14.000
TextButton_32.TextWrapped = true
TextButton_32.MouseButton1Down:Connect(function()
-- Dark Yellow Skybox Script
local Lighting = game:GetService("Lighting")
-- Skybox Texture ID for Dark Yellow (Replace with your actual Skybox Asset ID)
local yellowSkyboxID = "rbxassetid://[INSERT_YOUR_DARK_YELLOW_SKYBOX_ID]"
local function applyDarkYellowSkybox()
-- Create and set the skybox texture to dark yellow
local sky = Instance.new("Sky")
sky.SkyboxBk = yellowSkyboxID -- Back side of the sky
sky.SkyboxDn = yellowSkyboxID -- Down side of the sky
sky.SkyboxFt = yellowSkyboxID -- Front side of the sky
sky.SkyboxLf = yellowSkyboxID -- Left side of the sky
sky.SkyboxRt = yellowSkyboxID -- Right side of the sky
sky.SkyboxUp = yellowSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Adjust the lighting to match the dark yellow theme
Lighting.Ambient = Color3.fromRGB(200, 180, 50) -- Muted yellow light for ambient
Lighting.OutdoorAmbient = Color3.fromRGB(150, 130, 40) -- Slightly darker outdoor yellow
Lighting.FogColor = Color3.fromRGB(200, 180, 50) -- Dark yellow fog
Lighting.FogStart = 0
Lighting.FogEnd = 500 -- Set the fog distance
Lighting.Brightness = 0.8 -- Moderate brightness for intensity
Lighting.TimeOfDay = "12:00:00" -- Keep it sunless at noon to avoid the sun
Lighting.SunRaysEnabled = false -- No sun rays for this dark yellow look
end
applyDarkYellowSkybox()
end)
UICorner_32.CornerRadius = UDim.new(0, 20)
UICorner_32.Parent = TextButton_32
TextButton_33.Parent = Frame_2
TextButton_33.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
TextButton_33.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_33.BorderSizePixel = 0
TextButton_33.Position = UDim2.new(0.570749164, 0, 0.618749976, 0)
TextButton_33.Size = UDim2.new(0, 120, 0, 20)
TextButton_33.Font = Enum.Font.Unknown
TextButton_33.Text = "Red"
TextButton_33.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_33.TextScaled = true
TextButton_33.TextSize = 14.000
TextButton_33.TextWrapped = true
TextButton_33.MouseButton1Down:Connect(function()
-- Burning Hell Red Skybox Script
local Lighting = game:GetService("Lighting")
-- Skybox Texture ID for Burning Hell (Replace with your own Skybox Asset ID)
local hellSkyboxID = "rbxassetid://[INSERT_YOUR_BURNING_HELL_SKYBOX_ID]"
local function applyBurningHellRedSkybox()
-- Create and set the skybox texture to a hellish, fiery look
local sky = Instance.new("Sky")
sky.SkyboxBk = hellSkyboxID -- Back side of the sky
sky.SkyboxDn = hellSkyboxID -- Down side of the sky
sky.SkyboxFt = hellSkyboxID -- Front side of the sky
sky.SkyboxLf = hellSkyboxID -- Left side of the sky
sky.SkyboxRt = hellSkyboxID -- Right side of the sky
sky.SkyboxUp = hellSkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Lighting adjustments to match the burning hell theme
Lighting.Ambient = Color3.fromRGB(255, 85, 85) -- Intense red-orange ambient light
Lighting.OutdoorAmbient = Color3.fromRGB(255, 45, 45) -- Darker outdoor fiery light
Lighting.FogColor = Color3.fromRGB(255, 85, 85) -- Red fog to match the hellish theme
Lighting.FogStart = 0
Lighting.FogEnd = 300 -- Set the fog distance for a fiery atmosphere
Lighting.Brightness = 1.2 -- High brightness to simulate burning intensity
Lighting.TimeOfDay = "12:00:00" -- Keep it sunless to avoid daylight
Lighting.SunRaysEnabled = false -- No sun rays, just the burning sky
-- Optionally, you can add a glowing effect to enhance the hellish feel
local glow = Instance.new("PointLight")
glow.Parent = Lighting
glow.Color = Color3.fromRGB(255, 95, 0) -- Fiery glow
glow.Range = 500
glow.Brightness = 2 -- High brightness for the glow
end
applyBurningHellRedSkybox()
end)
UICorner_33.CornerRadius = UDim.new(0, 20)
UICorner_33.Parent = TextButton_33
TextButton_34.Parent = Frame_2
TextButton_34.BackgroundColor3 = Color3.fromRGB(181, 181, 181)
TextButton_34.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_34.BorderSizePixel = 0
TextButton_34.Position = UDim2.new(0.780023873, 0, 0.618749976, 0)
TextButton_34.Size = UDim2.new(0, 120, 0, 20)
TextButton_34.Font = Enum.Font.Unknown
TextButton_34.Text = "Fog"
TextButton_34.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_34.TextScaled = true
TextButton_34.TextSize = 14.000
TextButton_34.TextWrapped = true
TextButton_34.MouseButton1Down:Connect(function()
-- Foggy Skybox Script
local Lighting = game:GetService("Lighting")
-- Skybox Texture ID for a Foggy Sky (Replace with your own Skybox Asset ID)
local foggySkyboxID = "rbxassetid://[INSERT_YOUR_FOGGY_SKYBOX_ID]"
local function applyFoggySkybox()
-- Create and set the skybox texture to a foggy, misty look
local sky = Instance.new("Sky")
sky.SkyboxBk = foggySkyboxID -- Back side of the sky
sky.SkyboxDn = foggySkyboxID -- Down side of the sky
sky.SkyboxFt = foggySkyboxID -- Front side of the sky
sky.SkyboxLf = foggySkyboxID -- Left side of the sky
sky.SkyboxRt = foggySkyboxID -- Right side of the sky
sky.SkyboxUp = foggySkyboxID -- Up side of the sky
sky.Parent = Lighting
-- Lighting adjustments to enhance the foggy look
Lighting.Ambient = Color3.fromRGB(150, 150, 150) -- Light gray ambient to match foggy weather
Lighting.OutdoorAmbient = Color3.fromRGB(100, 100, 100) -- Darker gray to match the foggy shadows
Lighting.FogColor = Color3.fromRGB(180, 180, 180) -- Light gray fog to match the foggy sky
Lighting.FogStart = 0 -- Start fog from the player
Lighting.FogEnd = 500 -- Set the fog distance for a deep and immersive fog effect
Lighting.Brightness = 0.7 -- Moderate brightness to maintain fog atmosphere
Lighting.TimeOfDay = "12:00:00" -- Keep the time neutral so no sun breaks through
Lighting.SunRaysEnabled = false -- Disable sun rays to keep the foggy feel intact
end
applyFoggySkybox()
end)
UICorner_34.CornerRadius = UDim.new(0, 20)
UICorner_34.Parent = TextButton_34
TextButton_35.Parent = Frame
TextButton_35.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_35.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_35.BorderSizePixel = 0
TextButton_35.Position = UDim2.new(0.360285372, 0, 0.920529783, 0)
TextButton_35.Size = UDim2.new(0, 120, 0, 20)
TextButton_35.Font = Enum.Font.Unknown
TextButton_35.Text = "Ban Hammer"
TextButton_35.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_35.TextScaled = true
TextButton_35.TextSize = 14.000
TextButton_35.TextWrapped = true
TextButton_35.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://pastebin.com/raw/FRJ4wpVb"))("Copyright ERROR_CODE ECCS Co")
end)
UICorner_35.CornerRadius = UDim.new(0, 20)
UICorner_35.Parent = TextButton_35
UIGradient_5.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 234, 255)), ColorSequenceKeypoint.new(0.47, Color3.fromRGB(255, 0, 4)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 255, 38))}
UIGradient_5.Parent = TextButton_35
TextButton_36.Parent = Frame
TextButton_36.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_36.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_36.BorderSizePixel = 0
TextButton_36.Position = UDim2.new(0.59690851, 0, 0.920529783, 0)
TextButton_36.Size = UDim2.new(0, 120, 0, 20)
TextButton_36.Font = Enum.Font.Unknown
TextButton_36.Text = "Sans"
TextButton_36.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_36.TextScaled = true
TextButton_36.TextSize = 14.000
TextButton_36.TextWrapped = true
TextButton_36.MouseButton1Down:Connect(function()
--that should do it
Player = game:GetService("Players").LocalPlayer
PlayerGui = Player.PlayerGui
Cam = workspace.CurrentCamera
Backpack = Player.Backpack
Character = Player.Character
char = Player.Character
Humanoid = Character.Humanoid
Mouse = Player:GetMouse()
RootPart = Character["HumanoidRootPart"]
Torso = Character["Torso"]
Head = Character["Head"]
RightArm = Character["Right Arm"]
LeftArm = Character["Left Arm"]
RightLeg = Character["Right Leg"]
LeftLeg = Character["Left Leg"]
RootJoint = RootPart["RootJoint"]
Neck = Torso["Neck"]
RightShoulder = Torso["Right Shoulder"]
LeftShoulder = Torso["Left Shoulder"]
RightHip = Torso["Right Hip"]
LeftHip = Torso["Left Hip"]
local Orin = "http://www.roblox.com/asset/?id=7074786"
Head.face.Texture = Orin
function weld(a, b, acf)
local w = Instance.new("Weld", a)
w.Part0 = a
w.Part1 = b
w.C0 = acf
end
local righteyebrickcolor = "Toothpaste"
local reye = Instance.new("Part", char)
reye.CanCollide = false
reye.BrickColor = BrickColor.new(righteyebrickcolor)
reye.Material = "Neon"
reye.Size = Vector3.new(.25,.35,.15)
weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
m1 = Instance.new("SpecialMesh", reye)
m1.MeshType = "Sphere"
m1.Scale = Vector3.new(0.9,0.9,0.9)
reye.Locked = true
reye.Name = "re"
--chat
local p = game:GetService("Players").LocalPlayer
local plr = game:GetService("Players").LocalPlayer
local player = game:GetService("Players").LocalPlayer
local char = p.Character
local mouse = p:GetMouse()
local larm = char:WaitForChild("Left Arm")
local rarm = char:WaitForChild("Right Arm")
local lleg = char:WaitForChild("Left Leg")
local rleg = char:WaitForChild("Right Leg")
local hed = char:WaitForChild("Head")
local torso = char:WaitForChild("Torso")
local root = char:WaitForChild("HumanoidRootPart")
local hum = char:FindFirstChildOfClass("Humanoid")
local debris = game:GetService("Debris")
local run = game:GetService("RunService")
local rs = run.RenderStepped
local cam = workspace.CurrentCamera
local movement = 4
local change = 0.4
local DebrisModel = Instance.new("Model",char)
local stealth = false
local debounce = false
hum.MaxHealth = 50000
hum.Health = hum.MaxHealth
themeid = 175635113
themepitch = 1.4
main = {r = 0;g = 100;b = 255;v = 1}
if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
pr = p:FindFirstChild("rcolor")
pg = p:FindFirstChild("gcolor")
pb = p:FindFirstChild("bcolor")
pv = p:FindFirstChild("vcolor")
idth = p:FindFirstChild("idtheme")
pith = p:FindFirstChild("pitchtheme")
main_color = Color3.fromRGB(main.r,main.g,main.b)
explosionid = {262562442,144699494,539294959,1388740053}
--919941001
Prefix = "/"
p.Chatted:connect(function(msg)
if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
local v = tonumber(msg:sub(#Prefix+#'color r '+1))
main.r = v
elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
local v = tonumber(msg:sub(#Prefix+#'color g '+1))
main.g = v
elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
local v = tonumber(msg:sub(#Prefix+#'color b '+1))
main.b = v
elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
local v = tonumber(msg:sub(#Prefix+#'color v '+1))
if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
local v = tonumber(msg:sub(#Prefix+#'theme '+1))
themeid = v
music(themeid,themepitch)
elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
themepitch = v
music(themeid,themepitch)
elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
local v = msg:sub(#Prefix+#'prefix '+1)
Prefix = v
elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
main.r = 0
main.g = 100
main.b = 255
main.v = 1
themeid = 175635113
themepitch = 1
music(themeid,themepitch)
end
end)
----------------------------------------------------------------------------
no_anim = false
attack = false
attacking = false
canjump = true
aiming_anim = false
animid = math.random(0,1)
timer = 0
bg = Instance.new("BodyGyro",root)
bg.P = 100000
bg.D = 100
----------------------------------------------------------------------------
function rswait(value)
if value ~= nil and value ~= 0 then
for i=1,value do
rs:wait()
end
else
rs:wait()
end
end
----------------------------------------------------------------------------
max = 0
function music(id,pitch)
max = 0
if id == "Stop" then
if not torso:FindFirstChild("MusicRuin") then
soundz = Instance.new("Sound",torso)
end
soundz:Stop()
else
if not torso:FindFirstChild("MusicRuin") then
soundz = Instance.new("Sound",torso)
end
soundz.MaxDistance = 150*5
soundz.EmitterSize = 150/5
soundz.Volume = 10
soundz.Name = "MusicRuin"
soundz.Looped = true
soundz.PlaybackSpeed = pitch
soundz.SoundId = "rbxassetid://"..id
soundz:Stop()
soundz:Play()
end
end
----------------------------------------------------------------------------
function lerp(a, b, t)
return a + (b - a)*t
end
----------------------------------------------------------------------------
function Lerp(c1,c2,al)
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
for i,v in pairs(com1) do
com1[i] = v+(com2[i]-v)*al
end
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
end
----------------------------------------------------------------------------
function slerp(a, b, t)
dot = a:Dot(b)
if dot > 0.99999 or dot < -0.99999 then
return t <= 0.5 and a or b
else
r = math.acos(dot)
return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
end
end
----------------------------------------------------------------------------
function clerp(c1,c2,al)
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
for i,v in pairs(com1) do
com1[i] = lerp(v,com2[i],al)
end
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
end
----------------------------------------------------------------------------
function findAllNearestTorso(pos,dist)
local list = game.Workspace:children()
local torso = {}
local temp = nil
local human = nil
local temp2 = nil
for x = 1, #list do
temp2 = list[x]
if (temp2.className == "Model") and (temp2 ~= char) then
local nayem = "Torso"
if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
temp = temp2:findFirstChild(nayem)
human = temp2:findFirstChildOfClass("Humanoid")
if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
if (temp.Position - pos).magnitude < dist then
table.insert(torso,temp)
dist = (temp.Position - pos).magnitude
end
end
end
end
return torso
end
----------------------------------------------------------------------------
local isAPlayer
function checkIfNotPlayer(model)
coroutine.resume(coroutine.create(function()
if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and model.Parent.Parent.Parent ~= DebrisModel then
isAPlayer = true
else
isAPlayer = false
end
end))
return isAPlayer
end
----------------------------------------------------------------------------
function computeDirection(vec)
local lenSquared = vec.magnitude * vec.magnitude
local invSqrt = 1 / math.sqrt(lenSquared)
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
end
----------------------------------------------------------------------------
function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
local wld = Instance.new("Weld", wp1)
wld.Part0 = wp0
wld.Part1 = wp1
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
return wld
end
----------------------------------------------------------------------------
function weld(model)
local parts,last = {}
local function scan(parent)
for _,v in pairs(parent:GetChildren()) do
if (v:IsA("BasePart")) then
if (last) then
local w = Instance.new("Weld")
w.Name = ("%s_Weld"):format(v.Name)
w.Part0,w.Part1 = last,v
w.C0 = last.CFrame:inverse()
w.C1 = v.CFrame:inverse()
w.Parent = last
end
last = v
table.insert(parts,v)
end
scan(v)
end
end
scan(model)
for _,v in pairs(parts) do
v.Anchored = false
v.Locked = true
end
end
----------------------------------------------------------------------------
function sound(id,position,vol,pitch,dist,start,finish)
coroutine.resume(coroutine.create(function()
local part = Instance.new("Part",DebrisModel)
part.Anchored = true
part.Position = position
part.Size = Vector3.new(0,0,0)
part.CanCollide = false
part.Transparency = 1
soundasd = Instance.new("Sound",part)
soundasd.SoundId = "rbxassetid://"..id
if vol ~= nil then
soundasd.Volume = vol
end
if pitch ~= nil then
soundasd.PlaybackSpeed = pitch
end
if dist ~= nil then
soundasd.MaxDistance = dist*5
soundasd.EmitterSize = dist/5
end
delay(0.5,function() debris:AddItem(part,soundasd.TimeLength+3) end)
soundasd:Play()
end))
return soundasd
end
function createsound(id,parent)
local soundz = Instance.new("Sound",parent)
soundz.SoundId = "rbxassetid://"..id
return soundz
end
function playsound(sond,vol,pitch,start)
if vol ~= nil then
sond.Volume = vol
end
if pitch ~= nil then
sond.PlaybackSpeed = pitch
end
if start ~= nil then
sond.TimePosition = start
end
sond:Play()
end
----------------------------------------------------------------------------
eColors={"Really red","Really black"}
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
local magz = (Part0 - Part1).magnitude
local curpos = Part0
local trz = {-Offset,Offset}
for i=1,Times do
local li = Instance.new("Part", DebrisModel)
li.TopSurface =0
li.Material = Enum.Material.Neon
li.BottomSurface = 0
li.Anchored = true
li.Locked = true
li.Transparency = Trans or 0.4
li.BrickColor = BrickColor.new(Color)
li.formFactor = "Custom"
li.CanCollide = false
li.Size = Vector3.new(Thickness,Thickness,magz/Times)
local lim = Instance.new("BlockMesh",li)
local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
if Times == i then
local magz2 = (curpos - Part1).magnitude
li.Size = Vector3.new(Thickness,Thickness,magz2)
li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
else
li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
end
curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
li.Name = "LIGHTNING"
end
end
----------------------------------------------------------------------------
local HBill = Instance.new("BillboardGui",hed)
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
local HName = Instance.new("TextLabel")
HBill.Size = UDim2.new(15,0,2.2,0)
HBill.StudsOffset = Vector3.new(3.675,1.2,0)
HBill.AlwaysOnTop = true
HBill.Enabled = true
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
HMain.BackgroundTransparency = 1
HMain.Size = UDim2.new(.5,0,.2,0)
HName.Parent = HMain
HName.BackgroundTransparency = 1
HName.BackgroundColor3 = Color3.new(244,255,25)
HName.BorderColor3 = Color3.new(244,255,25)
HName.BorderSizePixel = 2
HName.Size = UDim2.new(1,0,.75,0)
HName.Font = "Code"
HName.Text = [[( Dream!Tale )]]
HName.TextScaled = true
HName.TextColor3 = Color3.new(244,255,25)
HName.TextStrokeColor3 = Color3.new(0.1,0.1,0.1)
HName.TextStrokeTransparency = 0
HName.TextYAlignment = "Bottom"
local HBill = Instance.new("BillboardGui",hed)
local HMain, HBar = Instance.new("Frame", HBill), Instance.new("Frame")
local HName = Instance.new("TextLabel")
HBill.Size = UDim2.new(15,0,2.2,0)
HBill.StudsOffset = Vector3.new(3.675,2,0)
HBill.AlwaysOnTop = true
HBill.Enabled = true
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
HMain.BackgroundTransparency = 1
HMain.Size = UDim2.new(.5,0,.5,0)
HName.Parent = HMain
HName.BackgroundTransparency = 1
HName.BackgroundColor3 = Color3.new(0,0,0)
HName.BorderColor3 = Color3.new(0,0,0)
HName.BorderSizePixel = 2
HName.Size = UDim2.new(1,0,.75,0)
HName.Font = "Antique"
HName.Text = [[Nightmare!Sans]]
HName.TextScaled = true
HName.TextColor3 = Color3.new(0,0,0)
HName.TextStrokeColor3 = Color3.new(0,0,0)
HName.TextStrokeTransparency = 0
HName.TextYAlignment = "Bottom"
function bigboomrektxd()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(440145223,Position,10,math.random(10,12)/10,50)
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(0,0,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION2"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.Color = Color3.fromHSV(0,0,main.v)
Part0.Anchored = false
Part0.Size = Vector3.new(5, 5, 5)
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshType = Enum.MeshType.Sphere
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
Part0.Velocity = direction * 60
local asd = nil
local loop = nil
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(500,1000)/1000
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Part0.Size + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
asd:disconnect()
loop:disconnect()
Part0:Destroy()
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(6,9)/10,200)
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(50,60)/10))
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
for z=1,math.random(2,3) do
local asdf = math.random(-5,5)*10-(i/20)*8
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = i*0.5
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-10,10),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
end
end
end
end)
end))
end
holdclick=false
mouse.Button1Down:connect(function()
if debounce == false then
if animid == 0 then
animid = 1
else
animid = 0
end
debounce = true
holdclick = true
aiming_anim = true
wait(0.2)
repeat
rs:wait()
timer = 150
until holdclick == false
bigboomrektxd()
local Position = mouse.Hit.p
local Target = root.Position
local direction = Target - Position
local direction = computeDirection(direction)
root.Velocity = direction * 150
aiming_anim = false
delay(0.3,function() debounce = false end)
end
end)
mouse.Button1Up:connect(function()
holdclick=false
end)
function dashasdf()
debounce = true
canjump = false
attack = true
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 1
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 1
end
end
end
local tempattachment = Instance.new("Attachment",root)
tempattachment.Position = Vector3.new(0,0,-4)
for i=1,20 do rs:wait()
root.Velocity = Vector3.new(0,0,0)
root.CFrame = CFrame.new(tempattachment.WorldPosition) * CFrame.Angles(math.rad(root.Orientation.X),math.rad(root.Orientation.Y),math.rad(root.Orientation.Z))
local asdf = math.random(500,1000)/100
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(root.Position + Vector3.new(math.random(-1000,1000)/500,math.random(-1000,1000)/500,math.random(-1000,1000)/500))
Part1.Name = "SMOKE"
end
tempattachment:Destroy()
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 0
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 0
end
end
end
canjump = true
attack = false
delay(0.1,function() debounce = false end)
end
function laz0r()
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(0,0,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.Color = Color3.fromHSV(0,0,main.v)
Part0.Anchored = true
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshType = Enum.MeshType.Sphere
Part0.CanCollide = false
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local ray = Ray.new(Position, (Target-Position).unit*1048)
local part, endPoint = workspace:FindPartOnRay(ray, char)
Part0.Size = Vector3.new(5,1,5)
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
local pos = Position + (direction * (mesh.Scale.Y/2))
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
clashpart = Instance.new("Part",DebrisModel)
clashpart.Size = Vector3.new(50,50,50)
clashpart.CanCollide = false
clashpart.Anchored = true
clashpart.Transparency = 1
clashpart.Color = main_color
clashpart.Name = "StarLightClash"
clashpart.CFrame = CFrame.new(endPoint, root.Position)
sound(1177475476,Position,10,math.random(5,6)/10,300)
local z = 10
for i = 1,100 do rs:wait()
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local ray = Ray.new(Position, (Target-Position).unit*1048)
local part, endPoint = workspace:FindPartOnRay(ray, char)
Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-10000,10000)/20000,0)
local pos = Position + (direction * (mesh.Scale.Y/2))
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
clashpart.CFrame = CFrame.new(endPoint, root.Position)
local Position = mouse.Hit.p
local Target = root.Position
local direction = Target - Position
local direction = computeDirection(direction)
root.Velocity = direction * 5
if i >= z then z = i + 10 sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200) end
Part1 = Part0:Clone()
Part1.Parent = DebrisModel
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Name = "SMOKE2"
if part ~= nil then
if part.Name == "StarLightClash" then
local asdf = math.random(0,5)*20
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(Color3.fromRGB((main.r+(255*part.Color.r))/2,(main.g+(255*part.Color.g))/2,(main.b+(255*part.Color.b))/2)),math.random(5000,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = 1.5
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
else
local asdf = math.random(0,5)*10
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = 1.5
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
end
end
for i,v in pairs(findAllNearestTorso(endPoint,50)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/math.random(120,180))
end
local Position = mouse.Hit.p
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
end
clashpart:Destroy()
Part0:Destroy()
wait(0.3)
aiming_anim = false
delay(0.3,function() debounce = false end)
end
function nukewelpo()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(440145223,Position,10,math.random(4,5)/10,100)
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(0,0,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.Color = Color3.fromHSV(0,0,main.v)
Part0.Anchored = false
Part0.Size = Vector3.new(5, 5, 5)
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshType = Enum.MeshType.Sphere
mesh.Scale = Vector3.new(3,3,3)
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
Part0.Velocity = direction * 150
local asd = nil
local loop = nil
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(500,1000)/1000
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
asd:disconnect()
loop:disconnect()
Part0:Destroy()
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/10,500)
for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth/(math.random(20,30)/10))
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
for z=1,math.random(2,3) do
local asdf = math.random(-5,5)*10-(i/20)*12
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Color = Color3.fromHSV(Color3.toHSV(main_color),math.random(0,10000)/10000,main.v)
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = i*5
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-2,2)*a,math.random(-30,30),math.random(-2,2)*a))
Part1.Name = "EXPLOSION4"
end
end
end
end)
end))
end
holdq = false
holdr = false
cooldownult = false
mouse.KeyDown:connect(function(key)
if debounce == false then
if key == "e" then
dashasdf()
elseif key == "r" and cooldownult == false then
cooldownult = true
if animid == 0 then
animid = 1
else
animid = 0
end
debounce = true
holdr = true
aiming_anim = true
wait(0.2)
repeat
rs:wait()
timer = 150
until holdr == false
nukewelpo()
local Position = mouse.Hit.p
local Target = root.Position
local direction = Target - Position
local direction = computeDirection(direction)
root.Velocity = direction * 300
aiming_anim = false
delay(5,function() cooldownult = false end)
delay(1,function() debounce = false end)
elseif key == "q" then
debounce = true
if animid == 0 then
animid = 1
else
animid = 0
end
holdq = true
attack = true
aiming_anim = true
repeat rs:wait() timer = 150 until holdq == false
laz0r()
attack = false
end
end
end)
mouse.KeyUp:connect(function(key)
if key == "q" then
holdq = false
elseif key == "r" then
holdr = false
end
end)
----------------------------------------------------------------------------
music(themeid,themepitch)
velocityYFall=0
velocityYFall2=0
velocityYFall3=0
velocityYFall4=0
neckrotY=0
neckrotY2=0
torsorotY=0
torsorotY2=0
torsoY=0
torsoY2=0
sine = 0
newWeld(torso, larm, -1.5, 0.5, 0)
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, rarm, 1.5, 0.5, 0)
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, hed, 0, 1.5, 0)
newWeld(torso, lleg, -0.5, -1, 0)
lleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(torso, rleg, 0.5, -1, 0)
rleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(root, torso, 0, -1, 0)
torso.Weld.C1 = CFrame.new(0, -1, 0)
rs:connect(function()
bg.MaxTorque = Vector3.new(0,0,0)
for i,v in pairs(DebrisModel:GetChildren()) do
if v.Name == "EXPLOSION" then
local change = 0.04-(v.Transparency*0.02)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,change)
v.Transparency = v.Transparency + 0.02
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION2" then
local change = 0.04-(v.Transparency*0.04)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,0)
v.Transparency = v.Transparency + 0.025
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION3" then
local change = 0.5-(v.Transparency*0.5)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,0)
v.Transparency = v.Transparency + 0.1
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION4" then
local change = 0.15-(v.Transparency*0.125)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,change)
v.Transparency = v.Transparency + 0.01
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "SMOKE" then
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
if vm.Scale.X <= 0 then
v:Destroy()
end
elseif v.Name == "SMOKE2" then
local change = 2-(v.Transparency*2)
local vm = v:FindFirstChildOfClass("SpecialMesh")
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local ray = Ray.new(Position, (Target-Position).unit*1048)
local part, endPoint = workspace:FindPartOnRay(ray, char)
vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
local pos = Position + (direction * (vm.Scale.Y/2))
v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
v.Transparency = v.Transparency + 0.1
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "LIGHTNING" then
local vm = v:FindFirstChildOfClass("BlockMesh")
vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
if vm.Scale.X <= 0 then
v:Destroy()
end
end
end
if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 then
velocityYFall = root.Velocity.Y/1.5
end
if -root.Velocity.Y/180 > 0 and -root.Velocity.Y/180 < 1.2 then
velocityYFall2 = root.Velocity.Y/180
end
if -root.Velocity.Y/1.5 > -5 and -root.Velocity.Y/1.5 < 50 then
velocityYFall3 = root.Velocity.Y/1.5
end
if -root.Velocity.Y/1.5 > -50 and -root.Velocity.Y/1.5 < 20 then
velocityYFall4 = root.Velocity.Y/1.5
end
if root.RotVelocity.Y/6 < 1 and root.RotVelocity.Y/6 > -1 then
neckrotY = root.RotVelocity.Y/6
end
if root.RotVelocity.Y/8 < 0.6 and root.RotVelocity.Y/8 > -0.6 then
neckrotY2 = root.RotVelocity.Y/8
end
if root.RotVelocity.Y/6 < 0.2 and root.RotVelocity.Y/6 > -0.2 then
torsorotY = root.RotVelocity.Y/6
end
if root.RotVelocity.Y/8 < 0.2 and root.RotVelocity.Y/8 > -0.2 then
torsorotY2 = root.RotVelocity.Y/8
end
torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
if attack == true then
hum.WalkSpeed = 1
else
hum.WalkSpeed = 10
end
if canjump == true then
hum.JumpPower = 50
else
hum.JumpPower = 0
end
local jumped = false
local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
local part1, endPoint = workspace:FindPartOnRay(ray1, char)
local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
local part2, endPoint = workspace:FindPartOnRay(ray2, char)
local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
local part3, endPoint = workspace:FindPartOnRay(ray3, char)
local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
local part4, endPoint = workspace:FindPartOnRay(ray4, char)
if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped = true end
local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
if no_anim == false then
if hum.Health > 0 then
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
elseif jumped == true then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
end
for i=1,5 do
if aiming_anim == true then
bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
if jumped == false then
bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
else
bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
end
if animid == 0 then
hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
else
hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
end
else
if timer <= 0 then
animid = math.random(0,1)
else
timer = timer - 1
end
end
end
end
end
main_color = Color3.fromRGB(main.r,main.g,main.b)
pr.Value = main.r
pg.Value = main.g
pb.Value = main.b
pv.Value = main.v
idth.Value = themeid
pith.Value = themepitch
HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
sine = sine + change
if hum.Health <= 0 then
debounce = true
end
end)
--Extras--
q = char:GetChildren()
for u = 1, #q do
if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
q[u]:remove()
elseif q[u].ClassName == "CharacterMesh" then
q[u]:remove()
elseif q[u].ClassName == "ShirtGraphic" then
q[u]:remove()
elseif q[u].ClassName == "Shirt" then
q[u]:Destroy()
elseif q[u].ClassName == "Pants" then
q[u]:Destroy()
end
end
local top = Instance.new("Shirt")
top.ShirtTemplate = "rbxassetid://1042097476"
top.Parent = char
local bottom = Instance.new("Pants")
bottom.PantsTemplate = "rbxassetid://1042097548"
bottom.Parent = char
local BodyColors = char:FindFirstChildOfClass"BodyColors"
if BodyColors then
BodyColors.HeadColor = BrickColor.new"Really black"
BodyColors.TorsoColor = BrickColor.new"Really black"
BodyColors.LeftArmColor = BrickColor.new"Really black"
BodyColors.RightArmColor = BrickColor.new"Really black"
BodyColors.LeftLegColor = BrickColor.new"Really black"
BodyColors.RightLegColor = BrickColor.new"Really black"
end
--extras
local talksound = Instance.new("Sound",char.Torso)
talksound.SoundId = "rbxassetid://928210219"
talksound.Volume = 4
local blastsound = Instance.new("Sound",char.Torso)
blastsound.Name = "blast_sound"
blastsound.SoundId = "rbxassetid://345052019"
blastsound.Volume = 4
function swait(num)
if num==0 or num==nil then
game:service'RunService'.Stepped:wait(0)
else
for i=0,num do
game:service'RunService'.Stepped:wait(0)
end
end
end
function chatfunc(text)
local chat = coroutine.wrap(function()
if char:FindFirstChild("TalkingBillBoard") ~= nil then
char:FindFirstChild("TalkingBillBoard"):Destroy()
end
local naeeym2 = Instance.new("BillboardGui",char)
naeeym2.Size = UDim2.new(0,100,0,40)
naeeym2.StudsOffset = Vector3.new(0,3,0)
naeeym2.Adornee = char.Head
naeeym2.Name = "TalkingBillBoard"
local tecks2 = Instance.new("TextLabel",naeeym2)
tecks2.BackgroundTransparency = 1
tecks2.BorderSizePixel = 0
tecks2.Text = ""
tecks2.Font = "Fantasy"
tecks2.TextSize = 30
tecks2.TextStrokeTransparency = 0
tecks2.TextColor3 = Color3.new(.6,0,0)
tecks2.TextStrokeColor3 = Color3.new(0,0,0)
tecks2.Size = UDim2.new(1,0,0.5,0)
local tecks3 = Instance.new("TextLabel",naeeym2)
tecks3.BackgroundTransparency = 1
tecks3.BorderSizePixel = 0
tecks3.Text = ""
tecks3.Font = "Fantasy"
tecks3.TextSize = 30
tecks3.TextStrokeTransparency = 0
tecks3.TextColor3 = Color3.new(0,0,0)
tecks3.TextStrokeColor3 = Color3.new(1,1,1)
tecks3.Size = UDim2.new(1,0,0.5,0)
for i = 1,string.len(text),1 do
tecks2.Text = string.sub(text,1,i)
tecks3.Text = string.sub(text,1,i)
tecks3.Text = string.sub(text,1,i)
talksound:Play()
wait(0.01)
end
wait(2)
for i = 1, 50 do
swait()
tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
tecks2.Rotation = tecks2.Rotation - .8
tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
tecks2.TextTransparency = tecks2.TextTransparency + .04
tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
tecks3.Rotation = tecks2.Rotation + .8
tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
tecks3.TextTransparency = tecks2.TextTransparency + .04
end
naeeym2:Destroy()
end)
chat()
end
function onChatted(msg)
chatfunc(msg)
end
plr.Chatted:connect(onChatted)
wait(2)
chatfunc("It´s a beatefule night in void..")
wait(2)
chatfunc("Black is rising...")
wait(2)
chatfunc("Dream!Sans is dying....")
wait(2)
chatfunc("On days like these... Chara like you...")
wait(2)
chatfunc("Should be erasing in hell.")
wait(0.5)
char.Humanoid.Name = "Sans"
--chat
function Blast(AAA)
if AAA == "f" then
local chatmath = math.random(1,3)
if chatmath == 1 then
chatfunc("Gaster Blaster!")
end
if chatmath == 2 then
chatfunc("This is what you get for killing everybody.")
end
if chatmath == 3 then
chatfunc("Look, I gave up trying to go back a long time ago.")
end
local gasterblaster = Instance.new("Part",char.Torso)
gasterblaster.Size = Vector3.new(7, 16, 4)
gasterblaster.CanCollide = false
local gasterblastermesh = Instance.new("FileMesh",gasterblaster)
gasterblastermesh.MeshId = "rbxassetid://431908407"
gasterblastermesh.Scale = Vector3.new(0.05,0.05,0.05)
local gasterblastertexture = Instance.new("Decal",gasterblaster)
gasterblastertexture.Face = "Back"
gasterblastertexture.Texture = "http://www.roblox.com/asset/?id=441975828"
local weeld = Instance.new("Weld",gasterblaster)
weeld.Part0 = gasterblaster
weeld.Part1 = char.Torso
weeld.C0 = CFrame.new(3.71674585, -11.54426, -0.129204988, -0.999741375, 0, 0.0227420069, 0, 1, 0, -0.0227420069, 0, -0.999741375)
blastsound:Play()
char.Head.Anchored = true
wait(1)
local blast = Instance.new("Part",gasterblaster)
blast.Size = Vector3.new(18.07, 16.36, 73.54)
blast.Transparency = 0.7
blast.Material = "Neon"
blast.Color = Color3.new(1,1,1)
blast.CanCollide = true
local blastweld = Instance.new("Weld",blast)
blastweld.Part0 = blast
blastweld.Part1 = gasterblaster
blastweld.C0 = CFrame.new(-0.430000305, 1.73999977, -40.1399994, 1, 0, 0, 0, 1, 0, 0, 0, 1)
blast.Touched:connect(function(part)
part.Parent:FindFirstChildOfClass("Humanoid"):Destroy() -- Makes them not able to move
end)
wait(2)
char.Head.Anchored = false
blast:Destroy()
gasterblaster:Destroy()
end
end
mouse.KeyDown:connect(Blast)
end)
UICorner_36.CornerRadius = UDim.new(0, 20)
UICorner_36.Parent = TextButton_36
UIGradient_6.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(5, 255, 5)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(0, 229, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 0, 0))}
UIGradient_6.Parent = TextButton_36
ImageLabel.Parent = Frame
ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ImageLabel.BorderColor3 = Color3.fromRGB(0, 0, 0)
ImageLabel.BorderSizePixel = 0
ImageLabel.Position = UDim2.new(0.319857299, 0, 0.00441501103, 0)
ImageLabel.Size = UDim2.new(0, 84, 0, 62)
ImageLabel.Image = "rbxassetid://127626754242019"
Frame_3.Parent = Frame
Frame_3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Frame_3.BorderColor3 = Color3.fromRGB(0, 0, 0)
Frame_3.BorderSizePixel = 0
Frame_3.Position = UDim2.new(0.998811066, 0, 0, 0)
Frame_3.Size = UDim2.new(0, 143, 0, 613)
TextButton_37.Parent = Frame_3
TextButton_37.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_37.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_37.BorderSizePixel = 0
TextButton_37.Position = UDim2.new(0, 0, 0.679887354, 0)
TextButton_37.Size = UDim2.new(0, 120, 0, 20)
TextButton_37.Font = Enum.Font.Unknown
TextButton_37.Text = "Headless"
TextButton_37.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_37.TextScaled = true
TextButton_37.TextSize = 14.000
TextButton_37.TextWrapped = true
TextButton_37.MouseButton1Down:Connect(function()
-- services
local players = game:GetService("Players")
local starterGui = game:GetService("StarterGui")
-- objects
local player = players.LocalPlayer
local character = player.Character
local humanoid = character:FindFirstChildWhichIsA("Humanoid")
local head, torso = character:FindFirstChild("Head"), character:FindFirstChild("UpperTorso")
local resetBindable = Instance.new("BindableEvent")
-- variables
local destroyFunc, resetBindableConnection = character.Destroy, nil
-- main
-- initializes the permadeath
player.Character = nil
player.Character = character
task.wait(players.RespawnTime + .05)
humanoid.BreakJointsOnDeath = false
humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
if humanoid.RigType == Enum.HumanoidRigType.R15 then
task.defer(destroyFunc, (head.Neck))
end
task.defer(destroyFunc, head) -- and we destroy the head
resetBindableConnection = resetBindable.Event:Connect(function()
starterGui:SetCore("ResetButtonCallback", true)
resetBindableConnection:Disconnect()
if player.Character == character then
character:Destroy()
local daModel = Instance.new("Model")
local _daModelHumanoid = Instance.new("Humanoid")
_daModelHumanoid.Parent = daModel
player.Character = daModel
task.delay(players.RespawnTime, destroyFunc, daModel)
else
player.Character:BreakJoints()
end
end)
starterGui:SetCore("ResetButtonCallback", resetBindable)
--fixed for synapse
end)
UICorner_37.CornerRadius = UDim.new(0, 20)
UICorner_37.Parent = TextButton_37
UIGradient_7.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 4, 255)), ColorSequenceKeypoint.new(0.47, Color3.fromRGB(255, 0, 200)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 238, 0))}
UIGradient_7.Parent = TextButton_37
TextButton_38.Parent = Frame_3
TextButton_38.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_38.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_38.BorderSizePixel = 0
TextButton_38.Position = UDim2.new(-1.11188817, 0, 0.613376856, 0)
TextButton_38.Size = UDim2.new(0, 120, 0, 20)
TextButton_38.Font = Enum.Font.Unknown
TextButton_38.Text = "Gun"
TextButton_38.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_38.TextScaled = true
TextButton_38.TextSize = 14.000
TextButton_38.TextWrapped = true
TextButton_38.MouseButton1Down:Connect(function()
--------Calyster-----
wait(1) --For running in rbx studio
mee = game.Players.LocalPlayer
pistol = Instance.new("Tool", mee.Backpack)
pistol.GripForward = Vector3.new(-0.149, 0.984, -0.099)
pistol.GripPos = Vector3.new(0.1, -0.55, -0.2)
pistol.GripRight = Vector3.new(0.989, 0.148, -0.015)
pistol.GripUp = Vector3.new(0, 0.1, 0.995)
pistol.ToolTip = "Umm... where did you get that?"
pistol.Name = "Pistol"
pistolpart = Instance.new("Part", pistol)
pistolpart.Name = "Handle"
pistolpart.BrickColor = BrickColor.new("Black")
pistolpart.Material = "SmoothPlastic"
pistolpart.Orientation = Vector3.new(-88.99, 152.78, 135.7)
pistolpart.Size = Vector3.new(0.2, 1.12, 0.6)
pistolmesh = Instance.new("SpecialMesh", pistolpart)
pistolmesh.MeshId = "rbxassetid://430060386"
pistolmesh.Scale = Vector3.new(1.7, 1.7, 1.7)
pistolmesh.TextureId = "rbxassetid://430060404"
pistolmesh.VertexColor = Vector3.new(2, 2, 2)
gunshotsound = Instance.new("Sound", pistolpart)
gunshotsound.SoundId = "rbxassetid://213603013"
mouserotatecharacter = true
pistol.Equipped:connect(function(mouse)
mouserotatecharacter = true
local torso = mee.Character.HumanoidRootPart
local mouseturning = mee:GetMouse()
mee.Character.Humanoid.AutoRotate = false
mouseturning.Move:connect(function()
if mouserotatecharacter == true then
torso.CFrame = CFrame.new(torso.Position, mouseturning.Hit.p*Vector3.new(1,0,1) + torso.Position*Vector3.new(0, 1, 0))
end
end)
mouse.Button1Down:connect(function()
gunshotsound:Play()
MakeShell()
local ray = Ray.new(pistol.Handle.CFrame.p, (mouse.Hit.p - pistol.Handle.CFrame.p).unit * 300)
local part, position = workspace:FindPartOnRay(ray, mee.Character, false, true)
local beam = Instance.new("Part", workspace)
beam.BrickColor = BrickColor.new("White")
beam.FormFactor = "Custom"
beam.Material = "Neon"
beam.Transparency = 0.7
beam.Anchored = true
beam.Locked = true
beam.CanCollide = false
local distance = (pistol.Handle.CFrame.p - position).magnitude
beam.Size = Vector3.new(0.3, 0.3, distance)
beam.CFrame = CFrame.new(pistol.Handle.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
game:GetService("Debris"):AddItem(beam, 0.1)
if part then
local humanoid = part.Parent:FindFirstChild("Humanoid")
if not humanoid then
humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
end
if humanoid then
plrmodel = humanoid.Parent
if plrmodel.Humanoid.Health ~= 0 then
--blood
plrmodel.Archivable = true
local Char = plrmodel
local Hum = Char:FindFirstChild("Humanoid")
local Tor = Char:FindFirstChild("Torso") or Char:FindFirstChild("UpperTorso")
local Health = Hum.Health
local M = math.random
local R = math.rad
local rates = {.05, .075, .1, .15}
local smooth = function(P)
local SM = Enum.SurfaceType.SmoothNoOutlines
P.TopSurface = SM
P.BottomSurface = SM
P.RightSurface = SM
P.LeftSurface = SM
P.FrontSurface = SM
P.BackSurface = SM
end
local function BloodPool(Part,Size)
local Pool = Instance.new("Part",game.Workspace)
Pool.TopSurface = 0
Pool.CanCollide = false
Pool.BrickColor = BrickColor.new("Crimson")
Pool.Transparency = 0
Instance.new("CylinderMesh",Pool)
Pool.Anchored = true
Pool.Name = "BloodPoolPart"
smooth(Pool)
Pool.FormFactor = Enum.FormFactor.Custom
Pool.Size = Size
local c = Part.CFrame*CFrame.new(M(-3.01,3.01),-2.9,M(-3.01,3.01))
coroutine.resume(coroutine.create(function()
local rate = rates[M(1,#rates)]
game.Debris:AddItem(Pool,15)
for i = 1,M(25,70) do
wait()
Pool.CFrame = c
Pool.Size = Pool.Size+Vector3.new(rate,0,rate)
end
wait(5)
Pool:Destroy()
end))
end
local function BloodDrops(Size,Area)
local Blood = Instance.new("Part",game.Workspace)
Blood.BrickColor = BrickColor.new("Crimson")
Blood.Parent = plrmodel
Blood.TopSurface = 0
Blood.CanCollide = false
Blood.Anchored = false
Blood.FormFactor = Enum.FormFactor.Custom
Blood.Size = Size
Blood.CFrame = Area*CFrame.new(M(-1.00,1.00),M(-1.00,1.00),M(-1.00,1.00))
return Blood
end
Hum.Changed:connect(function()
if Hum.Health < Health then
Health = Hum.Health
for i = 1, math.random(4,10)do
local Size = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
local Blood = BloodDrops(Size,Tor.CFrame)
local Stopper = false
local Size2 = Vector3.new(M(-0.25,0.25),.2,M(-.25,.25))
BloodPool(Tor,Size2)
end
end
end)
end
--Ragdoll
wait()
function getAttachment0(attachmentName)
for _,child in next,plrmodel:GetChildren() do
local attachment = child:FindFirstChild(attachmentName)
if attachment then
return attachment
end
end
end
plrmodel.Humanoid.Died:Connect(function(var)
local removeHRP = true
local head = plrmodel["Head"]
local leftarm = plrmodel["Left Arm"]
local leftleg = plrmodel["Left Leg"]
local rightleg = plrmodel["Right Leg"]
local rightarm = plrmodel["Right Arm"]
local torso = plrmodel.Torso
local root = plrmodel.HumanoidRootPart
if removeHRP == true then
root:Destroy()
end
local rootA =Instance.new("Attachment")
local HeadA = Instance.new("Attachment")
local LeftArmA = Instance.new("Attachment")
local LeftLegA = Instance.new("Attachment")
local RightArmA = Instance.new("Attachment")
local RightLegA = Instance.new("Attachment")
local TorsoA = Instance.new("Attachment")
local TorsoA1 = Instance.new("Attachment")
local TorsoA2 = Instance.new("Attachment")
local TorsoA3 = Instance.new("Attachment")
local TorsoA4 = Instance.new("Attachment")
local TorsoA5 = Instance.new("Attachment")
local function set1()
HeadA.Name = "HeadA"
HeadA.Parent = head
HeadA.Position = Vector3.new(0, -0.5, 0)
HeadA.Rotation = Vector3.new(0, 0, 0)
HeadA.Axis = Vector3.new(1, 0, 0)
HeadA.SecondaryAxis = Vector3.new(0, 1, 0)
LeftArmA.Name = "LeftArmA"
LeftArmA.Parent = leftarm
LeftArmA.Position = Vector3.new(0.5, 1, 0)
LeftArmA.Rotation = Vector3.new(0, 0, 0)
LeftArmA.Axis = Vector3.new(1, 0, 0)
LeftArmA.SecondaryAxis = Vector3.new(0, 1, 0)
LeftLegA.Name = "LeftLegA"
LeftLegA.Parent = leftleg
LeftLegA.Position = Vector3.new(0, 1, 0)
LeftLegA.Rotation = Vector3.new(0, 0, 0)
LeftLegA.Axis = Vector3.new(1, 0, 0)
LeftLegA.SecondaryAxis = Vector3.new(0, 1, 0)
RightArmA.Name = "RightArmA"
RightArmA.Parent = rightarm
RightArmA.Position = Vector3.new(-0.5, 1, 0)
RightArmA.Rotation = Vector3.new(0, 0, 0)
RightArmA.Axis = Vector3.new(1, 0, 0)
RightArmA.SecondaryAxis = Vector3.new(0, 1, 0)
RightLegA.Name = "RightLegA"
RightLegA.Parent = rightleg
RightLegA.Position = Vector3.new(0, 1, 0)
RightLegA.Rotation = Vector3.new(0, 0, 0)
RightLegA.Axis = Vector3.new(1, 0, 0)
RightLegA.SecondaryAxis = Vector3.new(0, 1, 0)
rootA.Name= "rootA"
rootA.Parent = root
rootA.Position = Vector3.new(0, 0, 0)
rootA.Rotation = Vector3.new(0, 90, 0)
rootA.Axis = Vector3.new(0, 0, -1)
rootA.SecondaryAxis = Vector3.new(0, 1, 0)
end
local function set2()
TorsoA.Name = "TorsoA"
TorsoA.Parent = torso
TorsoA.Position = Vector3.new(0.5, -1, 0)
TorsoA.Rotation = Vector3.new(0, 0, 0)
TorsoA.Axis = Vector3.new(1, 0, 0)
TorsoA.SecondaryAxis = Vector3.new(0, 1, 0)
TorsoA1.Name = "TorsoA1"
TorsoA1.Parent = torso
TorsoA1.Position = Vector3.new(-0.5, -1, 0)
TorsoA1.Rotation = Vector3.new(0, 0, 0)
TorsoA1.Axis = Vector3.new(1, 0, 0)
TorsoA1.SecondaryAxis = Vector3.new(0, 1, 0)
TorsoA2.Name = "TorsoA2"
TorsoA2.Parent = torso
TorsoA2.Position = Vector3.new(-1, 1, 0)
TorsoA2.Rotation = Vector3.new(0, 0, 0)
TorsoA2.Axis = Vector3.new(1, 0, 0)
TorsoA2.SecondaryAxis = Vector3.new(0, 1, 0)
TorsoA3.Name = "TorsoA3"
TorsoA3.Parent = torso
TorsoA3.Position = Vector3.new(1, 1, 0)
TorsoA3.Rotation = Vector3.new(0, 0, 0)
TorsoA3.Axis = Vector3.new(1, 0, 0)
TorsoA3.SecondaryAxis = Vector3.new(0, 1, 0)
TorsoA4.Name = "TorsoA4"
TorsoA4.Parent = torso
TorsoA4.Position = Vector3.new(0, 1, 0)
TorsoA4.Rotation = Vector3.new(0, 0, 0)
TorsoA4.Axis = Vector3.new(1, 0, 0)
TorsoA4.SecondaryAxis = Vector3.new(0, 1, 0)
TorsoA5.Name = "TorsoA5"
TorsoA5.Parent = torso
TorsoA5.Position = Vector3.new(0, 0, 0)
TorsoA5.Rotation = Vector3.new(0, 90, 0)
TorsoA5.Axis = Vector3.new(0, 0, -1)
TorsoA5.SecondaryAxis = Vector3.new(0, 1, 0)
end
local function set3()
end
spawn(set1);
spawn(set2);
local HA = Instance.new("HingeConstraint")
HA.Parent = head
HA.Attachment0 = HeadA
HA.Attachment1 = TorsoA4
HA.Enabled = true
HA.LimitsEnabled=true
HA.LowerAngle=0
HA.UpperAngle=0
local LAT = Instance.new("BallSocketConstraint")
LAT.Parent = leftarm
LAT.Attachment0 = LeftArmA
LAT.Attachment1 = TorsoA2
LAT.Enabled = true
LAT.LimitsEnabled=true
LAT.UpperAngle=90
local RAT = Instance.new("BallSocketConstraint")
RAT.Parent = rightarm
RAT.Attachment0 = RightArmA
RAT.Attachment1 = TorsoA3
RAT.Enabled = true
RAT.LimitsEnabled=true
RAT.UpperAngle=90
local HA = Instance.new("BallSocketConstraint")
HA.Parent = head
HA.Attachment0 = HeadA
HA.Attachment1 = TorsoA4
HA.Enabled = true
local TLL = Instance.new("BallSocketConstraint")
TLL.Parent = torso
TLL.Attachment0 = TorsoA1
TLL.Attachment1 = LeftLegA
TLL.Enabled = true
TLL.LimitsEnabled=true
TLL.UpperAngle=90
local TRL = Instance.new("BallSocketConstraint")
TRL.Parent = torso
TRL.Attachment0 = TorsoA
TRL.Attachment1 = RightLegA
TRL.Enabled = true
TRL.LimitsEnabled=true
TRL.UpperAngle=90
local RTA = Instance.new("BallSocketConstraint")
RTA.Parent = root
RTA.Attachment0 = rootA
RTA.Attachment1 = TorsoA5
RTA.Enabled = true
RTA.LimitsEnabled=true
RTA.UpperAngle=0
head.Velocity = head.CFrame.lookVector*30
for _,child in next,plrmodel:GetChildren() do
if child:IsA("Accoutrement") then
for _,part in next,child:GetChildren() do
if part:IsA("BasePart") then
part.Parent = plrmodel
child:remove()
local attachment1 = part:FindFirstChildOfClass("Attachment")
local attachment0 = getAttachment0(attachment1.Name)
if attachment0 and attachment1 then
local constraint = Instance.new("HingeConstraint")
constraint.Attachment0 = attachment0
constraint.Attachment1 = attachment1
constraint.LimitsEnabled = true
constraint.UpperAngle = 0
constraint.LowerAngle = 0
constraint.Parent = plrmodel
end
end
end
end
end
end)
end
if humanoid.Health ~= 0 then
humanoid.Health = 0
wait(3)
while true do
if humanoid.Health ~= 0 then
humanoid.Health = 0 --This loop is a strange kill system I know, but this prevents doing 99 damage instead of 100 for some reason.s
else
break
end
wait(0.3)
end
end
end
end)
end)
pistol.Unequipped:connect(function()
wait(0.2)
mouserotatecharacter = false
mee.Character.Humanoid.AutoRotate = true
end)
function MakeShell()
Shell = Instance.new("Part", workspace)
Shell.Size = Vector3.new(0.2, 0.2, 0.6)
ShellMesh = Instance.new("SpecialMesh", Shell)
ShellMesh.MeshId = "http://www.roblox.com/asset/?id=94295100"
ShellMesh.Scale = Vector3.new(4, 4, 4)
ShellMesh.TextureId = "http://www.roblox.com/asset/?id=94287792"
Shell.Position = pistolpart.Position
end
end)
UIGradient_8.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(10, 14, 255)), ColorSequenceKeypoint.new(0.45, Color3.fromRGB(255, 247, 0)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 255, 0))}
UIGradient_8.Parent = TextButton_38
UICorner_38.CornerRadius = UDim.new(0, 20)
UICorner_38.Parent = TextButton_38
TextButton_39.Parent = Frame_3
TextButton_39.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_39.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_39.BorderSizePixel = 0
TextButton_39.Position = UDim2.new(0, 0, 0.613376856, 0)
TextButton_39.Size = UDim2.new(0, 120, 0, 20)
TextButton_39.Font = Enum.Font.Unknown
TextButton_39.Text = "Knife"
TextButton_39.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_39.TextScaled = true
TextButton_39.TextSize = 14.000
TextButton_39.TextWrapped = true
TextButton_39.MouseButton1Down:Connect(function()
function sandbox(var,func)
local env = getfenv(func)
local newenv = setmetatable({},{
__index = function(self,k)
if k=="script" then
return var
else
return env[k]
end
end,
})
setfenv(func,newenv)
return func
end
cors = {}
mas = Instance.new("Model",game:GetService("Lighting"))
Tool0 = Instance.new("Tool")
BoolValue1 = Instance.new("BoolValue")
BoolValue2 = Instance.new("BoolValue")
BoolValue3 = Instance.new("BoolValue")
BoolValue4 = Instance.new("BoolValue")
Script5 = Instance.new("Script")
LocalScript6 = Instance.new("LocalScript")
LocalScript7 = Instance.new("LocalScript")
LocalScript8 = Instance.new("LocalScript")
Part9 = Instance.new("Part")
Sound10 = Instance.new("Sound")
Sound11 = Instance.new("Sound")
Sound12 = Instance.new("Sound")
SpecialMesh13 = Instance.new("SpecialMesh")
Animation14 = Instance.new("Animation")
Animation15 = Instance.new("Animation")
Animation16 = Instance.new("Animation")
Animation17 = Instance.new("Animation")
Animation18 = Instance.new("Animation")
Script19 = Instance.new("Script")
Script20 = Instance.new("Script")
Tool0.Name = "Knife"
Tool0.Parent = mas
Tool0.TextureId = "http://www.roblox.com/asset?id=155344898"
Tool0.GripPos = Vector3.new(0, -1, -0.100000001)
BoolValue1.Name = "PlayDownStab"
BoolValue1.Parent = Tool0
BoolValue2.Name = "PlayStabPunch"
BoolValue2.Parent = Tool0
BoolValue3.Name = "PlayThrow"
BoolValue3.Parent = Tool0
BoolValue4.Name = "PlayThrowCharge"
BoolValue4.Parent = Tool0
Script5.Name = "SoundScript"
Script5.Parent = Tool0
table.insert(cors,sandbox(Script5,function()
-- Waits for the child of the specified parent
local function WaitForChild(parent, childName)
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
end
local Tool = script.Parent
local Handle = WaitForChild(Tool, 'Handle')
local Debounce = false
local TouchConnection
function OnTouched(hit)
local humanoid = hit.Parent:findFirstChild('Humanoid')
if Debounce == false then
Debounce = true
if humanoid then
else
Handle.Ting:Play()
end
end
wait(0.5)
Debounce = false
end
Tool.Equipped:connect(function()
TouchConnection = Handle.Touched:connect(OnTouched)
end)
Tool.Unequipped:connect(function()
if TouchConnection then
TouchConnection:disconnect()
TouchConnection = nil
end
end)
end))
LocalScript6.Name = "AnimationScript"
LocalScript6.Parent = Tool0
table.insert(cors,sandbox(LocalScript6,function()
-- Waits for the child of the specified parent
local function WaitForChild(parent, childName)
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
end
local Tool = script.Parent
local downStabAnim
local stabPunchAnim
local throwAnim
local throwChargeAnim
local MyHumanoid
-- This table will make sure that when we stop an animation it is
-- because it is the only animation of it running
local PlayCountTable = {}
local function PlayAnimation(animation, valueToCheck, animationLength)
if valueToCheck and valueToCheck.Value then
if MyHumanoid then
animation:Play()
if PlayCountTable[animation] then
PlayCountTable[animation] = PlayCountTable[animation] + 1
end
-- wait the duration of the animation
if animationLength then
wait(animationLength)
if PlayCountTable[animation] then
PlayCountTable[animation] = PlayCountTable[animation] - 1
if PlayCountTable[animation] == 0 then
animation:Stop()
end
end
end
end
end
end
function OnEquipped()
MyHumanoid = Tool.Parent:FindFirstChild('Humanoid')
downStabAnim = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'DownStab'))
PlayCountTable[downStabAnim] = 0
stabPunchAnim = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'StabPunch'))
PlayCountTable[stabPunchAnim] = 0
throwAnim = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'Throw'))
PlayCountTable[throwAnim] = 0
throwChargeAnim = MyHumanoid:LoadAnimation(WaitForChild(Tool, 'ThrowCharge'))
PlayCountTable[throwChargeAnim] = 0
local playStabPunch = WaitForChild(Tool, 'PlayStabPunch')
local playDownStab = WaitForChild(Tool, 'PlayDownStab')
local playThrow = WaitForChild(Tool, 'PlayThrow')
local playThrowCharge = WaitForChild(Tool, 'PlayThrowCharge')
playStabPunch.Changed:connect(function() PlayAnimation(stabPunchAnim, playStabPunch, 1.0) end)
playDownStab.Changed:connect(function() PlayAnimation(downStabAnim, playDownStab, 1.0) end)
playThrow.Changed:connect(function() PlayAnimation(throwAnim, playThrow, 1.5) end)
playThrowCharge.Changed:connect(function(value)
if value then
PlayAnimation(throwChargeAnim, playThrowCharge, 1.0)
else
throwChargeAnim:Stop()
end
end)
end
function OnUnequipped()
if downStabAnim then
downStabAnim:Stop()
downStabAnim = nil
end
if stabPunchAnim then
stabPunchAnim:Stop()
stabPunchAnim = nil
end
if throwAnim then
throwAnim:Stop()
throwAnim = nil
end
if throwChargeAnim then
throwChargeAnim:Stop()
throwChargeAnim = nil
end
PlayCountTable = {}
end
Tool.Equipped:connect(OnEquipped)
Tool.Unequipped:connect(OnUnequipped)
end))
LocalScript7.Name = "BladeGui"
LocalScript7.Parent = Tool0
table.insert(cors,sandbox(LocalScript7,function()
local Tool = script.Parent
function OnButton1Down(mouse)
if Tool.Enabled then
mouse.Icon = 'http://www.roblox.com/asset/?id=54019936'
else
mouse.Icon = 'http://www.roblox.com/asset/?id=54019936'
end
while not Tool.Enabled do
Tool.Changed:wait()
end
if Tool.Enabled then
mouse.Icon = 'http://www.roblox.com/asset/?id=54019936'
end
end
function OnEquipped(mouse)
if mouse == nil then
print("Mouse not found")
return
end
mouse.Icon = 'http://www.roblox.com/asset/?id=54019936'
mouse.Button1Down:connect(function() OnButton1Down(mouse) end)
end
Tool.Equipped:connect(OnEquipped)
end))
LocalScript8.Name = "KnifeScript"
LocalScript8.Parent = Tool0
table.insert(cors,sandbox(LocalScript8,function()
--------------------- TEMPLATE BLADE WEAPON ---------------------------
-- Waits for the child of the specified parent
local function WaitForChild(parent, childName)
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
end
local SLASH_DAMAGE = 20
local DOWNSTAB_DAMAGE = 35
local THROWING_DAMAGE = 40
local HOLD_TO_THROW_TIME = 0.38
local Damage = 20
local MyHumanoid = nil
local MyTorso = nil
local MyCharacter = nil
local MyPlayer = nil
local Tool = script.Parent
local Handle = WaitForChild(Tool, 'Handle')
local BlowConnection
local Button1DownConnection
local Button1UpConnection
local PlayStabPunch
local PlayDownStab
local PlayThrow
local PlayThrowCharge
local IconUrl = Tool.TextureId -- URL to the weapon knife icon asset
local DebrisService = game:GetService('Debris')
local PlayersService = game:GetService('Players')
local SlashSound
local HitPlayers = {}
local LeftButtonDownTime = nil
local Attacking = false
function Blow(hit)
if Attacking then
BlowDamage(hit, Damage)
end
end
function BlowDamage(hit, damage)
local humanoid = hit.Parent:FindFirstChild('Humanoid')
local player = PlayersService:GetPlayerFromCharacter(hit.Parent)
if humanoid ~= nil and MyHumanoid ~= nil and humanoid ~= MyHumanoid then
if not MyPlayer.Neutral then
-- Ignore teammates hit
if player and player ~= MyPlayer and player.TeamColor == MyPlayer.TeamColor then
return
end
end
-- final check, make sure weapon is in-hand
local rightArm = MyCharacter:FindFirstChild('Right Arm')
if (rightArm ~= nil) then
-- Check if the weld exists between the hand and the weapon
local joint = rightArm:FindFirstChild('RightGrip')
if (joint ~= nil and (joint.Part0 == Handle or joint.Part1 == Handle)) then
-- Make sure you only hit them once per swing
TagHumanoid(humanoid, MyPlayer)
print("Sending " .. damage)
local checksound = humanoid.Parent:findFirstChild("Sound")
if checksound == nil then
local givesound = script.Parent.Sound:clone()
givesound.Parent = humanoid.Parent
givesound.Disabled = false
else
checksound:remove()
local givesound = script.Parent.Sound:clone()
givesound.Parent = humanoid.Parent
givesound.Disabled = false
end
wait()
humanoid:TakeDamage(humanoid.MaxHealth)
if humanoid.Health == math.huge or humanoid.MaxHealth == math.huge then
humanoid.Parent:BreakJoints()
end
end
end
end
end
function TagHumanoid(humanoid, player)
-- Add more tags here to customize what tags are available.
while humanoid:FindFirstChild('creator') do
humanoid:FindFirstChild('creator'):Destroy()
end
local creatorTag = Instance.new('ObjectValue')
creatorTag.Value = player
creatorTag.Name = 'creator'
creatorTag.Parent = humanoid
DebrisService:AddItem(creatorTag, 1.5)
local weaponIconTag = Instance.new('StringValue')
weaponIconTag.Value = IconUrl
weaponIconTag.Name = 'icon'
weaponIconTag.Parent = creatorTag
DebrisService:AddItem(weaponIconTag, 1.5)
end
function HardAttack()
Damage = SLASH_DAMAGE
HitSound:play()
if PlayStabPunch then
PlayStabPunch.Value = true
wait(1.0)
PlayStabPunch.Value = false
end
end
function NormalAttack()
Damage = DOWNSTAB_DAMAGE
KnifeDown()
HitSound:play()
if PlayDownStab then
PlayDownStab.Value = true
wait(1.0)
PlayDownStab.Value = false
end
KnifeUp()
end
function ThrowAttack()
KnifeOut()
if PlayThrow then
PlayThrow.Value = true
wait()
if not Handle then return end
local throwingHandle = Handle:Clone()
DebrisService:AddItem(throwingHandle, 5)
throwingHandle.Parent = game.Workspace
if MyCharacter and MyHumanoid then
throwingHandle.Velocity = (MyHumanoid.TargetPoint - throwingHandle.CFrame.p).unit * 100
-- set the orientation to the direction it is being thrown in
throwingHandle.CFrame = CFrame.new(throwingHandle.CFrame.p, throwingHandle.CFrame.p + throwingHandle.Velocity) * CFrame.Angles(0, 0, math.rad(-90))
local floatingForce = Instance.new('BodyForce', throwingHandle)
floatingForce.force = Vector3.new(0, 196.2 * throwingHandle:GetMass() * 0.98, 0)
local spin = Instance.new('BodyAngularVelocity', throwingHandle)
spin.angularvelocity = throwingHandle.CFrame:vectorToWorldSpace(Vector3.new(0, -400, 0))
end
Handle.Transparency = 1
-- Wait so that the knife has left the thrower's general area
wait()
if throwingHandle then
local Throwevent = script.Parent.ThrowHandleHitWeld:Clone()
Throwevent.Parent = throwingHandle
Throwevent.Disabled = false
local touchedConn = throwingHandle.Touched:connect(function(hit) print("hit throw") BlowDamage(hit, THROWING_DAMAGE) end)
end
-- must check if it still exists since we waited
if throwingHandle then
throwingHandle.CanCollide = true
end
wait(0.6)
if Handle and PlayThrow then
Handle.Transparency = 0
PlayThrow.Value = false
end
end
KnifeUp()
end
function KnifeUp()
Tool.GripForward = Vector3.new(0,0,-1)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,1,0)
end
function KnifeDown()
Tool.GripForward = Vector3.new(0,0,-1)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,-1,0)
end
function KnifeOut()
Tool.GripForward = Vector3.new(0,0,-1)
Tool.GripRight = Vector3.new(1,0,0)
Tool.GripUp = Vector3.new(0,1,0)
end
Tool.Enabled = true
function OnLeftButtonDown()
LeftButtonDownTime = time()
if PlayThrowCharge then
PlayThrowCharge.Value = true
end
end
function OnLeftButtonUp()
if not Tool.Enabled then return end
-- Reset the list of hit players every time we start a new attack
HitPlayers = {}
if PlayThrowCharge then
PlayThrowCharge.Value = false
end
if Tool.Enabled and MyHumanoid and MyHumanoid.Health > 0 then
Tool.Enabled = false
local currTime = time()
if LeftButtonDownTime and currTime - LeftButtonDownTime > HOLD_TO_THROW_TIME and
currTime - LeftButtonDownTime < 1.15 then
ThrowAttack()
else
Attacking = true
if math.random(1, 2) == 1 then
HardAttack()
else
NormalAttack()
end
Attacking = false
end
Tool.Enabled = true
end
end
function OnEquipped(mouse)
PlayStabPunch = WaitForChild(Tool, 'PlayStabPunch')
PlayDownStab = WaitForChild(Tool, 'PlayDownStab')
PlayThrow = WaitForChild(Tool, 'PlayThrow')
PlayThrowCharge = WaitForChild(Tool, 'PlayThrowCharge')
SlashSound = WaitForChild(Handle, 'Swoosh1')
HitSound = WaitForChild(Handle, 'Ting')
SlashSound:play()
BlowConnection = Handle.Touched:connect(Blow)
MyCharacter = Tool.Parent
MyTorso = MyCharacter:FindFirstChild('Torso')
MyHumanoid = MyCharacter:FindFirstChild('Humanoid')
MyPlayer = PlayersService.LocalPlayer
if mouse then
Button1DownConnection = mouse.Button1Down:connect(OnLeftButtonDown)
Button1UpConnection = mouse.Button1Up:connect(OnLeftButtonUp)
end
KnifeUp()
end
function OnUnequipped()
-- Unequip logic here
if BlowConnection then
BlowConnection:disconnect()
BlowConnection = nil
end
if Button1DownConnection then
Button1DownConnection:disconnect()
Button1DownConnection = nil
end
if Button1UpConnection then
Button1UpConnection:disconnect()
Button1UpConnection = nil
end
MyHumanoid = nil
end
Tool.Equipped:connect(OnEquipped)
Tool.Unequipped:connect(OnUnequipped)
end))
Part9.Name = "Handle"
Part9.Parent = Tool0
Part9.Material = Enum.Material.DiamondPlate
Part9.BrickColor = BrickColor.new("Really black")
Part9.Reflectance = 0.0099999997764826
Part9.Rotation = Vector3.new(-180, 0, -180)
Part9.Elasticity = 0
Part9.FormFactor = Enum.FormFactor.Custom
Part9.Size = Vector3.new(0.400000006, 3, 0.699999988)
Part9.CFrame = CFrame.new(0, 17.2999992, 22, -1, 0, 0, 0, 1, 0, 0, 0, -1)
Part9.BottomSurface = Enum.SurfaceType.Smooth
Part9.TopSurface = Enum.SurfaceType.Smooth
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
Part9.Position = Vector3.new(0, 17.2999992, 22)
Part9.Orientation = Vector3.new(0, 180, 0)
Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
Sound10.Name = "Swoosh"
Sound10.Parent = Part9
Sound10.SoundId = "http://www.roblox.com/asset?id=153647529"
Sound10.Volume = 1
Sound10.PlayOnRemove = true
Sound11.Name = "Swoosh1"
Sound11.Parent = Part9
Sound11.SoundId = "http://www.roblox.com/asset?id=153647514"
Sound11.Volume = 1
Sound11.PlayOnRemove = true
Sound12.Name = "Ting"
Sound12.Parent = Part9
Sound12.SoundId = "http://www.roblox.com/asset?id=153647529"
Sound12.Volume = 0.20000000298023
SpecialMesh13.Parent = Part9
SpecialMesh13.MeshId = "http://www.roblox.com/asset/?id=121944778 "
SpecialMesh13.TextureId = "http://www.roblox.com/asset/?id=121944805 "
SpecialMesh13.MeshType = Enum.MeshType.FileMesh
Animation14.Name = "DownStab"
Animation14.Parent = Tool0
Animation14.AnimationId = "http://www.roblox.com/Asset?ID=89133529"
Animation15.Name = "KnifeIdle"
Animation15.Parent = Tool0
Animation16.Name = "StabPunch"
Animation16.Parent = Tool0
Animation16.AnimationId = "http://www.roblox.com/Asset?ID=89134792"
Animation17.Name = "Throw"
Animation17.Parent = Tool0
Animation17.AnimationId = "http://www.roblox.com/Asset?ID=89147993"
Animation18.Name = "ThrowCharge"
Animation18.Parent = Tool0
Animation18.AnimationId = "http://www.roblox.com/Asset?ID=93103762"
Script19.Name = "ThrowHandleHitWeld"
Script19.Parent = Tool0
Script19.Disabled = true
table.insert(cors,sandbox(Script19,function()
arrow = script.Parent
local HitSound = Instance.new("Sound")
HitSound.SoundId = "http://www.roblox.com/asset?id=153647563"
HitSound.Parent = arrow
HitSound.Volume = .5
function stick(hit)
local AV = arrow:findFirstChild("BodyForce")
local FO = arrow:findFirstChild("BodyAngularVelocity")
if AV ~= nil then AV:remove() end
if FO ~= nil then FO:remove() end
-- joint myself to the thing i hit
local weld = Instance.new("Weld")
weld.Name = "PieWeld"
weld.Part0 = arrow
weld.Part1 = hit
local backupweld = Instance.new("Weld")
backupweld.Name = "PieWeldBackup"
backupweld.Part0 = arrow
backupweld.Part1 = hit
-- correction term to account for average skew between physics update and heartbeat
local HitPos = arrow.Position --+ (-arrow.Velocity * (1/60)) --+ (arrow.CFrame.lookVector * .5)
local CJ = CFrame.new(HitPos)
local C0 = arrow.CFrame:inverse() *CJ
local C1 = hit.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = arrow
backupweld.C0 = C0
backupweld.C1 = C1
backupweld.Parent = arrow
end
function onTouched(hit)
connection:disconnect()
stick(hit)
HitSound:Play()
end
connection = arrow.Touched:connect(onTouched)
wait(2)
if (arrow:FindFirstChild("PieWeld") ~= nil) then
arrow.PieWeld:Remove()
end
wait(8)
arrow.Parent = nil
end))
Script20.Name = "Sound"
Script20.Parent = Tool0
Script20.Disabled = true
table.insert(cors,sandbox(Script20,function()
-- For knife
function waitForChild(parent, childName)
local child = parent:findFirstChild(childName)
if child then return child end
while true do
child = parent.ChildAdded:wait()
if child.Name==childName then return child end
end
end
function newSound(id)
local sound = Instance.new("Sound")
sound.SoundId = id
sound.archivable = false
sound.Parent = script.Parent.Head
return sound
end
-- declarations
local sDied = newSound("http://www.roblox.com/asset?id=146594640")
local sFallingDown = newSound("rbxasset://sounds/splat.wav")
local sFreeFalling = newSound("rbxasset://sounds/swoosh.wav")
local sGettingUp = newSound("rbxasset://sounds/hit.wav")
local sJumping = newSound("rbxasset://sounds/button.wav")
local sRunning = newSound("rbxasset://sounds/bfsl-minifigfoots1.mp3")
sRunning.Looped = true
local Figure = script.Parent
local Head = waitForChild(Figure, "Head")
local Humanoid = waitForChild(Figure, "Humanoid")
-- functions
function onDied()
sDied:Play()
end
function onState(state, sound)
if state then
sound:Play()
else
sound:Pause()
end
end
function onRunning(speed)
if speed>0.01 then
sRunning:Play()
else
sRunning:Pause()
end
end
-- connect up
Humanoid.Died:connect(onDied)
Humanoid.Running:connect(onRunning)
Humanoid.Jumping:connect(function(state) onState(state, sJumping) end)
Humanoid.GettingUp:connect(function(state) onState(state, sGettingUp) end)
Humanoid.FreeFalling:connect(function(state) onState(state, sFreeFalling) end)
Humanoid.FallingDown:connect(function(state) onState(state, sFallingDown) end)
end))
for i,v in pairs(mas:GetChildren()) do
v.Parent = game:GetService("Players").LocalPlayer.Backpack
pcall(function() v:MakeJoints() end)
end
mas:Destroy()
for i,v in pairs(cors) do
spawn(function()
pcall(v)
end)
end
end)
UICorner_39.CornerRadius = UDim.new(0, 20)
UICorner_39.Parent = TextButton_39
UIGradient_9.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.46, Color3.fromRGB(170, 0, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 255, 183))}
UIGradient_9.Parent = TextButton_39
TextButton_40.Parent = Frame_3
TextButton_40.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
TextButton_40.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_40.BorderSizePixel = 0
TextButton_40.Position = UDim2.new(-1.11188817, 0, 0.680261016, 0)
TextButton_40.Size = UDim2.new(0, 120, 0, 20)
TextButton_40.Font = Enum.Font.Unknown
TextButton_40.Text = "Ground Disco"
TextButton_40.TextColor3 = Color3.fromRGB(0, 0, 0)
TextButton_40.TextScaled = true
TextButton_40.TextSize = 14.000
TextButton_40.TextWrapped = true
TextButton_40.MouseButton1Down:Connect(function()
while true do
wait(0.5)
game.Lighting.Ambient = Color3.new(math.random(), math.random(), math.random())
game.Lighting.ColorShift_Top = Color3.new(math.random(), math.random(), math.random())
game.Lighting.ColorShift_Bottom = Color3.new(math.random(), math.random(), math.random())
game.Lighting.ShadowColor = Color3.new(math.random(), math.random(), math.random())
end
end)
UICorner_40.CornerRadius = UDim.new(0, 20)
UICorner_40.Parent = TextButton_40
UIGradient_10.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(102, 255, 0)), ColorSequenceKeypoint.new(0.48, Color3.fromRGB(255, 0, 4)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(8, 0, 255))}
UIGradient_10.Parent = TextButton_40
TextButton_41.Parent = Frame_3
TextButton_41.BackgroundColor3 = Color3.fromRGB(170, 170, 127)
TextButton_41.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_41.BorderSizePixel = 0
TextButton_41.Position = UDim2.new(-0.146853149, 0, 0.119086459, 0)
TextButton_41.Size = UDim2.new(0, 120, 0, 20)
TextButton_41.Font = Enum.Font.Unknown
TextButton_41.Text = "Backflip"
TextButton_41.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_41.TextScaled = true
TextButton_41.TextSize = 14.000
TextButton_41.TextWrapped = true
TextButton_41.MouseButton1Down:Connect(function()
wait(5)
--[[ Info ]]--
local ver = "2.00"
local scriptname = "feFlip"
--[[ Keybinds ]]--
local FrontflipKey = Enum.KeyCode.Z
local BackflipKey = Enum.KeyCode.X
local AirjumpKey = Enum.KeyCode.C
--[[ Dependencies ]]--
local ca = game:GetService("ContextActionService")
local zeezy = game:GetService("Players").LocalPlayer
local h = 0.0174533
local antigrav
--[[ Functions ]]--
function zeezyFrontflip(act,inp,obj)
if inp == Enum.UserInputState.Begin then
zeezy.Character.Humanoid:ChangeState("Jumping")
wait()
zeezy.Character.Humanoid.Sit = true
for i = 1,360 do
delay(i/720,function()
zeezy.Character.Humanoid.Sit = true
zeezy.Character.HumanoidRootPart.CFrame = zeezy.Character.HumanoidRootPart.CFrame * CFrame.Angles(-h,0,0)
end)
end
wait(0.55)
zeezy.Character.Humanoid.Sit = false
end
end
function zeezyBackflip(act,inp,obj)
if inp == Enum.UserInputState.Begin then
zeezy.Character.Humanoid:ChangeState("Jumping")
wait()
zeezy.Character.Humanoid.Sit = true
for i = 1,360 do
delay(i/720,function()
zeezy.Character.Humanoid.Sit = true
zeezy.Character.HumanoidRootPart.CFrame = zeezy.Character.HumanoidRootPart.CFrame * CFrame.Angles(h,0,0)
end)
end
wait(0.55)
zeezy.Character.Humanoid.Sit = false
end
end
function zeezyAirjump(act,inp,obj)
if inp == Enum.UserInputState.Begin then
zeezy.Character:FindFirstChildOfClass'Humanoid':ChangeState("Seated")
wait()
zeezy.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
end
end
--[[ Binds ]]--
ca:BindAction("zeezyFrontflip",zeezyFrontflip,false,FrontflipKey)
ca:BindAction("zeezyBackflip",zeezyBackflip,false,BackflipKey)
ca:BindAction("zeezyAirjump",zeezyAirjump,false,AirjumpKey)
--[[ Load Message ]]--
print(scriptname .. " " .. ver .. " loaded successfully")
print("made by Zeezy#7203")
local notifSound = Instance.new("Sound",workspace)
notifSound.PlaybackSpeed = 1.5
notifSound.Volume = 0.15
notifSound.SoundId = "rbxassetid://170765130"
notifSound.PlayOnRemove = true
notifSound:Destroy()
game.StarterGui:SetCore("SendNotification", {Title = "feFlip", Text = "feFlip loaded successfully!", Icon = "rbxassetid://505845268", Duration = 5, Button1 = "Okay"})
end)
UICorner_41.CornerRadius = UDim.new(0, 20)
UICorner_41.Parent = TextButton_41
TextButton_42.Parent = Frame_3
TextButton_42.BackgroundColor3 = Color3.fromRGB(125, 0, 2)
TextButton_42.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_42.BorderSizePixel = 0
TextButton_42.Position = UDim2.new(-0.146853149, 0, 0.169657424, 0)
TextButton_42.Size = UDim2.new(0, 120, 0, 20)
TextButton_42.Font = Enum.Font.Unknown
TextButton_42.Text = "Sonic Clone"
TextButton_42.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_42.TextScaled = true
TextButton_42.TextSize = 14.000
TextButton_42.TextWrapped = true
TextButton_42.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/0Ben1/fe/main/obf_11l7Y131YqJjZ31QmV5L8pI23V02b3191sEg26E75472Wl78Vi8870jRv5txZyL1.lua.txt"))()
end)
UICorner_42.CornerRadius = UDim.new(0, 20)
UICorner_42.Parent = TextButton_42
TextButton_43.Parent = Frame_3
TextButton_43.BackgroundColor3 = Color3.fromRGB(138, 180, 0)
TextButton_43.BorderColor3 = Color3.fromRGB(0, 0, 0)
TextButton_43.BorderSizePixel = 0
TextButton_43.Position = UDim2.new(-0.146853149, 0, 0.221371025, 0)
TextButton_43.Size = UDim2.new(0, 120, 0, 20)
TextButton_43.Font = Enum.Font.SourceSans
TextButton_43.Text = "Instant Rage Quit"
TextButton_43.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton_43.TextSize = 18.000
TextButton_43.TextWrapped = true
TextButton_43.MouseButton1Down:Connect(function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/sinret/rbxscript.com-scripts-reuploads-/main/chatt", true))()
end)
UICorner_43.CornerRadius = UDim.new(0, 20)
UICorner_43.Parent = TextButton_43
-- Scripts:
local function DISCKJ_fake_script() -- ScreenGui.LocalScript
local script = Instance.new('LocalScript', ScreenGui)
local SGui = script.Parent
local Frame = SGui:WaitForChild("Frame")
local Button = SGui:WaitForChild("TextButton")
Button.MouseButton1Up:Connect(function()
Frame.Visible = not Frame.Visible
end)
end
coroutine.wrap(DISCKJ_fake_script)()
local function FIEQ_fake_script() -- ScreenGui.LocalScript
local script = Instance.new('LocalScript', ScreenGui)
local image = script.Parent.ImageLabel
image.image = "rbxassetid://127626754242019"
end
coroutine.wrap(FIEQ_fake_script)()
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com, www.roblox.com, pastebin.com, cdn.wearedevs.net.
New Scripts Added. Enjoy!

Universal