Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local Malsploit = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local BeautyA = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local BeautyB = Instance.new("Frame")
- local TextLabel_2 = Instance.new("TextLabel")
- local None = Instance.new("TextButton")
- local None_2 = Instance.new("TextButton")
- local Xester = Instance.new("TextButton")
- local None_3 = Instance.new("TextButton")
- local None_4 = Instance.new("TextButton")
- local None_5 = Instance.new("TextButton")
- local None_6 = Instance.new("TextButton")
- local None_7 = Instance.new("TextButton")
- local None_8 = Instance.new("TextButton")
- local None_9 = Instance.new("TextButton")
- local None_10 = Instance.new("TextButton")
- local None_11 = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- --Properties:
- Malsploit.Name = "Malsploit"
- Malsploit.Parent = game.CoreGui
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = Malsploit
- OpenFrame.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- OpenFrame.Position = UDim2.new(0, 0, 0.427051663, 0)
- OpenFrame.Size = UDim2.new(0, 153, 0, 48)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- Open.BorderSizePixel = 0
- Open.Position = UDim2.new(0.0718954206, 0, 0.0833333284, 0)
- Open.Size = UDim2.new(0, 131, 0, 40)
- Open.Font = Enum.Font.Cartoon
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(1, 0.333333, 1)
- Open.TextSize = 30
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = Malsploit
- Main.BackgroundColor3 = Color3.new(0.47451, 0.588235, 1)
- Main.BackgroundTransparency = 0.20000000298023
- Main.Position = UDim2.new(0.325375766, 0, 0.268996954, 0)
- Main.Size = UDim2.new(0, 540, 0, 339)
- Main.Visible = false
- Main.Dragable = true
- BeautyA.Name = "BeautyA"
- BeautyA.Parent = Main
- BeautyA.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- BeautyA.BorderSizePixel = 0
- BeautyA.Position = UDim2.new(0, 0, 0.873156369, 0)
- BeautyA.Size = UDim2.new(0, 540, 0, 43)
- TextLabel.Parent = BeautyA
- TextLabel.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.0111111114, 0, 0, 0)
- TextLabel.Size = UDim2.new(0, 542, 0, 43)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Credits to: DarkShadowRBGx, me (of course lol), and all the respectful owners of the scripts used"
- TextLabel.TextColor3 = Color3.new(0, 1, 0.0313726)
- TextLabel.TextSize = 18
- TextLabel.TextWrapped = true
- BeautyB.Name = "BeautyB"
- BeautyB.Parent = Main
- BeautyB.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- BeautyB.BorderSizePixel = 0
- BeautyB.Size = UDim2.new(0, 540, 0, 43)
- TextLabel_2.Parent = BeautyB
- TextLabel_2.BackgroundColor3 = Color3.new(0.666667, 0, 1)
- TextLabel_2.BorderSizePixel = 0
- TextLabel_2.Position = UDim2.new(0.224074081, 0, 0, 0)
- TextLabel_2.Size = UDim2.new(0, 304, 0, 43)
- TextLabel_2.Font = Enum.Font.SourceSans
- TextLabel_2.Text = "Malsploit by Malicious_Day"
- TextLabel_2.TextColor3 = Color3.new(0.027451, 1, 0.0588235)
- TextLabel_2.TextSize = 30
- None.Name = "None"
- None.Parent = Main
- None.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None.BorderSizePixel = 0
- None.Position = UDim2.new(0, 0, 0.326400161, 0)
- None.Size = UDim2.new(0, 164, 0, 41)
- None.Font = Enum.Font.Cartoon
- None.Text = "Shattervast ADMIN"
- None.TextColor3 = Color3.new(0, 0, 0)
- None.TextSize = 20
- Shattervast.MouseButton1Down:connect(function()
- -- By illremember#3799
- -- Important Loading
- trueSettings = {
- commandPrefix = ";";
- hotkeys = {};
- fchotkeymode = "unfc";
- }
- -- Important Variables
- gsPlayers = game:GetService("Players")
- gsWorkspace = game:GetService("Workspace")
- gsLighting = game:GetService("Lighting")
- gsReplicatedStorage = game:GetService("ReplicatedStorage")
- gsCoreGui = game:GetService("CoreGui")
- gsTween = game:GetService("TweenService")
- gsHttp = game:GetService("HttpService")
- LP = gsPlayers.LocalPlayer
- Mouse = LP:GetMouse()
- defaultSettings = gsHttp:JSONEncode(trueSettings)
- function CreateSave()
- writefile("Shattervast.txt", defaultSettings)
- wait(0.5)
- local content = readfile("Shattervast.txt")
- local trueValue = gsHttp:JSONDecode(content)
- commandPrefix = trueValue.commandPrefix
- hotkeys = trueValue.hotkeys
- fchotkeymode = trueValue.fchotkeymode
- end
- function fullUpdate()
- local updatedSettings = {
- commandPrefix = commandPrefix;
- hotkeys = hotkeys;
- fchotkeymode = fchotkeymode;
- }
- local fullUPDATED = gsHttp:JSONEncode(updatedSettings)
- wait(0.2)
- writefile("Shattervast.txt", fullUPDATED)
- end
- if writefile ~= nil then
- function builder()
- local TESTsave = readfile("Shattervast.txt")
- if TESTsave == nil then
- return false
- else
- return true
- end
- end
- local success, message = pcall(builder)
- if success == true then
- function reader()
- local content = readfile("Shattervast.txt")
- local trueValue = gsHttp:JSONDecode(content)
- commandPrefix = trueValue.commandPrefix
- hotkeys = trueValue.hotkeys
- if trueValue.fchotkeymode == nil then
- fchotkeymode = "unfc"
- fullUpdate()
- else
- fchotkeymode = trueValue.fchotkeymode
- end
- end
- reader()
- elseif success == false then
- CreateSave()
- end
- else
- commandPrefix = ";"
- hotkeys = {}
- fchotkeymode = "unfc"
- end
- CurrentGravity = gsWorkspace.Gravity
- CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed
- CurrentJumppower = LP.Character.Humanoid.JumpPower
- CurrentHipheight = LP.Character.Humanoid.HipHeight
- CurrentNormal = LP.DevCameraOcclusionMode
- gsWorkspace.Camera.Changed:Connect(function()
- gsWorkspace.Camera.FieldOfView = 70
- end)
- -- Important Functions
- function view(plr)
- if plr.Character.Humanoid ~= nil then
- gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
- else
- gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
- end
- end
- function unlockWS()
- for i,part in pairs(gsWorkspace:GetDescendants()) do
- if part:IsA("Part") then
- part.Locked = false
- end
- end
- end
- function lockWS()
- for i,part in pairs(gsWorkspace:GetDescendants()) do
- if part:IsA("Part") then
- part.Locked = true
- end
- end
- end
- function FEGodmode()
- local changeview = false
- if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then
- changeview = true
- end
- LP.Character.Humanoid.Name = 1
- local l = LP.Character["1"]:Clone()
- l.Parent = LP.Character
- l.Name = "Humanoid"
- wait(0.1)
- LP.Character["1"]:Destroy()
- if changeview then
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
- end
- LP.Character.Animate.Disabled = true
- wait(0.1)
- LP.Character.Animate.Disabled = false
- LP.Character.Humanoid.DisplayDistanceType = "None"
- end
- function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name)
- local l = Instance.new("RocketPropulsion")
- l.Parent = LP.Character.HumanoidRootPart
- l.CartoonFactor = 1
- l.MaxThrust = maxthrust
- l.MaxSpeed = maxspeed
- l.ThrustP = thrustp
- l.Name = name
- l.Target = targetplr.Character.HumanoidRootPart
- l:Fire()
- end
- function createIntro(style, msg, length)
- if gsCoreGui:FindFirstChild("Notification") then
- gsCoreGui:FindFirstChild("Notification"):Destroy()
- end
- local info = "http://www.roblox.com/asset/?id=1281284684"
- local warning = "http://www.roblox.com/asset/?id=1281286925"
- if style == "info" then
- style = info
- elseif style == "warning" then
- style = warning
- end
- local Notification = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local IMAGE = Instance.new("ImageLabel")
- Notification.Name = "Notification"
- Notification.Parent = gsCoreGui
- Frame.Parent = Notification
- Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, -0.2, 0)
- Frame.Size = UDim2.new(1, 0, 0, 30)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = msg
- TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- IMAGE.Parent = Frame
- IMAGE.BackgroundTransparency = 1
- IMAGE.Size = UDim2.new(0, 50, 0, 50)
- IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
- IMAGE.Image = style
- local Intro = Instance.new("ScreenGui")
- local Frame2 = Instance.new("Frame")
- local IMAGE2 = Instance.new("ImageLabel")
- Intro.Name = "Intro"
- Intro.Parent = gsCoreGui
- Frame2.Parent = Intro
- Frame2.BackgroundTransparency = 1
- Frame2.BorderSizePixel = 0
- Frame2.Position = UDim2.new(0, 0, -0.2, 0)
- Frame2.Size = UDim2.new(1, 0, 0, 30)
- IMAGE2.Parent = Frame
- IMAGE2.BackgroundTransparency = 1
- IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
- IMAGE2.Size = UDim2.new(0, 240, 0, 120)
- IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
- IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
- Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
- Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
- wait(length)
- pcall(function()
- Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- end)
- wait(3.01)
- Intro:Destroy()
- Notification:Destroy()
- end
- function Notification(style, msg, length)
- if gsCoreGui:FindFirstChild("Notification") then
- gsCoreGui:FindFirstChild("Notification"):Destroy()
- end
- local info = "http://www.roblox.com/asset/?id=1281284684"
- local warning = "http://www.roblox.com/asset/?id=1281286925"
- if style == "info" then
- style = info
- elseif style == "warning" then
- style = warning
- end
- local Notification = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local IMAGE = Instance.new("ImageLabel")
- Notification.Name = "Notification"
- Notification.Parent = gsCoreGui
- Frame.Parent = Notification
- Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, -0.2, 0)
- Frame.Size = UDim2.new(1, 0, 0, 30)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = msg
- TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- IMAGE.Parent = Frame
- IMAGE.BackgroundTransparency = 1
- IMAGE.Size = UDim2.new(0, 50, 0, 50)
- IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
- IMAGE.Image = style
- Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
- wait(length)
- pcall(function()
- Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
- end)
- wait(3.01)
- Notification:Destroy()
- end
- function hasTools()
- local a = false
- local b = false
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if v ~= nil then
- a = true
- else
- a = false
- end
- end
- end
- for i,k in pairs(LP.Backpack:GetDescendants()) do
- if k:IsA("Tool") then
- if k ~= nil then
- b = true
- else
- b = false
- end
- end
- end
- return a or b
- end
- Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"}
- function complimentplr(player)
- local plrName = player.Name
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All")
- end
- function createINFO(player)
- local InfoGUIv2 = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local infoguiCLOSE = Instance.new("TextButton")
- local Frame_3 = Instance.new("Frame")
- local playerName = Instance.new("TextLabel")
- local Frame_4 = Instance.new("Frame")
- local playerAvatar = Instance.new("ImageLabel")
- local playerAccAge = Instance.new("TextLabel")
- local playerId = Instance.new("TextLabel")
- local playerOs = Instance.new("TextLabel")
- local playerMembership = Instance.new("TextLabel")
- local Frame_5 = Instance.new("Frame")
- local Frame_6 = Instance.new("Frame")
- InfoGUIv2.Name = "InfoGUIv2"
- InfoGUIv2.Parent = gsCoreGui
- Frame.Parent = InfoGUIv2
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 1
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.ClipsDescendants = true
- Frame.Position = UDim2.new(0.45, 0, 1, 0)
- Frame.Size = UDim2.new(0, 265, 0, 302)
- Frame.ZIndex = -1
- Frame_2.Parent = Frame
- Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
- Frame_2.BorderSizePixel = 0
- Frame_2.Size = UDim2.new(0, 260, 0, 20)
- infoguiCLOSE.Name = "infoguiCLOSE"
- infoguiCLOSE.Parent = Frame_2
- infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
- infoguiCLOSE.BackgroundTransparency = 1
- infoguiCLOSE.BorderSizePixel = 0
- infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
- infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
- infoguiCLOSE.Font = Enum.Font.SourceSansBold
- infoguiCLOSE.Text = "X"
- infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
- infoguiCLOSE.TextSize = 20
- Frame_3.Parent = Frame
- Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
- Frame_3.BorderSizePixel = 0
- Frame_3.Position = UDim2.new(0, 0, 0, 20)
- Frame_3.Size = UDim2.new(0, 260, 0, 40)
- playerName.Name = "playerName"
- playerName.Parent = Frame_3
- playerName.BackgroundColor3 = Color3.new(1, 1, 1)
- playerName.BackgroundTransparency = 1
- playerName.Position = UDim2.new(0, 10, 0, 5)
- playerName.Size = UDim2.new(0, 240, 0, 30)
- playerName.Font = Enum.Font.SourceSansLight
- playerName.Text = player.Name
- playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
- playerName.TextScaled = true
- playerName.TextSize = 14
- playerName.TextWrapped = true
- Frame_4.Parent = Frame
- Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- Frame_4.BorderSizePixel = 0
- Frame_4.Position = UDim2.new(0, 0, 0, 60)
- Frame_4.Size = UDim2.new(0, 260, 0, 237)
- playerAvatar.Name = "playerAvatar"
- playerAvatar.Parent = Frame_4
- playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
- playerAvatar.Position = UDim2.new(0, 85, 0, 10)
- playerAvatar.Size = UDim2.new(0, 85, 0, 85)
- playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
- playerAccAge.Name = "playerAccAge"
- playerAccAge.Parent = Frame_4
- playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
- playerAccAge.BackgroundTransparency = 1
- playerAccAge.Position = UDim2.new(0, 5, 0, 101)
- playerAccAge.Size = UDim2.new(0, 250, 0, 30)
- playerAccAge.Font = Enum.Font.SourceSans
- playerAccAge.Text = "Account Age: "..player.AccountAge
- playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerAccAge.TextScaled = true
- playerAccAge.TextSize = 14
- playerAccAge.TextWrapped = true
- playerId.Name = "playerId"
- playerId.Parent = Frame_4
- playerId.BackgroundColor3 = Color3.new(1, 1, 1)
- playerId.BackgroundTransparency = 1
- playerId.Position = UDim2.new(0, 5, 0, 131)
- playerId.Size = UDim2.new(0, 250, 0, 30)
- playerId.Font = Enum.Font.SourceSans
- playerId.Text = "Account ID: "..player.UserId
- playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerId.TextScaled = true
- playerId.TextSize = 14
- playerId.TextWrapped = true
- playerOs.Name = "playerOs"
- playerOs.Parent = Frame_4
- playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
- playerOs.BackgroundTransparency = 1
- playerOs.Position = UDim2.new(0, 5, 0, 161)
- playerOs.Size = UDim2.new(0, 250, 0, 30)
- playerOs.Font = Enum.Font.SourceSansLight
- playerOs.Text = "Player OS: "..player.OsPlatform
- playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerOs.TextScaled = true
- playerOs.TextSize = 14
- playerOs.TextWrapped = true
- playerMembership.Name = "playerMembership"
- playerMembership.Parent = Frame_4
- playerMembership.BackgroundColor3 = Color3.new(1, 1, 1)
- playerMembership.BackgroundTransparency = 1
- playerMembership.Position = UDim2.new(0, 5, 0, 191)
- playerMembership.Size = UDim2.new(0, 250, 0, 30)
- playerMembership.Font = Enum.Font.SourceSansLight
- if player.MembershipType == Enum.MembershipType.None then
- playerMembership.Text = "No builder's club."
- elseif player.MembershipType == Enum.MembershipType.BuildersClub then
- playerMembership.Text = "Builder's club!"
- elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
- playerMembership.Text = "Turbo Builder's club!"
- elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- playerMembership.Text = "Outrageous Builder's club!"
- end
- playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- playerMembership.TextScaled = true
- playerMembership.TextSize = 14
- playerMembership.TextWrapped = true
- Frame_5.Parent = Frame
- Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame_5.BackgroundTransparency = 0.69999998807907
- Frame_5.BorderColor3 = Color3.new(0, 0, 0)
- Frame_5.BorderSizePixel = 0
- Frame_5.ClipsDescendants = true
- Frame_5.Position = UDim2.new(0, 10, 0, 10)
- Frame_5.Selectable = true
- Frame_5.Size = UDim2.new(0, 255, 0, 292)
- Frame_5.ZIndex = -1
- Frame_6.Parent = Frame
- Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame_6.BackgroundTransparency = 0.69999998807907
- Frame_6.BorderColor3 = Color3.new(0, 0, 0)
- Frame_6.BorderSizePixel = 0
- Frame_6.ClipsDescendants = true
- Frame_6.Position = UDim2.new(0, 8, 0, 8)
- Frame_6.Selectable = true
- Frame_6.Size = UDim2.new(0, 255, 0, 292)
- Frame_6.ZIndex = -1
- local closeGet = {}
- closeGet.Size = UDim2.new(0, 0, 0, 0)
- local openGet = {}
- openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
- local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
- local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
- infoguiCLOSE.MouseButton1Click:Connect(function()
- closeFunction:Play()
- Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
- wait(2.01)
- Frame:Destroy()
- end)
- openFunction:Play()
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- Frame.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = Frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
- update(input)
- end
- end)
- end
- function clientSided()
- Notification("info", "This command is for the client (you) only, no one else can see!", 6)
- end
- searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"}
- CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168
- local CMDS_GUI_V2 = Instance.new("ScreenGui")
- local CMDSmain = Instance.new("Frame")
- local CMDSframemain = Instance.new("Frame")
- local cmdgui_topframe = Instance.new("Frame")
- local closecmdsgui = Instance.new("TextButton")
- local cmdgui_midframe = Instance.new("Frame")
- local cmdsgui_SearchFunction = Instance.new("TextBox")
- local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
- local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
- local ListofCMDS = Instance.new("ScrollingFrame")
- local cmdTutorial = Instance.new("TextLabel")
- local cmdTutorial_2 = Instance.new("TextLabel")
- local cmdTutorial_3 = Instance.new("TextLabel")
- local CMDS_Shadow = Instance.new("Frame")
- local CMDS_Shadow2 = Instance.new("Frame")
- CMDS_GUI_V2.Name = "CMDS_GUI_V2"
- CMDS_GUI_V2.Parent = gsCoreGui
- CMDSmain.Name = "CMDSmain"
- CMDSmain.Parent = CMDS_GUI_V2
- CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
- CMDSmain.BackgroundTransparency = 1
- CMDSmain.Position = UDim2.new(0, 695, 0, 297)
- CMDSmain.Size = UDim2.new(0, 440, 0, 367)
- CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
- CMDSmain.Visible = false
- CMDSmain.ClipsDescendants = true
- CMDSframemain.Name = "CMDSframemain"
- CMDSframemain.Parent = CMDSmain
- CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
- CMDSframemain.BorderSizePixel = 0
- CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
- cmdgui_topframe.Name = "cmdgui_topframe"
- cmdgui_topframe.Parent = CMDSframemain
- cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
- cmdgui_topframe.BorderSizePixel = 0
- cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
- closecmdsgui.Name = "closecmdsgui"
- closecmdsgui.Parent = cmdgui_topframe
- closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
- closecmdsgui.BackgroundTransparency = 1
- closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
- closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
- closecmdsgui.Font = Enum.Font.SourceSansBold
- closecmdsgui.Text = "X"
- closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
- closecmdsgui.TextSize = 20
- cmdgui_midframe.Name = "cmdgui_midframe"
- cmdgui_midframe.Parent = CMDSframemain
- cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- cmdgui_midframe.BorderSizePixel = 0
- cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
- cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
- cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
- cmdsgui_SearchFunction.Parent = cmdgui_midframe
- cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdsgui_SearchFunction.BackgroundTransparency = 1
- cmdsgui_SearchFunction.BorderSizePixel = 0
- cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
- cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
- cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
- cmdsgui_SearchFunction.Text = ""
- cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
- cmdsgui_SearchFunction.TextScaled = true
- cmdsgui_SearchFunction.TextSize = 14
- cmdsgui_SearchFunction.TextWrapped = true
- cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
- cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
- cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
- cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
- cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
- cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
- cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
- cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
- cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
- cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
- cmdsgui_searchDETAILTEXT.Text = "Search"
- cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
- cmdsgui_searchDETAILTEXT.TextSize = 30
- ListofCMDS.Name = "ListofCMDS"
- ListofCMDS.Parent = CMDSframemain
- ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
- ListofCMDS.BorderSizePixel = 0
- ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
- ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
- ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
- ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
- cmdTutorial.Name = "cmdTutorial"
- cmdTutorial.Parent = ListofCMDS
- cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial.BackgroundTransparency = 1
- cmdTutorial.BorderSizePixel = 0
- cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
- cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial.Font = Enum.Font.SourceSansBold
- cmdTutorial.Text = "\"/\" means OPTIONAL argument after"
- cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial.TextScaled = true
- cmdTutorial.TextSize = 14
- cmdTutorial.TextWrapped = true
- cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
- cmdTutorial_2.Name = "cmdTutorial"
- cmdTutorial_2.Parent = ListofCMDS
- cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial_2.BackgroundTransparency = 1
- cmdTutorial_2.BorderSizePixel = 0
- cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
- cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial_2.Font = Enum.Font.SourceSansBold
- cmdTutorial_2.Text = "\"//\" means another way of running command"
- cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial_2.TextScaled = true
- cmdTutorial_2.TextSize = 14
- cmdTutorial_2.TextWrapped = true
- cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
- cmdTutorial_3.Name = "cmdTutorial"
- cmdTutorial_3.Parent = ListofCMDS
- cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdTutorial_3.BackgroundTransparency = 1
- cmdTutorial_3.BorderSizePixel = 0
- cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
- cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
- cmdTutorial_3.Font = Enum.Font.SourceSansBold
- cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
- cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdTutorial_3.TextScaled = true
- cmdTutorial_3.TextSize = 14
- cmdTutorial_3.TextWrapped = true
- cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
- CMDS_Shadow.Name = "CMDS_Shadow"
- CMDS_Shadow.Parent = CMDSmain
- CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
- CMDS_Shadow.BackgroundTransparency = 0.60000002384186
- CMDS_Shadow.BorderSizePixel = 0
- CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
- CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
- CMDS_Shadow.ZIndex = -1
- CMDS_Shadow2.Name = "CMDS_Shadow2"
- CMDS_Shadow2.Parent = CMDSmain
- CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
- CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
- CMDS_Shadow2.BorderSizePixel = 0
- CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
- CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
- CMDS_Shadow2.ZIndex = -1
- closecmdsgui.MouseButton1Click:Connect(function()
- CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
- end)
- function CreateCMDlabel(position, text)
- local sizenow = 15
- local cmdHere = Instance.new("TextLabel")
- cmdHere.Name = "cmdHere"
- cmdHere.TextWrapped = true
- cmdHere.Parent = ListofCMDS
- cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
- cmdHere.BackgroundTransparency = 1
- cmdHere.BorderSizePixel = 0
- cmdHere.Position = position
- cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
- cmdHere.Font = Enum.Font.SourceSans
- cmdHere.Text = text
- cmdHere.TextWrapped = true
- cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
- cmdHere.TextScaled = false
- cmdHere.TextSize = 20
- cmdHere.TextXAlignment = Enum.TextXAlignment.Left
- end
- for i,_cmds in pairs(searchCmds) do
- CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
- end
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function updateCMDS(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- cmdgui_topframe.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = CMDSmain.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- cmdgui_topframe.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- cmdgui_midframe.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = CMDSmain.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- cmdgui_midframe.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- updateCMDS(input)
- end
- end)
- cmdsgui_SearchFunction.Focused:Connect(function()
- cmdsgui_SearchFunction.TextTransparency = 0
- local searchTween = {}
- searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
- searchTween.TextSize = 18
- searchTween.Position = UDim2.new(0, -70, 0, -15)
- local frameTweenblue = {}
- frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
- local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
- searchTween1:Play()
- local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
- frameTweenblue1:Play()
- end)
- cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
- if not enterPressed then
- cmdsgui_SearchFunction.TextTransparency = 1
- else
- cmdsgui_SearchFunction.Text = " "
- end
- local searchTween = {}
- searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
- searchTween.TextSize = 30
- searchTween.Position = UDim2.new(0, 0, 0, 0)
- local frameTweenblue = {}
- frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
- local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
- searchTween1:Play()
- local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
- frameTweenblue1:Play()
- end)
- cmdsgui_SearchFunction.Changed:Connect(function()
- local index = 0
- if cmdsgui_SearchFunction.Text ~= "" then
- for i,v in pairs(ListofCMDS:GetChildren()) do
- if v.Name == "cmdHere" then
- if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
- v.Visible = false
- else
- v.Visible = true
- index = index + 1
- v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
- end
- end
- end
- end
- end)
- -- Command Execution
- LP.Chatted:Connect(function(chat)
- run(chat)
- end)
- function run(msg)
- if string.lower(string.sub(msg, 2, 5)) == "chat" then
- msg = msg
- elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
- msg = msg
- else
- msg = string.lower(msg)
- end
- local cmdPrefix = string.sub(msg, 1, 1)
- if cmdPrefix == commandPrefix then
- msg = string.sub(msg, 2)
- local args = {}
- for arg in string.gmatch(msg,"[^%s]+") do
- table.insert(args,arg)
- end
- local cmdName = args[1]
- table.remove(args,1)
- local doCmd = Commands[cmdName]
- if doCmd ~= nil then
- doCmd(args)
- end
- end
- end
- -- Command bar
- local CommandBar = Instance.new("ScreenGui")
- local CMDBAR = Instance.new("Frame")
- local CMDBARText = Instance.new("TextBox")
- CommandBar.Name = "CommandBar"
- CommandBar.Parent = gsCoreGui
- CMDBAR.Name = "CMDBAR"
- CMDBAR.Parent = CommandBar
- CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
- CMDBAR.BorderSizePixel = 0
- CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
- CMDBAR.Size = UDim2.new(0, 270, 0, 35)
- CMDBARText.Name = "CMDBARText"
- CMDBARText.Parent = CMDBAR
- CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
- CMDBARText.BorderSizePixel = 0
- CMDBARText.Position = UDim2.new(0, 5, 0, 5)
- CMDBARText.Size = UDim2.new(0, 260, 0, 25)
- CMDBARText.Font = Enum.Font.SourceSansLight
- CMDBARText.Text = ""
- CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
- CMDBARText.TextScaled = true
- CMDBARText.TextSize = 14
- CMDBARText.TextWrapped = true
- Mouse.KeyDown:connect(function(Key)
- if Key == string.lower(commandPrefix) then
- CMDBARText:CaptureFocus()
- CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
- end
- end)
- CMDBARText.FocusLost:connect(function(enterPressed)
- CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
- if enterPressed then
- local cmdmsg = CMDBARText.Text
- CMDBARText.Text = ""
- run(commandPrefix..cmdmsg)
- end
- end)
- local Match = Instance.new("Frame")
- Match.Name = "Match"
- Match.Parent = CMDBAR
- Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
- Match.BorderSizePixel = 0
- Match.Position = UDim2.new(0, 0, -4, 0)
- Match.Size = UDim2.new(1, 0, 4, 0)
- Match.Visible = false
- function CreateOption(Text)
- local Option1 = Instance.new("TextLabel")
- Option1.Name = "Option"
- Option1.Parent = Match
- Option1.BackgroundColor3 = Color3.new(1, 1, 1)
- Option1.BackgroundTransparency = 1
- Option1.Position = UDim2.new(-10, 0, 0, 0)
- Option1.Size = UDim2.new(1, 0, 0, 20)
- Option1.Font = Enum.Font.SourceSans
- Option1.Text = Text
- Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
- Option1.TextScaled = true
- Option1.TextWrapped = true
- end
- for i,cmdtext2 in pairs(CMDS) do
- CreateOption(cmdtext2)
- end
- CMDBARText.Changed:Connect(function()
- if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then
- Match.Visible = true
- local PositionMatch = 0
- for i,cmdtext in pairs(Match:GetChildren()) do
- if cmdtext.Name == "Option" then
- if string.find(cmdtext.Text, CMDBARText.Text) then
- cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
- PositionMatch = PositionMatch + 1
- if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
- cmdtext.Position = UDim2.new(-10, 0, 0, 0)
- PositionMatch = PositionMatch - 1
- end
- else
- cmdtext.Position = UDim2.new(-10, 0, 0, 0)
- end
- end
- end
- else
- Match.Visible = false
- end
- end)
- -- Chat
- local ChatLogsv2 = Instance.new("ScreenGui")
- local MainChatFrame = Instance.new("Frame")
- local Framess = Instance.new("Frame")
- local CloseChatGUI = Instance.new("TextButton")
- local Frame_222 = Instance.new("Frame")
- local PrintChat = Instance.new("TextButton")
- local Shadow1 = Instance.new("Frame")
- local Shadow2 = Instance.new("Frame")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- ChatLogsv2.Name = "ChatLogsv2"
- ChatLogsv2.Parent = gsCoreGui
- MainChatFrame.Name = "MainChatFrame"
- MainChatFrame.Parent = ChatLogsv2
- MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainChatFrame.BackgroundTransparency = 1
- MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
- MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
- MainChatFrame.Visible = false
- Framess.Parent = MainChatFrame
- Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
- Framess.BorderSizePixel = 0
- Framess.Size = UDim2.new(0, 525, 0, 15)
- CloseChatGUI.Name = "CloseChatGUI"
- CloseChatGUI.Parent = Framess
- CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseChatGUI.BackgroundTransparency = 1
- CloseChatGUI.BorderSizePixel = 0
- CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
- CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
- CloseChatGUI.Font = Enum.Font.SourceSansBold
- CloseChatGUI.Text = "X"
- CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
- CloseChatGUI.TextSize = 20
- Frame_222.Parent = MainChatFrame
- Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
- Frame_222.BorderSizePixel = 0
- Frame_222.Position = UDim2.new(0, 0, 0, 15)
- Frame_222.Size = UDim2.new(0, 525, 0, 50)
- PrintChat.Name = "PrintChat"
- PrintChat.Parent = Frame_222
- PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
- PrintChat.BorderSizePixel = 0
- PrintChat.Position = UDim2.new(0, 15, 0, 0)
- PrintChat.Size = UDim2.new(0, 170, 0, 30)
- PrintChat.Font = Enum.Font.SourceSansLight
- PrintChat.Text = "Print Chat"
- PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
- PrintChat.TextSize = 30
- PrintChat.TextWrapped = true
- Shadow1.Name = "Shadow1"
- Shadow1.Parent = MainChatFrame
- Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
- Shadow1.BackgroundTransparency = 0.5
- Shadow1.Position = UDim2.new(0, 2, 0, 2)
- Shadow1.Size = UDim2.new(0, 525, 0, 337)
- Shadow1.ZIndex = -1
- Shadow2.Name = "Shadow2"
- Shadow2.Parent = MainChatFrame
- Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
- Shadow2.BackgroundTransparency = 0.80000001192093
- Shadow2.Position = UDim2.new(0, 5, 0, 5)
- Shadow2.Size = UDim2.new(0, 525, 0, 337)
- Shadow2.ZIndex = -1
- ScrollingFrame.Parent = MainChatFrame
- ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
- ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
- ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
- ScrollingFrame.ScrollBarThickness = 8
- function CreateChatText(plr, chat)
- for i,v in pairs(ScrollingFrame:GetDescendants()) do
- v.Position = v.Position - UDim2.new(0, 0, 0, 20)
- if v.Position == UDim2.new(0, 5, 0, 10) then
- v:Destroy()
- end
- end
- local Example = Instance.new("TextLabel")
- Example.Name = "Example"
- Example.Parent = ScrollingFrame
- Example.BackgroundColor3 = Color3.new(1, 1, 1)
- Example.BackgroundTransparency = 1
- Example.Position = UDim2.new(0, 5, 0, 650)
- Example.Size = UDim2.new(0, 500, 0, 20)
- Example.Font = Enum.Font.SourceSans
- Example.Text = "["..plr.Name.."]: "..chat
- Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
- Example.TextScaled = true
- Example.TextSize = 20
- Example.TextWrapped = true
- Example.TextXAlignment = Enum.TextXAlignment.Left
- end
- CloseChatGUI.MouseButton1Click:Connect(function()
- MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
- wait(2.01)
- MainChatFrame.Visible = false
- end)
- printingChat = false
- PrintChat.MouseButton1Click:Connect(function()
- if printingChat == false then
- printingChat = true
- PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
- elseif printingChat == true then
- printingChat = false
- PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
- end
- end)
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function updateChat(input)
- local delta = input.Position - dragStart
- local dragTime = 0.055
- local SmoothDrag = {}
- SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
- dragSmoothFunction:Play()
- end
- Frame_222.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = MainChatFrame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- Frame_222.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- updateChat(input)
- end
- end)
- function printChat(player, chat)
- print("["..player.Name.."]: "..chat)
- end
- complimentReady = true
- for i,currentPlayersChatting in pairs(game:GetService("Players"):GetPlayers()) do
- currentPlayersChatting.Chatted:connect(function(chat)
- CreateChatText(currentPlayersChatting, chat)
- if printingChat then
- printChat(currentPlayersChatting, chat)
- end
- if copychatACTIVE then
- if currentPlayersChatting == copychatplayer then
- gsReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All")
- end
- end
- if modeFling == true then
- if string.lower(string.sub(chat, 1, 7)) == "!fling " then
- if gsWorkspace:PGSIsEnabled() == false then
- FEGodmode()
- end
- if string.lower(string.sub(chat, 8)) == "me" then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..currentPlayersChatting.Name.." 2000000")
- else
- for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
- if notAll ~= LP then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..notAll.Name.." 2000000")
- end
- end
- end
- end
- end
- if modeCompliment == true then
- if string.lower(string.sub(chat, 1, 3)) == "!c " then
- if complimentReady then
- complimentReady = false
- if string.lower(string.sub(chat, 4)) == "me" then
- complimentplr(currentPlayersChatting)
- else
- for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
- if Others == LP then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
- else
- complimentplr(Others)
- end
- end
- end
- wait(1)
- complimentReady = true
- end
- end
- end
- if modeMove == true then
- if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."unwalk")
- run(commandPrefix.."goto "..currentPlayersChatting.Name)
- elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
- for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
- if getWalkPlayer == LP then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..getWalkPlayer.Name)
- end
- end
- elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
- for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
- if getFollowPlayer == LP then
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..getFollowPlayer.Name)
- end
- end
- end
- end
- if modeInfo == true then
- if infoReady then
- infoReady = false
- if string.lower(string.sub(chat, 1, 5)) == "!age " then
- for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
- if v == LP then
- run(commandPrefix.."age "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."age "..v.Name)
- end
- end
- end
- if string.lower(string.sub(chat, 1, 4)) == "!id " then
- for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
- if a == LP then
- run(commandPrefix.."id "..currentPlayersChatting.Name)
- else
- run(commandPrefix.."id "..a.Name)
- end
- end
- end
- wait(1)
- infoReady = true
- end
- end
- end)
- end
- game:GetService("Players").PlayerAdded:connect(function(plr)
- plr.Chatted:connect(function(chat)
- CreateChatText(plr, chat)
- if printingChat then
- printChat(plr, chat)
- end
- if modeFling == true then
- if string.lower(string.sub(chat, 1, 7)) == "!fling " then
- if gsWorkspace:PGSIsEnabled() == false then
- FEGodmode()
- end
- if string.lower(string.sub(chat, 8)) == "me" then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..plr.Name.." 2000000")
- else
- for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
- if notAll ~= LP then
- run(commandPrefix.."unfling")
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
- run(commandPrefix.."fling "..notAll.Name.." 2000000")
- end
- end
- end
- end
- end
- if modeCompliment == true then
- if string.lower(string.sub(chat, 1, 3)) == "!c " then
- if complimentReady == true then
- complimentReady = false
- if string.lower(string.sub(chat, 4)) == "me" then
- complimentplr(plr)
- else
- for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
- if Others == LP then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
- else
- complimentplr(Others)
- end
- end
- end
- wait(1)
- complimentReady = true
- end
- end
- end
- if modeMove == true then
- if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."unwalk")
- run(commandPrefix.."goto "..plr.Name)
- elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
- for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
- if getWalkPlayer == LP then
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..plr.Name)
- else
- run(commandPrefix.."unfollow")
- run(commandPrefix.."walk "..getWalkPlayer.Name)
- end
- end
- elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
- for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
- if getFollowPlayer == LP then
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..plr.Name)
- else
- run(commandPrefix.."unwalk")
- run(commandPrefix.."follow "..getFollowPlayer.Name)
- end
- end
- end
- end
- if modeInfo == true then
- if infoReady then
- infoReady = false
- if string.lower(string.sub(chat, 1, 5)) == "!age " then
- for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
- if v == LP then
- run(commandPrefix.."age "..plr.Name)
- else
- run(commandPrefix.."age "..v.Name)
- end
- end
- end
- if string.lower(string.sub(chat, 1, 4)) == "!id " then
- for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
- if a == LP then
- run(commandPrefix.."id "..plr.Name)
- else
- run(commandPrefix.."id "..a.Name)
- end
- end
- end
- wait(1)
- infoReady = true
- end
- end
- end)
- end)
- -- Loops
- noclip = false
- following = false
- trailing = false
- annoying = false
- flingnoclip = false
- staring = false
- stopsitting = false
- stareplr = ""
- CBRINGamount = 3
- spawnWS = CurrentWalkspeed
- spawnJP = CurrentJumppower
- spawnHH = CurrentHipheight
- spawningfegod = false
- looptpbypassfly = false
- if game.GameId == 245662005 or game.GameId == 601130232 then
- bypassMODE = true
- else
- bypassMODE = false
- end
- viewplr = ""
- loopview = false
- cmdForward = false
- forwardSpeed = 1
- loopviewfc = false
- spinTOhead = false
- spinObj = ""
- rideACTIVE = false
- ridePLAYER = ""
- LPcurrenthumanoid = LP.Character.Humanoid
- game:GetService('RunService').Stepped:connect(function()
- if LP.Character.Humanoid ~= nil then
- LPcurrenthumanoid = LP.Character.Humanoid
- end
- if noclip then
- if LP.Character then
- if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- LP.Character.Head.CanCollide = false
- LP.Character.Torso.CanCollide = false
- LP.Character["Left Leg"].CanCollide = false
- LP.Character["Right Leg"].CanCollide = false
- LP.Character["Left Arm"].CanCollide = false
- LP.Character["Right Arm"].CanCollide = false
- elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
- LP.Character.Head.CanCollide = false
- LP.Character.UpperTorso.CanCollide = false
- LP.Character.LowerTorso.CanCollide = false
- LP.Character.HumanoidRootPart.CanCollide = false
- end
- end
- end
- if following then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum
- end
- if trailing then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * trlnum
- end
- if annoying then
- LP.Character.HumanoidRootPart.CFrame = gsPlayers[annplr.Name].Character.HumanoidRootPart.CFrame
- end
- if walkto then
- LP.Character.Humanoid:MoveTo(walkplr.Character.HumanoidRootPart.Position)
- end
- if cbringing then
- CBRINGplr.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
- end
- if cbringingall then
- for i,getbringplrs in pairs(gsPlayers:GetPlayers()) do
- if getbringplrs ~= LP then
- getbringplrs.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
- end
- end
- end
- if staring then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(LP.Character.Torso.Position, gsPlayers[stareplr.Name].Character.Torso.Position)
- end
- if stopsitting then
- LP.Character.Humanoid.Sit = false
- end
- if looptpbypassfly then
- pcall(function()
- LP.Character.Head.Anchored = false
- LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
- LP.Character.Head.Anchored = true
- end)
- end
- if loopview then
- view(viewplr)
- end
- if cmdForward then
- LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * forwardSpeed
- end
- if loopviewfc then
- pcall(function()
- gsWorkspace.CurrentCamera.CameraSubject = gsWorkspace.rGETpartNUMBER2
- end)
- end
- if spinTOhead then
- pcall(function()
- spinObj.Position = LP.Character.Head.Position
- end)
- end
- if rideACTIVE == true then
- LP.character.HumanoidRootPart.CFrame = ridePLAYER.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
- end
- end)
- spawningatreset = false
- spawnresetpoint = LP.Character.Head.CFrame
- LPcurrenthumanoid.Died:Connect(function()
- flying = false
- doFREECAM = false
- if savingtoolsloop then
- run(commandPrefix.."savealltool")
- end
- if spawningatreset == true then
- spawnresetpoint = LP.Character.Head.CFrame + Vector3.new(0, 5, 0)
- end
- end)
- LP.CharacterAdded:Connect(function()
- wait(0.2)
- LP.Character.Humanoid.WalkSpeed = spawnWS
- LP.Character.Humanoid.JumpPower = spawnJP
- LP.Character.Humanoid.HipHeight = spawnHH
- if spawningfegod then
- FEGodmode()
- end
- if spawningpos and spawnpos ~= nil then
- LP.Character.HumanoidRootPart.CFrame = spawnpos
- end
- if spawningatreset == true then
- LP.Character.HumanoidRootPart.CFrame = spawnresetpoint
- end
- end)
- -- Commands
- Commands = {}
- Commands.print = function(args)
- local msg = table.concat(args," ")
- print(msg)
- end
- Commands.warn = function(args)
- local msg = table.concat(args," ")
- warn(msg)
- end
- Commands.sit = function(args)
- LP.Character.Humanoid.Sit = true
- end
- Commands.god = function(args)
- FEGodmode()
- Notification("warning", "You have enabled FE Godmode, tools will not work. Use "..commandPrefix.."grespawn to remove.", 7)
- end
- Commands.view = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if bypassMODE == false then
- view(v)
- Notification("info", "Now viewing "..v.Name..". Use "..commandPrefix.."unview to stop viewing.", 3)
- elseif bypassMODE == true then
- viewplr = v
- loopview = true
- end
- end
- end
- end
- Commands.unview = function(args)
- view(LP)
- loopview = false
- end
- Commands.gravity = function(args)
- if args[1] then
- gsWorkspace.Gravity = args[1]
- end
- end
- Commands.ungravity = function(args)
- gsWorkspace.Gravity = CurrentGravity
- end
- Commands.goto = function(args)
- if args[1] then
- if bypassMODE == false then
- for i,v in pairs(findPlayer(args[1])) do
- LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
- end
- elseif bypassMODE == true then
- for i,v in pairs(findPlayer(args[1])) do
- local TPbypass = {}
- TPbypass.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- local TPFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), TPbypass)
- TPFunction:Play()
- end
- end
- end
- end
- Commands.fecheck = function(args)
- if gsWorkspace.FilteringEnabled == true then
- Notification("warning", "FE is enabled!", 7)
- else
- Notification("warning", "FE is disabled. Consider using a different script.", 7)
- end
- end
- Commands.lockws = function(args)
- lockWS()
- Notification("info", "Workspace locked.", 4)
- end
- Commands.unlockws = function(args)
- unlockWS()
- Notification("info", "Workspace unlocked.", 4)
- end
- Commands.noclip = function(args)
- noclip = true
- Notification("info", "Noclip enabled.", 4)
- end
- Commands.clip = function(args)
- noclip = false
- Notification("info", "Noclip disabled.", 4)
- end
- Commands.follow = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- flwplr = v
- end
- if args[2] then
- flwnum = args[2]
- else
- flwnum = -5
- end
- following = true
- else
- Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
- end
- end
- Commands.unfollow = function(args)
- following = false
- end
- Commands.fling = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- view(v)
- pcall(function()
- LP.Character.HumanoidRootPart.Fling:Destroy()
- end)
- if not args[2] then
- RocketPropulsion(800000,1000,400000,v,"Fling")
- else
- RocketPropulsion(args[2],1500,400000,v,"Fling")
- end
- if noclip ~= true then
- flingnoclip = true
- noclip = true
- end
- end
- end
- else
- Notification("warning", "No player selected to fling! Use: "..commandPrefix.."fling player", 4)
- end
- end
- Commands.unfling = function(args)
- view(LP)
- pcall(function()
- if LP.Character.HumanoidRootPart.Fling then
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v.Name == "Fling" and v:IsA("RocketPropulsion") then
- v:Destroy()
- end
- end
- end
- end)
- if flingnoclip == true then
- noclip = false
- flingnoclip = false
- end
- end
- Commands.trail = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- trlplr = v
- end
- if args[2] then
- trlnum = args[2]
- else
- trlnum = 5
- end
- trailing = true
- else
- Notification("warning", "No player selected to trail! Use: "..commandPrefix.."trail player", 4)
- end
- end
- Commands.untrail = function(args)
- trailing = false
- end
- Commands.annoy = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- annplr = v
- end
- annoying = true
- else
- Notification("warning", "No player selected to annoy! Use: "..commandPrefix.."annoy player", 4)
- end
- end
- Commands.unannoy = function(args)
- annoying = false
- end
- Commands.reset = function(args)
- LP.Character:BreakJoints()
- end
- Commands.grespawn = function(args)
- LP.Character.Humanoid.Health = 0
- wait(1)
- LP.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
- LP.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
- end
- Commands.respawn = function(args)
- local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name
- local hum = Instance.new('Humanoid', mod)
- local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
- LP.Character = mod
- end
- Commands.speed = function(args)
- if args[1] then
- run(commandPrefix.."ws "..args[1])
- end
- end
- bypassingwalkspeed = false
- Commands.ws = function(args)
- if args[1] then
- if bypassMODE == false then
- LP.Character.Humanoid.WalkSpeed = args[1]
- elseif bypassMODE == true then
- if game.GameId == 245662005 then
- bypassingwalkspeed = true
- bypassWalkspeed = args[1]
- end
- end
- end
- end
- game:GetService("RunService").Heartbeat:Connect(function()
- if bypassingwalkspeed then
- LP.Character.Humanoid.WalkSpeed = bypassWalkspeed
- end
- end)
- Commands.jumppower = function(args)
- if args[1] then
- LP.Character.Humanoid.JumpPower = args[1]
- end
- end
- Commands.jp = function(args)
- if args[1] then
- LP.Character.Humanoid.JumpPower = args[1]
- end
- end
- Commands.hipheight = function(args)
- if args[1] then
- LP.Character.Humanoid.HipHeight = args[1]
- end
- end
- Commands.hh = function(args)
- if args[1] then
- LP.Character.Humanoid.HipHeight = args[1]
- end
- end
- Commands.default = function(args)
- LP.Character.Humanoid.WalkSpeed = CurrentWalkspeed
- LP.Character.Humanoid.HipHeight = CurrentHipheight
- LP.Character.Humanoid.JumpPower = CurrentJumppower
- end
- Commands.credits = function(args)
- Notification("info", "Shattervast was made by illremember#3799 , "..commandPrefix.."fullcredits for all credits.", 8)
- end
- Commands.attach = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- end
- end
- end
- end
- end
- Commands.fly = function(args)
- if bypassMODE == false then
- local speedget = 1
- repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
- repeat wait() until Mouse
- if args[1] then
- speedfly = args[1]
- else
- speedfly = 1
- end
- local T = LP.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = speedget
- local function fly()
- flying = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not flying
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = speedfly
- elseif KEY:lower() == 's' then
- CONTROL.B = -speedfly
- elseif KEY:lower() == 'a' then
- CONTROL.L = -speedfly
- elseif KEY:lower() == 'd' then
- CONTROL.R = speedfly
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- fly()
- elseif bypassMODE == true then
- if not args[1] then
- run(commandPrefix.."fc")
- else
- run(commandPrefix.."fc "..args[1])
- end
- LP.Character.Head.Anchored = false
- looptpbypassfly = true
- view(LP)
- end
- end
- Commands.unfly = function(args)
- if bypassMODE == false then
- flying = false
- LP.Character.Humanoid.PlatformStand = false
- else
- looptpbypassfly = false
- run(commandPrefix.."unfreecam")
- local goalTP = LP.Character.HumanoidRootPart.CFrame
- if game.GameId == 245662005 then
- for i = 1, 5 do wait(0.2)
- LP.Character.HumanoidRootPart.CFrame = goalTP
- end
- else
- LP.Character.HumanoidRootPart.CFrame = goalTP
- end
- LP.Character.Head.Anchored = false
- end
- end
- Commands.kill = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v == LP then
- LP.Character:BreakJoints()
- else
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000,0,100000))
- wait(0.5)
- tp(LP,game:GetService("Players")[v.Name])
- wait(0.7)
- LP.Character.HumanoidRootPart.CFrame = NOW
- view(LP)
- end
- end
- end
- end
- end
- Commands.bring = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= LP then
- local NOW = LP.Character.HumanoidRootPart.CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.2)
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.5)
- getout(LP, game:GetService("Players")[v.Name])
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = NOW
- end
- end
- end
- end
- end
- Commands.naked = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Clothing") then
- v:Destroy()
- end
- end
- end
- Commands.nolimbs = function(args)
- LP.Character["Left Arm"]:Destroy()
- LP.Character["Right Arm"]:Destroy()
- LP.Character["Left Leg"]:Destroy()
- LP.Character["Right Leg"]:Destroy()
- end
- Commands.noarms = function(args)
- LP.Character["Left Arm"]:Destroy()
- LP.Character["Right Arm"]:Destroy()
- end
- Commands.nolegs = function(args)
- LP.Character["Left Leg"]:Destroy()
- LP.Character["Right Leg"]:Destroy()
- end
- Commands.headless = function(args)
- local l = LP.Character.Humanoid:Clone()
- LP.Character.Humanoid:Destroy()
- wait(0.2)
- LP.Character.Head.CanCollide = false
- for i,v in pairs(LP.Character:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "Neck" then
- v:Destroy()
- end
- end
- wait(0.2)
- l.Name = "Humanoid"
- l.Parent = LP.Character
- wait(0.1)
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
- LP.Character.Animate:Destroy()
- end
- antiremotes = false
- Commands.antikick = function(args)
- if args[1] then
- if args[1] == "on" then
- antiremotes = true
- wait(0.2)
- for i,v in pairs(LP.Character:GetChildren()) do
- if string.find(string.lower(v.Name), "exploit") and v:IsA("LocalScript") then
- v.Disabled = true
- end
- end
- Notification("warning", "This command disables all remotes incase they are kick remotes, may break game.", 8)
- Notification("info", "Does not prevent serverside kicks, use "..commandPrefix.."antikick off to turn off.", 8)
- elseif args[1] == "off" then
- antiremotes = false
- Notification("warning", "Remote anti-kick turned off.", 8)
- end
- end
- end
- blockedremotes = {}
- Commands.blockremote = function(args)
- local getService = ""
- if args[1] then
- local remoteName = string.lower(tostring(args[1]))
- if args[2] then
- local serviceRemote = string.lower(tostring(args[2]))
- if serviceRemote == "workspace" then
- getService = "Workspace"
- elseif serviceRemote == "replicatedstorage" then
- getService = "ReplicatedStorage"
- elseif serviceRemote == "players" then
- getService = "Players"
- elseif serviceRemote == "lighting" then
- getService = "Lighting"
- elseif serviceRemote == "startergui" then
- getService = "StarterGui"
- elseif serviceRemote == "starterpack" then
- getService = "StarterPack"
- elseif serviceRemote == "starterplayer" then
- getService = "StarterPlayer"
- else
- getService = "ReplicatedStorage"
- end
- else
- getService = "ReplicatedStorage"
- end
- for i,getRemote in pairs(game:GetService(getService):GetDescendants()) do
- if string.lower(getRemote.Name) == remoteName then
- table.insert(blockedremotes, getRemote.Name)
- end
- end
- end
- Notification("warning", "If this command does not work, make sure you type remote name/service fully correct.", 8)
- end
- spyingremotes = false
- Commands.remotespy = function(args)
- if args[1] then
- if args[1] == "on" then
- spyingremotes = true
- Notification("info", "Remotespy turned on.", 4)
- elseif args[1] == "off" then
- spyingremotes = false
- Notification("info", "Remotespy turned off.", 4)
- end
- end
- end
- Commands.bang = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= nil then
- following = true
- flwplr = v
- flwnum = -1
- local bangAnimation = Instance.new("Animation")
- bangAnimation.AnimationId = "rbxassetid://148840371"
- bangTrack = LP.Character.Humanoid:LoadAnimation(bangAnimation)
- if args[2] then
- bangTrack:Play(.1, 1, args[2])
- else
- bangTrack:Play(.1, 1, 1)
- end
- end
- end
- else
- Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
- end
- end
- Commands.unbang = function(args)
- following = false
- bangTrack:Stop()
- end
- spamdelay = 1
- spamtext = "Spam"
- spamming = false
- Commands.spam = function(args)
- if args[1] then
- spamtext = args[1]
- spamming = true
- end
- end
- Commands.spamdelay = function(args)
- if args[1] then
- spamdelay = args[1]
- end
- end
- spawn(function()
- while wait(spamdelay) do
- if spamming then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
- end
- end
- end)
- Commands.unspam = function(args)
- spamming = false
- end
- Commands.info = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- createINFO(v)
- end
- end
- end
- Commands.age = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account Age: "..v.AccountAge.." days!", "All")
- end
- end
- end
- Commands.invisible = function(args)
- local Character = LP.Character
- if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
- local Clone = Character.HumanoidRootPart:Clone()
- Character.HumanoidRootPart:Destroy()
- Clone.Parent = Character
- else
- local Clone = Character.LowerTorso.Root:Clone()
- Character.LowerTorso.Root:Destroy()
- Clone.Parent = Character.LowerTorso
- end
- end
- walkto = false
- walkplr = ""
- Commands.walk = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- walkplr = v
- walkto = true
- noclip = true
- end
- end
- end
- Commands.unwalk = function(args)
- walkto = false
- noclip = false
- LP.Character.Humanoid:MoveTo(LP.Character.HumanoidRootPart.Position)
- end
- Commands.glitch = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.2)
- tp(game:GetService("Players")[v.Name], LP)
- wait(0.5)
- local b = Instance.new("BodyForce")
- b.Parent = LP.Character.HumanoidRootPart
- b.Name = "Glitch"
- if args[2] then
- b.Force = Vector3.new(args[2],5000,0)
- else
- b.Force = Vector3.new(100000000,5000,0)
- end
- wait(6)
- b:Destroy()
- end
- end
- end
- end
- Commands.tp = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v == LP then
- if args[2] then
- for i,a in pairs(findSinglePlayer(args[2])) do
- v.Character.HumanoidRootPart.CFrame = a.Character.HumanoidRootPart.CFrame
- end
- end
- else
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,first in pairs(findSinglePlayer(args[1])) do
- if args[2] then
- for i,second in pairs(findSinglePlayer(args[2])) do
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
- end
- end
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- tp(LP, first)
- wait(0.2)
- tp(LP, first)
- wait(0.5)
- tp(LP, second)
- wait(0.2)
- tp(LP, second)
- wait(0.2)
- getout(LP, first)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- Commands.givetool = function(args)
- if args[1] then
- if args[2] then
- local selectedTool = ""
- for i,allTools in pairs(LP.Character:GetDescendants()) do
- if allTools:IsA("Tool") and string.lower(allTools.Name) == string.lower(args[2]) then
- selectedTool = allTools
- else
- for i,otherTools in pairs(LP.Backpack:GetDescendants()) do
- if otherTools:IsA("Tool") and string.lower(otherTools.Name) == string.lower(args[2]) then
- selectedTool = otherTools
- end
- end
- end
- end
- for i,v in pairs(findSinglePlayer(args[1])) do
- if selectedTool ~= "" then
- selectedTool.Parent = v.Character
- end
- end
- else
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,tool in pairs(LP.Character:GetDescendants()) do
- if tool:IsA("Tool") then
- tool.Parent = plr.Character
- end
- end
- end
- end
- end
- end
- Commands.givealltools = function(args)
- LP.Character.Humanoid:UnequipTools()
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = plr.Character
- end
- end
- for i,a in pairs(LP.Backpack:GetDescendants()) do
- if a:IsA("Tool") then
- a.Parent = plr.Character
- end
- end
- end
- end
- Commands.blockhats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- for i,mesh in pairs(v:GetDescendants()) do
- if mesh.Name == "Mesh" then
- mesh:Destroy()
- end
- end
- end
- end
- end
- Commands.blocktool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- for i,mesh in pairs(v:GetDescendants()) do
- if mesh.Name == "Mesh" then
- mesh:Destroy()
- end
- end
- end
- end
- end
- Commands.orbit = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- view(v)
- RocketPropulsion(5000,100,5000,v,"OrbitMove")
- end
- else
- Notification("warning", "No player selected to orbit! Use: "..commandPrefix.."orbit player", 4)
- end
- end
- Commands.unorbit = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v.Name == "OrbitMove" then
- v:Destroy()
- end
- end
- view(LP)
- end
- Commands.pos = function(args)
- Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9)
- end
- SavedPosition = ""
- Commands.savepos = function(args)
- SavedPosition = LP.Character.HumanoidRootPart.CFrame
- end
- Commands.loadpos = function(args)
- if SavedPosition ~= "" then
- LP.Character.HumanoidRootPart.CFrame = SavedPosition
- end
- end
- Commands.tppos = function(args)
- if args[1] and args[2] and args[3] then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(args[1], args[2], args[3]))
- end
- end
- Commands.pmspam = function(args)
- if args[1] then
- local gotPlayer = ""
- for i,v in pairs(findPlayer(args[1])) do
- gotPlayer = v
- end
- table.remove(args, 1)
- local pmSpamMsg = table.concat(args," ")
- spamtext = "/w "..gotPlayer.Name.." "..pmSpamMsg
- spamming = true
- end
- end
- Commands.unpmspam = function(args)
- spamming = false
- end
- Commands.wsvis = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if v:IsA("Part") or v:IsA("Decal") then
- if tonumber(args[1]) > 1 then
- v.Transparency = 0.5
- else
- v.Transparency = args[1]
- end
- end
- end
- end
- clientSided()
- end
- Commands.bringobj = function(args)
- if args[1] then
- local Object = ""
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(args[1]) then
- Object = v
- end
- end
- if Object == "" then
- Notification("warning", "Object was not found in the workspace.", 6)
- end
- if args[2] then
- Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * args[2]
- else
- Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 3
- end
- clientSided()
- end
- end
- CBRINGplr = ""
- cbringing = false
- cbringingall = false
- Commands.cbring = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "all" or string.lower(tostring(args[1])) == "others" then
- cbringingall = true
- else
- for i,v in pairs(findPlayer(args[1])) do
- CBRINGplr = v
- cbringing = true
- end
- end
- if args[2] then
- CBRINGamount = args[2]
- else
- CBRINGamount = 3
- end
- clientSided()
- end
- end
- Commands.uncbring = function(args)
- cbringing = false
- cbringingall = false
- end
- Commands.cfreeze = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- v.Character.HumanoidRootPart.Anchored = true
- end
- clientSided()
- end
- end
- Commands.uncfreeze = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- v.Character.HumanoidRootPart.Anchored = false
- end
- else
- for i,all in pairs(gsPlayers:GetPlayers()) do
- all.Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- Commands.unattach = function(args)
- local function getout(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- getout(LP, LP)
- end
- currentToolSize = ""
- Commands.reach = function(args)
- if args[1] then
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- if string.lower(tostring(args[1])) == "off" then
- v.Handle.Size = currentToolSize
- v.Handle.SelectionBoxCreated:Destroy()
- LP.Character.Humanoid:UnequipTools()
- elseif string.lower(tostring(args[1])) == "on" then
- if args[2] then
- currentToolSize = v.Handle.Size
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Size = Vector3.new(0.5,0.5,args[2])
- v.GripPos = Vector3.new(0,0,0)
- LP.Character.Humanoid:UnequipTools()
- else
- currentToolSize = v.Handle.Size
- local a = Instance.new("SelectionBox",v.Handle)
- a.Name = "SelectionBoxCreated"
- a.Adornee = v.Handle
- v.Handle.Size = Vector3.new(0.5,0.5,60)
- v.GripPos = Vector3.new(0,0,0)
- LP.Character.Humanoid:UnequipTools()
- end
- end
- end
- end
- end
- end
- Commands.droptool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = gsWorkspace
- end
- end
- for i,a in pairs(LP.Backpack:GetDescendants()) do
- if a:IsA("Tool") then
- a.Parent = gsWorkspace
- end
- end
- end
- Commands.drophats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- v.Parent = gsWorkspace
- end
- end
- end
- Commands.hidecmdbar = function(args)
- CMDBAR.Visible = false
- end
- Commands.showcmdbar = function(args)
- CMDBAR.Visible = true
- end
- Commands.prefix = function(args)
- if args[1] then
- commandPrefix = string.sub(tostring(args[1]), 1, 1)
- fullUpdate()
- end
- end
- Commands.removeinvis = function(args)
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
- if v.Transparency == 1 then
- v:Destroy()
- end
- end
- end
- clientSided()
- end
- Commands.removefog = function(args)
- gsLighting.FogStart = 0
- gsLighting.FogEnd = 9999999999999
- clientSided()
- end
- Commands.animation = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "gui" then
- loadstring(game:HttpGet(("https://pastebin.com/raw/mdbTSP4d"),true))()
- else
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://".. tostring(args[1])
- local track = LP.Character.Humanoid:LoadAnimation(Anim)
- if args[2] then
- track:Play(.1, 1, args[2])
- else
- track:Play(.1, 1, 1)
- end
- end
- end
- end
- Commands.btools = function(args)
- local Clone_T = Instance.new("HopperBin",LP.Backpack)
- Clone_T.BinType = "Clone"
- local Destruct = Instance.new("HopperBin",LP.Backpack)
- Destruct.BinType = "Hammer"
- local Hold_T = Instance.new("HopperBin",LP.Backpack)
- Hold_T.BinType = "Grab"
- clientSided()
- end
- Commands.esp = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- local espPlayer = v
- for i,createESP in pairs(espPlayer.Character:GetDescendants()) do
- if createESP:IsA("Part") or createESP:IsA("MeshPart") then
- if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then
- local current = true
- local espBOX = Instance.new("BoxHandleAdornment")
- espBOX.Parent = gsCoreGui
- espBOX.Name = "rGET"..espPlayer.Name
- espBOX.Adornee = createESP
- espBOX.AlwaysOnTop = true
- espBOX.ZIndex = 0
- espBOX.Size = createESP.Size
- espBOX.Transparency = 0.3
- local AboveHead = Instance.new("BillboardGui")
- AboveHead.Parent = gsCoreGui
- AboveHead.Adornee = espPlayer.Character.Head
- AboveHead.Name = "rGET"..espPlayer.Name
- AboveHead.Size = UDim2.new(0, 100, 0, 100)
- AboveHead.StudsOffset = Vector3.new(0, 1, 0)
- AboveHead.AlwaysOnTop = true
- local Info = Instance.new("TextLabel")
- Info.Parent = AboveHead
- Info.BackgroundTransparency = 1
- Info.Position = UDim2.new(0, 0, 0, 0)
- Info.Size = UDim2.new(1, 0, 0, 40)
- Info.TextColor3 = Color3.fromRGB(200,200,200)
- Info.TextStrokeTransparency = 0.5
- Info.TextSize = 15
- if espPlayer.TeamColor == LP.TeamColor then
- espBOX.Color = BrickColor.new("Lime green")
- Info.TextStrokeColor3 = Color3.fromRGB(10,100,10)
- else
- espBOX.Color = BrickColor.new("Really red")
- Info.TextStrokeColor3 = Color3.fromRGB(100,10,10)
- end
- game:GetService('RunService').Stepped:connect(function()
- if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then
- Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")"
- end
- end)
- espPlayer.Character.Humanoid.Died:Connect(function()
- current = false
- espBOX:Destroy()
- AboveHead:Destroy()
- end)
- gsPlayers.PlayerRemoving:Connect(function(plr)
- if plr == espPlayer then
- current = false
- espBOX:Destroy()
- AboveHead:Destroy()
- end
- end)
- end
- end
- end
- end
- clientSided()
- end
- end
- Commands.unesp = function(args)
- if not args[1] then
- for i,v in pairs(gsCoreGui:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "rGET" then
- v:Destroy()
- end
- end
- else
- for i,v in pairs(gsCoreGui:GetDescendants()) do
- if string.sub(v.Name, 1, 4) == "rGET" then
- for i,a in pairs(findPlayer(args[1])) do
- if string.sub(v.Name, 5) == a.Name then
- v:Destroy()
- end
- end
- end
- end
- end
- end
- Commands.dice = function(args)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("You rolled a dice for ".. tostring(math.random(1, 6)), "All")
- end
- Commands.random = function(args)
- if args[1] and args[2] then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Picking random number between "..args[1].." and "..args[2].."... The number is ".. tostring(math.random(args[1], args[2])), "All")
- end
- end
- Commands.closegame = function(args)
- game:Shutdown()
- end
- Commands.savetool = function(args)
- if args[1] then
- for i,a in pairs(LP.Character:GetDescendants()) do
- if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args[1])) then
- a.Parent = LP
- local oldName = a.Name
- a.Name = "saved "..oldName
- else
- for i,n in pairs(LP.Backpack:GetDescendants()) do
- if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args[1])) then
- n.Parent = LP
- local sOldName = n.Name
- n.Name = "saved "..sOldName
- end
- end
- end
- end
- else
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- end
- end
- Commands.loadtool = function(args)
- if args[1] then
- for i,a in pairs(LP:GetChildren()) do
- if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args[1])) then
- a.Parent = LP.Backpack
- local currentName = a.Name
- a.Name = string.sub(currentName, 7)
- end
- end
- else
- for i,v in pairs(LP:GetChildren()) do
- if string.sub(v.Name, 1, 5) == "saved" then
- v.Parent = LP.Backpack
- local currentName = v.Name
- v.Name = string.sub(currentName, 7)
- end
- end
- end
- end
- Commands.savealltool = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP
- local oldName = v.Name
- v.Name = "saved "..oldName
- end
- end
- end
- Commands.loadalltool = function(args)
- for i,v in pairs(LP:GetChildren()) do
- if v:IsA("Tool") and string.sub(v.Name, 1, 5) == "saved" then
- v.Parent = LP.Backpack
- local currentName = v.Name
- v.Name = string.sub(currentName, 7)
- end
- end
- end
- Mouse.KeyDown:Connect(function(key)
- if key == clicktpKEY and clicktpACTIVE == true then
- if Mouse.Target then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
- end
- end
- if key == clickdelKEY and clickdelACTIVE == true then
- if Mouse.Target then
- Mouse.Target:Destroy()
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- if clicktpACTIVE == true and clicktpCLICK == true then
- if Mouse.Target then
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
- end
- end
- if clickdelACTIVE == true and clickdelCLICK == true then
- if Mouse.Target then
- Mouse.Target:Destroy()
- end
- end
- end)
- clicktpKEY = ""
- clickdelKEY = ""
- clicktpACTIVE = false
- clickdelACTIVE = false
- clicktpCLICK = false
- clickdelCLICK = false
- Commands.clicktp = function(args)
- if args[1] then
- clicktpKEY = string.sub(tostring(args[1]), 1, 1)
- clicktpACTIVE = true
- clicktpCLICK = false
- else
- clicktpKEY = ""
- clicktpACTIVE = true
- clicktpCLICK = true
- end
- clientSided()
- end
- Commands.clickdel = function(args)
- if args[1] then
- clickdelKEY = string.sub(tostring(args[1]), 1, 1)
- clickdelACTIVE = true
- clickdelCLICK = false
- else
- clickdelKEY = ""
- clickdelACTIVE = true
- clickdelCLICK = true
- end
- clientSided()
- end
- Commands.unclicktp = function(args)
- clicktpACTIVE = false
- end
- Commands.unclickdel = function(args)
- clickdelACTIVE = false
- end
- Commands.oof = function(args)
- spawn(function()
- while wait() do
- for i,v in pairs(game:GetService'Players':GetPlayers()) do
- if v.Character ~= nil and v.Character:FindFirstChild'Head' then
- for _,x in pairs(v.Character.Head:GetChildren()) do
- if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true) end
- end
- end
- end
- end
- end)
- end
- Commands.chatlogs = function(args)
- MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
- MainChatFrame.Visible = true
- end
- Commands.stopadmin = function(args)
- commandPrefix = " "
- following = false
- trailing = false
- annoying = false
- CMDBAR.Visible = false
- Match.Visible = false
- flying = false
- end
- Commands.freecam = function(args)
- for i,getFC in pairs(gsWorkspace:GetDescendants()) do
- if getFC.Name == "rGETpartNUMBER2" then
- getFC:Destroy()
- end
- end
- local CameraPart = Instance.new("Part")
- CameraPart.CanCollide = false
- CameraPart.CFrame = LP.Character.Head.CFrame
- CameraPart.Locked = true
- CameraPart.Transparency = 1
- CameraPart.Size = Vector3.new(1, 1, 1)
- CameraPart.Parent = gsWorkspace
- CameraPart.Name = "rGETpartNUMBER2"
- if bypassMODE == true then
- loopviewfc = true
- elseif bypassMODE == false then
- gsWorkspace.CurrentCamera.CameraSubject = CameraPart
- end
- local speedget = 1
- local T = CameraPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = speedget
- if args[1] then
- speedfly = tonumber(args[1])
- else
- speedfly = 1
- end
- local function freecamfly()
- LP.Character.Head.Anchored = true
- doFREECAM = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not doFREECAM
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = speedfly
- elseif KEY:lower() == 's' then
- CONTROL.B = -speedfly
- elseif KEY:lower() == 'a' then
- CONTROL.L = -speedfly
- elseif KEY:lower() == 'd' then
- CONTROL.R = speedfly
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- end
- end)
- freecamfly()
- end
- Commands.fc = function(args)
- if args[1] then
- run(commandPrefix.."freecam "..args[1])
- else
- run(commandPrefix.."freecam")
- end
- end
- Commands.unfreecam = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- if gsWorkspace.rGETpartNUMBER2 then
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end
- loopviewfc = false
- end
- Commands.unfc = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- if gsWorkspace.rGETpartNUMBER2 then
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end
- loopviewfc = false
- end
- Commands.gotofc = function(args)
- doFREECAM = false
- LP.Character.Head.Anchored = false
- view(LP)
- pcall(function()
- LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
- gsWorkspace.rGETpartNUMBER2:Destroy()
- end)
- loopviewfc = false
- end
- Commands.fctp = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- pcall(function()
- gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame
- end)
- end
- end
- end
- Commands.cmds = function(args)
- CMDSmain.Position = UDim2.new(0, 695, 0, 297)
- CMDSmain.Visible = true
- CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1)
- end
- Commands.fullcredits = function(args)
- Notification("info", "Credit to Autumn, Josh and 3dsboy08 (Help with "..commandPrefix.."remotespy and anti client kick)", 1)
- Notification("info", "Credit to Infinite Yield developers (Assisted in "..commandPrefix.."esp and "..commandPrefix.."fly commands)", 1)
- Notification("info", "Credit to Timeless ("..commandPrefix.."invisible) and Harkinian ("..commandPrefix.."shutdown)", 1)
- Notification("info", "Credit to DEX creators ("..commandPrefix.."explorer) and xFunnieuss ("..commandPrefix.."spinhats)", 1)
- Notification("info", "Only creator is illremember", 2)
- end
- Commands.hotkey = function(args)
- if args[1] then
- local hotkeyKEY = string.sub(tostring(args[1]), 1, 3)
- if args[2] then
- table.remove(args, 1)
- local hotkeyCMD = table.concat(args, " ")
- table.insert(hotkeys, hotkeyCMD.."//"..hotkeyKEY)
- fullUpdate()
- Notification("info", "Hotkey added!", 1)
- end
- end
- end
- Mouse.KeyDown:Connect(function(key)
- for i,v in pairs(hotkeys) do
- local currentKey = string.match(v, "[%a%d]+$")
- if string.len(currentKey) == 1 then
- if key == string.sub(v, #v, #v) then
- local commandtoRUN = string.match(v, "^[%w%s]+")
- if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
- if bypassMODE == true then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- else
- if flying == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- end
- elseif tostring(commandtoRUN) == "noclip" then
- if noclip == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."clip")
- end
- elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- if fchotkeymode == "goto" then
- run(commandPrefix.."gotofc")
- elseif fchotkeymode == "unfc" then
- run(commandPrefix.."unfreecam")
- end
- end
- else
- run(commandPrefix..tostring(commandtoRUN))
- end
- end
- else
- if string.lower(string.sub(tostring(currentKey), 1, 1)) == "f" then
- local commandtoRUN = string.match(v, "^[%w%s]+")
- local hotkeyadjust = tonumber(string.sub(currentKey, 2, 3)) + 25
- if string.byte(key) == hotkeyadjust then
- if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
- if bypassMODE == true then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- else
- if flying == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."unfly")
- end
- end
- elseif tostring(commandtoRUN) == "noclip" then
- if noclip == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- run(commandPrefix.."clip")
- end
- elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
- if doFREECAM == false then
- run(commandPrefix..tostring(commandtoRUN))
- else
- if fchotkeymode == "goto" then
- run(commandPrefix.."gotofc")
- elseif fchotkeymode == "unfc" then
- run(commandPrefix.."unfreecam")
- end
- end
- else
- run(commandPrefix..tostring(commandtoRUN))
- end
- end
- end
- end
- end
- end)
- Commands.removeallhotkey = function(args)
- hotkeys = {}
- fullUpdate()
- Notification("warning", "All hotkeys reset/removed", 6)
- end
- Commands.removehotkey = function(args)
- if args[1] then
- for i,v in pairs(hotkeys) do
- local currentKey = string.match(v, "[%a%d]+$")
- if currentKey == string.lower(tostring(args[1])) then
- table.remove(hotkeys, i)
- fullUpdate()
- end
- end
- end
- end
- Commands.printhotkeys = function(args)
- for i,v in pairs(hotkeys) do
- warn("HOTKEYS:")
- print(v)
- end
- end
- Commands.os = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." is on "..v.OsPlatform, "All")
- end
- end
- end
- spinning = false
- Commands.spin = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- run(commandPrefix.."attach "..v.Name)
- annplr = v
- annoying = true
- spinning = true
- end
- end
- end
- Commands.unspin = function(args)
- if spinning then
- annoying = false
- spinning = false
- end
- run(""..commandPrefix.."unattach")
- end
- Commands.explorer = function(args)
- loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
- Notification("info", "Loaded DEX explorer!", 5)
- end
- Commands.maxzoom = function(args)
- if args[1] then
- LP.CameraMaxZoomDistance = args[1]
- end
- end
- Commands.stare = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- stareplr = v
- staring = true
- end
- end
- end
- Commands.unstare = function(args)
- staring = false
- end
- Commands.tempgod = function(args)
- local hu = LP.Character.Humanoid
- local l = Instance.new("Humanoid")
- l.Parent = LP.Character
- l.Name = "Humanoid"
- wait(0.1)
- hu.Parent = LP
- gsWorkspace.CurrentCamera.CameraSubject = LP.Character
- LP.Character.Animate.Disabled = true
- wait(0.1)
- LP.Character.Animate.Disabled = false
- Notification("info", "Enabled Temp FE Godmode", 4)
- end
- Commands.void = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- local function tp(player,player2)
- local char1,char2=player.Character,player2.Character
- if char1 and char2 then
- char1:MoveTo(char2.Head.Position)
- end
- end
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999999999999,0,999999999999999))
- end
- end
- end
- end
- Commands.freefall = function(args)
- if hasTools() == false then
- Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
- else
- FEGodmode()
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.3)
- LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.5)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.6)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
- end
- end
- end
- end
- Commands.version = function(args)
- Notification("info", "Current Shattervast Version: V2.8", 7)
- end
- Commands.shiftlockon = function(args)
- LP.DevEnableMouseLock = true
- Notification("info", "Shift lock enabled!", 5)
- end
- for i,needChat in pairs(gsPlayers:GetPlayers()) do
- needChat.Chatted:Connect(function(msg)
- if copychatall then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
- end
- end)
- end
- gsPlayers.PlayerAdded:Connect(function(plr)
- plr.Chatted:Connect(function(msg)
- if copychatall then
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
- end
- end)
- end)
- copychatplayer = nil
- copychatall = false
- copychatACTIVE = false
- Commands.copychat = function(args)
- if args[1] then
- if string.lower(args[1]) == "all" or string.lower(args[1]) == "others" then
- copychatall = true
- else
- for i,v in pairs(findPlayer(args[1])) do
- if v ~= LP then
- copychatplayer = v
- copychatACTIVE = true
- end
- end
- end
- end
- end
- Commands.uncopychat = function(args)
- copychatall = false
- copychatACTIVE = false
- end
- Commands.newkill = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(4000000, -10, 200000))
- end
- end
- end
- end
- Commands.newattach = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- end
- end
- end
- end
- Commands.newbring = function(args)
- if hasTools() == false then
- Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
- else
- if args[1] then
- for i,plr in pairs(findSinglePlayer(args[1])) do
- local NOW = LP.Character.HumanoidRootPart.CFrame
- for i,v in pairs(LP.Backpack:GetChildren())do
- LP.Character.Humanoid:EquipTool(v)
- end
- for i,v in pairs(LP.Backpack:GetDescendants()) do
- if v:IsA("Tool") then
- v.Parent = LP.Character
- wait()
- v.Parent = plr.Character
- end
- end
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = NOW
- wait(0.4)
- LP.Character.HumanoidRootPart.CFrame = NOW
- end
- end
- end
- end
- Commands.spawn = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "ws" then
- spawnWS = args[2] or CurrentWalkspeed
- LP.Character.Humanoid.WalkSpeed = args[2] or CurrentWalkspeed
- elseif string.lower(tostring(args[1])) == "jp" then
- spawnJP = args[2] or CurrentJumppower
- LP.Character.Humanoid.JumpPower = args[2] or CurrentJumppower
- elseif string.lower(tostring(args[1])) == "hh" then
- spawnHH = args[2] or CurrentHipheight
- LP.Character.Humanoid.HipHeight = args[2] or CurrentHipheight
- elseif string.lower(tostring(args[1])) == "god" then
- spawningfegod = true
- FEGodmode()
- end
- end
- end
- Commands.unspawn = function(args)
- spawnWS = CurrentWalkspeed
- spawnJP = CurrentJumppower
- spawnHH = CurrentHipheight
- spawningfegod = false
- Notification("info", "Reset spawning stats", 5)
- end
- savingtoolsloop = false
- Commands.autosavetool = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- savingtoolsloop = true
- elseif string.lower(tostring(args[1])) == "off" then
- savingtoolsloop = false
- end
- end
- end
- modeFling = false
- modeCompliment = false
- modeMove = false
- modeInfo = false
- Commands.beginbot = function(args)
- if not args[1] then
- print("fling // compliment // move // info")
- Notification("info", ""..commandPrefix.."beginbot Modes printed", 5)
- else
- if string.lower(tostring(args[1])) == "fling" then
- modeFling = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hello! I am Fling-Bot 5000! Say !fling [Player] to fling that player!", "All")
- elseif string.lower(tostring(args[1])) == "compliment" then
- modeCompliment = true
- complimentReady = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Good day, I am Compliment-Bot. Say !c [Player] to give them a compliment.", "All")
- elseif string.lower(tostring(args[1])) == "move" then
- modeMove = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hi, I am movement bot. Commands you can use: !walk [Player], !bringbot, !follow [Player].", "All")
- elseif string.lower(tostring(args[1])) == "info" then
- modeInfo = true
- infoReady = true
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hey, I'm Info-Bot. Commands you can use: !age [Player], !id [Player].", "All")
- end
- end
- end
- Commands.endbot = function(args)
- if not args[1] then
- modeFling = false
- modeCompliment = false
- modeMove = false
- modeInfo = false
- else
- if string.lower(tostring(args[1])) == "fling" then
- modeFling = false
- elseif string.lower(tostring(args[1])) == "compliment" then
- modeCompliment = false
- elseif string.lower(tostring(args[1])) == "move" then
- modeMove = false
- elseif string.lower(tostring(args[1])) == "info" then
- modeInfo = false
- end
- end
- end
- Commands.stopsit = function(args)
- stopsitting = true
- end
- Commands.gosit = function(args)
- stopsitting = false
- end
- chattingerror = true
- Commands.chaterror = function(args)
- if chattingerror then
- chattingerror = false
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- wait(4)
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
- wait(3)
- chattingerror = true
- end
- end
- spawnpos = nil
- spawningpos = true
- Commands.spawnpoint = function(args)
- spawnpos = LP.Character.HumanoidRootPart.CFrame
- spawningpos = true
- Notification("info", "Spawn point has been set! Use "..commandPrefix.."nospawn to remove.", 6)
- end
- Commands.nospawn = function(args)
- spawningpos = false
- Notification("info", "Spawn point has been removed. Use "..commandPrefix.."spawnpoint to enable.", 6)
- end
- Commands.bypass = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- bypassMODE = true
- Notification("warning", "Bypass mode turned on, this changes functions of "..commandPrefix.."fly and other commands to bypass most anti-exploits.", 7)
- elseif string.lower(tostring(args[1])) == "off" then
- bypassMODE = false
- Notification("warning", "Bypass mode has been turned off.", 7)
- end
- end
- end
- Commands.fixcam = function(args)
- gsWorkspace.CurrentCamera:Destroy()
- wait(0.1)
- game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character.Humanoid
- game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
- LP.CameraMinZoomDistance = 0.5
- LP.CameraMaxZoomDistance = 400
- LP.CameraMode = "Classic"
- LP.DevCameraOcclusionMode = CurrentNormal
- end
- Commands.gotoobj = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(tostring(args[1])) then
- LP.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 3, 0)
- end
- end
- end
- end
- Commands.breakcam = function(args)
- gsWorkspace.CurrentCamera.CameraSubject = LP.Character.Head
- end
- Commands.inviscam = function(args)
- LP.DevCameraOcclusionMode = "Invisicam"
- end
- printobjKEY = ""
- printobjCLICKING = false
- printobjACTIVE = false
- Commands.printobj = function(args)
- if args[1] then
- printobjKEY = string.sub(tostring(args[1]), 1, 1)
- printobjACTIVE = true
- printobjCLICKING = false
- else
- printobjKEY = ""
- printobjACTIVE = true
- printobjCLICKING = true
- end
- end
- Mouse.KeyDown:Connect(function(key)
- if key == printobjKEY and printobjACTIVE == true then
- if Mouse.Target then
- local path = Mouse.Target:GetFullName()
- local getPath = "game:GetService(\"Workspace\")"
- local getSpaces = ""
- local separate = {}
- local a = nil
- for v in string.gmatch(string.sub(path, 10), "[^.]+") do
- if string.match(v, " ") then
- a = "["..v.."]"
- table.insert(separate, a)
- else
- a = "."..v
- table.insert(separate, a)
- end
- getSpaces = table.concat(separate, "")
- end
- local fullPath = getPath..getSpaces
- print(fullPath)
- end
- end
- end)
- Mouse.Button1Down:Connect(function()
- if printobjCLICKING == true and printobjACTIVE == true then
- if Mouse.Target then
- local path = Mouse.Target:GetFullName()
- local getPath = "game:GetService(\"Workspace\")"
- local getSpaces = ""
- local separate = {}
- local a = nil
- for v in string.gmatch(string.sub(path, 10), "[^.]+") do
- if string.match(v, " ") then
- a = "["..v.."]"
- table.insert(separate, a)
- else
- a = "."..v
- table.insert(separate, a)
- end
- getSpaces = table.concat(separate, "")
- end
- local fullPath = getPath..getSpaces
- print(fullPath)
- end
- end
- end)
- Commands.unprintobj = function(args)
- printobjACTIVE = false
- printobjCLICKING = false
- end
- Commands.hotkeyfc = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "goto" then
- fchotkeymode = "goto"
- elseif string.lower(tostring(args[1])) == "unfc" then
- fchotkeymode = "unfc"
- end
- fullUpdate()
- end
- end
- Commands.carpet = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- if v ~= nil then
- annoying = true
- annplr = v
- local carpetAnimation = Instance.new("Animation")
- carpetAnimation.AnimationId = "rbxassetid://282574440"
- carpetTrack = LP.Character.Humanoid:LoadAnimation(carpetAnimation)
- carpetTrack:Play(.1, 1, 1)
- end
- end
- end
- end
- Commands.uncarpet = function(args)
- annoying = false
- carpetTrack:Stop()
- end
- Commands.brickcreate = function(args)
- if args[1] then
- local createPosition = LP.Character.HumanoidRootPart.CFrame
- if args[2] and args[3] and args[4] then
- createPosition = CFrame.new(Vector3.new(args[2], args[3], args[4]))
- else
- createPosition = LP.Character.HumanoidRootPart.CFrame
- end
- for i = 1, args[1] do
- LP.Character.HumanoidRootPart.CFrame = createPosition
- run(commandPrefix.."blockhats")
- wait(0.2)
- run(commandPrefix.."drophats")
- wait(0.2)
- run(commandPrefix.."reset")
- wait(6)
- end
- end
- end
- Commands.forward = function(args)
- if args[1] then
- forwardSpeed = args[1]
- else
- forwardSpeed = 1
- end
- cmdForward = true
- end
- Commands.unforward = function(args)
- cmdForward = false
- end
- Commands.id = function(args)
- if args[1] then
- for i,v in pairs(findPlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account ID: "..v.UserId.."!", "All")
- end
- end
- end
- Commands.spinhats = function(args) -- Credit to xFunnieuss
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
- local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
- if v.Handle.AccessoryWeld then
- v.Handle.AccessoryWeld:Destroy()
- end
- if args[1] then
- spin.AngularVelocity = Vector3.new(0, args[1], 0)
- spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
- else
- spin.AngularVelocity = Vector3.new(0, 100, 0)
- spin.MaxTorque = Vector3.new(0, 200, 0)
- end
- keep.P = 30000
- keep.D = 50
- spinObj = keep
- spinTOhead = true
- end
- end
- end
- Commands.unspinhats = function(args)
- for i,v in pairs(LP.Character:GetDescendants()) do
- if v:IsA("Accessory") or v:IsA("Hat") then
- pcall(function()
- run(commandPrefix.."drophats")
- wait(2)
- v.Handle.spin:Destroy()
- v.Handle.keep:Destroy()
- end)
- end
- end
- end
- savedmap = {}
- Commands.savemap = function(args)
- for i,v in pairs(gsWorkspace:GetChildren()) do
- v.Archivable = true
- if not v:IsA("Terrain") and not v:IsA("Camera") then
- if not gsPlayers:FindFirstChild(v.Name) then
- table.insert(savedmap, v:Clone())
- end
- end
- end
- clientSided()
- end
- Commands.loadmap = function(args)
- for i,v in pairs(gsWorkspace:GetChildren()) do
- if not v:IsA("Terrain") and not v:IsA("Camera") then
- if not gsPlayers:FindFirstChild(v.Name) then
- pcall(function()
- v:Destroy()
- end)
- end
- end
- end
- for i,a in ipairs(savedmap) do
- a:Clone().Parent = gsWorkspace
- end
- clientSided()
- end
- Commands.creatorid = function(args)
- LP.UserId = game.CreatorId
- end
- Commands.gameid = function(args)
- Notification("info", "Current game's ID = "..game.GameId, 8)
- end
- Commands.delobj = function(args)
- if args[1] then
- for i,v in pairs(gsWorkspace:GetDescendants()) do
- if string.lower(v.Name) == string.lower(tostring(args[1])) then
- v:Destroy()
- clientSided()
- end
- end
- end
- end
- Commands.glide = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local goal = {}
- goal.CFrame = v.Character.HumanoidRootPart.CFrame
- local defaultSpeed = 3
- if args[2] then
- if tonumber(args[2]) < 10 then
- defaultSpeed = tonumber(args[2])
- else
- defaultSpeed = 5
- end
- else
- defaultSpeed = 3
- end
- local goalFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(defaultSpeed, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), goal)
- goalFunction:Play()
- end
- end
- end
- stutterON = false
- Commands.stutter = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- stutterON = true
- elseif string.lower(tostring(args[1])) == "off" then
- stutterON = false
- wait(0.4)
- LP.Character.HumanoidRootPart.Anchored = false
- end
- end
- end
- spawn(function()
- while wait(0.1) do
- if stutterON == true then
- LP.Character.HumanoidRootPart.Anchored = false
- wait(0.1)
- LP.Character.HumanoidRootPart.Anchored = true
- end
- end
- end)
- Commands.platform = function(args)
- local a = Instance.new("Part")
- a.Parent = gsWorkspace
- a.Size = Vector3.new(10, 1, 10)
- a.Anchored = true
- a.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
- LP.Character.HumanoidRootPart.CFrame = a.CFrame + Vector3.new(0, 2, 0)
- clientSided()
- wait(20)
- a:Destroy()
- end
- Commands.servertime = function(args)
- Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8)
- end
- Commands.ride = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://179224234"
- RIDEtrack = LP.Character.Humanoid:LoadAnimation(Anim)
- rideACTIVE = true
- ridePLAYER = v
- RIDEtrack:Play()
- end
- end
- end
- Commands.unride = function(args)
- RIDEtrack:Stop()
- rideACTIVE = false
- end
- Commands.cmute = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/mute "..v.Name, "All")
- clientSided()
- end
- end
- end
- Commands.uncmute = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/unmute "..v.Name, "All")
- end
- end
- end
- Commands.hat = function(args)
- if args[1] then
- for i,v in pairs(findSinglePlayer(args[1])) do
- local Anim = Instance.new("Animation")
- Anim.AnimationId = "rbxassetid://282574440"
- HATtrack = LP.Character.Humanoid:LoadAnimation(Anim)
- rideACTIVE = true
- ridePLAYER = v
- HATtrack:Play()
- view(v)
- end
- end
- end
- Commands.unhat = function(args)
- HATtrack:Stop()
- rideACTIVE = false
- view(LP)
- end
- --[[Commands.spawnreset = function(args)
- if args[1] then
- if string.lower(tostring(args[1])) == "on" then
- spawningatreset = true
- elseif string.lower(tostring(args[1])) == "off" then
- spawningatreset = false
- end
- end
- end]]
- Commands.chat = function(args)
- if args[1] then
- local Chatmsg = table.concat(args, " ")
- game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chatmsg, "All")
- end
- end
- -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname)
- function findPlayer(plr)
- local players = {}
- local find = plr:lower()
- local getAllNames = getmultipleplayers(find)
- for i,mplr in pairs(getAllNames) do
- if mplr == "all" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- table.insert(players,v)
- end
- elseif mplr == "others" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "me" then
- table.insert(players,LP)
- elseif mplr == "noobs" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge <= 3 then
- table.insert(players,v)
- end
- end
- elseif mplr == "veterans" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge >= 365 then
- table.insert(players,v)
- end
- end
- elseif mplr == "oldveterans" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.AccountAge >= 1500 then
- table.insert(players,v)
- end
- end
- elseif mplr == "friends" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "nofriends" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
- table.insert(players,v)
- end
- end
- elseif mplr == "default" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then
- table.insert(players,v)
- end
- end
- elseif mplr == "random" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- table.insert(players,v[math.random(1, #v)])
- end
- elseif mplr == "sameteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team == LP.Team then
- table.insert(players,v)
- end
- end
- elseif mplr == "noteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team == nil then
- table.insert(players,v)
- end
- end
- elseif mplr == "otherteam" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if v.Team ~= LP.Team then
- table.insert(players,v)
- end
- end
- elseif string.sub(mplr, 1, 4) == "team" then
- for i,v in pairs(gsPlayers:GetPlayers()) do
- local spaceTEAM = {}
- for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do
- spaceTEAM[#spaceTEAM + 1] = teamValues
- end
- local gottrueteam = table.concat(spaceTEAM, " ")
- if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then
- table.insert(players,v)
- end
- end
- else
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then
- table.insert(players,v)
- end
- end
- end
- end
- return players
- end
- function getmultipleplayers(plr)
- local plrsgotten = {}
- for i in string.gmatch(plr,"[^,]+") do
- table.insert(plrsgotten,i)
- end
- return plrsgotten
- end
- function findSinglePlayer(plr)
- local players = {}
- local find = plr:lower()
- if find == "me" then
- table.insert(players,LP)
- else
- for i,v in pairs(gsPlayers:GetPlayers()) do
- if string.lower(v.Name):sub(1, #find) == string.lower(find) then
- table.insert(players,v)
- end
- end
- end
- local oneplayer = {}
- pcall(function()
- table.insert(oneplayer, players[math.random(1, #players)])
- end)
- return oneplayer
- end
- -- Anti Kick
- if getrawmetatable then
- function formatargs(getArgs,v)
- if #getArgs == 0 then
- return ""
- end
- local collectArgs = {}
- for k,v in next,getArgs do
- local argument = ""
- if type(v) == "string" then
- argument = "\""..v.."\""
- elseif type(v) == "table" then
- argument = "{" .. formatargs(v,true) .. "}"
- else
- argument = tostring(v)
- end
- if v and type(k) ~= "number" then
- table.insert(collectArgs,k.."="..argument)
- else
- table.insert(collectArgs,argument)
- end
- end
- return table.concat(collectArgs, ", ")
- end
- kicknum = 0
- local game_meta = getrawmetatable(game)
- local game_namecall = game_meta.__namecall
- local game_index = game_meta.__index
- local w = (setreadonly or fullaccess or make_writeable)
- pcall(w, game_meta, false)
- game_meta.__namecall = function(out, ...)
- local args = {...}
- local Method = args[#args]
- args[#args] = nil
- if Method == "Kick" and out == LP then
- kicknum = kicknum + 1
- warn("Blocked client-kick attempt "..kicknum)
- return
- end
- if antiremotes then
- if Method == "FireServer" or Method == "InvokeServer" then
- if out.Name ~= "CharacterSoundEvent" and out.Name ~= "SayMessageRequest" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Parent ~= "DefaultChatSystemChatEvents" then
- warn("Blocked remote: "..out.Name.." // Method: "..Method)
- return
- end
- end
- else
- if Method == "FireServer" or Method == "InvokeServer" then
- for i,noremote in pairs(blockedremotes) do
- if out.Name == noremote and out.Name ~= "SayMessageRequest" then
- warn("Blocked remote: "..out.Name.." // Method: "..Method)
- return
- end
- end
- end
- end
- if spyingremotes then
- if Method == "FireServer" or Method == "InvokeServer" then
- if out.Name ~= "CharacterSoundEvent" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Name ~= "SayMessageRequest" then
- local arguments = {}
- for i = 1,#args do
- arguments[i] = args[i]
- end
- local getScript = getfenv(2).script
- if getScript == nil then
- getScript = "??? (Not Found) ???"
- end
- warn("<> <> <> A "..out.ClassName.." has been fired! How to fire:\ngame."..out:GetFullName()..":"..Method.."("..formatargs(arguments)..")\n\nFired from script: ".. tostring(getScript:GetFullName()))
- end
- end
- end
- return game_namecall(out, ...)
- end
- end
- -- FE Check
- function FEcheckDefault()
- if gsWorkspace.FilteringEnabled == true then
- createIntro("warning", "FE is enabled! Press "..commandPrefix.." to bring Command Bar.", 7)
- else
- createIntro("warning", "FE is disabled. Consider using a different script.", 7)
- end
- end
- FEcheckDefault()
- end)
- None_2.Name = "None"
- None_2.Parent = Main
- None_2.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_2.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_2.BorderSizePixel = 0
- None_2.Position = UDim2.new(0, 0, 0.520857632, 0)
- None_2.Size = UDim2.new(0, 164, 0, 44)
- None_2.Font = Enum.Font.Cartoon
- None_2.Text = "None"
- None_2.TextColor3 = Color3.new(0, 0, 0)
- None_2.TextSize = 25
- Xester.Name = "Xester"
- Xester.Parent = Main
- Xester.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- Xester.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- Xester.BorderSizePixel = 0
- Xester.Position = UDim2.new(0, 0, 0.126843661, 0)
- Xester.Size = UDim2.new(0, 164, 0, 40)
- Xester.Font = Enum.Font.Cartoon
- Xester.Text = "Xester"
- Xester.TextColor3 = Color3.new(0, 0, 0)
- Xester.TextSize = 25
- Xester.MouseButton1Down:connect(function()
- -----------/XESTER THE CARD MASTER\\-----------
- --[[Movelist
- Q = The disappearing act.
- E = Full house
- R = Cardnado
- T = Teleport
- Y = Big card(Click to smash.)
- U = Black hole
- P = Card shield(Click to bounce people off, press p again to shred.)
- F = Transform(You can switch between modes any time.)
- -----------/SECOND FORM MOVES\-----------
- T = Laugh
- G = Fire ball
- H = Huge fire ball
- J = Dragon's breath(The longer you hold, the more insaner it gets.)
- K = Beam(The longer you hold down the key, the stronger it gets/longer it lasts.)
- ---------]]
- --"Now you see me 2" is a good movie, which is why i've made this.--
- --Sadly, this got logged, one of my best work just being thrown out like this is a real shame.--
- --This was made before FE so using this may or may not lag the server--
- --Keep in mind that THIS was never even finished at all, i stopped working on this when skidcentric leaked it, who knows how big this script could've been?--
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- walking = false
- jumping = false
- allowgrassy = false
- zxc = false
- matte = nil
- colori = nil
- bigball = false
- attacking = false
- laughing = false
- running = false
- downpress = false
- taim = nil
- change = 0
- ws = 10
- appi = false
- tauntdebounce = false
- position = nil
- staybooming = false
- MseGuide = true
- levitate = false
- firsttime5 = false
- notallowedtransform = false
- settime = 0
- firsttime2 = false
- sine = 0
- t = 0
- combo1 = true
- dgs = 75
- combo2 = false
- firsttime3 = false
- combo3 = false
- local bl = {907530553,907527750,907527912}
- colortable = {"Really black","Really red"}
- colors = #colortable
- blz = #bl
- local aces = {1880203893,1881287656,1881287420,1881288034}
- ace = #aces
- local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475}
- laugh = #laughs
- mouse = Player:GetMouse()
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- removeuseless = game:GetService("Debris")
- damageall={}
- Repeater={}
- Repeater2={}
- magictable={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- lolzor={}
- lolzor2={}
- th2={}
- keyYsize={}
- blocktrail={}
- keyYtransparency={}
- th3={}
- laughingtable={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- FireBall = Instance.new("Sound",LeftArm)
- FireBall.SoundId = "rbxassetid://842332424"
- FireBall.Volume = 5
- FireBall.Pitch = 2.5
- BigFireBall = Instance.new("Sound",LeftArm)
- BigFireBall.SoundId = "rbxassetid://842332424"
- BigFireBall.Volume = 8
- BigFireBall.Pitch = 1.5
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- function makeblockytrail()
- coroutine.wrap(function()
- while true do
- for i,v in pairs(blocktrail) do
- smke = Instance.new("Part",v)
- smke.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- smke.Material = "Neon"
- smke.Anchored = true
- smke.CanCollide = false
- removeuseless:AddItem(smke,2)
- end
- swait()
- end
- end)()
- end
- local function ci(x, c, y, n)
- so = Instance.new("Sound", x)
- so.SoundId = c
- so.Volume = y
- so.Looped = n
- end
- function ghost()
- fakeeyo2 = Instance.new("Part",Head)
- fakeeyo2.BrickColor = BrickColor.new("White")
- fakeeyo2.Material = "Neon"
- fakeeyo2.Shape = "Ball"
- fakeeyo2.Anchored = true
- fakeeyo2.CFrame = eyo2.CFrame
- fakeeyo2.CanCollide = false
- fakeeyo2.Size = Vector3.new(0.33, 0.33, 0.33)
- table.insert(ghosttable,fakeeyo2)
- removeuseless:AddItem(fakeeyo2,3)
- fakeeyo1 = Instance.new("Part",Head)
- fakeeyo1.BrickColor = BrickColor.new("White")
- fakeeyo1.Material = "Neon"
- fakeeyo1.Shape = "Ball"
- fakeeyo1.CanCollide = false
- fakeeyo1.Anchored = true
- fakeeyo1.CFrame = eyo1.CFrame
- fakeeyo1.Size = Vector3.new(0.33, 0.33, 0.33)
- table.insert(ghosttable,fakeeyo1)
- removeuseless:AddItem(fakeeyo1,3)
- fakemask = Instance.new("Part",Character)
- fakemask.Size = Vector3.new(1,1,1)
- fakemask.CFrame = mask.CFrame
- fakemask.Material = "Neon"
- fakemask.CanCollide = false
- fakemask.Anchored = true
- fakemask.BrickColor = BrickColor.new("White")
- fakemask.Transparency = .5
- mfMask = Instance.new("SpecialMesh", fakemask)
- mfMask.MeshType = "FileMesh"
- mfMask.Scale = Vector3.new(0.13, 0.13, 0.1)
- mfMask.MeshId = 'http://www.roblox.com/asset/?id=5158270'
- table.insert(ghosttable,fakemask)
- removeuseless:AddItem(fakemask,3)
- fakejester = Instance.new("Part",Character)
- fakejester.Size = Vector3.new(2,2,2)
- fakejester.CFrame = jester.CFrame
- fakejester.CanCollide = false
- fakejester.Transparency = .5
- fakejester.Anchored = true
- fakejester.BrickColor = BrickColor.new("White")
- fakejesterm = Instance.new("SpecialMesh", fakejester)
- fakejesterm.MeshType = "FileMesh"
- fakejesterm.Scale = Vector3.new(1.1, 1.1, 1.1)
- fakejesterm.MeshId = 'rbxassetid://1241662062'
- table.insert(ghosttable,fakejester)
- removeuseless:AddItem(fakejester,3)
- fakehead = Instance.new("Part",Character)
- fakehead.Size = Vector3.new(1.01,1.01,1.01)
- fakehead.Anchored = true
- fakehead.CanCollide = false
- fakehead.Transparency = .5
- fakehead.BrickColor = BrickColor.new("White")
- fakehead.Material = "Neon"
- fakehead.CFrame = Head.CFrame
- fakeheadmesh = Instance.new("SpecialMesh",fakehead)
- fakeheadmesh.MeshType = "Head"
- fakeheadmesh.Scale = Vector3.new(1.255,1.255,1.255)
- table.insert(ghosttable,fakehead)
- removeuseless:AddItem(fakehead,3)
- fakelarm = Instance.new("Part",Character)
- fakelarm.CFrame = LeftArm.CFrame
- fakelarm.Size = Vector3.new(1,2,1)
- fakelarm.CanCollide = false
- fakelarm.Transparency = .5
- fakelarm.Material = "Neon"
- fakelarm.Anchored = true
- table.insert(ghosttable,fakelarm)
- removeuseless:AddItem(fakelarm,3)
- fakerarm = Instance.new("Part",Character)
- fakerarm.CFrame = RightArm.CFrame
- fakerarm.Size = Vector3.new(1,2,1)
- fakerarm.Transparency = .5
- fakerarm.CanCollide = false
- fakerarm.Material = "Neon"
- fakerarm.Anchored = true
- table.insert(ghosttable,fakerarm)
- removeuseless:AddItem(fakerarm,3)
- fakelleg = Instance.new("Part",Character)
- fakelleg.CFrame = LeftLeg.CFrame
- fakelleg.Size = Vector3.new(1,2,1)
- fakelleg.Transparency = .5
- fakelleg.CanCollide = false
- fakelleg.Material = "Neon"
- fakelleg.Anchored = true
- table.insert(ghosttable,fakelleg)
- removeuseless:AddItem(fakelleg,3)
- fakerleg = Instance.new("Part",Character)
- fakerleg.CFrame = RightLeg.CFrame
- fakerleg.Size = Vector3.new(1,2,1)
- fakerleg.Transparency = .5
- fakerleg.CanCollide = false
- fakerleg.Material = "Neon"
- fakerleg.Anchored = true
- table.insert(ghosttable,fakerleg)
- removeuseless:AddItem(fakerleg,3)
- fakeTorso = Instance.new("Part",Character)
- fakeTorso.CFrame = Torso.CFrame
- fakeTorso.Size = Vector3.new(2,2,1)
- fakeTorso.Transparency = .5
- fakeTorso.CanCollide = false
- fakeTorso.Material = "Neon"
- fakeTorso.Anchored = true
- table.insert(ghosttable,fakeTorso)
- removeuseless:AddItem(fakeTorso,3)
- end
- ghosttable={}
- coroutine.wrap(function()
- while true do
- for i,v in pairs(ghosttable) do
- v.Transparency = v.Transparency + 0.025
- end
- wait()
- end
- end)()
- function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
- A = Instance.new("Attachment", PARENT)
- A.Position = POSITION1
- A.Name = "A"
- B = Instance.new("Attachment", PARENT)
- B.Position = POSITION2
- B.Name = "B"
- tr1 = Instance.new("Trail", PARENT)
- tr1.Attachment0 = A
- tr1.Attachment1 = B
- tr1.Enabled = true
- tr1.Lifetime = LIFETIME
- tr1.TextureMode = "Static"
- tr1.LightInfluence = 0
- tr1.Color = COLOR
- tr1.Transparency = NumberSequence.new(0, 1)
- end
- function clean()
- damageall={}
- Repeater={}
- Repeater2={}
- nonmeshRepeater={}
- nonmeshRepeater2={}
- dmgii={}
- DamageAll2={}
- SlowlyFade={}
- th1={}
- th2={}
- th3={}
- Extreme={}
- ExtremeM={}
- ExtremeM2={}
- m3={}
- th4={}
- th5={}
- UpMover={}
- openshocktable={}
- LessSize={}
- ForwardMover={}
- FadeIn={}
- signtransparency={}
- signmover={}
- signrotator={}
- end
- coroutine.wrap(function()
- while wait() do
- hum.WalkSpeed = ws
- LeftArm.BrickColor = BrickColor.new("Really black")
- RightArm.BrickColor = BrickColor.new("Really black")
- Head.BrickColor = BrickColor.new("Really black")
- end
- end)()
- godmode = coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v:IsA("BasePart") and v ~= Root then
- v.Anchored = false
- end
- end
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- coroutine.wrap(function()
- for i,v in pairs(Character:GetChildren()) do
- if v.Name == "Animate" then v:Remove()
- end
- end
- end)()
- function damagealll(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
- if v:FindFirstChild("Torso") then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- elseif v:FindFirstChild("UpperTorso") then
- local Mag = (v.UpperTorso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- end
- return Returning
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- 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
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://1843358057"
- doomtheme:Play()
- Torso.ChildRemoved:connect(function(removed)
- if removed.Name == "doomtheme" then
- if levitate then
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://1382488262"
- doomtheme:Play()
- doomtheme.TimePosition = 20.7
- else
- doomtheme = Instance.new("Sound", Torso)
- doomtheme.Volume = 3
- doomtheme.Name = "doomtheme"
- doomtheme.Looped = true
- doomtheme.SoundId = "rbxassetid://1843358057"
- doomtheme:Play()
- end
- end
- end)
- for _,n in pairs(Character:GetChildren()) do
- if n:IsA("Accessory") then n:Remove() end
- end
- for _,x in pairs(Character:GetChildren()) do
- if x:IsA("Decal") then x:Remove() end
- end
- glow = Instance.new("Part",Head)
- glow.Size = Vector3.new(.488,.3,.1)
- glow.CanCollide = false
- glow.Material = "Neon"
- glow.Transparency = 1
- glow.BrickColor = BrickColor.new("Really white")
- glowweld = weldBetween(glow,Head)
- glowweld.C0 = CFrame.new(0,.2,.565)
- leftlocation = Instance.new("Part",LeftArm)
- leftlocation.Size = Vector3.new(1,1,1)
- leftlocation.Transparency = 1
- leftlocationweld = weldBetween(leftlocation,LeftArm)
- leftlocationweld.C0 = CFrame.new(0,1.2,0)
- rightlocation = Instance.new("Part",RightArm)
- rightlocation.Size = Vector3.new(1,1,1)
- rightlocation.Transparency = 1
- rightlocationweld = weldBetween(rightlocation,RightArm)
- rightlocationweld.C0 = CFrame.new(0,1.2,0)
- shirt = Instance.new("Shirt", Character)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", Character)
- pants.Name = "Pants"
- Character.Shirt.ShirtTemplate = "rbxassetid://676428254"----lol
- Character.Pants.PantsTemplate = "rbxassetid://676428351"
- fakehed = Instance.new("Part",Character)
- fakehed.Size = Vector3.new(1.01,1.01,1.01)
- fakehed.Anchored = false
- fakehed.CanCollide = false
- fakehed.Transparency = 0
- fakehed.BrickColor = BrickColor.new("Really black")
- fakehed.Material = "Neon"
- fakehed.CFrame = Head.CFrame
- fakehedweld = weldBetween(fakehed,Head)
- fakehedmesh = Instance.new("SpecialMesh",fakehed)
- fakehedmesh.MeshType = "Head"
- fakehedmesh.Scale = Vector3.new(1.255,1.255,1.255)
- jester = Instance.new("Part",Character)
- jester.Size = Vector3.new(2,2,2)
- jester.CFrame = Head.CFrame
- jester.CanCollide = false
- jesterWeld = Instance.new("Weld",jester)
- jesterWeld.Part0 = jester
- jesterWeld.Part1 = Head
- jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
- mjester = Instance.new("SpecialMesh", jester)
- mjester.MeshType = "FileMesh"
- mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
- mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
- mask = Instance.new("Part",Character)
- mask.Size = Vector3.new(1,1,1)
- mask.CFrame = Head.CFrame
- mask.CanCollide = false
- maskweld = weldBetween(mask,Head)
- maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
- mMask = Instance.new("SpecialMesh", mask)
- mMask.MeshType = "FileMesh"
- mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
- mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
- eyo1 = Instance.new("Part",Head)
- eyo1.BrickColor = BrickColor.new("White")
- eyo1.Material = "Neon"
- eyo1.Shape = "Ball"
- eyo1.Name = "eyo1"
- eyo1.CanCollide = false
- eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo1weld = weldBetween(eyo1,Head)
- eyo1weld.C0 = CFrame.new(.215,-.05,.52)
- light = Instance.new("PointLight", eyo1)
- light.Color = Color3.new(1,1,1)
- light.Range = 3
- light.Brightness = 4
- light.Enabled = true
- eyo2 = Instance.new("Part",Head)
- eyo2.BrickColor = BrickColor.new("White")
- eyo2.Material = "Neon"
- eyo2.Shape = "Ball"
- eyo2.Name = "eyo2"
- eyo2.CanCollide = false
- eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo2weld = weldBetween(eyo2,Head)
- eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
- light2 = Instance.new("PointLight", eyo2)
- light2.Color = Color3.new(1,1,1)
- light2.Range = 3
- light2.Brightness = 4
- light2.Enabled = true
- function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
- so = Instance.new("Sound")
- so.Parent = PARENT
- so.SoundId = "rbxassetid://"..ID
- so.Volume = VOL
- so.Looped = LOOP
- so:Play()
- removeuseless:AddItem(so,REMOVE)
- end
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='r' then
- if levitate then return end
- if debounce then return end
- debounce = true
- attacking = true
- appi = true
- ws = 0
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- end
- end
- end)()
- for i = 1, 20 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
- swait()
- end
- SOUND(RightArm,342337569,6,false,1)
- coroutine.wrap(function()
- for i = 1, 9 do
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.1,1.6,-.1),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(15)),.3)
- swait()
- end
- for i = 1, 9 do
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
- swait()
- end
- end)()
- shockwave = Instance.new("Part",Torso)
- shockwave.Shape = "Ball"
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.Material = "Neon"
- shockwave.CFrame = Torso.CFrame
- shockwave.CanCollide = false
- shockwave.Anchored = true
- coroutine.wrap(function()
- for i = 1, 20 do
- shockwave.Size = shockwave.Size + Vector3.new(1.8,1.8,1.8)
- shockwave.Transparency = shockwave.Transparency + 0.05
- wait()
- end
- end)()
- SOUND(Torso,1072606965,0,false,10)
- coroutine.wrap(function()
- for i = 1, 10 do
- so.Volume = so.Volume + 0.3
- wait()
- end
- end)()
- for i = 1, 35 do
- local Hit = damagealll(22,Torso.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(17,35))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(Torso.Position,torso.Position).lookVector*20
- removeuseless:AddItem(vel,.1)
- end
- wave = Instance.new("Part", Torso)
- wave.Size = Vector3.new(1, 1, 1)
- wave.Transparency = 0
- wave.BrickColor = BrickColor.new("White")
- wave.Anchored = true
- wave.CanCollide = false
- wave.CFrame = Root.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- wavemesh = Instance.new("SpecialMesh", wave)
- wavemesh.MeshId = "rbxassetid://20329976"
- wavemesh.Scale = Vector3.new(1, 1, 1)
- table.insert(th2,wave)
- table.insert(SlowlyFade,wave)
- table.insert(th5,wavemesh)
- removeuseless:AddItem(wave,2)
- CardStorm = Instance.new("Part",Torso)
- CardStorm.Size = Vector3.new(.1,.1,.1)
- CardStorm.CFrame = Root.CFrame * CFrame.new(0,3.2,0)
- CardStorm.Anchored = true
- CardStormMesh = Instance.new("SpecialMesh", CardStorm)
- CardStormMesh.Scale = Vector3.new(1,1,1)
- CardStormMesh.MeshId = "rbxassetid://6512150"
- CardStormMesh.TextureId = "rbxassetid://55364685"
- table.insert(SlowlyFade,CardStorm)
- table.insert(m3,CardStormMesh)
- table.insert(th1,CardStorm)
- removeuseless:AddItem(CardStorm,3)
- wait(.1)
- end
- coroutine.wrap(function()
- for i = 1, 10 do
- so.Volume = so.Volume - 0.3
- wait()
- end
- end)()
- wait(1)
- ws = 10
- clean()
- attacking = false
- debounce = false
- appi = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='e' then
- if levitate then return end
- if debounce then return end
- attacking = true
- debounce = true
- damagedebounce = false
- clickdisallowance = true
- clickdebounce = false
- notallowed = true
- appi = true
- ws = 0
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.y > 1 and attacking == true then
- position = "Jump2"
- elseif Root.Velocity.y < -1 and attacking == true then
- position = "Falling2"
- elseif Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- elseif Root.Velocity.Magnitude > 2 and attacking == true then
- position = "Walking2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Jump2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
- elseif position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- elseif position == "Walking2" and attacking == true and appi == true then
- change = .8
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.sin(25*math.sin(sine/8))),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.sin(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.sin(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.sin(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.sin(25 * math.sin(sine/8))), 0.3)
- end
- end
- end)()
- coroutine.wrap(function()
- for i = 1, 40 do
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0),.5)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1.5,0) * CFrame.Angles(math.rad(180 - 7 * math.sin(sine/6)),math.rad(7 * math.sin(sine/6)),math.rad(7*math.sin(sine/6))), 0.5)
- swait()
- end
- end)()
- haloh = Instance.new("Part", Torso)
- haloh.Size = Vector3.new(1,1,1)
- haloh.Anchored = false
- haloh.Transparency = 1
- haloh.CanCollide = false
- halohweld = weldBetween(haloh,Torso)
- halohweld.C0 = CFrame.new(0,0,0)
- n = 0
- x = 0
- tab={}
- tab2={}
- SOUND(Torso,1882057730,6,false,2)
- for i = 1, 20 do
- n = n + 20
- x = x + 5
- halo = Instance.new("Part", Torso)
- halo.Size = Vector3.new(0.71, 0.07, 0.99)
- halo.Transparency = 1
- halo.CanCollide = false
- halo.Material = "Neon"
- halo.BrickColor = BrickColor.new("White")
- halow = weldBetween(halo,haloh)
- halow.C0 = CFrame.new(-4,0,0) * CFrame.Angles(math.rad(90),math.rad(n),math.rad(0))
- table.insert(FadeIn,halo)
- table.insert(tab,halow)
- table.insert(tab2,halo)
- wait()
- end
- ws = 10
- clickdisallowance = false
- coroutine.wrap(function()
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- while notallowed do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- swait()
- end
- end)()
- coroutine.wrap(function()
- mouse.Button1Down:connect(function()
- if clickdisallowance then return end
- if clickdebounce then return end
- wait(.2)
- clickdebounce = true
- notallowed = false
- end)
- end)()
- while notallowed do
- for i,v in pairs(tab) do
- v.C0 = v.C0 * CFrame.Angles(math.rad(0),math.rad(0 + 1.2),math.rad(0))
- end
- swait()
- end
- appi = false
- ws = 0
- for i = 1, 15 do
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
- swait()
- end
- for i,v in pairs(tab) do
- v:Remove()
- end
- for i,v in pairs(tab2) do
- removeuseless:AddItem(v,6)
- MAKETRAIL(v,Vector3.new(.1,0,0),Vector3.new(-.1,0,0),.8,ColorSequence.new(BrickColor.new("White").Color,BrickColor.new("Really black").Color))
- BodyGyro=Instance.new('BodyGyro',v)
- BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- BodyGyro.P=2e4
- removeuseless:AddItem(BodyGyro,.1)
- PB2 = Instance.new("BodyVelocity", v)
- PB2.MaxForce = Vector3.new(999999, 999999, 999999)
- v.CFrame = CFrame.new(v.Position,mouse.Hit.p)
- PB2.Velocity = v.CFrame.lookVector * 80
- end
- SOUND(Torso,1499747506,3,false,1)
- for i,v in pairs(tab2) do
- v.Touched:connect(function(hit)
- if hit.Parent:IsA("Part") then
- elseif hit.Parent:IsA("SpecialMesh") then
- elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
- elseif hit.Parent:findFirstChildOfClass("Humanoid") then
- if damagedebounce == true then return end
- damagedebounce = true
- Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
- tor = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- Slachtoffer:TakeDamage(math.random(17,35))
- SOUND(tor,694703797,6,false,1)
- wait(.1)
- damagedebounce = false
- end
- end)
- end
- for i = 1, 20 do
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-15), math.rad(4)), 0.3)
- swait()
- end
- clean()
- g1:Remove()
- haloh:Remove()
- attacking = false
- debounce = false
- damagedebounce = false
- clickdebounce = false
- appi = false
- ws = 10
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='y' then
- if levitate then return end
- if debounce then return end
- clickdisallowance = true
- clickdebounce = false
- debounce = true
- attacking = true
- appi = true
- ws = 0
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.y > 1 and attacking == true then
- position = "Jump2"
- elseif Root.Velocity.y < -1 and attacking == true then
- position = "Falling2"
- elseif Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- elseif Root.Velocity.Magnitude > 2 and attacking == true then
- position = "Walking2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Jump2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
- elseif position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- elseif position == "Walking2" and attacking == true and appi == true then
- change = .8
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- end
- end
- end)()
- bigcard = Instance.new("Part",Torso)
- bigcard.Material = "Neon"
- bigcard.Transparency = 1
- bigcard.BrickColor = BrickColor.new("White")
- bigcard.Size = Vector3.new(15.65, 23.84, 0.3)
- bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0)
- bigcard.Anchored = true
- SOUND(bigcard,236989198,6,false,1)
- ace = aces[math.random(1,#aces)]
- acer = Instance.new("Decal",bigcard)
- acer.Texture = "rbxassetid://"..ace
- acer.Transparency = 1
- acer.Face = "Front"
- ace2 = acer:Clone()
- ace2.Parent = bigcard
- ace2.Face = "Back"
- table.insert(FadeIn,acer)
- table.insert(FadeIn,ace2)
- table.insert(FadeIn,bigcard)
- for i = 1, 30 do
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
- swait()
- end
- ws = 10
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- clickdisallowance = false
- coroutine.wrap(function()
- mouse.Button1Down:connect(function()
- if clickdisallowance then return end
- if clickdebounce then return end
- wait(.2)
- clickdebounce = true
- end)
- end)()
- while not clickdebounce do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- bigcard.CFrame = Root.CFrame * CFrame.new(0,18,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10 + 2 *math.sin(sine/12)),math.rad(10 - 2*math.sin(sine/12))),.3)
- swait()
- end
- g1:Remove()
- ws = 0
- for i = 1, 13 do
- bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,18,3) * CFrame.Angles(math.rad(10),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0.2) * CFrame.Angles(math.rad(160),math.rad(10),math.rad(10)),.3)
- swait()
- end
- locationpart = Instance.new("Part",bigcard)
- locationpart.Size = Vector3.new(1,1,1)
- locationpart.Transparency = 1
- locationpart.CanCollide = false
- locationpart.Anchored = true
- locationpart.CFrame = Root.CFrame * CFrame.new(0,-3,-21)
- shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 0
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(locationpart.Position)
- shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(5,2,5)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave,4)
- shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 0
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(locationpart.Position)
- shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(5,2,5)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave2,4)
- shockwave3 = Instance.new("Part", Torso)
- shockwave3.Size = Vector3.new(1,1,1)
- shockwave3.CanCollide = false
- shockwave3.Anchored = true
- shockwave3.Transparency = 0
- shockwave3.BrickColor = BrickColor.new("White")
- shockwave3.CFrame = CFrame.new(locationpart.Position)
- shockwavemesh3 = Instance.new("SpecialMesh", shockwave3)
- shockwavemesh3.Scale = Vector3.new(5,2,5)
- shockwavemesh3.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave3,4)
- shockwave4 = Instance.new("Part", Torso)
- shockwave4.Size = Vector3.new(1,1,1)
- shockwave4.CanCollide = false
- shockwave4.Anchored = true
- shockwave4.Transparency = 0
- shockwave4.BrickColor = BrickColor.new("White")
- shockwave4.CFrame = CFrame.new(locationpart.Position)
- shockwavemesh4 = Instance.new("SpecialMesh", shockwave4)
- shockwavemesh4.Scale = Vector3.new(5,2,5)
- shockwavemesh4.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave4,4)
- Hit = damagealll(20,locationpart.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(55,85))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(locationpart.Position,torso.Position).lookVector*110
- removeuseless:AddItem(vel,.1)
- end
- coroutine.wrap(function()
- for i = 1, 90 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0)
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(1.5,.1,1.5)
- shockwave.Transparency = shockwave.Transparency + 0.025
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+6),0)
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(1.25,.25,1.25)
- shockwave2.Transparency = shockwave2.Transparency + 0.04
- shockwave3.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+12),0)
- shockwavemesh3.Scale = shockwavemesh3.Scale + Vector3.new(.75,.75,.75)
- shockwave3.Transparency = shockwave3.Transparency + 0.035
- shockwave4.CFrame = shockwave3.CFrame * CFrame.Angles(0,math.rad(0+5),0)
- shockwavemesh4.Scale = shockwavemesh3.Scale + Vector3.new(2.5,.5,2.5)
- shockwave4.Transparency = shockwave3.Transparency + 0.03
- swait()
- end
- end)()
- SOUND(locationpart,765590102,6,false,2)
- for i = 1, 24 do
- bigcard.CFrame = bigcard.CFrame:lerp(Root.CFrame * CFrame.new(0,-3,-21) * CFrame.Angles(math.rad(90),0,0),.25)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(15), math.rad(4)), 0.5)
- swait()
- end
- for i = 1, 40 do
- bigcard.Transparency = bigcard.Transparency + 0.2
- acer.Transparency = acer.Transparency + .2
- ace2.Transparency = ace2.Transparency + .2
- swait()
- end
- attacking = false
- debounce = false
- appi = false
- clickdisallowance = false
- clickdebounce = false
- ws = 10
- bigcard:Remove()
- clean()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='u' then
- if levitate then return end
- if mouse.Target ~= nil then end
- if debounce then return end
- debounce = true
- attacking = true
- appi = true
- ws = 0
- appi = true
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.y > 1 and attacking == true then
- position = "Jump2"
- elseif Root.Velocity.y < -1 and attacking == true then
- position = "Falling2"
- elseif Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- elseif Root.Velocity.Magnitude > 2 and attacking == true then
- position = "Walking2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Jump2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
- elseif position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- elseif position == "Walking2" and attacking == true and appi == true then
- change = .8
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- end
- end
- end)()
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,1.5,-.1),.5)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,0,0) * CFrame.Angles(math.rad(180),math.rad(10),math.rad(10)),.3)
- swait()
- end
- cardportal = Instance.new("Part", Torso)
- cardportal.Size = Vector3.new(0.5, 0.5, 0.5)
- cardportal.Material = "Neon"
- cardportal.BrickColor = BrickColor.new("White")
- cardportal.Transparency = 0
- cardportal.Anchored = true
- cardportal.CanCollide = false
- cardportalMESH = Instance.new("SpecialMesh", cardportal)
- cardportalMESH.MeshType = "Cylinder"
- cardportalMESH.Scale = Vector3.new(.2,0.01,0.01)
- cardportal.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
- for i = 1, 10 do
- cardportalMESH.Scale = cardportalMESH.Scale + Vector3.new(0,4,4)
- swait()
- end
- bigzcard = Instance.new("Part",Torso)
- bigzcard.Material = "Neon"
- bigzcard.Transparency = 0
- bigzcard.BrickColor = BrickColor.new("White")
- bigzcard.Size = Vector3.new(10, 15, 0.3)
- bigzcard.CFrame = cardportal.CFrame * CFrame.new(-8,0,0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
- bigzcard.Anchored = true
- SOUND(bigzcard,1888686669,6,false,1)
- acer = Instance.new("Decal",bigzcard)
- acer.Texture = "rbxassetid://1881287656"
- acer.Transparency = 0
- acer.Face = "Front"
- ace2 = acer:Clone()
- ace2.Parent = bigzcard
- ace2.Face = "Back"
- spinning = true
- coroutine.wrap(function()
- while spinning do
- bigzcard.CFrame = bigzcard.CFrame * CFrame.Angles(0,math.rad(0+5),0)
- swait()
- end
- end)()
- for i = 1, 20 do
- bigzcard.CFrame = bigzcard.CFrame * CFrame.new(0,-.9,0)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 10 do
- cardportalMESH.Scale = cardportalMESH.Scale - Vector3.new(0,4,4)
- swait()
- end
- cardportal:Remove()
- end)()
- wait(.7)
- ace3 = Instance.new("Decal",bigzcard)
- ace3.Texture = "rbxassetid://1880203893"
- ace3.Transparency = 1
- ace3.Face = "Front"
- ace4 = ace3:Clone()
- ace4.Parent = bigzcard
- ace4.Face = "Back"
- bigzcard2 = Instance.new("Part",Torso)
- bigzcard2.Material = "Neon"
- bigzcard2.Transparency = 1
- bigzcard2.BrickColor = BrickColor.new("Really black")
- bigzcard2.Size = Vector3.new(10, 15, 0.29)
- bigzcard2.CFrame = bigzcard.CFrame
- bigzcard2.CanCollide = false
- bigzcard2.Anchored = true
- coroutine.wrap(function()
- while spinning do
- bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+5),0)
- swait()
- end
- end)()
- blz = bl[math.random(1,#bl)]
- woos = Instance.new("Sound",Torso)
- woos.SoundId = "rbxassetid://"..blz
- woos.Volume = 4
- woos:Play()
- for i = 1, 20 do
- bigzcard2.Transparency = bigzcard2.Transparency - .05
- bigzcard.Transparency = bigzcard.Transparency + .05
- ace3.Transparency = ace3.Transparency - 0.05
- ace4.Transparency = ace4.Transparency - 0.05
- acer.Transparency = acer.Transparency + 0.05
- ace2.Transparency = ace2.Transparency + 0.05
- wait()
- end
- ace3.Parent = bigzcard2
- ace3.Face = "Front"
- ace4.Parent = bigzcard2
- ace4.Face = "Back"
- bigzcard:Remove()
- spinning = false
- blackholeactive = true
- coroutine.wrap(function()
- blackhole={}
- orbzfade={}
- for i = 1, 100 do
- orbz = Instance.new("Part", Torso)
- orbz.Shape = "Ball"
- orbz.Material = "Neon"
- orbz.BrickColor = BrickColor.new("Really black")
- orbz.Size = Vector3.new(2,2,2)
- orbz.Anchored = true
- orbz.CanCollide = false
- removeuseless:AddItem(orbz,1)
- orbz.CFrame = bigzcard2.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180))
- table.insert(blackhole,orbz)
- table.insert(orbzfade,orbz)
- for i,v in pairs(blackhole) do
- v.CFrame = v.CFrame:lerp(CFrame.new(bigzcard2.Position),.05)
- end
- for i,v in pairs(orbzfade) do
- v.Transparency = v.Transparency + 0.025
- end
- swait()
- end
- end)()
- coroutine.wrap(function()
- while blackholeactive do
- local Hit = damagealll(45,bigzcard2.Position)
- for _,v in pairs(Hit) do
- coroutine.wrap(function()
- wait(.15)
- if blackholeactive == false then return end
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(.1,1))
- end)()
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- torso.CFrame = torso.CFrame:lerp(CFrame.new(bigzcard2.Position),.1)
- end
- wait()
- end
- end)()
- for i = 1, 100 do
- bigzcard2.CFrame = bigzcard2.CFrame * CFrame.Angles(0,math.rad(0+20),0)
- cataclysmics = Instance.new("Part", Torso)
- cataclysmics.Shape = "Ball"
- cataclysmics.Material = "Neon"
- cataclysmics.BrickColor = BrickColor.new("Really black")
- cataclysmics.Size = Vector3.new(11,11,11)
- cataclysmics.Transparency = .3
- cataclysmics.Anchored = true
- cataclysmics.CanCollide = false
- cataclysmics.CFrame = CFrame.new(bigzcard2.Position)
- table.insert(LessSize,cataclysmics)
- table.insert(keyYtransparency,cataclysmics)
- removeuseless:AddItem(cataclysmics,1)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- for i,v in pairs(orbzfade) do
- v.Transparency = v.Transparency + 0.05
- end
- swait()
- end
- end)()
- explosiontable={}
- ringtable={}
- ringtable2={}
- soundboks = Instance.new("Part",Torso)
- soundboks.CanCollide = false
- soundboks.Anchored = true
- soundboks.Transparency = 1
- soundboks.CFrame = bigzcard2.CFrame
- removeuseless:AddItem(soundboks,6)
- SOUND(soundboks,472579737,6,false,1)
- blackholeactive = false
- bigzcard2:Remove()
- Hit = damagealll(60,soundboks.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(36,55))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(soundboks.Position,torso.Position).lookVector*200
- removeuseless:AddItem(vel,.1)
- end
- coroutine.wrap(function()
- shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 0
- shockwave.BrickColor = BrickColor.new("Really black")
- shockwave.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0)
- shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(5,2,5)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 0
- shockwave2.BrickColor = BrickColor.new("Really black")
- shockwave2.CFrame = CFrame.new(soundboks.Position) * CFrame.new(0,-6,0)
- shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(5,2,5)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- for i = 1, 40 do
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+15),0)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+8),0)
- shockwave.Transparency = shockwave.Transparency + 0.025
- shockwave2.Transparency = shockwave2.Transparency + 0.025
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,.9,9)
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,.8,8)
- swait()
- end
- shockwave:Remove()
- shockwave2:Remove()
- end)()
- for i = 1, 4 do
- explosion = Instance.new("Part", Torso)
- explosion.Shape = "Ball"
- explosion.Size = Vector3.new(1,1,1)
- explosion.Transparency = 0
- explosion.CanCollide = false
- explosion.Anchored = true
- explosion.BrickColor = BrickColor.new("Really black")
- explosion.Material = "Neon"
- explosion.CFrame = CFrame.new(bigzcard2.Position)
- table.insert(ExtremeM,explosion)
- table.insert(SlowlyFade,explosion)
- removeuseless:AddItem(explosion,4)
- ring = Instance.new("Part", Torso)
- ring.Size = Vector3.new(5, 5, 5)
- ring.Transparency = 0
- ring.BrickColor = BrickColor.new("Really black")
- ring.Anchored = true
- ring.CanCollide = false
- ring.CFrame = bigzcard2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
- ringh = Instance.new("SpecialMesh", ring)
- ringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ringh.Scale = Vector3.new(2, 2, .1)
- table.insert(keyYsize,ringh)
- table.insert(keyYtransparency,ring)
- removeuseless:AddItem(ring,4)
- swait()
- end
- wait(1.2)
- clean()
- keyYsize={}
- keyYtransparency={}
- blackholev = false
- appi = false
- g1:Remove()
- ws = 10
- attacking = false
- debounce = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='t' then
- if levitate then
- if tauntdebounce then return end
- tauntdebounce = true
- laughing = true
- coroutine.wrap(function()
- while laughing do
- local b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,4,0,1.6)
- b1.StudsOffset = Vector3.new(0,0,0)
- b1.Name = "laff"
- b1.AlwaysOnTop = true
- b1.Adornee = Head
- removeuseless:AddItem(b1,3)
- local b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- b2.Text = "HaHaHaHaHaHa..."
- b2.Font = "Garamond"
- b2.TextSize = 0
- b2.Name = "lafftext"
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Really red").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,.5,0)
- table.insert(laughingtable,b2)
- removeuseless:AddItem(b1,2)
- coroutine.wrap(function()
- if zxc then return end
- zxc = true
- while true do
- swait()
- for i,v in pairs(Head:GetChildren()) do
- if v.Name == "laff" then
- v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
- end
- end
- for i,v in pairs(laughingtable) do
- v.TextTransparency = v.TextTransparency + .025
- v.TextStrokeTransparency = v.TextStrokeTransparency + 0.25
- v.TextSize = v.TextSize + 2
- v.Rotation = v.Rotation + .1
- end
- end
- end)()
- swait(10)
- end
- end)()
- laugh = laughs[math.random(1,#laughs)]
- laughy = Instance.new("Sound",Head)
- laughy.SoundId = "rbxassetid://"..laugh
- laughy.Volume = 10
- laughy:Play()
- wait(1)
- wait(laughy.TimeLength)
- laughing = false
- laughy:Remove()
- tauntdebounce = false
- else
- if mouse.Target ~= nil then
- if debounce then return end
- attacking = true
- ghost()
- tps = Instance.new("Sound", Torso)
- tps.Volume = 5
- tps.SoundId = "rbxassetid://1894958339"
- tps:Play()
- removeuseless:AddItem(tps,2)
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- removeuseless:AddItem(g1,.05)
- Root.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,3.3,0)
- wait(.1)
- attacking = false
- debounce = false
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='q' then
- if levitate then return end
- if mouse.Target ~= nil and mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Health ~= 0 then
- if debounce then return end
- debounce = true
- attacking = true
- appi = true
- ws = 0
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.y > 1 and attacking == true then
- position = "Jump2"
- elseif Root.Velocity.y < -1 and attacking == true then
- position = "Falling2"
- elseif Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- elseif Root.Velocity.Magnitude > 2 and attacking == true then
- position = "Walking2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Jump2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
- elseif position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- elseif position == "Walking2" and attacking == true and appi == true then
- change = .8
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- end
- end
- end)()
- enemyhum = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
- ETorso = enemyhum.Parent:FindFirstChild("Torso") or enemyhum.Parent:FindFirstChild("LowerTorso")
- EHead = enemyhum.Parent:FindFirstChild("Head")
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- brick = Instance.new("Part",Torso)
- brick.Anchored = true
- brick.CanCollide = false
- brick.Material = "Neon"
- brick.Transparency = 1
- brick.BrickColor = BrickColor.new("White")
- brick.Size = Vector3.new(8,.3,12)
- brick.CFrame = Root.CFrame * CFrame.new(math.random(-15,15),-3,math.random(-15,15))
- SOUND(brick,1888686669,6,false,1.5)
- ace = aces[math.random(1,#aces)]
- acer = Instance.new("Decal",brick)
- acer.Texture = "rbxassetid://1898092341"
- acer.Transparency = 1
- acer.Face = "Top"
- coroutine.wrap(function()
- for i = 1, 20 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
- brick.Transparency = brick.Transparency - .05
- acer.Transparency = acer.Transparency - .1
- swait()
- end
- end)()
- ETorso.Anchored = true
- EHead.Anchored = true
- for i = 1, 25 do
- swait()
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(0,0,0),.3)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- brick.CFrame = brick.CFrame:lerp(CFrame.new(ETorso.Position) * CFrame.new(0,-3,0) * CFrame.Angles(0,math.rad(0+10),0),.2)
- end
- SOUND(brick,472214107,6,false,2)
- coroutine.wrap(function()
- for i = 1, 10 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,ETorso.Position),.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- swait()
- end
- end)()
- shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = 0
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = CFrame.new(brick.Position)
- shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(1,1,1)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave,4)
- shockwave2 = Instance.new("Part", Torso)
- shockwave2.Size = Vector3.new(1,1,1)
- shockwave2.CanCollide = false
- shockwave2.Anchored = true
- shockwave2.Transparency = 0
- shockwave2.BrickColor = BrickColor.new("White")
- shockwave2.CFrame = CFrame.new(brick.Position)
- shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
- shockwavemesh2.Scale = Vector3.new(1,1,1)
- shockwavemesh2.MeshId = "rbxassetid://20329976"
- removeuseless:AddItem(shockwave2,4)
- for i = 1, 35 do
- swait()
- shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(2,.1,2)
- shockwave.CFrame = shockwave.CFrame * CFrame.Angles(0,math.rad(0+12),0)
- shockwave.Transparency = shockwave.Transparency + .05
- shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(.5,.1,.5)
- shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
- shockwave2.Transparency = shockwave2.Transparency + .03
- EHead.CFrame = EHead.CFrame * CFrame.new(0,-.20,0)
- ETorso.CFrame = ETorso.CFrame * CFrame.new(0,-.25,0)
- end
- for i = 1, 8 do
- brick.Size = brick.Size + Vector3.new(1.5,0,2.5)
- swait()
- end
- n = 0
- SOUND(brick,54111471,6,false,1)
- for i = 1, 40 do
- n = n + 6
- brick.Transparency = brick.Transparency + .025
- acer.Transparency = acer.Transparency + .075
- brick.CFrame = brick.CFrame * CFrame.Angles(0,math.rad(n),0)
- brick.Size = brick.Size - Vector3.new(1.5,.025,2.5)
- swait()
- end
- ws = 10
- brick:Remove()
- enemyhum.Parent:Remove()
- attacking = false
- removeuseless:AddItem(g1,0.001)
- debounce = false
- appi = false
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='p' then
- if levitate then return end
- if blocking then
- if blockedoff then return end
- clickallowance = false
- appi = false
- attacking = true
- blocking = false
- throwing = true
- ws = 0
- n = 0
- blockcard.CanCollide = false
- for i = 1, 35 do
- n = n + 20
- blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5) * CFrame.Angles(0,math.rad(n),0)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
- swait()
- end
- blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5 + -1) * CFrame.Angles(0,0,0)
- blockcard.CanCollide = false
- locater1 = Instance.new("Part",blockcard)
- locater1.Size = Vector3.new(1,1,1)
- locater1.CanCollide = false
- locater1.Anchored = true
- locater1.Transparency = 1
- locater2 = Instance.new("Part",blockcard)
- locater2.Size = Vector3.new(1,1,1)
- locater2.CanCollide = false
- locater2.Transparency = 1
- locater2.Anchored = true
- locater3 = Instance.new("Part",blockcard)
- locater3.Size = Vector3.new(1,1,1)
- locater3.Transparency = 1
- locater3.CFrame = blockcard.CFrame * CFrame.Angles(math.rad(90),0,0)
- locater3.CanCollide = false
- locater3.Anchored = true
- fushfush = Instance.new("Sound",blockcard)
- fushfush.SoundId = "rbxassetid://288641686"
- fushfush.Volume = 8
- fushfush:Play()
- boosh:Play()
- coroutine.wrap(function()
- n = 0
- for i = 1, 35 do
- n = n + 10
- shockwave = Instance.new("Part", Torso)
- shockwave.Size = Vector3.new(1,1,1)
- shockwave.CanCollide = false
- shockwave.Anchored = true
- shockwave.Transparency = .5
- shockwave.BrickColor = BrickColor.new("White")
- shockwave.CFrame = locater3.CFrame
- shockwavemesh = Instance.new("SpecialMesh", shockwave)
- shockwavemesh.Scale = Vector3.new(15,.7,15)
- shockwavemesh.MeshId = "rbxassetid://20329976"
- shockwave.CFrame = locater3.CFrame * CFrame.Angles(math.rad(0),math.rad(1),0)
- removeuseless:AddItem(shockwave,1)
- table.insert(lolzor2,shockwave)
- for i,v in pairs(lolzor2) do
- v.Transparency = v.Transparency + .1
- v.CFrame = v.CFrame * CFrame.Angles(math.rad(0),math.rad(n),0)
- end
- swait()
- end
- end)()
- for i = 1, 35 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3)
- fushfush.Volume = fushfush.Volume - .2
- Hit = damagealll(20,blockcard.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(7,12))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(blockcard.Position,torso.Position).lookVector*120
- removeuseless:AddItem(vel,.1)
- end
- locater1.CFrame = blockcard.CFrame * CFrame.new(-5,-6,0)
- locater3.CFrame = blockcard.CFrame * CFrame.new(0,0,-1) * CFrame.Angles(math.rad(90),0,0)
- locater2.CFrame = blockcard.CFrame * CFrame.new(5,-6,0)
- grassblocks = Instance.new("Part",Torso)
- grassblocks.Size = Vector3.new(4,4,4)
- grassblocks.Material = "Grass"
- grassblocks.Anchored = true
- grassblocks.BrickColor = BrickColor.new("Bright green")
- grassblocks.CFrame = locater1.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(grassblocks,5)
- grassblocks2 = Instance.new("Part",Torso)
- grassblocks2.Size = Vector3.new(4,4,4)
- grassblocks2.Material = "Grass"
- grassblocks2.Anchored = true
- grassblocks2.BrickColor = BrickColor.new("Bright green")
- grassblocks2.CFrame = locater2.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(grassblocks2,5)
- blockcardshadow = Instance.new("Part",Torso)
- blockcardshadow.Transparency = .5
- blockcardshadow.Anchored = true
- blockcardshadow.Material = "Neon"
- blockcardshadow.BrickColor = BrickColor.new("White")
- blockcardshadow.Size = Vector3.new(8, 13, 0.3)
- blockcardshadow.CanCollide = false
- blockcardshadow.CFrame = blockcard.CFrame
- removeuseless:AddItem(blockcardshadow,2)
- table.insert(lolzor,blockcardshadow)
- for i,v in pairs(lolzor) do
- v.Transparency = v.Transparency + 0.05
- end
- blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-4)
- swait()
- end
- blockcard.Name = "Getthisshitoutofhere"
- for i = 1, 10 do
- blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,-2)
- blockcard.Transparency = blockcard.Transparency + .1
- acer.Transparency = blockcard.Transparency
- ace2.Transparency = blockcard.Transparency
- for i,v in pairs(lolzor) do
- v.Transparency = v.Transparency + .05
- end
- for i,v in pairs(lolzor2) do
- v.Transparency = v.Transparency + .1
- end
- swait()
- end
- lolzor={}
- lolzor2={}
- attacking = false
- debounce = false
- blocking = false
- throwing = false
- fushfush:Remove()
- clickallowance = false
- appi = false
- blockcard:Remove()
- g1:Remove()
- ws = 10
- else
- if debounce then return end
- if throwing then return end
- debounce = true
- ws = 10
- attacking = true
- blocking = true
- boosh = Instance.new("Sound",nil)
- boosh.SoundId = "rbxassetid://413682983"
- boosh.Volume = 6
- appi = true
- coroutine.wrap(function()
- while appi do
- wait()
- if Root.Velocity.y > 1 and attacking == true then
- position = "Jump2"
- elseif Root.Velocity.y < -1 and attacking == true then
- position = "Falling2"
- elseif Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle2"
- elseif Root.Velocity.Magnitude > 2 and attacking == true then
- position = "Walking2"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- wait()
- settime = 0.05
- sine = sine + change
- if position == "Jump2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Falling2" and attacking == true and appi == true then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
- elseif position == "Idle2" and attacking == true and appi == true then
- change = .4
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
- elseif position == "Walking2" and attacking == true and appi == true then
- change = .8
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(0) + Root.RotVelocity.Y/30,math.cos(25*math.cos(sine/8))),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0)), 0.3)
- end
- end
- end)()
- blockcard = Instance.new("Part",Torso)
- blockcard.Material = "Neon"
- blockcard.Transparency = 1
- blockcard.BrickColor = BrickColor.new("White")
- blockcard.Size = Vector3.new(8, 13, 0.3)
- blockcard.CFrame = Root.CFrame * CFrame.new(0,2,-5)
- blockcard.Anchored = true
- boosh.Parent = blockcard
- SOUND(blockcard,236989198,6,false,1)
- ace = aces[math.random(1,#aces)]
- acer = Instance.new("Decal",blockcard)
- acer.Texture = "rbxassetid://"..ace
- acer.Transparency = 1
- acer.Face = "Front"
- ace2 = acer:Clone()
- ace2.Parent = blockcard
- ace2.Face = "Back"
- coroutine.wrap(function()
- for i = 1, 20 do
- blockcard.Transparency = blockcard.Transparency - 0.05
- acer.Transparency = blockcard.Transparency
- ace2.Transparency = blockcard.Transparency
- swait()
- end
- clickallowance = true
- end)()
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- coroutine.wrap(function()
- while blocking do
- if not blockedoff then
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- blockcard.CFrame = Root.CFrame * CFrame.new(0,3,-5)
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
- end
- swait()
- end
- end)()
- wait(1)
- mouse.Button1Down:connect(function()
- if throwing then return end
- if not clickallowance then return end
- clickallowance = false
- blockedoff = true
- ws = 0
- for i = 1, 15 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(25), math.rad(0)), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-50 - 2 * math.sin(sine/12)), math.rad(12), math.rad(9)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-.65, .6, 1) * CFrame.Angles(0,0,0),.3)
- swait()
- end
- boosh:Play()
- hitdebounce = false
- blockcard.Touched:connect(function(hit)
- if hit.Parent:IsA("Part") then
- elseif hit.Parent:IsA("SpecialMesh") then
- elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
- elseif hit.Parent:findFirstChildOfClass("Humanoid") then
- for i,v in pairs(hit.Parent:GetChildren()) do
- Slachtoffer = v.Parent:FindFirstChildOfClass("Humanoid")
- if hitdebounce then return end
- hitdebounce = true
- vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- if Slachtoffer.RigType == Enum.HumanoidRigType.R15 then
- tors = hit.Parent:FindFirstChild("UpperTorso")
- else
- tors = hit.Parent:FindFirstChild("Torso")
- end
- vel.velocity = CFrame.new(Root.Position,tors.Position).lookVector*120
- removeuseless:AddItem(vel,.1)
- Slachtoffer:TakeDamage(math.random(23,44))
- end
- end
- end)
- for i = 1, 10 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(-20), math.rad(4)), 0.3)
- blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0-1)
- swait()
- end
- for i = 1, 10 do
- blockcard.CFrame = blockcard.CFrame * CFrame.new(0,0,0+1)
- swait()
- end
- hitdebounce = true
- ws = 10
- clickallowance = true
- blockedoff = false
- end)
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='f' then
- if debounce then return end
- if notallowedtransform then return end
- debounce = true
- if levitate then
- levitate = false
- mjester.VertexColor = Vector3.new(1, 1, 1)
- glow.Transparency = 1
- blastwave = Instance.new("Part",Torso)
- blastwave.CFrame = Torso.CFrame
- blastwave.Anchored = true
- blastwave.Material = "Neon"
- blastwave.CanCollide = false
- blastwave.Shape = "Ball"
- blastwave.Size = Vector3.new(3,3,3)
- coroutine.wrap(function()
- for i = 1, 20 do
- levitatewave.Transparency = levitatewave.Transparency + 0.05
- levitatewave2.Transparency = levitatewave2.Transparency + 0.05
- blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
- blastwave.Transparency = blastwave.Transparency + 0.05
- swait()
- end
- blastwave:Remove()
- levitatewave2:Remove()
- levitatewave:Remove()
- end)()
- ws = 10
- notallowedtransform = true
- attacking = true
- coroutine.wrap(function()
- for i = 1, 10 do
- for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
- v.Transparency = v.Transparency + 0.1
- end
- end
- for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
- v.Transparency = v.Transparency + 0.1
- end
- end
- wait()
- end
- end)()
- doomtheme.SoundId = "rbxassetid://1843358057"
- jesterWeld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- wait(0.000001)
- jesterWeld.C0 = jester.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.3,0) * CFrame.Angles(math.rad(0),math.rad(90),0)
- mjester.Scale = Vector3.new(1.1, 1.1, 1.1)
- mjester.MeshId,mjester.TextureId = 'rbxassetid://1241662062','rbxassetid://1241662395'
- mMask.Scale = Vector3.new(0.13, 0.13, 0.1)
- mMask.MeshId,mMask.TextureId = 'http://www.roblox.com/asset/?id=5158270','http://www.roblox.com/asset/?id=9543585'
- maskweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
- wait(0.000001)
- maskweld.C0 = CFrame.new(0,-.555,0) * CFrame.Angles(math.rad(90),0,0)
- eyo1 = Instance.new("Part",Head)
- eyo1.BrickColor = BrickColor.new("White")
- eyo1.Material = "Neon"
- eyo1.Shape = "Ball"
- eyo1.Name = "eyo1"
- eyo1.CanCollide = false
- eyo1.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo1weld = weldBetween(eyo1,Head)
- eyo1weld.C0 = CFrame.new(.215,-.05,.52)
- light = Instance.new("PointLight", eyo1)
- light.Color = Color3.new(1,1,1)
- light.Range = 3
- light.Brightness = 4
- light.Enabled = true
- eyo2 = Instance.new("Part",Head)
- eyo2.BrickColor = BrickColor.new("White")
- eyo2.Material = "Neon"
- eyo2.Shape = "Ball"
- eyo2.Name = "eyo2"
- eyo2.CanCollide = false
- eyo2.Size = Vector3.new(0.33, 0.33, 0.33)
- eyo2weld = weldBetween(eyo2,Head)
- eyo2weld.C0 = CFrame.new(-.215,-.05,.52)
- light2 = Instance.new("PointLight", eyo2)
- light2.Color = Color3.new(1,1,1)
- light2.Range = 3
- light2.Brightness = 4
- light2.Enabled = true
- Character.Shirt.ShirtTemplate = "rbxassetid://676428254"
- Character.Pants.PantsTemplate = "rbxassetid://676428351"
- hum.HipHeight = 0
- ws = 10
- debounce = false
- attacking = false
- coroutine.wrap(function()
- wait(3)
- notallowedtransform = false
- end)()
- else
- ws = 50
- notallowedtransform = true
- levitate = true
- ws = 50
- glow.Transparency = 0
- eyo1:Remove()
- eyo2:Remove()
- coroutine.wrap(function()
- while levitate do
- for i,v in pairs(Head:GetChildren()) do
- if v.Name == "eyo1" or v.Name == "eyo2" then
- v:Remove()
- end
- end
- wait()
- end
- end)()
- mnb = 0
- levitatewave = Instance.new("Part", Torso)
- levitatewave.Size = Vector3.new(1,1,1)
- levitatewave.CanCollide = false
- levitatewave.Anchored = true
- levitatewave.Transparency = .5
- levitatewave.BrickColor = BrickColor.new("Really black")
- levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
- levitatewavemesh = Instance.new("SpecialMesh", levitatewave)
- levitatewavemesh.Scale = Vector3.new(2.5,.3,2.5)
- levitatewavemesh.MeshId = "rbxassetid://20329976"
- levitatewave2 = Instance.new("Part", Torso)
- levitatewave2.Size = Vector3.new(1,1,1)
- levitatewave2.CanCollide = false
- levitatewave2.Anchored = true
- levitatewave2.Transparency = .5
- levitatewave2.BrickColor = BrickColor.new("Really red")
- levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-5,0)
- levitatewavemesh2 = Instance.new("SpecialMesh", levitatewave2)
- levitatewavemesh2.Scale = Vector3.new(2,.4,2)
- levitatewavemesh2.MeshId = "rbxassetid://20329976"
- blastwave = Instance.new("Part",Torso)
- blastwave.CFrame = Torso.CFrame
- blastwave.Anchored = true
- blastwave.Material = "Neon"
- blastwave.CanCollide = false
- blastwave.Shape = "Ball"
- blastwave.Size = Vector3.new(3,3,3)
- coroutine.wrap(function()
- for i = 1, 20 do
- blastwave.Size = blastwave.Size + Vector3.new(2,2,2)
- blastwave.Transparency = blastwave.Transparency + 0.05
- swait()
- end
- blastwave:Remove()
- end)()
- coroutine.wrap(function()
- while levitate do
- mnb = mnb + 15
- levitatewave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
- levitatewave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-6 + .5 * math.sin(sine/9),0) * CFrame.Angles(0,math.rad(mnb),0)
- colors = colortable[math.random(1,#colortable)]
- lmagic = Instance.new("Part",LeftArm)
- lmagic.Material = "Neon"
- lmagic.CanCollide = false
- lmagic.Anchored = true
- lmagic.BrickColor = BrickColor.new(colors)
- lmagic.Size = Vector3.new(1,1,1)
- lmagic.CFrame = leftlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(lmagic,2)
- rmagic = Instance.new("Part",RightArm)
- rmagic.Material = "Neon"
- rmagic.CanCollide = false
- rmagic.Anchored = true
- rmagic.BrickColor = BrickColor.new(colors)
- rmagic.Size = Vector3.new(1,1,1)
- rmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(rmagic,2)
- for i,v in pairs(LeftArm:GetChildren()) do if v.Name == lmagic.Name then
- v.Transparency = v.Transparency + 0.05
- end
- end
- for i,v in pairs(RightArm:GetChildren()) do if v.Name == rmagic.Name then
- v.Transparency = v.Transparency + 0.05
- end
- end
- swait()
- end
- end)()
- framee = Instance.new("Frame")
- framee.Parent = screenGui
- framee.Position = UDim2.new(0, 8, 0, -500)
- framee.Size = UDim2.new(100000000,10000000,10000000,10000000)
- framee.BackgroundColor3 = BrickColor.new("White").Color
- framee.BackgroundTransparency = 0
- coroutine.wrap(function()
- wait(.2)
- for i = 1, 40 do
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
- framee.BackgroundTransparency = framee.BackgroundTransparency + 0.025
- swait()
- end
- hum.CameraOffset = Vector3.new(0,0,0)
- framee:Remove()
- end)()
- doomtheme.SoundId = "rbxassetid://1382488262"
- doomtheme:Play()
- doomtheme.Volume = 2
- doomtheme.TimePosition = 20.7
- jesterWeld.C0 = jesterWeld.C0 * CFrame.new(.3,-.3,0) * CFrame.Angles(math.rad(0),math.rad(-90),0)
- mjester.MeshId = "rbxassetid://193760002"
- mjester.TextureId = "rbxassetid://379225327"
- mjester.VertexColor = Vector3.new(1, 0, 0)
- Character.Shirt.ShirtTemplate = "rbxassetid://238537827"
- Character.Pants.PantsTemplate = "rbxassetid://486031443"
- maskweld.C0 = maskweld.C0 * CFrame.new(0,.55,-.5) * CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0))
- mMask.MeshId = "rbxassetid://13520257"
- mMask.Scale = Vector3.new(1.1, 1, 1)
- mMask.TextureId = "rbxassetid://13520260"
- eyo1:Remove()
- eyo2:Remove()
- coroutine.wrap(function()
- while levitate do
- hum.HipHeight = 3 - .5 * math.sin(sine/9)
- swait()
- end
- end)()
- attacking = false
- debounce = false
- coroutine.wrap(function()
- wait(3)
- notallowedtransform = false
- end)()
- end
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='.' then
- hum.Parent:BreakJoints()
- end
- end)
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- if Root.Velocity.y > 1 and levitate == false then
- position = "Jump"
- elseif Root.Velocity.y < -1 and levitate == false then
- position = "Falling"
- elseif Root.Velocity.Magnitude < 2 and running == false and not levitate then
- position = "Idle"
- elseif Root.Velocity.Magnitude < 2 and running == false then
- position = "Idle2"
- elseif Root.Velocity.Magnitude < 20 and running == false and levitate == false then
- position = "Walking"
- elseif Root.Velocity.Magnitude > 20 and running == false and levitate then
- position = "Walking2"
- elseif Root.Velocity.Magnitude > 20 and levitate == false then
- position = "Running"
- else
- end
- wait()
- end
- end)
- checks1()
- function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function ray2(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
- return ray(StartPos, DIRECTION, Distance, Ignore)
- end
- OrgnC0 = Neck.C0
- local movelimbs = coroutine.wrap(function()
- while RunSrv.RenderStepped:wait() do
- TrsoLV = Torso.CFrame.lookVector
- Dist = nil
- Diff = nil
- if not MseGuide then
- print("Failed to recognize")
- else
- local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
- Dist = (Head.CFrame.p-Point).magnitude
- Diff = Head.CFrame.Y-Point.Y
- local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
- Dist2 = (LeftArm.CFrame.p-Point).magnitude
- Diff2 = LeftArm.CFrame.Y-Point.Y
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
- end
- end
- end)
- movelimbs()
- immortal = {}
- for i,v in pairs(Character:GetDescendants()) do
- if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
- if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
- elseif v:IsA("JointInstance") then
- table.insert(immortal,{v,v.Parent,nil,nil,nil})
- end
- end
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if levitate then
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- else
- if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- PART.AncestryChanged:connect(function()
- PART.Parent = PARENT
- end)
- end
- end
- end
- function immortality()
- for e = 1, #immortal do
- if immortal[e] ~= nil then
- local STUFF = immortal[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- if PART.ClassName == "Part" and PART == Root then
- PART.Material = MATERIAL
- PART.Color = COLOR
- PART.Transparency = TRANSPARENCY
- end
- if PART.Parent ~= PARENT then
- hum:Remove()
- PART.Parent = PARENT
- hum = Instance.new("Humanoid",Character)
- if levitate then
- eyo1:Remove()
- eyo2:Remove()
- end
- hum.Name = "noneofurbusiness"
- end
- end
- end
- end
- coroutine.wrap(function()
- while true do
- if hum.Health < .1 then
- deadsound = Instance.new("Sound", Torso)
- deadsound.Volume = 6
- deadsound.SoundId = "rbxassetid://1411352723"
- deadsound:Play()
- immortality()
- end
- wait()
- end
- end)()
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='g' then
- if not levitate then return end
- if debounce then return end
- debounce = true
- attacking = true
- FireBall:Play()
- ws = 15
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- swait()
- end
- local swoosh = Instance.new("Part",Torso)
- swoosh.Name = "swoosh"
- swoosh.CFrame = rightlocation.CFrame * CFrame.new(0,0,0)
- swoosh.Size = Vector3.new(1.7,1.7,1.7)
- swoosh.Shape = "Ball"
- swoosh.Material = "Neon"
- swoosh.BrickColor = BrickColor.new("Really black")
- swoosh.CanCollide = false
- swoosh.Touched:connect(function(hit)
- if hit.Parent:IsA("Part") then
- elseif hit.Parent:IsA("SpecialMesh") then
- elseif hit.Parent.Name == game.Players.LocalPlayer.Name then
- elseif hit.Parent:findFirstChildOfClass("Humanoid") then
- Slachtoffer = hit.Parent:findFirstChildOfClass("Humanoid")
- if Slachtoffer.Health < 1 then return end
- if damagedebounce == true then return end
- damagedebounce = true
- swoosh:Remove()
- explosion = Instance.new("Part",LeftArm)
- explosion.CFrame = hit.CFrame
- explosion.Anchored = true
- explosion.CanCollide = false
- explosion.Name = "explo"
- explosion.Shape = "Ball"
- explosion.BrickColor = BrickColor.new("Really black")
- explosion.Material = "Neon"
- removeuseless:AddItem(explosion,1.5)
- vel = Instance.new("BodyVelocity",hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(swoosh.Position,torso.Position).lookVector*60
- removeuseless:AddItem(vel,.1)
- SOUND(explosion,472579737,6,false,3)
- coroutine.wrap(function()
- if firsttime2 then return end
- firsttime2 = true
- while true do
- for i,v in pairs(LeftArm:GetChildren()) do
- if v.Name == "explo" then
- v.Size = v.Size + Vector3.new(2.5,2.5,2.5)
- v.Transparency = v.Transparency + .05
- end
- end
- for i,v in pairs(LeftArm:GetChildren()) do
- if v.Name == "shock" then
- v.Transparency = v.Transparency + .05
- end
- end
- for i,v in pairs(LeftArm:GetChildren()) do
- if v.Name == "shock2" then
- v.Transparency = v.Transparency + .05
- end
- end
- swait()
- end
- end)()
- Slachtoffer:TakeDamage(math.random(27,48))
- wait(.1)
- damagedebounce = false
- end
- end)
- coroutine.wrap(function()
- if firsttime then return end
- firsttime = true
- while wait() do
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "swoosh" then
- magiccc = Instance.new("Part",RightArm)
- magiccc.Material = "Neon"
- magiccc.CanCollide = false
- magiccc.Anchored = true
- magiccc.BrickColor = BrickColor.new(colors)
- magiccc.Size = Vector3.new(1.5,1.5,1.5)
- magiccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(magiccc,2)
- end
- end
- end
- end)()
- bov = Instance.new("BodyVelocity",swoosh)
- bov.maxForce = Vector3.new(99999,99999,99999)
- swoosh.CFrame = CFrame.new(swoosh.Position,mouse.Hit.p)
- bov.velocity = swoosh.CFrame.lookVector*120
- removeuseless:AddItem(swoosh,4)
- for i = 1, 15 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
- swait()
- end
- ws = 50
- removeuseless:AddItem(g1,0.01)
- debounce = false
- attacking = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='h' then
- if not levitate then return end
- if debounce then return end
- debounce = true
- attacking = true
- ws = 0
- appi = true
- coroutine.wrap(function()
- while appi do
- swait()
- if Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle3"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- swait()
- settime = 0.05
- sine = sine + change
- if position == "Idle3" and attacking == true and appi == true then
- change = .4
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
- end
- end
- end)()
- coroutine.wrap(function()
- for i = 1, 20 do
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0,math.rad(50),0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.1,1.3,1.1) * CFrame.Angles(math.rad(180),math.rad(-50),math.rad(0)), 0.3)
- swait()
- end
- end)()
- SOUND(LeftArm,1982011510,8,false,15)
- blackhole={}
- orbzfade={}
- xz = 0
- for i = 1, 220 do
- xz = xz + .009
- bigrmagic = Instance.new("Part",RightArm)
- bigrmagic.Material = "Neon"
- bigrmagic.CanCollide = false
- bigrmagic.Anchored = true
- bigrmagic.BrickColor = BrickColor.new(colors)
- bigrmagic.Size = Vector3.new(xz,xz,xz)
- bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(bigrmagic,1)
- orbz = Instance.new("Part", Torso)
- orbz.Material = "Neon"
- orbz.BrickColor = BrickColor.new(colors)
- orbz.Size = Vector3.new(2,2,2)
- orbz.Anchored = true
- orbz.CanCollide = false
- removeuseless:AddItem(orbz,1)
- orbz.CFrame = rightlocation.CFrame * CFrame.new(math.random(-25,25),math.random(-25,25),math.random(-25,25)) * CFrame.Angles(math.rad(-180,180),math.rad(-180,180),math.rad(-180,180))
- table.insert(blackhole,orbz)
- table.insert(orbzfade,orbz)
- for i,v in pairs(blackhole) do
- v.Size = v.Size - Vector3.new(.1,.1,.1)
- v.CFrame = v.CFrame:lerp(CFrame.new(rightlocation.Position),.09)
- end
- for i,v in pairs(orbzfade) do
- v.Transparency = v.Transparency + 0.025
- end
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 10 do
- for i,v in pairs(blackhole) do
- v.Size = v.Size + Vector3.new(.5,.5,.5)
- v.Transparency = v.Transparency + .1
- end
- swait()
- end
- for i,v in pairs(blackhole) do
- v:Remove()
- end
- clean()
- end)()
- charging = true
- coroutine.wrap(function()
- while charging do
- bigrmagic = Instance.new("Part",RightArm)
- bigrmagic.Material = "Neon"
- bigrmagic.CanCollide = false
- bigrmagic.Anchored = true
- bigrmagic.BrickColor = BrickColor.new(colors)
- bigrmagic.Size = Vector3.new(xz,xz,xz)
- bigrmagic.CFrame = rightlocation.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(bigrmagic,.2)
- swait()
- end
- end)()
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- BigFireBall:Play()
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 15 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
- swait()
- end
- end)()
- charging = false
- local ballzor = Instance.new("Part",Torso)
- ballzor.Name = "ballzor"
- ballzor.Material = "Neon"
- ballzor.BrickColor = BrickColor.new("Really black")
- ballzor.CanCollide = false
- ballzor.Size = Vector3.new(xz,xz,xz)
- ballzor.Anchored = false
- ballzor.CFrame = Root.CFrame * CFrame.new(1,0,-5)
- ballzor.Shape = "Ball"
- removeuseless:AddItem(g1,.0001)
- zx = xz + .05
- coroutine.wrap(function()
- if firsttime5 then return end
- firsttime5 = true
- while true do
- swait()
- for i,v in pairs(Torso:GetChildren()) do
- if v.Name == "ballzor" then
- magicccc = Instance.new("Part",RightArm)
- magicccc.Material = "Neon"
- magicccc.CanCollide = false
- magicccc.Name = "magicccc"
- magicccc.Anchored = true
- magicccc.Transparency = 0
- magicccc.BrickColor = BrickColor.new(colors)
- magicccc.Size = Vector3.new(zx,zx,zx)
- magicccc.CFrame = v.CFrame * CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
- removeuseless:AddItem(magicccc,2)
- end
- end
- for i,v in pairs(RightArm:GetChildren()) do
- if v.Name == "magicccc" then
- v.Transparency = v.Transparency + 0.025
- end
- end
- end
- end)()
- ballzor.Touched:connect(function(hit)
- if hit.Name ~= "magicccc" then
- if bigball then return end
- bigball = true
- local explosionwave = Instance.new("Part",Torso)
- explosionwave.Shape = "Ball"
- explosionwave.BrickColor = BrickColor.new("Really black")
- explosionwave.Anchored = true
- explosionwave.CanCollide = false
- explosionwave.Transparency = .2
- explosionwave.Material = "Neon"
- explosionwave.Size = Vector3.new(1,1,1)
- explosionwave.CFrame = ballzor.CFrame
- render = Instance.new("Sound",explosionwave)
- render.SoundId = "rbxassetid://2006635781"
- render.Volume = 10 * 10
- render:Play()
- local explosionwave2 = Instance.new("Part",Torso)
- explosionwave2.Shape = "Ball"
- explosionwave2.BrickColor = BrickColor.new("Really red")
- explosionwave2.Anchored = true
- explosionwave2.CanCollide = false
- explosionwave2.Material = "Neon"
- explosionwave2.Size = Vector3.new(.8,.8,.8)
- explosionwave2.CFrame = ballzor.CFrame
- deadlywave = Instance.new("Part", explosionwave)
- deadlywave.Size = Vector3.new(1,1,1)
- deadlywave.CanCollide = false
- deadlywave.Anchored = true
- deadlywave.Transparency = .5
- deadlywave.BrickColor = BrickColor.new("Really red")
- deadlywave.CFrame = CFrame.new(explosionwave.Position)
- deadlywavemesh = Instance.new("SpecialMesh", deadlywave)
- deadlywavemesh.Scale = Vector3.new(1,2,1)
- deadlywavemesh.MeshId = "rbxassetid://20329976"
- deadlywave2 = Instance.new("Part", explosionwave)
- deadlywave2.Size = Vector3.new(1,1,1)
- deadlywave2.CanCollide = false
- deadlywave2.Anchored = true
- deadlywave2.Transparency = .5
- deadlywave2.BrickColor = BrickColor.new("Really black")
- deadlywave2.CFrame = CFrame.new(explosionwave.Position)
- deadlywave2mesh = Instance.new("SpecialMesh", deadlywave2)
- deadlywave2mesh.Scale = Vector3.new(3,2,3)
- deadlywave2mesh.MeshId = "rbxassetid://20329976"
- deadlyring = Instance.new("Part", Torso)
- deadlyring.Size = Vector3.new(5, 5, 5)
- deadlyring.Transparency = 0.5
- deadlyring.BrickColor = BrickColor.new("Really black")
- deadlyring.Anchored = true
- deadlyring.CanCollide = false
- deadlyring.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
- deadlyringh = Instance.new("SpecialMesh", deadlyring)
- deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- deadlyringh.Scale = Vector3.new(8, 8, .1)
- deadlyring2 = Instance.new("Part", Torso)
- deadlyring2.Size = Vector3.new(5, 5, 5)
- deadlyring2.Transparency = 0.5
- deadlyring2.BrickColor = BrickColor.new("Really black")
- deadlyring2.Anchored = true
- deadlyring2.CanCollide = false
- deadlyring2.CFrame = deadlywave.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
- deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
- deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- deadlyringh2.Scale = Vector3.new(8, 8, .1)
- ballzor:Remove()
- bigball = false
- staybooming = true
- d = 5
- coroutine.wrap(function()
- while staybooming do
- Hit = damagealll(d,deadlywave.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(10,20))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(deadlywave.Position,torso.Position).lookVector*50
- removeuseless:AddItem(vel,.1)
- end
- wait(.1)
- end
- end)()
- for i = 1, 70 do
- d = d + 1
- deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(.5, .5, .1)
- deadlyringh.Scale = deadlyringh.Scale + Vector3.new(.5, .5, .1)
- deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
- deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
- deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+7),0)
- deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+4),0)
- deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(.4,0,.4)
- deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(.5,0,.5)
- explosionwave.Size = explosionwave.Size + Vector3.new(.5,.5,.5)
- explosionwave2.Size = explosionwave2.Size + Vector3.new(.5,.5,.5)
- swait()
- end
- for i = 1, 80 do
- d = d + 3
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
- deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
- deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
- deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
- deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
- deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
- deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
- deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,2,3)
- deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,1,4)
- explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
- explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
- swait()
- end
- staybooming = false
- for i = 1, 20 do
- d = d + 3
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
- deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(4, 4, .2)
- deadlyringh.Scale = deadlyringh.Scale + Vector3.new(4, 4, .2)
- deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+12),math.rad(0-12),math.rad(0+12))
- deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-12),math.rad(0+12),math.rad(0-12))
- deadlyring.Transparency = deadlyring.Transparency + .25
- deadlyring2.Transparency = deadlyring2.Transparency + .25
- deadlywave.CFrame = deadlywave.CFrame * CFrame.Angles(0,math.rad(0+20),0)
- deadlywave2.CFrame = deadlywave2.CFrame * CFrame.Angles(0,math.rad(0+14),0)
- deadlywavemesh.Scale = deadlywavemesh.Scale + Vector3.new(3,0,3)
- deadlywave2mesh.Scale = deadlywave2mesh.Scale + Vector3.new(4,0,4)
- deadlywave.Transparency = deadlywave.Transparency + .25
- deadlywave2.Transparency = deadlywave2.Transparency + .25
- explosionwave.Size = explosionwave.Size + Vector3.new(4,4,4)
- explosionwave2.Size = explosionwave2.Size + Vector3.new(4,4,4)
- explosionwave.Transparency = explosionwave.Transparency + 0.25
- explosionwave2.Transparency = explosionwave2.Transparency + 0.05
- swait()
- end
- hum.CameraOffset = Vector3.new(0,0,0)
- explosionwave:Remove()
- explosionwave2:Remove()
- end
- end)
- bov = Instance.new("BodyVelocity",ballzor)
- bov.maxForce = Vector3.new(99999,99999,99999)
- ballzor.CFrame = CFrame.new(ballzor.Position,mouse.Hit.p)
- bov.velocity = ballzor.CFrame.lookVector*200
- removeuseless:AddItem(ballzor,4)
- ws = 50
- attacking = false
- debounce = false
- appi = false
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='j' then
- if not levitate then return end
- if debounce then return end
- debounce = true
- charging = true
- attacking = true
- downpress = false
- x = 1
- ws = 0
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- SOUND(RightArm,2014087015,8,false,3)
- coroutine.wrap(function()
- Charge = Instance.new("Sound",RightArm)
- Charge.SoundId = "rbxassetid://101153932"
- Charge.Looped = false
- Charge.Volume = 8
- Charge:Play()
- end)()
- appi = true
- coroutine.wrap(function()
- while appi do
- swait()
- if Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle3"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- swait()
- settime = 0.05
- sine = sine + change
- if position == "Idle3" and attacking == true and appi == true then
- change = .4
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
- end
- end
- end)()
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- swait()
- end
- for i = 1, 3 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- x = x + .1
- blastborb = Instance.new("Part",Torso)
- blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blastborb.BrickColor = BrickColor.new(colors)
- blastborb.Anchored = true
- blastborb.Size = Vector3.new(10,10,10)
- blastborb.CanCollide = false
- blastborb.Material = "Neon"
- for i = 1, 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
- swait()
- end
- blastborb:Remove()
- swait()
- end
- downpress = true
- while charging and x < 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(14), math.rad(20), math.rad(-90)), 0.3)
- x = x + .1
- blastborb = Instance.new("Part",Torso)
- blastborb.CFrame = rightlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blastborb.BrickColor = BrickColor.new(colors)
- blastborb.Anchored = true
- blastborb.Size = Vector3.new(10,10,10)
- blastborb.CanCollide = false
- blastborb.Material = "Neon"
- for i = 1, 5 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.4)
- blastborb.Size = blastborb.Size - Vector3.new(1,1,1)
- swait()
- end
- blastborb:Remove()
- swait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- Charge.Volume = Charge.Volume - .5
- swait()
- end
- end)()
- local bigswoosh = Instance.new("Part",Torso)
- bigswoosh.Name = "bigswoosh"
- bigswoosh.CFrame = Root.CFrame * CFrame.new(1,0,-5)
- bigswoosh.Size = Vector3.new(1,1,1)
- bigswoosh.Material = "Neon"
- bigswoosh.Anchored = true
- bigswoosh.Transparency = 1
- bigswoosh.BrickColor = BrickColor.new("Really red")
- bigswoosh.CanCollide = false
- SOUND(bigswoosh,842332424,10,false,6)
- SOUND(bigswoosh,2017948224,10,false,6)
- SOUND(bigswoosh,138677306,10,false,4)
- coroutine.wrap(function()
- local loc1 = Instance.new("Part",bigswoosh)
- loc1.CFrame = bigswoosh.CFrame * CFrame.new(-3,0,0)
- loc1.Size = Vector3.new(2,2,2)
- loc1.Anchored = true
- loc1.Transparency = 1
- loc1.CanCollide = false
- local loc2 = Instance.new("Part",bigswoosh)
- loc2.CFrame = bigswoosh.CFrame * CFrame.new(3,0,0)
- loc2.Size = Vector3.new(2,2,2)
- loc2.Anchored = true
- loc2.Transparency = 1
- loc2.CanCollide = false
- n = 0
- nb = 0
- for i = 1, 125 do
- n = n + x
- nb = nb - x
- Hit = damagealll(n,bigswoosh.Position)
- for _,v in pairs(Hit) do
- if x > 4.5 then
- v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
- else
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(4+x,10+x))
- end
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(bigswoosh.Position,torso.Position).lookVector*150
- removeuseless:AddItem(vel,.1)
- end
- local bigtrail = Instance.new("Part",LeftArm)
- bigtrail.Size = bigswoosh.Size
- bigtrail.BrickColor = BrickColor.new(colors)
- bigtrail.Anchored = true
- bigtrail.Material = "Neon"
- bigtrail.CFrame = bigswoosh.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- bigtrail.CanCollide = false
- removeuseless:AddItem(bigtrail,2)
- local irritatedground = Instance.new("Part",Torso)
- irritatedground.Size = Vector3.new(n*1.5,1,3*x)
- irritatedground.BrickColor = BrickColor.new(colors)
- irritatedground.Material = "Neon"
- irritatedground.CFrame = bigswoosh.CFrame * CFrame.new(0,-6,0)
- irritatedground.CanCollide = false
- irritatedground.Anchored = true
- removeuseless:AddItem(irritatedground,10)
- local grassblocks = Instance.new("Part",Torso)
- grassblocks.Size = Vector3.new(n/2,n/2,n/2)
- grassblocks.Material = "Grass"
- grassblocks.Anchored = true
- grassblocks.Name = "grassblocks"
- grassblocks.BrickColor = BrickColor.new("Bright green")
- grassblocks.CFrame = loc1.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(grassblocks,10)
- local grassblocks2 = Instance.new("Part",Torso)
- grassblocks2.Size = Vector3.new(n/2,n/2,n/2)
- grassblocks2.Material = "Grass"
- grassblocks2.Anchored = true
- grassblocks2.Name = "grassblocks2"
- grassblocks2.BrickColor = BrickColor.new("Bright green")
- grassblocks2.CFrame = loc2.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(grassblocks2,10)
- bigswoosh.Size = bigswoosh.Size + Vector3.new(x,x,x)
- loc1.CFrame = bigswoosh.CFrame * CFrame.new(n,-3,0)
- loc2.CFrame = bigswoosh.CFrame * CFrame.new(nb,-3,0)
- bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3 - x)
- swait()
- end
- for i = 1, 20 do
- bigswoosh.CFrame = bigswoosh.CFrame * CFrame.new(0,0,-3)
- bigswoosh.Transparency = bigswoosh.Transparency + 0.05
- swait()
- end
- bigswoosh:Remove()
- end)()
- for i = 1, 50 do
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(-25),math.rad(0)), 0.5)
- swait()
- end
- ws = 50
- attacking = false
- debounce = false
- appi = false
- g1:Remove()
- end
- end)
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='k' then
- if not levitate then return end
- if debounce then return end
- debounce = true
- attacking = true
- charging = true
- appi = true
- coroutine.wrap(function()
- while appi do
- swait()
- if Root.Velocity.Magnitude < 2 and attacking == true then
- position = "Idle3"
- end
- end
- end)()
- coroutine.wrap(function()
- while appi do
- swait()
- settime = 0.05
- sine = sine + change
- if position == "Idle3" and attacking == true and appi == true then
- change = .4
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
- end
- end
- end)()
- ws = 0
- g1 = Instance.new("BodyGyro", Root)
- g1.D = 175
- g1.P = 20000
- g1.MaxTorque = Vector3.new(0,9000,0)
- g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
- for i = 1, 15 do
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
- swait()
- end
- r = 0
- for i = 1, 10 do
- r = r + .1
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
- blass = Instance.new("Part",RightArm)
- blass.Size = Vector3.new(r,r,r)
- blass.Material = "Neon"
- blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blass.Anchored = true
- blass.CanCollide = false
- blass.BrickColor = BrickColor.new(colors)
- removeuseless:AddItem(blass,2)
- swait()
- end
- while r < 16 and charging == true do
- r = r + .1
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
- blass = Instance.new("Part",RightArm)
- blass.Size = Vector3.new(r,r,r)
- blass.Material = "Neon"
- blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blass.Anchored = true
- blass.CanCollide = false
- blass.BrickColor = BrickColor.new(colors)
- removeuseless:AddItem(blass,2)
- swait()
- end
- local TheBeam = Instance.new("Part",RightArm)
- TheBeam.Name = "zebeam"
- TheBeam.Size = Vector3.new(1,1,1)
- TheBeam.Material = "Neon"
- TheBeam.Shape = "Cylinder"
- TheBeam.BrickColor = BrickColor.new("Really red")
- TheBeam.Anchored = true
- TheBeam.CanCollide = false
- ws = 12
- bemmo = Instance.new("Sound",RightArm)
- bemmo.SoundId = "rbxassetid://1910988873"
- bemmo.Volume = 8
- bemmo.Looped = false
- bemmo:Play()
- bemmo.TimePosition = 2
- for i = 1, 100 * r/3 do
- if r > 15 then
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
- end
- g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.3)
- local blass = Instance.new("Part",RightArm)
- blass.Size = Vector3.new(r,r,r)
- blass.Material = "Neon"
- blass.CFrame = rightlocation.CFrame * CFrame.new(0,-r/1.5,0) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- blass.Anchored = true
- blass.CanCollide = false
- blass.BrickColor = BrickColor.new(colors)
- removeuseless:AddItem(blass,2)
- local STARTPOS = blass.CFrame*CFrame.new(0,0,0).p
- local ENDHIT,ENDPOS = ray2(STARTPOS,mouse.Hit.p,650,Character)
- local DISTANCE = (STARTPOS - ENDPOS).magnitude
- TheBeam.CFrame = CFrame.new(STARTPOS,ENDPOS)*CFrame.new(0,0,-DISTANCE/2) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
- TheBeam.Size = Vector3.new(DISTANCE,r/math.random(1,2),r/math.random(1,2))
- boom = Instance.new("Part",RightArm)
- boom.Size = Vector3.new(r,r,r)
- boom.BrickColor = BrickColor.new(colors)
- boom.Anchored = true
- boom.CanCollide = false
- boom.Material = "Neon"
- boom.CFrame = CFrame.new(ENDPOS) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(boom,3)
- boom.Touched:connect(function(getbase)
- if hitdebounce then return end
- hitdebounce = true
- if getbase:IsA("Part") then
- damagedground = Instance.new("Part",RightArm)
- damagedground.Size = Vector3.new(.1,5+r,.1)
- damagedground.Material = "Neon"
- damagedground.CanCollide = false
- damagedground.BrickColor = BrickColor.new(colors)
- damagedground.Anchored = true
- damagedground.CFrame = boom.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
- removeuseless:AddItem(damagedground,2)
- wait(.1)
- hitdebounce = false
- end
- end)
- Hit = damagealll(r+3,boom.Position)
- for _,v in pairs(Hit) do
- v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(r/1.1,r))
- vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
- vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
- torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
- vel.velocity = CFrame.new(boom.Position,torso.Position).lookVector*r
- removeuseless:AddItem(vel,.1)
- end
- swait()
- end
- removeuseless:AddItem(g1,.001)
- coroutine.wrap(function()
- for i = 1, 20 do
- bemmo.Volume = bemmo.Volume - 0.5
- blass.Transparency = blass.Transparency + 0.05
- TheBeam.Transparency = TheBeam.Transparency + 0.05
- swait()
- end
- bemmo:Remove()
- if r > 15 then
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- blass:Remove()
- TheBeam:Remove()
- end)()
- ws = 50
- appi = false
- attacking = false
- debounce = false
- end
- end)
- mouse.KeyUp:connect(function(Press)
- Press=Press:lower()
- if Press=='j' then
- charging = false
- end
- end)
- mouse.KeyUp:connect(function(Press)
- Press=Press:lower()
- if Press=='k' then
- charging = false
- end
- end)
- doit = coroutine.wrap(function()
- while true do
- for _,v in pairs(Repeater) do
- v.Scale = v.Scale + Vector3.new(1, 1, 1)
- end
- for _,v in pairs(openshocktable) do
- v.Scale = v.Scale + Vector3.new(3, 3, 3)
- end
- for _,v in pairs(nonmeshRepeater) do
- v.Size = v.Size + Vector3.new(2, 2, 2)
- end
- for _,v in pairs(Extreme) do
- v.Size = v.Size + Vector3.new(6, 6, 6)
- end
- for _,v in pairs(LessSize) do
- v.Size = v.Size - Vector3.new(1, 1, 1)
- end
- for _,v in pairs(nonmeshRepeater2) do
- v.Transparency = v.Transparency + 0.05
- end
- for _,v in pairs(Repeater2) do
- v.Transparency = v.Transparency - 0.05
- end
- for _,v in pairs(th1) do
- v.CFrame = v.CFrame * CFrame.new(0,0+.3,0) * CFrame.Angles(0,math.rad(0+8),0)
- end
- for _,v in pairs(th2) do
- v.CFrame = v.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+15),0)
- end
- for _,v in pairs(th3) do
- v.Scale = v.Scale + Vector3.new(2, 2, 2)
- end
- for _,v in pairs(th5) do
- v.Scale = v.Scale + Vector3.new(1, .1, 1)
- end
- for _,v in pairs(ExtremeM) do
- v.Size = v.Size + Vector3.new(8, 8, 8)
- end
- for _,v in pairs(m3) do
- v.Scale = v.Scale + Vector3.new(.2,.2,.2)
- end
- for _,v in pairs(ExtremeM2) do
- v.Size = v.Size - Vector3.new(2,2,2)
- end
- for _,v in pairs(keyYsize) do
- v.Scale = v.Scale + Vector3.new(8, 8, 1)
- end
- for _,v in pairs(th4) do
- v.Transparency = v.Transparency + 0.009
- v.Rotation = v.Rotation + Vector3.new(3,0,0)
- end
- for _,v in pairs(SlowlyFade) do
- v.Transparency = v.Transparency + 0.05
- end
- for _,v in pairs(keyYtransparency) do
- v.Transparency = v.Transparency + 0.05
- end
- for _,v in pairs(UpMover) do
- v.Position = v.Position + Vector3.new(0, 3, 0)
- end
- for _,v in pairs(ForwardMover) do
- v.CFrame = v.CFrame * CFrame.new(0, 0, 2.4 +(i/.1)) * CFrame.Angles(0, 0, math.rad(0))
- end
- for _,v in pairs(FadeIn) do
- v.Transparency = v.Transparency - .05
- end
- for _,v in pairs(signtransparency) do
- v.TextTransparency = v.TextTransparency + 0.025
- end
- for _,v in pairs(signmover) do
- v.StudsOffset = v.StudsOffset + Vector3.new(math.random(-2,2),.3,math.random(-2,2))
- end
- for _,v in pairs(signrotator) do
- v.Rotation = v.Rotation + 2
- end
- swait()
- end
- end)
- doit()
- t = 0
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='0' then
- if levitate then return end
- shoov = true
- if debounce then return end
- ws = 50
- end
- end)
- mouse.KeyUp:connect(function(Press)
- Press=Press:lower()
- if Press=='0' then
- if levitate then return end
- shoov = false
- if debounce then return end
- ws = 10
- end
- end)
- local anims = coroutine.wrap(function()
- while true do
- settime = 0.05
- sine = sine + change
- if position == "Jump" and attacking == false then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(3),math.rad(4)), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
- elseif position == "Jump2" and attacking == false and levitate then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Falling" and attacking == false and levitate == false then
- change = 1
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.2)
- elseif position == "Falling2" and attacking == false and levitate then
- change = 1
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Walking" and attacking == false and running == false then
- change = 1
- walking = true
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + RightLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) + LeftLeg.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/8))), 0.3)
- elseif position == "Idle" and attacking == false and running == false and not levitate then
- change = .5
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(25),math.rad(0)),.1)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - 1 * math.sin(sine/12)),math.rad(40 - 2 * math.sin(sine/12))), 0.1)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.1)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + 1 * math.sin(sine/12)),math.rad(-40 + 2 * math.sin(sine/12))), 0.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
- elseif position == "Idle2" and attacking == false and running == false then
- change = .75
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
- LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- RIGHTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 + 3 * math.sin(sine/9)), math.rad(35 - 5 * math.sin(sine/9))), 0.4)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.8 - .1 * math.sin(sine/9), 0) * CFrame.Angles(math.rad(0), math.rad(0 - 3 * math.sin(sine/9)), math.rad(-35 + 5 * math.sin(sine/9))), 0.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
- elseif position == "Walking2" and attacking == false and running == false then
- ws = 50
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(-.2,1.2,-.3),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
- elseif position == "Running" and attacking == false then
- change = 1
- RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(1.24+.6*math.sin(sine/4)/1.4, 0.54, 0+0.8*math.sin(sine/4)) * CFrame.Angles(math.rad(6-140*math.sin(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.sin(sine/4))), 0.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
- end
- swait()
- end
- end)
- anims()
- warn("Prepare for a magic trick full of pain and regret. Made by Supr14")
- end)
- None_3.Name = "None"
- None_3.Parent = Main
- None_3.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_3.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_3.BorderSizePixel = 0
- None_3.Position = UDim2.new(0, 0, 0.728613555, 0)
- None_3.Size = UDim2.new(0, 164, 0, 40)
- None_3.Font = Enum.Font.Cartoon
- None_3.Text = "None"
- None_3.TextColor3 = Color3.new(0, 0, 0)
- None_3.TextSize = 25
- None_4.Name = "None"
- None_4.Parent = Main
- None_4.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_4.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_4.BorderSizePixel = 0
- None_4.Position = UDim2.new(0.32407406, 0, 0.520857632, 0)
- None_4.Size = UDim2.new(0, 195, 0, 44)
- None_4.Font = Enum.Font.Cartoon
- None_4.Text = "None"
- None_4.TextColor3 = Color3.new(0, 0, 0)
- None_4.TextSize = 25
- None_5.Name = "None"
- None_5.Parent = Main
- None_5.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_5.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_5.BorderSizePixel = 0
- None_5.Position = UDim2.new(0.32407406, 0, 0.326400161, 0)
- None_5.Size = UDim2.new(0, 195, 0, 41)
- None_5.Font = Enum.Font.Cartoon
- None_5.Text = "None"
- None_5.TextColor3 = Color3.new(0, 0, 0)
- None_5.TextSize = 25
- None_6.Name = "None"
- None_6.Parent = Main
- None_6.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_6.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_6.BorderSizePixel = 0
- None_6.Position = UDim2.new(0.32407406, 0, 0.126843661, 0)
- None_6.Size = UDim2.new(0, 195, 0, 40)
- None_6.Font = Enum.Font.Cartoon
- None_6.Text = "None"
- None_6.TextColor3 = Color3.new(0, 0, 0)
- None_6.TextSize = 25
- None_7.Name = "None"
- None_7.Parent = Main
- None_7.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_7.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_7.BorderSizePixel = 0
- None_7.Position = UDim2.new(0.32407406, 0, 0.728613555, 0)
- None_7.Size = UDim2.new(0, 195, 0, 40)
- None_7.Font = Enum.Font.Cartoon
- None_7.Text = "None"
- None_7.TextColor3 = Color3.new(0, 0, 0)
- None_7.TextSize = 25
- None_8.Name = "None"
- None_8.Parent = Main
- None_8.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_8.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_8.BorderSizePixel = 0
- None_8.Position = UDim2.new(0.714814842, 0, 0.520857632, 0)
- None_8.Size = UDim2.new(0, 154, 0, 44)
- None_8.Font = Enum.Font.Cartoon
- None_8.Text = "None"
- None_8.TextColor3 = Color3.new(0, 0, 0)
- None_8.TextSize = 25
- None_9.Name = "None"
- None_9.Parent = Main
- None_9.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_9.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_9.BorderSizePixel = 0
- None_9.Position = UDim2.new(0.714814842, 0, 0.326400161, 0)
- None_9.Size = UDim2.new(0, 154, 0, 41)
- None_9.Font = Enum.Font.Cartoon
- None_9.Text = "None"
- None_9.TextColor3 = Color3.new(0, 0, 0)
- None_9.TextSize = 25
- None_10.Name = "None"
- None_10.Parent = Main
- None_10.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_10.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_10.BorderSizePixel = 0
- None_10.Position = UDim2.new(0.714814842, 0, 0.126843661, 0)
- None_10.Size = UDim2.new(0, 154, 0, 40)
- None_10.Font = Enum.Font.Cartoon
- None_10.Text = "None"
- None_10.TextColor3 = Color3.new(0, 0, 0)
- None_10.TextSize = 25
- None_11.Name = "None"
- None_11.Parent = Main
- None_11.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- None_11.BorderColor3 = Color3.new(0.113725, 0.172549, 0.207843)
- None_11.BorderSizePixel = 0
- None_11.Position = UDim2.new(0.714814842, 0, 0.728613555, 0)
- None_11.Size = UDim2.new(0, 154, 0, 40)
- None_11.Font = Enum.Font.Cartoon
- None_11.Text = "None"
- None_11.TextColor3 = Color3.new(0, 0, 0)
- None_11.TextSize = 25
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.BorderSizePixel = 9
- Close.Position = UDim2.new(0.877777755, 0, 0, 0)
- Close.Size = UDim2.new(0, 66, 0, 43)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(1, 0, 0.0156863)
- Close.TextSize = 50
- Close.MouseButton1Down:connect(function()OpenFrame.Visible = true
- Main.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement