Created
January 15, 2021 17:05
-
-
Save Edizilllas/d4e00c51fdbc487a22a6e0158aa9cccb to your computer and use it in GitHub Desktop.
Ultimate trolling gui for exploits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Gui to Lua | |
-- Version: 3.2 | |
-- Instances: | |
local InsertedObjects = Instance.new("ScreenGui") | |
local Main = Instance.new("ImageButton") | |
local ScrollingFrame = Instance.new("ScrollingFrame") | |
local Dominusastra = Instance.new("ImageButton") | |
local TextLabel = Instance.new("TextLabel") | |
local Vereus = Instance.new("ImageButton") | |
local TextLabel_2 = Instance.new("TextLabel") | |
local Pandora = Instance.new("ImageButton") | |
local TextLabel_3 = Instance.new("TextLabel") | |
local Sindragon = Instance.new("ImageButton") | |
local TextLabel_4 = Instance.new("TextLabel") | |
local SinUnleashed = Instance.new("ImageButton") | |
local TextLabel_5 = Instance.new("TextLabel") | |
local Astrie = Instance.new("ImageButton") | |
local TextLabel_6 = Instance.new("TextLabel") | |
local Roadrollerda = Instance.new("ImageButton") | |
local TextLabel_7 = Instance.new("TextLabel") | |
local DualRainbowSword = Instance.new("ImageButton") | |
local TextLabel_8 = Instance.new("TextLabel") | |
local Banhammer = Instance.new("ImageButton") | |
local TextLabel_9 = Instance.new("TextLabel") | |
local Tsunami = Instance.new("ImageButton") | |
local TextLabel_10 = Instance.new("TextLabel") | |
local Illuminati = Instance.new("ImageButton") | |
local TextLabel_11 = Instance.new("TextLabel") | |
local Bigsmoke = Instance.new("ImageButton") | |
local TextLabel_12 = Instance.new("TextLabel") | |
local Johndoe = Instance.new("ImageButton") | |
local TextLabel_13 = Instance.new("TextLabel") | |
local DeathStar = Instance.new("ImageButton") | |
local TextLabel_14 = Instance.new("TextLabel") | |
local TheMurderer = Instance.new("ImageButton") | |
local TextLabel_15 = Instance.new("TextLabel") | |
local TextLabel_16 = Instance.new("TextLabel") | |
local TextLabel_17 = Instance.new("TextLabel") | |
local X = Instance.new("ImageButton") | |
local TextLabel_18 = Instance.new("TextLabel") | |
--Properties: | |
InsertedObjects.Name = "InsertedObjects" | |
InsertedObjects.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") | |
Main.Name = "Main" | |
Main.Parent = InsertedObjects | |
Main.BackgroundColor3 = Color3.fromRGB(170, 0, 255) | |
Main.BackgroundTransparency = 1.000 | |
Main.Position = UDim2.new(0.11285986, 0, 0.195571959, 0) | |
Main.Size = UDim2.new(0, 252, 0, 383) | |
Main.Image = "rbxassetid://2790389767" | |
Main.ImageColor3 = Color3.fromRGB(170, 0, 255) | |
Main.ScaleType = Enum.ScaleType.Slice | |
Main.SliceCenter = Rect.new(8, 8, 248, 248) | |
ScrollingFrame.Parent = Main | |
ScrollingFrame.Active = true | |
ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
ScrollingFrame.BorderSizePixel = 0 | |
ScrollingFrame.Position = UDim2.new(0.0586167723, 0, 0.179824159, 0) | |
ScrollingFrame.Size = UDim2.new(0, 223, 0, 239) | |
ScrollingFrame.CanvasPosition = Vector2.new(0, 450) | |
Dominusastra.Name = "Dominus astra" | |
Dominusastra.Parent = ScrollingFrame | |
Dominusastra.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Dominusastra.BackgroundTransparency = 1.000 | |
Dominusastra.Position = UDim2.new(0.102384992, 0, 0.06232116, 0) | |
Dominusastra.Size = UDim2.new(0, 176, 0, 32) | |
Dominusastra.Image = "rbxassetid://2790382281" | |
Dominusastra.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Dominusastra.ScaleType = Enum.ScaleType.Slice | |
Dominusastra.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel.Parent = Dominusastra | |
TextLabel.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel.BackgroundTransparency = 1.000 | |
TextLabel.BorderSizePixel = 0 | |
TextLabel.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel.Font = Enum.Font.GothamSemibold | |
TextLabel.Text = "Dominus astra" | |
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel.TextSize = 14.000 | |
Vereus.Name = "Vereus" | |
Vereus.Parent = ScrollingFrame | |
Vereus.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Vereus.BackgroundTransparency = 1.000 | |
Vereus.Position = UDim2.new(0.102384992, 0, 0.183731079, 0) | |
Vereus.Size = UDim2.new(0, 176, 0, 32) | |
Vereus.Image = "rbxassetid://2790382281" | |
Vereus.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Vereus.ScaleType = Enum.ScaleType.Slice | |
Vereus.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_2.Parent = Vereus | |
TextLabel_2.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_2.BackgroundTransparency = 1.000 | |
TextLabel_2.BorderSizePixel = 0 | |
TextLabel_2.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_2.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_2.Font = Enum.Font.GothamSemibold | |
TextLabel_2.Text = "Vereus" | |
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_2.TextSize = 14.000 | |
Pandora.Name = "Pandora" | |
Pandora.Parent = ScrollingFrame | |
Pandora.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Pandora.BackgroundTransparency = 1.000 | |
Pandora.Position = UDim2.new(0.101352885, 0, 0.124984324, 0) | |
Pandora.Size = UDim2.new(0, 176, 0, 32) | |
Pandora.Image = "rbxassetid://2790382281" | |
Pandora.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Pandora.ScaleType = Enum.ScaleType.Slice | |
Pandora.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_3.Parent = Pandora | |
TextLabel_3.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_3.BackgroundTransparency = 1.000 | |
TextLabel_3.BorderSizePixel = 0 | |
TextLabel_3.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_3.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_3.Font = Enum.Font.GothamSemibold | |
TextLabel_3.Text = "Pandora" | |
TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_3.TextSize = 14.000 | |
Sindragon.Name = "Sin dragon" | |
Sindragon.Parent = ScrollingFrame | |
Sindragon.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Sindragon.BackgroundTransparency = 1.000 | |
Sindragon.Position = UDim2.new(0.101352893, 0, 0.00836116821, 0) | |
Sindragon.Size = UDim2.new(0, 176, 0, 32) | |
Sindragon.Image = "rbxassetid://2790382281" | |
Sindragon.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Sindragon.ScaleType = Enum.ScaleType.Slice | |
Sindragon.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_4.Parent = Sindragon | |
TextLabel_4.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_4.BackgroundTransparency = 1.000 | |
TextLabel_4.BorderSizePixel = 0 | |
TextLabel_4.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_4.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_4.Font = Enum.Font.GothamSemibold | |
TextLabel_4.Text = "Sin dragon" | |
TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_4.TextSize = 14.000 | |
SinUnleashed.Name = "Sin Unleashed" | |
SinUnleashed.Parent = ScrollingFrame | |
SinUnleashed.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
SinUnleashed.BackgroundTransparency = 1.000 | |
SinUnleashed.Position = UDim2.new(0.102384992, 0, 0.237691015, 0) | |
SinUnleashed.Size = UDim2.new(0, 176, 0, 32) | |
SinUnleashed.Image = "rbxassetid://2790382281" | |
SinUnleashed.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
SinUnleashed.ScaleType = Enum.ScaleType.Slice | |
SinUnleashed.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_5.Parent = SinUnleashed | |
TextLabel_5.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_5.BackgroundTransparency = 1.000 | |
TextLabel_5.BorderSizePixel = 0 | |
TextLabel_5.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_5.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_5.Font = Enum.Font.GothamSemibold | |
TextLabel_5.Text = "Sin Unleashed" | |
TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_5.TextSize = 14.000 | |
Astrie.Name = "Astrie " | |
Astrie.Parent = ScrollingFrame | |
Astrie.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Astrie.BackgroundTransparency = 1.000 | |
Astrie.Position = UDim2.new(0.102384992, 0, 0.300354213, 0) | |
Astrie.Size = UDim2.new(0, 176, 0, 32) | |
Astrie.Image = "rbxassetid://2790382281" | |
Astrie.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Astrie.ScaleType = Enum.ScaleType.Slice | |
Astrie.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_6.Parent = Astrie | |
TextLabel_6.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_6.BackgroundTransparency = 1.000 | |
TextLabel_6.BorderSizePixel = 0 | |
TextLabel_6.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_6.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_6.Font = Enum.Font.GothamSemibold | |
TextLabel_6.Text = "Astrie " | |
TextLabel_6.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_6.TextSize = 14.000 | |
Roadrollerda.Name = "Road roller da" | |
Roadrollerda.Parent = ScrollingFrame | |
Roadrollerda.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Roadrollerda.BackgroundTransparency = 1.000 | |
Roadrollerda.Position = UDim2.new(0.102384992, 0, 0.349962562, 0) | |
Roadrollerda.Size = UDim2.new(0, 176, 0, 32) | |
Roadrollerda.Image = "rbxassetid://2790382281" | |
Roadrollerda.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Roadrollerda.ScaleType = Enum.ScaleType.Slice | |
Roadrollerda.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_7.Parent = Roadrollerda | |
TextLabel_7.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_7.BackgroundTransparency = 1.000 | |
TextLabel_7.BorderSizePixel = 0 | |
TextLabel_7.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_7.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_7.Font = Enum.Font.GothamSemibold | |
TextLabel_7.Text = "Road roller da" | |
TextLabel_7.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_7.TextSize = 14.000 | |
DualRainbowSword.Name = "Dual Rainbow Sword" | |
DualRainbowSword.Parent = ScrollingFrame | |
DualRainbowSword.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
DualRainbowSword.BackgroundTransparency = 1.000 | |
DualRainbowSword.Position = UDim2.new(0.0979006886, 0, 0.402617097, 0) | |
DualRainbowSword.Size = UDim2.new(0, 176, 0, 32) | |
DualRainbowSword.Image = "rbxassetid://2790382281" | |
DualRainbowSword.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
DualRainbowSword.ScaleType = Enum.ScaleType.Slice | |
DualRainbowSword.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_8.Parent = DualRainbowSword | |
TextLabel_8.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_8.BackgroundTransparency = 1.000 | |
TextLabel_8.BorderSizePixel = 0 | |
TextLabel_8.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_8.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_8.Font = Enum.Font.GothamSemibold | |
TextLabel_8.Text = "Dual Rainbow Sword" | |
TextLabel_8.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_8.TextSize = 14.000 | |
Banhammer.Name = "Ban hammer" | |
Banhammer.Parent = ScrollingFrame | |
Banhammer.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Banhammer.BackgroundTransparency = 1.000 | |
Banhammer.Position = UDim2.new(0.102384992, 0, 0.453095734, 0) | |
Banhammer.Size = UDim2.new(0, 176, 0, 32) | |
Banhammer.Image = "rbxassetid://2790382281" | |
Banhammer.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Banhammer.ScaleType = Enum.ScaleType.Slice | |
Banhammer.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_9.Parent = Banhammer | |
TextLabel_9.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_9.BackgroundTransparency = 1.000 | |
TextLabel_9.BorderSizePixel = 0 | |
TextLabel_9.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_9.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_9.Font = Enum.Font.GothamSemibold | |
TextLabel_9.Text = "Ban hammer" | |
TextLabel_9.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_9.TextSize = 14.000 | |
Tsunami.Name = "Tsunami" | |
Tsunami.Parent = ScrollingFrame | |
Tsunami.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Tsunami.BackgroundTransparency = 1.000 | |
Tsunami.Position = UDim2.new(0.102384992, 0, 0.504879951, 0) | |
Tsunami.Size = UDim2.new(0, 176, 0, 32) | |
Tsunami.Image = "rbxassetid://2790382281" | |
Tsunami.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Tsunami.ScaleType = Enum.ScaleType.Slice | |
Tsunami.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_10.Parent = Tsunami | |
TextLabel_10.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_10.BackgroundTransparency = 1.000 | |
TextLabel_10.BorderSizePixel = 0 | |
TextLabel_10.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_10.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_10.Font = Enum.Font.GothamSemibold | |
TextLabel_10.Text = "Tsunami" | |
TextLabel_10.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_10.TextSize = 14.000 | |
Illuminati.Name = "Illuminati" | |
Illuminati.Parent = ScrollingFrame | |
Illuminati.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Illuminati.BackgroundTransparency = 1.000 | |
Illuminati.Position = UDim2.new(0.102384992, 0, 0.554923415, 0) | |
Illuminati.Size = UDim2.new(0, 176, 0, 32) | |
Illuminati.Image = "rbxassetid://2790382281" | |
Illuminati.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Illuminati.ScaleType = Enum.ScaleType.Slice | |
Illuminati.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_11.Parent = Illuminati | |
TextLabel_11.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_11.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_11.BackgroundTransparency = 1.000 | |
TextLabel_11.BorderSizePixel = 0 | |
TextLabel_11.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_11.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_11.Font = Enum.Font.GothamSemibold | |
TextLabel_11.Text = "Illuminati" | |
TextLabel_11.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_11.TextSize = 14.000 | |
Bigsmoke.Name = "Big smoke" | |
Bigsmoke.Parent = ScrollingFrame | |
Bigsmoke.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Bigsmoke.BackgroundTransparency = 1.000 | |
Bigsmoke.Position = UDim2.new(0.102384992, 0, 0.608448207, 0) | |
Bigsmoke.Size = UDim2.new(0, 176, 0, 32) | |
Bigsmoke.Image = "rbxassetid://2790382281" | |
Bigsmoke.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Bigsmoke.ScaleType = Enum.ScaleType.Slice | |
Bigsmoke.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_12.Parent = Bigsmoke | |
TextLabel_12.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_12.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_12.BackgroundTransparency = 1.000 | |
TextLabel_12.BorderSizePixel = 0 | |
TextLabel_12.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_12.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_12.Font = Enum.Font.GothamSemibold | |
TextLabel_12.Text = "Big smoke" | |
TextLabel_12.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_12.TextSize = 14.000 | |
Johndoe.Name = "John doe" | |
Johndoe.Parent = ScrollingFrame | |
Johndoe.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
Johndoe.BackgroundTransparency = 1.000 | |
Johndoe.Position = UDim2.new(0.102384992, 0, 0.660667539, 0) | |
Johndoe.Size = UDim2.new(0, 176, 0, 32) | |
Johndoe.Image = "rbxassetid://2790382281" | |
Johndoe.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
Johndoe.ScaleType = Enum.ScaleType.Slice | |
Johndoe.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_13.Parent = Johndoe | |
TextLabel_13.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_13.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_13.BackgroundTransparency = 1.000 | |
TextLabel_13.BorderSizePixel = 0 | |
TextLabel_13.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_13.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_13.Font = Enum.Font.GothamSemibold | |
TextLabel_13.Text = "John doe" | |
TextLabel_13.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_13.TextSize = 14.000 | |
DeathStar.Name = "Death Star" | |
DeathStar.Parent = ScrollingFrame | |
DeathStar.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
DeathStar.BackgroundTransparency = 1.000 | |
DeathStar.Position = UDim2.new(0.102384992, 0, 0.715497851, 0) | |
DeathStar.Size = UDim2.new(0, 176, 0, 32) | |
DeathStar.Image = "rbxassetid://2790382281" | |
DeathStar.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
DeathStar.ScaleType = Enum.ScaleType.Slice | |
DeathStar.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_14.Parent = DeathStar | |
TextLabel_14.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_14.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_14.BackgroundTransparency = 1.000 | |
TextLabel_14.BorderSizePixel = 0 | |
TextLabel_14.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_14.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_14.Font = Enum.Font.GothamSemibold | |
TextLabel_14.Text = "Death Star" | |
TextLabel_14.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_14.TextSize = 14.000 | |
TheMurderer.Name = "The Murderer" | |
TheMurderer.Parent = ScrollingFrame | |
TheMurderer.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TheMurderer.BackgroundTransparency = 1.000 | |
TheMurderer.Position = UDim2.new(0.102384992, 0, 0.771633625, 0) | |
TheMurderer.Size = UDim2.new(0, 176, 0, 32) | |
TheMurderer.Image = "rbxassetid://2790382281" | |
TheMurderer.ImageColor3 = Color3.fromRGB(0, 170, 127) | |
TheMurderer.ScaleType = Enum.ScaleType.Slice | |
TheMurderer.SliceCenter = Rect.new(4, 4, 252, 252) | |
TextLabel_15.Parent = TheMurderer | |
TextLabel_15.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_15.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_15.BackgroundTransparency = 1.000 | |
TextLabel_15.BorderSizePixel = 0 | |
TextLabel_15.Position = UDim2.new(0.485000014, 0, 0.425000012, 0) | |
TextLabel_15.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_15.Font = Enum.Font.GothamSemibold | |
TextLabel_15.Text = "The Murderer" | |
TextLabel_15.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_15.TextSize = 14.000 | |
TextLabel_16.Parent = Main | |
TextLabel_16.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_16.BackgroundTransparency = 1.000 | |
TextLabel_16.Position = UDim2.new(-0.00147390366, 0, -0.00159540772, 0) | |
TextLabel_16.Size = UDim2.new(0, 252, 0, 50) | |
TextLabel_16.Font = Enum.Font.SourceSans | |
TextLabel_16.Text = "Ultimate trolling gui" | |
TextLabel_16.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_16.TextSize = 30.000 | |
TextLabel_17.Parent = Main | |
TextLabel_17.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_17.Position = UDim2.new(0.0546485074, 0, 0.831744254, 0) | |
TextLabel_17.Size = UDim2.new(0, 222, 0, 22) | |
TextLabel_17.Font = Enum.Font.SourceSans | |
TextLabel_17.Text = "Created by Edizilllas01" | |
TextLabel_17.TextColor3 = Color3.fromRGB(0, 0, 0) | |
TextLabel_17.TextSize = 30.000 | |
X.Name = "X" | |
X.Parent = Main | |
X.BackgroundColor3 = Color3.fromRGB(255, 0, 0) | |
X.BackgroundTransparency = 1.000 | |
X.Position = UDim2.new(0.932705343, 0, -0.0520507097, 0) | |
X.Size = UDim2.new(0, 33, 0, 40) | |
X.Image = "rbxassetid://2790390993" | |
X.ImageColor3 = Color3.fromRGB(255, 3, 3) | |
X.ScaleType = Enum.ScaleType.Slice | |
X.SliceCenter = Rect.new(16, 16, 240, 240) | |
TextLabel_18.Parent = X | |
TextLabel_18.AnchorPoint = Vector2.new(0.5, 0.5) | |
TextLabel_18.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_18.BackgroundTransparency = 1.000 | |
TextLabel_18.BorderSizePixel = 0 | |
TextLabel_18.Position = UDim2.new(0.5, 0, 0.5, 0) | |
TextLabel_18.Size = UDim2.new(1, -5, 1, -5) | |
TextLabel_18.Font = Enum.Font.GothamSemibold | |
TextLabel_18.Text = "X" | |
TextLabel_18.TextColor3 = Color3.fromRGB(255, 255, 255) | |
TextLabel_18.TextSize = 20.000 | |
Banhammer.MouseButton1Down:connect(function() | |
--//====================================================\\-- | |
--|| EDIT BY HOANGCHANNELVN CREATED BY SHACKLUSTER | |
--\\====================================================//-- | |
wait(0.2) | |
Player = game:GetService("Players").LocalPlayer | |
PlayerGui = Player.PlayerGui | |
Cam = workspace.CurrentCamera | |
Backpack = Player.Backpack | |
Character = Player.Character | |
Humanoid = Character.Humanoid | |
Mouse = Player:GetMouse() | |
RootPart = Character["HumanoidRootPart"] | |
Torso = Character["Torso"] | |
Head = Character["Head"] | |
RightArm = Character["Right Arm"] | |
LeftArm = Character["Left Arm"] | |
RightLeg = Character["Right Leg"] | |
LeftLeg = Character["Left Leg"] | |
RootJoint = RootPart["RootJoint"] | |
Neck = Torso["Neck"] | |
RightShoulder = Torso["Right Shoulder"] | |
LeftShoulder = Torso["Left Shoulder"] | |
RightHip = Torso["Right Hip"] | |
LeftHip = Torso["Left Hip"] | |
local ban = Instance.new("Sound",Character) | |
ban.SoundId = "rbxassetid://524240084" | |
ban.Looped = true | |
ban.Pitch = 1 | |
ban.Volume = 5 | |
ban:Play() | |
IT = Instance.new | |
CF = CFrame.new | |
VT = Vector3.new | |
RAD = math.rad | |
C3 = Color3.new | |
UD2 = UDim2.new | |
BRICKC = BrickColor.new | |
ANGLES = CFrame.Angles | |
EULER = CFrame.fromEulerAnglesXYZ | |
COS = math.cos | |
ACOS = math.acos | |
SIN = math.sin | |
ASIN = math.asin | |
ABS = math.abs | |
MRANDOM = math.random | |
FLOOR = math.floor | |
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
local NEWMESH = IT(MESH) | |
if MESH == "SpecialMesh" then | |
NEWMESH.MeshType = MESHTYPE | |
if MESHID ~= "nil" and MESHID ~= "" then | |
NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
end | |
if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
end | |
end | |
NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
NEWMESH.Scale = SCALE | |
NEWMESH.Parent = PARENT | |
return NEWMESH | |
end | |
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
local NEWPART = IT("Part") | |
NEWPART.formFactor = FORMFACTOR | |
NEWPART.Reflectance = REFLECTANCE | |
NEWPART.Transparency = TRANSPARENCY | |
NEWPART.CanCollide = false | |
NEWPART.Locked = true | |
NEWPART.Anchored = true | |
if ANCHOR == false then | |
NEWPART.Anchored = false | |
end | |
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
NEWPART.Name = NAME | |
NEWPART.Size = SIZE | |
NEWPART.Position = Torso.Position | |
NEWPART.Material = MATERIAL | |
NEWPART:BreakJoints() | |
NEWPART.Parent = PARENT | |
return NEWPART | |
end | |
function CharacterFade(COLOR,TIMER) | |
coroutine.resume(coroutine.create(function() | |
local FADE = IT("Model",Effects) | |
for _, c in pairs(Character:GetChildren()) do | |
if c.ClassName == "Part" and c ~= RootPart then | |
local FADER = c:Clone() | |
FADER.Color = COLOR | |
FADER.CFrame = c.CFrame | |
FADER.Parent = FADE | |
FADER.Anchored = true | |
FADER.Transparency = 0.25 | |
FADER:BreakJoints() | |
FADER.Material = "Glass" | |
FADER:ClearAllChildren() | |
if FADER.Name == "Head" then | |
FADER.Size = VT(1,1,1) | |
end | |
end | |
end | |
local TRANS = 0.75/TIMER | |
for i = 1, TIMER do | |
Swait() | |
for _, c in pairs(FADE:GetChildren()) do | |
if c.ClassName == "Part" then | |
c.Transparency = c.Transparency + TRANS | |
end | |
end | |
end | |
FADE:remove() | |
end)) | |
end | |
--WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
function WACKYEFFECT(Table) | |
local TYPE = (Table.EffectType or "Sphere") | |
local SIZE = (Table.Size or VT(1,1,1)) | |
local ENDSIZE = (Table.Size2 or VT(0,0,0)) | |
local TRANSPARENCY = (Table.Transparency or 0) | |
local ENDTRANSPARENCY = (Table.Transparency2 or 1) | |
local CFRAME = (Table.CFrame or Torso.CFrame) | |
local MOVEDIRECTION = (Table.MoveToPos or nil) | |
local ROTATION1 = (Table.RotationX or 0) | |
local ROTATION2 = (Table.RotationY or 0) | |
local ROTATION3 = (Table.RotationZ or 0) | |
local MATERIAL = (Table.Material or "Neon") | |
local COLOR = (Table.Color or C3(1,1,1)) | |
local TIME = (Table.Time or 45) | |
local SOUNDID = (Table.SoundID or nil) | |
local SOUNDPITCH = (Table.SoundPitch or nil) | |
local SOUNDVOLUME = (Table.SoundVolume or nil) | |
coroutine.resume(coroutine.create(function() | |
local PLAYSSOUND = false | |
local SOUND = nil | |
local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) | |
if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then | |
PLAYSSOUND = true | |
SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) | |
end | |
EFFECT.Color = COLOR | |
local MSH = nil | |
if TYPE == "Sphere" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) | |
elseif TYPE == "Block" then | |
MSH = IT("BlockMesh",EFFECT) | |
MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) | |
elseif TYPE == "Wave" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) | |
elseif TYPE == "Ring" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) | |
elseif TYPE == "Slash" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
elseif TYPE == "Round Slash" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) | |
elseif TYPE == "Swirl" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
elseif TYPE == "Skull" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) | |
elseif TYPE == "Crystal" then | |
MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) | |
end | |
if MSH ~= nil then | |
local MOVESPEED = nil | |
if MOVEDIRECTION ~= nil then | |
MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME | |
end | |
local GROWTH = SIZE - ENDSIZE | |
local TRANS = TRANSPARENCY - ENDTRANSPARENCY | |
if TYPE == "Block" then | |
EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
else | |
EFFECT.CFrame = CFRAME | |
end | |
for LOOP = 1, TIME+1 do | |
Swait() | |
MSH.Scale = MSH.Scale - GROWTH/TIME | |
if TYPE == "Wave" then | |
MSH.Offset = VT(0,0,-MSH.Scale.X/8) | |
end | |
EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME | |
if TYPE == "Block" then | |
EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) | |
else | |
EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) | |
end | |
if MOVEDIRECTION ~= nil then | |
local ORI = EFFECT.Orientation | |
EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) | |
EFFECT.Orientation = ORI | |
end | |
end | |
if PLAYSSOUND == false then | |
EFFECT:remove() | |
else | |
repeat Swait() until SOUND.Playing == false | |
EFFECT:remove() | |
end | |
else | |
if PLAYSSOUND == false then | |
EFFECT:remove() | |
else | |
repeat Swait() until SOUND.Playing == false | |
EFFECT:remove() | |
end | |
end | |
end)) | |
end | |
--//=================================\\ | |
--|| CUSTOMIZATION | |
--\\=================================// | |
Player_Size = 1 --Size of the player. | |
Animation_Speed = 3 | |
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
local Speed = 16 | |
local Effects2 = {} | |
--//=================================\\ | |
--|| END OF CUSTOMIZATION | |
--\\=================================// | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
local acs = Instance.new("Part") | |
acs.CanCollide = false | |
acs.Anchored = false | |
acs.Size = Vector3.new(0,0,0) | |
acs.CFrame = attachmentpart.CFrame | |
acs.Parent = Character | |
acs.BrickColor = color | |
local meshs = Instance.new("SpecialMesh") | |
meshs.MeshId = mesh | |
meshs.TextureId = texture | |
meshs.Parent = acs | |
meshs.Scale = scale | |
meshs.Offset = offset | |
weldBetween(attachmentpart,acs) | |
end | |
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
if TYPE == "Gem" then | |
local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Skull" then | |
local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Eye" then | |
local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
end | |
end | |
--//=================================\\ | |
--|| USEFUL VALUES | |
--\\=================================// | |
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
local CHANGEDEFENSE = 0 | |
local CHANGEDAMAGE = 0 | |
local CHANGEMOVEMENT = 0 | |
local ANIM = "Idle" | |
local ATTACK = false | |
local EQUIPPED = false | |
local HOLD = false | |
local COMBO = 1 | |
local Rooted = false | |
local SINE = 0 | |
local KEYHOLD = false | |
local CHANGE = 2 / Animation_Speed | |
local WALKINGANIM = false | |
local WALK = 0 | |
local VALUE1 = false | |
local HITFLOOR = nil | |
local VALUE2 = false | |
local ROBLOXIDLEANIMATION = IT("Animation") | |
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
--ROBLOXIDLEANIMATION.Parent = Humanoid | |
local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
WEAPONGUI.Name = "Weapon GUI" | |
local Weapon = IT("Model") | |
Weapon.Name = "Adds" | |
local Delete = IT("Model",Character) | |
Delete.Name = "Banlist" | |
local Effects = IT("Folder", Weapon) | |
Effects.Name = "Effects" | |
local ANIMATOR = Humanoid.Animator | |
local ANIMATE = Character.Animate | |
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
local UNANCHOR = true | |
local SKILLTEXTCOLOR = C3(1,0,0) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
--\\=================================// | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "ArtificialHB" | |
script:WaitForChild("ArtificialHB") | |
frame = Frame_Speed | |
tf = 0 | |
allowframeloss = false | |
tossremainder = false | |
lastframe = tick() | |
script.ArtificialHB:Fire() | |
game:GetService("RunService").Heartbeat:connect(function(s, p) | |
tf = tf + s | |
if tf >= frame then | |
if allowframeloss then | |
script.ArtificialHB:Fire() | |
lastframe = tick() | |
else | |
for i = 1, math.floor(tf / frame) do | |
script.ArtificialHB:Fire() | |
end | |
lastframe = tick() | |
end | |
if tossremainder then | |
tf = 0 | |
else | |
tf = tf - frame * math.floor(tf / frame) | |
end | |
end | |
end) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SOME FUNCTIONS | |
--\\=================================// | |
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
end | |
function PositiveAngle(NUMBER) | |
if NUMBER >= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function NegativeAngle(NUMBER) | |
if NUMBER <= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function Swait(NUMBER) | |
if NUMBER == 0 or NUMBER == nil then | |
ArtificialHB.Event:wait() | |
else | |
for i = 1, NUMBER do | |
ArtificialHB.Event:wait() | |
end | |
end | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5 / s | |
return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00 - m11 - m22 + 1) | |
local recip = 0.5 / s | |
return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
elseif i == 1 then | |
local s = math.sqrt(m11 - m22 - m00 + 1) | |
local recip = 0.5 / s | |
return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
elseif i == 2 then | |
local s = math.sqrt(m22 - m00 - m11 + 1) | |
local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w * xs, w * ys, w * zs | |
local xx = x * xs | |
local xy = x * ys | |
local xz = x * zs | |
local yy = y * ys | |
local yz = y * zs | |
local zz = z * zs | |
return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = ACOS(cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((1 - t) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = 1 - t | |
finishInterp = t | |
end | |
else | |
if (1 + cosTheta) > 0.0001 then | |
local theta = ACOS(-cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((t - 1) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = t - 1 | |
finishInterp = t | |
end | |
end | |
return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
end | |
function Clerp(a, b, t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1 - t | |
return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
end | |
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
local frame = IT("Frame") | |
frame.BackgroundTransparency = TRANSPARENCY | |
frame.BorderSizePixel = BORDERSIZEPIXEL | |
frame.Position = POSITION | |
frame.Size = SIZE | |
frame.BackgroundColor3 = COLOR | |
frame.BorderColor3 = BORDERCOLOR | |
frame.Name = NAME | |
frame.Parent = PARENT | |
return frame | |
end | |
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
local label = IT("TextLabel") | |
label.BackgroundTransparency = 1 | |
label.Size = UD2(1, 0, 1, 0) | |
label.Position = UD2(0, 0, 0, 0) | |
label.TextColor3 = TEXTCOLOR | |
label.TextStrokeTransparency = STROKETRANSPARENCY | |
label.TextTransparency = TRANSPARENCY | |
label.FontSize = TEXTFONTSIZE | |
label.Font = TEXTFONT | |
label.BorderSizePixel = BORDERSIZEPIXEL | |
label.TextScaled = false | |
label.Text = TEXT | |
label.Name = NAME | |
label.Parent = PARENT | |
return label | |
end | |
function NoOutlines(PART) | |
PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
end | |
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
local NEWWELD = IT(TYPE) | |
NEWWELD.Part0 = PART0 | |
NEWWELD.Part1 = PART1 | |
NEWWELD.C0 = C0 | |
NEWWELD.C1 = C1 | |
NEWWELD.Parent = PARENT | |
return NEWWELD | |
end | |
local SOUND = IT("Sound",nil) | |
function CreateSound(ID, PARENT, VOLUME, PITCH) | |
local NEWSOUND = nil | |
coroutine.resume(coroutine.create(function() | |
NEWSOUND = SOUND:Clone() | |
NEWSOUND.Parent = PARENT | |
NEWSOUND.Volume = VOLUME | |
NEWSOUND.Pitch = PITCH | |
NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
Swait() | |
NEWSOUND:play() | |
game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
end)) | |
return NEWSOUND | |
end | |
function CFrameFromTopBack(at, top, back) | |
local right = top:Cross(back) | |
return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
end | |
function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
mesh.Scale = SIZE | |
mesh.Offset = VT(0,0,-SIZE.X/8) | |
wave.CFrame = CFRAME | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, WAIT do | |
Swait() | |
mesh.Scale = mesh.Scale + GROW | |
mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
if DOESROT == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
end | |
wave.Transparency = wave.Transparency + (0.5/WAIT) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "Sphere" | |
mesh.Scale = SIZE | |
mesh.Offset = VT(0,0,0) | |
wave.CFrame = CFRAME | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, WAIT do | |
Swait() | |
mesh.Scale = mesh.Scale + GROW | |
wave.Transparency = wave.Transparency + (1/WAIT) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function MakeForm(PART,TYPE) | |
if TYPE == "Cyl" then | |
local MSH = IT("CylinderMesh",PART) | |
elseif TYPE == "Ball" then | |
local MSH = IT("SpecialMesh",PART) | |
MSH.MeshType = "Sphere" | |
elseif TYPE == "Wedge" then | |
local MSH = IT("SpecialMesh",PART) | |
MSH.MeshType = "Wedge" | |
end | |
end | |
function CheckTableForString(Table, String) | |
for i, v in pairs(Table) do | |
if string.find(string.lower(String), string.lower(v)) then | |
return true | |
end | |
end | |
return false | |
end | |
function CheckIntangible(Hit) | |
local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
if Hit and Hit.Parent then | |
if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
return true | |
end | |
end | |
return false | |
end | |
Debris = game:GetService("Debris") | |
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
local Direction = CFrame.new(StartPos, Vec).lookVector | |
local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
if RayHit and CheckIntangible(RayHit) then | |
if DelayIfHit then | |
wait() | |
end | |
RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
end | |
return RayHit, RayPos, RayNormal | |
end | |
function turnto(position) | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
end | |
--//=================================\\ | |
--|| WEAPON CREATION | |
--\\=================================// | |
local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) | |
local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "10604848", "10605252", VT(1,1,1), VT(0, 2.7, 0)) | |
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-0.8,0) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
for _, c in pairs(Weapon:GetChildren()) do | |
if c.ClassName == "Part" then | |
c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
end | |
end | |
Weapon.Parent = Character | |
local SKILLTEXTCOLOR = C3(1,0,0) | |
local SKILLFONT = "Antique" | |
local SKILLTEXTSIZE = 6 | |
Humanoid.Died:connect(function() | |
ATTACK = true | |
end) | |
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[E + HOLD] Dash", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1") | |
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[Q] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3") | |
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[CLICK + HOLD] Ban", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4") | |
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Ban Storm", SKILLTEXTCOLOR, SKILLTEXTSIZE+1, SKILLFONT, 0, 2, 0, "Text 5") | |
--//=================================\\ | |
--|| DAMAGING | |
--\\=================================// | |
function BAN(CHARACTER) | |
local naeeym2 = Instance.new("BillboardGui",BANFOLDER) | |
naeeym2.AlwaysOnTop = false | |
naeeym2.Size = UDim2.new(5,35,2,35) | |
naeeym2.StudsOffset = Vector3.new(0,1,0) | |
naeeym2.Name = "BAN" | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.TextScaled = true | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = "BANNED FROM SERVER" | |
tecks2.Font = "Code" | |
tecks2.TextSize = 30 | |
tecks2.TextStrokeTransparency = 1 | |
tecks2.TextColor3 = Color3.new(1,0,0) | |
tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
tecks2.Parent = naeeym2 | |
local NewCharacter = IT("Model",Effects) | |
NewCharacter.Name = "Ow im ded ;-;" | |
for _, c in pairs(CHARACTER:GetDescendants()) do | |
if c:IsA("BasePart") and c.Transparency == 0 then | |
if c.Parent == CHARACTER then | |
getbloody(c,5) | |
end | |
c:BreakJoints() | |
c.Material = "Glass" | |
c.Color = C3(0.5,0,0) | |
c.CanCollide = true | |
c.Transparency = 0.2 | |
if c:FindFirstChildOfClass("SpecialMesh") then | |
c:FindFirstChildOfClass("SpecialMesh").TextureId = "" | |
end | |
if c.Name == "Head" then | |
c:ClearAllChildren() | |
c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) | |
end | |
if c.ClassName == "MeshPart" then | |
c.TextureID = "" | |
end | |
if c:FindFirstChildOfClass("BodyPosition") then | |
c:FindFirstChildOfClass("BodyPosition"):remove() | |
end | |
if c:FindFirstChildOfClass("ParticleEmitter") then | |
c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
end | |
c.Parent = NewCharacter | |
c.Name = "DeadPart" | |
c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 | |
c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) | |
end | |
end | |
CHARACTER:remove() | |
Debris:AddItem(NewCharacter,5) | |
end | |
function ApplyAoE(POSITION,RANGE,BRUTAL) | |
local CHILDREN = workspace:GetDescendants() | |
for index, CHILD in pairs(CHILDREN) do | |
if CHILD.ClassName == "Model" and CHILD ~= Character then | |
local HUM = CHILD:FindFirstChildOfClass("Humanoid") | |
if HUM then | |
local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") | |
if TORSO then | |
if (TORSO.Position - POSITION).Magnitude <= RANGE then | |
if BRUTAL == true then | |
Kill(CHILD) | |
else | |
CHILD:BreakJoints() | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
function BANNEAREST(POS,RANGE) | |
for i,v in ipairs(workspace:GetChildren()) do | |
local body = v:GetChildren() | |
for part = 1, #body do | |
if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
if(body[part].Position - POS).Magnitude < RANGE then | |
if v:FindFirstChildOfClass("Humanoid") then | |
BAN(v) | |
if game.Players:FindFirstChild(v.Name) then | |
local Value = IT("BoolValue",Delete) | |
Value.Name = v.Name | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
local asd = Instance.new("ParticleEmitter") | |
asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0)) | |
asd.LightEmission = .1 | |
asd.Texture = "http://www.roblox.com/asset/?ID=291880914" | |
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)}) | |
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
asd.Transparency = bbb | |
asd.Size = aaa | |
asd.ZOffset = .9 | |
asd.Acceleration = Vector3.new(0, -15, 0) | |
asd.LockedToPart = false | |
asd.EmissionDirection = "Back" | |
asd.Lifetime = NumberRange.new(1, 2) | |
asd.Rotation = NumberRange.new(-100, 100) | |
asd.RotSpeed = NumberRange.new(-100, 100) | |
asd.Speed = NumberRange.new(10) | |
asd.Enabled = false | |
asd.VelocitySpread = 999 | |
function getbloody(victim,amount) | |
local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) | |
PART.CFrame = victim.CFrame | |
local HITPLAYERSOUNDS = {"414517163","414517163"} | |
Debris:AddItem(PART,5) | |
CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) | |
local prtcl = asd:Clone() | |
prtcl.Parent = PART | |
prtcl:Emit(amount*10) | |
end | |
local Particle = IT("ParticleEmitter",nil) | |
Particle.Enabled = false | |
Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)}) | |
Particle.LightEmission = 0.5 | |
Particle.Rate = 150 | |
Particle.ZOffset = 1 | |
Particle.Rotation = NumberRange.new(-180, 180) | |
Particle.RotSpeed = NumberRange.new(-180, 180) | |
Particle.Texture = "http://www.roblox.com/asset/?id=304437537" | |
Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0)) | |
--ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) | |
function ParticleEmitter(Table) | |
local PRTCL = Particle:Clone() | |
local Speed = Table.Speed or 5 | |
local Drag = Table.Drag or 0 | |
local Size1 = Table.Size1 or 1 | |
local Size2 = Table.Size2 or 5 | |
local Lifetime1 = Table.Lifetime1 or 1 | |
local Lifetime2 = Table.Lifetime2 or 1.5 | |
local Parent = Table.Parent or Torso | |
local Emit = Table.Emit or 100 | |
local Offset = Table.Offset or 360 | |
local Acel = Table.Acel or VT(0,0,0) | |
local Enabled = Table.Enabled or false | |
PRTCL.Parent = Parent | |
PRTCL.Size = NumberSequence.new(Size1,Size2) | |
PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) | |
PRTCL.Speed = NumberRange.new(Speed) | |
PRTCL.VelocitySpread = Offset | |
PRTCL.Drag = Drag | |
PRTCL.Acceleration = Acel | |
if Enabled == false then | |
PRTCL:Emit(Emit) | |
Debris:AddItem(PRTCL,Lifetime2) | |
else | |
PRTCL.Enabled = true | |
end | |
return PRTCL | |
end | |
--//=================================\\ | |
--|| ATTACK FUNCTIONS AND STUFF | |
--\\=================================// | |
function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) | |
if FLOOR ~= nil then | |
coroutine.resume(coroutine.create(function() | |
local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) | |
PART.CFrame = CF(POSITION) | |
for i = 1, 45 do | |
local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE) | |
RingPiece.Material = FLOOR.Material | |
RingPiece.Color = FLOOR.Color | |
RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) | |
Debris:AddItem(RingPiece,SWAIT/100) | |
end | |
PART:remove() | |
end)) | |
end | |
end | |
function Ban() | |
ATTACK = true | |
Rooted = false | |
repeat | |
for i=0, 0.2, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
end | |
for i=0, 0.08, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
for i=0, 0.08, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
CreateSound("147722910", Effects, 10, 1) | |
BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25) | |
if HITFLOOR ~= nil then | |
CreateSound("289842971", HandlePart, 10, 1) | |
CreateSound("289842971", HandlePart, 10, 1) | |
CreateSound("289842971", HandlePart, 10, 1) | |
CreateSound("289842971", HandlePart, 10, 1) | |
CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(8,8,8),35) | |
end | |
CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(0,3,0)) | |
CreateWave(VT(25,0,25),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(0,3,0)) | |
for i=0, 0.1, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
if HOLD == true then | |
for i=0, 0.08, 0.1 / Animation_Speed do | |
Swait() | |
if HOLD == false then | |
break | |
end | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
end | |
until HOLD == false | |
for i=0, 1, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
for i=0, 5, 0.1 / Animation_Speed do | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
function BanStorm() | |
ATTACK = true | |
Rooted = false | |
repeat | |
for i=0, 0.2, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)),2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 7) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(250), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 2 / Animation_Speed) | |
end | |
for i=0, 0.08, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
for i=0, 0.08, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
CreateSound("147722910", Effects, 10, 1) | |
BANNEAREST(RootPart.CFrame*CF(0,0,-6).p,25) | |
if HITFLOOR ~= nil then | |
CreateSound("414517163", HandlePart, 10, 1) | |
CreateSound("414517163", HandlePart, 10, 1) | |
CreateSound("414517163", HandlePart, 10, 1) | |
CreateSound("414517163", HandlePart, 10, 1) | |
CreateDebreeRing(HITFLOOR,RootPart.CFrame*CF(0,-5,-6).p,5,VT(225,0,225),35) | |
end | |
CreateWave(VT(225,0,225),45,RootPart.CFrame*CF(0,-5,-6),true,2,"Really red",VT(3,3,3)) | |
CreateWave(VT(225,0,225),45,RootPart.CFrame*CF(0,-5,-6),true,-2,"Really red",VT(3,3,3)) | |
for i=0, 0.1, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
if HOLD == false then | |
for i=0, 0.08, 0.01 / Animation_Speed do | |
Swait() | |
if HOLD == false then | |
break | |
end | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-90), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 2) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
end | |
until HOLD == false | |
for i=0, 1, 0.1 / Animation_Speed do | |
Swait() | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -1, 0) * ANGLES(RAD(-70), RAD(-45), RAD(0)), 2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1.8) * ANGLES(RAD(75), RAD(0), RAD(0)), 2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 2 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(60), RAD(0), RAD(45)) * LEFTSHOULDERC0, 2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(25)), 0.5 / Animation_Speed) | |
end | |
for i=0, 5, 0.1 / Animation_Speed do | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
function Dash() | |
ATTACK = true | |
Rooted = true | |
local SOUND = CreateSound(0, Torso, 1, 1, true) | |
local LOOP = 0 | |
repeat | |
LOOP = LOOP + 1 | |
Swait() | |
local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, 5, workspace) | |
local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 100, Character) | |
if HITFLOOR then | |
CharacterFade(C3(0.5,0,0),35) | |
HITPOS = HITPOS + VT(0,3.5,0) | |
local POS = RootPart.Position | |
RootPart.CFrame = CF(HITPOS,CF(POS,HITPOS)*CF(0,0,-100000).p) | |
RootPart.Velocity = VT(0,0,0) | |
RootPart.RotVelocity = VT(0,0,0) | |
end | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(75), RAD(0), RAD(0)), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) | |
until KEYHOLD == false | |
coroutine.resume(coroutine.create(function() | |
for i = 1, 20 do | |
Swait() | |
SOUND.Volume = SOUND.Volume - 1/20 | |
end | |
SOUND:remove() | |
end)) | |
if LOOP > 50 then | |
CreateSound(0,Torso,5,MRANDOM(8,13)/10,false) | |
for i = 1, 100 do | |
Swait() | |
RootPart.CFrame = RootPart.CFrame * CF(0,0,-(1-(i/100))/3) | |
WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(RightLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(1,0.5,1), Size2 = VT(2,0,2), Transparency = 0.7, Transparency2 = 1, CFrame = CF(LeftLeg.CFrame*CF(0,-1,0).p), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.3,0.3,0.3), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) | |
end | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
--//=================================\\ | |
--|| ASSIGN THINGS TO KEYS | |
--\\=================================// | |
function MouseDown(Mouse) | |
HOLD = true | |
if ATTACK == false then | |
Ban() | |
end | |
end | |
function MouseUp(Mouse) | |
HOLD = false | |
end | |
function KeyDown(Key) | |
KEYHOLD = true | |
if Key == "q" and ATTACK == false then | |
local pos = RootPart.Position | |
RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),pos) | |
CreateSound("769380905", Torso, 10, 1) | |
end | |
if Key == "x" then | |
BanStorm() | |
end | |
if Key == "e" then | |
Dash() | |
end | |
end | |
function KeyUp(Key) | |
KEYHOLD = false | |
end | |
Mouse.Button1Down:connect(function(NEWKEY) | |
MouseDown(NEWKEY) | |
end) | |
Mouse.Button1Up:connect(function(NEWKEY) | |
MouseUp(NEWKEY) | |
end) | |
Mouse.KeyDown:connect(function(NEWKEY) | |
KeyDown(NEWKEY) | |
end) | |
Mouse.KeyUp:connect(function(NEWKEY) | |
KeyUp(NEWKEY) | |
end) | |
--//=================================\\ | |
--\\=================================// | |
function unanchor() | |
if UNANCHOR == true then | |
g = Character:GetChildren() | |
for i = 1, #g do | |
if g[i].ClassName == "Part" then | |
g[i].Anchored = false | |
end | |
end | |
end | |
end | |
--//=================================\\ | |
--|| WRAP THE WHOLE SCRIPT UP | |
--\\=================================// | |
Humanoid.Changed:connect(function(Jump) | |
if Jump == "Jump" and (Disable_Jump == true) then | |
Humanoid.Jump = false | |
end | |
end) | |
Speed = 23 | |
while true do | |
Swait() | |
ANIMATE.Parent = nil | |
local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
IDLEANIMATION:Play() | |
SINE = SINE + CHANGE | |
local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
if ATTACK == false then | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, 0) * ANGLES(RAD(200), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) | |
HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0, -0.8, 0) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
end | |
if ANIM == "Walk" and TORSOVELOCITY > 1 and ATTACK == false then | |
RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or (ATTACK == true) then | |
RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
end | |
if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then | |
ANIM = "Jump" | |
if ATTACK == false then | |
RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
end | |
elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then | |
ANIM = "Fall" | |
if ATTACK == false then | |
RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed) | |
end | |
elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then | |
ANIM = "Idle" | |
if ATTACK == false then | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
end | |
elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then | |
ANIM = "Walk" | |
WALK = WALK + 1 / Animation_Speed | |
if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then | |
WALK = 0 | |
if WALKINGANIM == true then | |
WALKINGANIM = false | |
elseif WALKINGANIM == false then | |
WALKINGANIM = true | |
end | |
end | |
--RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
--LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) | |
if ATTACK == false then | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) | |
end | |
end | |
unanchor() | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
if Rooted == false then | |
Disable_Jump = false | |
Humanoid.WalkSpeed = Speed | |
elseif Rooted == true then | |
Disable_Jump = true | |
Humanoid.WalkSpeed = 0 | |
end | |
local MATHS = {"0","1"} | |
Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] | |
Humanoid.PlatformStand = false | |
local GAME = game.Players:GetChildren() | |
for PLAYER = 1, #GAME do | |
local PLAY = GAME[PLAYER] | |
if PLAY.Character ~= nil and Delete:FindFirstChild(PLAY.Name) then | |
PLAY.Character:remove() | |
end | |
end | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//====================================================\\-- | |
--|| END OF SCRIPT | |
--\\====================================================//-- | |
end) | |
TheMurderer.MouseButton1Down:connect(function() | |
--[[ | |
THE MURDERER | |
Created by Quil_Cyndaquil (ROBLOX) | |
MintyLatios (V3rmillion) | |
Minty Latios#1938 | |
Credit to CKbackup for the knife | |
Credit to Rufus14 for the ragdolls | |
--]] | |
wait(1 / 60) | |
Effects = { } | |
local Player = game.Players.localPlayer | |
local Character = Player.Character | |
local Humanoid = Character.Humanoid | |
local Mouse = Player:GetMouse() | |
local LeftArm = Character["Left Arm"] | |
local RightArm = Character["Right Arm"] | |
local LeftLeg = Character["Left Leg"] | |
local RightLeg = Character["Right Leg"] | |
local Head = Character.Head | |
local Torso = Character.Torso | |
local Camera = game.Workspace.CurrentCamera | |
local RootPart = Character.HumanoidRootPart | |
local RootJoint = RootPart.RootJoint | |
local attack = false | |
local Anim = 'Idle' | |
local Lighty = game:GetService"Lighting" | |
local attacktype = 1 | |
local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
local velocity = RootPart.Velocity.y | |
local sine = 0 | |
local change = 1 | |
local Create = LoadLibrary("RbxUtility").Create | |
local chara = Character | |
local m = Create("Model"){ | |
Parent = Character, | |
Name = "WeaponModel", | |
} | |
Humanoid.Animator.Parent = nil | |
Character.Animate.Parent = nil | |
Humanoid.WalkSpeed = 8 | |
local newMotor = function(part0, part1, c0, c1) | |
local w = Create('Motor'){ | |
Parent = part0, | |
Part0 = part0, | |
Part1 = part1, | |
C0 = c0, | |
C1 = c1, | |
} | |
return w | |
end | |
function clerp(a, b, t) | |
return a:lerp(b, t) | |
end | |
RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
RootJoint.C1 = CFrame.new(0, 0, 0) | |
RootJoint.C0 = CFrame.new(0, 0, 0) | |
Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
local rarmc1 = RW.C1 | |
local larmc1 = LW.C1 | |
local rlegc1 = RH.C1 | |
local llegc1 = LH.C1 | |
local resetc1 = false | |
function PlayAnimationFromTable(table, speed, bool) | |
RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
RW.C0 = clerp(RW.C0, table[3], speed) | |
LW.C0 = clerp(LW.C0, table[4], speed) | |
RH.C0 = clerp(RH.C0, table[5], speed) | |
LH.C0 = clerp(LH.C0, table[6], speed) | |
if bool == true then | |
if resetc1 == false then | |
resetc1 = true | |
RootJoint.C1 = RootJoint.C1 | |
Torso.Neck.C1 = Torso.Neck.C1 | |
RW.C1 = rarmc1 | |
LW.C1 = larmc1 | |
RH.C1 = rlegc1 | |
LH.C1 = llegc1 | |
end | |
end | |
end | |
ArtificialHB = Create("BindableEvent", script){ | |
Parent = script, | |
Name = "Heartbeat", | |
} | |
script:WaitForChild("Heartbeat") | |
frame = 1 / 30 | |
tf = 0 | |
allowframeloss = false | |
tossremainder = false | |
lastframe = tick() | |
script.Heartbeat:Fire() | |
New = function(Object, Parent, Name, Data) | |
local Object = Instance.new(Object) | |
for Index, Value in pairs(Data or {}) do | |
Object[Index] = Value | |
end | |
Object.Parent = Parent | |
Object.Name = Name | |
return Object | |
end | |
if chara.Head:FindFirstChild"face" then | |
chara.Head.face.Texture = "rbxassetid://67493879" | |
end | |
--Credit to Psychopath for this shit | |
Knifu = New("Model",chara,"Knifu",{}) | |
Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("CylinderMesh",Handle,"Mesh",{}) | |
KWeld = New("Weld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0=CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))}) | |
Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
local p1mit = Instance.new("ParticleEmitter",Hitbox) | |
p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)}) | |
p1mit.Lifetime = NumberRange.new(2) | |
p1mit.Rate = 100 | |
p1mit.Enabled = false | |
p1mit.Acceleration = Vector3.new(0,-5,0) | |
p1mit.Rotation = NumberRange.new(0,359) | |
p1mit.Speed = NumberRange.new(0) | |
local p2mit = Instance.new("ParticleEmitter",BloodPart) | |
p2mit.Texture = "http://www.roblox.com/asset/?id=243132757" | |
p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))}) | |
p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)}) | |
p2mit.Lifetime = NumberRange.new(1) | |
p2mit.Rate = 10 | |
p2mit.Acceleration = Vector3.new(0,-10,0) | |
p2mit.Speed = NumberRange.new(0) | |
local p3mit = p2mit:Clone() | |
p3mit.Parent = Blood2Part | |
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 | |
ArtificialHB.Event:wait() | |
else | |
for i = 0, num do | |
ArtificialHB.Event:wait() | |
end | |
end | |
end | |
function RemoveOutlines(part) | |
part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
end | |
local txt = Instance.new("BillboardGui", chara) | |
txt.Adornee = chara.Head | |
txt.Name = "Nametag" | |
txt.Size = UDim2.new(2, 0, 1.2, 0) | |
txt.StudsOffset = Vector3.new(-9, 6, 0) | |
local text = Instance.new("TextLabel", txt) | |
text.Size = UDim2.new(10, 0, 7, 0) | |
text.TextSize = 24 | |
text.Font = Enum.Font.Cartoon | |
text.TextScaled = false | |
text.BackgroundTransparency = 1 | |
text.TextColor3 = Color3.new(1,1,1) | |
text.TextStrokeTransparency = 0 | |
text.TextStrokeColor3 = Color3.new(1,0,0) | |
text.Text = "The Murderer" | |
function chat(...) | |
local txxt = {...} | |
local ch = coroutine.wrap(function() | |
if chara:FindFirstChild("Chatt")~= nil then | |
Character:FindFirstChild("Chatt"):destroy() | |
end | |
local txt = Instance.new("BillboardGui", chara) | |
txt.Adornee = chara.Head | |
txt.Name = "Chatt" | |
txt.Size = UDim2.new(2, 0, 1.2, 0) | |
txt.StudsOffset = Vector3.new(-9, 7, 0) | |
local text = Instance.new("TextLabel", txt) | |
text.Size = UDim2.new(10, 0, 7, 0) | |
text.TextSize = 24 | |
text.Font = Enum.Font.Cartoon | |
text.TextScaled = false | |
text.BackgroundTransparency = 1 | |
text.TextColor3 = Color3.new(0,0,0) | |
text.TextStrokeTransparency = 0 | |
text.TextStrokeColor3 = Color3.new(1,0,0) | |
text.Text = "" | |
txxt = table.concat(txxt,"\t") | |
for i = 1, #txxt do | |
text.Text = txxt:sub(1,i) | |
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
wait() | |
end | |
wait(2) | |
for trans = 0,1,.1 do | |
text.TextTransparency = trans | |
text.TextStrokeTransparency = trans | |
wait() | |
end | |
wait() | |
txt:destroy() | |
end) | |
ch(...) | |
end | |
Player.Chatted:connect(chat) | |
CFuncs = { | |
["Part"] = { | |
Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
local Part = Create("Part"){ | |
Parent = Parent, | |
Reflectance = Reflectance, | |
Transparency = Transparency, | |
CanCollide = false, | |
Locked = true, | |
BrickColor = BrickColor.new(tostring(BColor)), | |
Name = Name, | |
Size = Size, | |
Material = Material, | |
} | |
RemoveOutlines(Part) | |
return Part | |
end; | |
}; | |
["Mesh"] = { | |
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
local Msh = Create(Mesh){ | |
Parent = Part, | |
Offset = OffSet, | |
Scale = Scale, | |
} | |
if Mesh == "SpecialMesh" then | |
Msh.MeshType = MeshType | |
Msh.MeshId = MeshId | |
end | |
return Msh | |
end; | |
}; | |
["Mesh"] = { | |
Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
local Msh = Create(Mesh){ | |
Parent = Part, | |
Offset = OffSet, | |
Scale = Scale, | |
} | |
if Mesh == "SpecialMesh" then | |
Msh.MeshType = MeshType | |
Msh.MeshId = MeshId | |
end | |
return Msh | |
end; | |
}; | |
["Weld"] = { | |
Create = function(Parent, Part0, Part1, C0, C1) | |
local Weld = Create("Weld"){ | |
Parent = Parent, | |
Part0 = Part0, | |
Part1 = Part1, | |
C0 = C0, | |
C1 = C1, | |
} | |
return Weld | |
end; | |
}; | |
["Sound"] = { | |
Create = function(id, par, vol, pit) | |
coroutine.resume(coroutine.create(function() | |
local S = Create("Sound"){ | |
Volume = vol, | |
Pitch = pit or 1, | |
SoundId = id, | |
Parent = par or workspace, | |
} | |
wait() | |
S:play() | |
game:GetService("Debris"):AddItem(S, 6) | |
end)) | |
end; | |
}; | |
["ParticleEmitter"] = { | |
Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
local fp = Create("ParticleEmitter"){ | |
Parent = Parent, | |
Color = ColorSequence.new(Color1, Color2), | |
LightEmission = LightEmission, | |
Size = Size, | |
Texture = Texture, | |
Transparency = Transparency, | |
ZOffset = ZOffset, | |
Acceleration = Accel, | |
Drag = Drag, | |
LockedToPart = LockedToPart, | |
VelocityInheritance = VelocityInheritance, | |
EmissionDirection = EmissionDirection, | |
Enabled = Enabled, | |
Lifetime = LifeTime, | |
Rate = Rate, | |
Rotation = Rotation, | |
RotSpeed = RotSpeed, | |
Speed = Speed, | |
VelocitySpread = VelocitySpread, | |
} | |
return fp | |
end; | |
}; | |
CreateTemplate = { | |
}; | |
} | |
function rayCast(Position, Direction, Range, Ignore) | |
return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
end | |
FindNearestTorso = function(pos) | |
local list = (game.Workspace:children()) | |
local torso = nil | |
local dist = 1000 | |
local temp, human, temp2 = nil, nil, nil | |
for x = 1, #list do | |
temp2 = list[x] | |
if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
temp = temp2:findFirstChild("Torso") | |
human = temp2:findFirstChild("Humanoid") | |
if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
local dohit = true | |
if dohit == true then | |
torso = temp | |
dist = (temp.Position - pos).magnitude | |
end | |
end | |
end | |
end | |
return torso, dist | |
end | |
function FindNearestTorsos(Position, Distance, SinglePlayer) | |
if SinglePlayer then | |
return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
end | |
local List = {} | |
for i, v in pairs(workspace:GetChildren()) do | |
if v:IsA("Model") then | |
if v:findFirstChild("Torso") then | |
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
if v ~= Character then | |
if (v.Torso.Position - Position).magnitude <= Distance then | |
table.insert(List, {v,(v.Torso.Position - Position).magnitude}) | |
end | |
end | |
end | |
end | |
end | |
end | |
return List | |
end | |
function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
if hit.Parent == nil then | |
return | |
end | |
local h = hit.Parent:FindFirstChild("Humanoid") | |
for _, v in pairs(hit.Parent:children()) do | |
if v:IsA("Humanoid") then | |
h = v | |
end | |
end | |
if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
if hit.Parent.DebounceHit.Value == true then | |
return | |
end | |
end | |
local c = Create("ObjectValue"){ | |
Name = "creator", | |
Value = game:service("Players").LocalPlayer, | |
Parent = h, | |
} | |
game:GetService("Debris"):AddItem(c, .5) | |
if HitSound ~= nil and HitPitch ~= nil then | |
CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
end | |
local Damage = math.random(minim, maxim) | |
local blocked = false | |
local block = hit.Parent:findFirstChild("Block") | |
if block ~= nil then | |
if block.className == "IntValue" then | |
if block.Value > 0 then | |
blocked = true | |
block.Value = block.Value - 1 | |
print(block.Value) | |
end | |
end | |
end | |
if blocked == false then | |
h.Health = h.Health - Damage | |
ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
else | |
h.Health = h.Health - (Damage / 2) | |
ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
end | |
if Type == "Knockdown" then | |
local hum = hit.Parent.Humanoid | |
hum.PlatformStand = true | |
coroutine.resume(coroutine.create(function(HHumanoid) | |
swait(1) | |
HHumanoid.PlatformStand = false | |
end), hum) | |
local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
local bodvol = Create("BodyVelocity"){ | |
velocity = angle * knockback, | |
P = 5000, | |
maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
Parent = hit, | |
} | |
local rl = Create("BodyAngularVelocity"){ | |
P = 3000, | |
maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
Parent = hit, | |
} | |
game:GetService("Debris"):AddItem(bodvol, .5) | |
game:GetService("Debris"):AddItem(rl, .5) | |
elseif Type == "Normal" then | |
local vp = Create("BodyVelocity"){ | |
P = 500, | |
maxForce = Vector3.new(math.huge, 0, math.huge), | |
velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
} | |
if knockback > 0 then | |
vp.Parent = hit.Parent.Torso | |
end | |
game:GetService("Debris"):AddItem(vp, .5) | |
elseif Type == "Up" then | |
local bodyVelocity = Create("BodyVelocity"){ | |
velocity = Vector3.new(0, 20, 0), | |
P = 5000, | |
maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
Parent = hit, | |
} | |
game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
elseif Type == "DarkUp" then | |
coroutine.resume(coroutine.create(function() | |
for i = 0, 1, 0.1 do | |
swait() | |
Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
end | |
end)) | |
local bodyVelocity = Create("BodyVelocity"){ | |
velocity = Vector3.new(0, 20, 0), | |
P = 5000, | |
maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
Parent = hit, | |
} | |
game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
elseif Type == "Snare" then | |
local bp = Create("BodyPosition"){ | |
P = 2000, | |
D = 100, | |
maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
position = hit.Parent.Torso.Position, | |
Parent = hit.Parent.Torso, | |
} | |
game:GetService("Debris"):AddItem(bp, 1) | |
elseif Type == "Freeze" then | |
local BodPos = Create("BodyPosition"){ | |
P = 50000, | |
D = 1000, | |
maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
position = hit.Parent.Torso.Position, | |
Parent = hit.Parent.Torso, | |
} | |
local BodGy = Create("BodyGyro") { | |
maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
P = 20e+003, | |
Parent = hit.Parent.Torso, | |
cframe = hit.Parent.Torso.CFrame, | |
} | |
hit.Parent.Torso.Anchored = true | |
coroutine.resume(coroutine.create(function(Part) | |
swait(1.5) | |
Part.Anchored = false | |
end), hit.Parent.Torso) | |
game:GetService("Debris"):AddItem(BodPos, 3) | |
game:GetService("Debris"):AddItem(BodGy, 3) | |
end | |
local debounce = Create("BoolValue"){ | |
Name = "DebounceHit", | |
Parent = hit.Parent, | |
Value = true, | |
} | |
game:GetService("Debris"):AddItem(debounce, Delay) | |
c = Create("ObjectValue"){ | |
Name = "creator", | |
Value = Player, | |
Parent = h, | |
} | |
game:GetService("Debris"):AddItem(c, .5) | |
end | |
end | |
function ShowDamage(Pos, Text, Time, Color) | |
local Rate = (1 / 30) | |
local Pos = (Pos or Vector3.new(0, 0, 0)) | |
local Text = (Text or "") | |
local Time = (Time or 2) | |
local Color = (Color or Color3.new(1, 0, 1)) | |
local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
EffectPart.Anchored = true | |
local BillboardGui = Create("BillboardGui"){ | |
Size = UDim2.new(3, 0, 3, 0), | |
Adornee = EffectPart, | |
Parent = EffectPart, | |
} | |
local TextLabel = Create("TextLabel"){ | |
BackgroundTransparency = 1, | |
Size = UDim2.new(1, 0, 1, 0), | |
Text = Text, | |
Font = "SciFi", | |
TextColor3 = Color, | |
TextScaled = true, | |
Parent = BillboardGui, | |
} | |
game.Debris:AddItem(EffectPart, (Time)) | |
EffectPart.Parent = game:GetService("Workspace") | |
delay(0, function() | |
local Frames = (Time / Rate) | |
for Frame = 1, Frames do | |
wait(Rate) | |
local Percent = (Frame / Frames) | |
EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
TextLabel.TextTransparency = Percent | |
end | |
if EffectPart and EffectPart.Parent then | |
EffectPart:Destroy() | |
end | |
end) | |
end | |
function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
for _, c in pairs(workspace:children()) do | |
local hum = c:findFirstChild("Humanoid") | |
if hum ~= nil then | |
local head = c:findFirstChild("Torso") | |
if head ~= nil then | |
local targ = head.Position - Part.Position | |
local mag = targ.magnitude | |
if mag <= Magnitude and c.Name ~= Player.Name then | |
Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
end | |
end | |
end | |
end | |
end | |
EffectModel = Create("Model"){ | |
Parent = Character, | |
Name = "Effects", | |
} | |
Effects = { | |
Block = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
if Type == 1 or Type == nil then | |
table.insert(Effects, { | |
prt, | |
"Block1", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
elseif Type == 2 then | |
table.insert(Effects, { | |
prt, | |
"Block2", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end | |
end; | |
}; | |
Cylinder = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Cylinder", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end; | |
}; | |
Head = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Cylinder", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end; | |
}; | |
Sphere = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Cylinder", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end; | |
}; | |
Elect = { | |
Create = function(cff, x, y, z) | |
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
prt.Anchored = true | |
prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
prt.CFrame = CFrame.new(prt.Position) | |
game:GetService("Debris"):AddItem(prt, 2) | |
local xval = math.random() / 2 | |
local yval = math.random() / 2 | |
local zval = math.random() / 2 | |
local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
table.insert(Effects, { | |
prt, | |
"Elec", | |
0.1, | |
x, | |
y, | |
z, | |
xval, | |
yval, | |
zval | |
}) | |
end; | |
}; | |
Ring = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Cylinder", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end; | |
}; | |
Wave = { | |
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Cylinder", | |
delay, | |
x3, | |
y3, | |
z3, | |
msh | |
}) | |
end; | |
}; | |
Break = { | |
Create = function(brickcolor, cframe, x1, y1, z1) | |
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
prt.Anchored = true | |
prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
local num = math.random(10, 50) / 1000 | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Shatter", | |
num, | |
prt.CFrame, | |
math.random() - math.random(), | |
0, | |
math.random(50, 100) / 100 | |
}) | |
end; | |
}; | |
Fire = { | |
Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"Fire", | |
delay, | |
1, | |
1, | |
1, | |
msh | |
}) | |
end; | |
}; | |
FireWave = { | |
Create = function(brickcolor, cframe, x1, y1, z1) | |
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
local d = Create("Decal"){ | |
Parent = prt, | |
Texture = "rbxassetid://26356434", | |
Face = "Top", | |
} | |
local d = Create("Decal"){ | |
Parent = prt, | |
Texture = "rbxassetid://26356434", | |
Face = "Bottom", | |
} | |
game:GetService("Debris"):AddItem(prt, 10) | |
table.insert(Effects, { | |
prt, | |
"FireWave", | |
1, | |
30, | |
math.random(400, 600) / 100, | |
msh | |
}) | |
end; | |
}; | |
Lightning = { | |
Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
local magz = (p0 - p1).magnitude | |
local curpos = p0 | |
local trz = { | |
-ofs, | |
ofs | |
} | |
for i = 1, tym do | |
local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
li.Material = "Neon" | |
if tym == i then | |
local magz2 = (curpos - p1).magnitude | |
li.Size = Vector3.new(th, th, magz2) | |
li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
table.insert(Effects, { | |
li, | |
"Disappear", | |
last | |
}) | |
else | |
do | |
do | |
li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
game.Debris:AddItem(li, 10) | |
table.insert(Effects, { | |
li, | |
"Disappear", | |
last | |
}) | |
end | |
end | |
end | |
end | |
end | |
}; | |
EffectTemplate = { | |
}; | |
} | |
function attackone() | |
attack = true | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
}, .3, false) | |
end | |
attack = false | |
end | |
Mouse.KeyDown:connect(function(k) | |
k = k:lower() | |
if attack == false and k == '' then | |
end | |
end) | |
abss = Instance.new("BillboardGui",Character) | |
abss.Size = UDim2.new(10,0,10,0) | |
abss.Enabled = false | |
imgl = Instance.new("ImageLabel",abss) | |
imgl.Position = UDim2.new(0,0,0,0) | |
imgl.Size = UDim2.new(1,0,1,0) | |
imgl.Image = "rbxassetid://711463989" | |
imgl.BackgroundTransparency = 1 | |
imgl.ImageColor3 = Color3.new(.9,0,0) | |
img2 = Instance.new("ImageLabel",abss) | |
img2.Position = UDim2.new(0,0,0,0) | |
img2.Size = UDim2.new(1,0,1,0) | |
img2.Image = "rbxassetid://711463989" | |
img2.BackgroundTransparency = 1 | |
img2.ImageColor3 = Color3.new(.9,0,0) | |
local targetted = nil; | |
function ohshityougothit(dude) | |
coroutine.wrap(function() | |
repeat wait() until dude:FindFirstChild"Head" | |
KnifuHit = New("Model",workspace,"KnifuHit",{}) | |
game:GetService("Debris"):AddItem(KnifuHit,3) | |
HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("CylinderMesh",HWeldPart,"Mesh",{}) | |
Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = dude.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),}) | |
Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
end)() | |
end | |
function fuckingdie(dude) | |
if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
dude.Humanoid.PlatformStand = true | |
local bgf = Instance.new("BodyGyro",dude.Head) | |
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
local val = Instance.new("BoolValue",dude) | |
val.Name = "IsHit" | |
for i = 1, 6 do | |
local blo = Instance.new("Part",game.Workspace) | |
blo.Size = Vector3.new(.6,.2,.6) | |
blo.Material = "SmoothPlastic" | |
blo.BrickColor = BrickColor.new("Crimson") | |
blo.Position = dude.Head.Position | |
blo.CFrame = dude.Head.CFrame | |
game:GetService("Debris"):AddItem(blo,15) | |
end | |
local ds = coroutine.wrap(function() | |
wait(1) | |
if dude == targetted then | |
targetted = nil | |
end | |
dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Anchored = false | |
ragdoll(dude) | |
end) | |
ds() | |
end | |
end | |
local Sitting = false | |
function fuckingdiethro(dude) | |
if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then | |
dude.Humanoid.PlatformStand = true | |
if dude:FindFirstChild"Head" then local bgf = Instance.new("BodyGyro",dude.Head) | |
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) end | |
local val = Instance.new("BoolValue",dude) | |
val.Name = "IsHit" | |
if dude:FindFirstChild"Head" then | |
for i = 1, 6 do | |
local blo = Instance.new("Part",game.Workspace) | |
blo.Size = Vector3.new(.6,.2,.6) | |
blo.Material = "SmoothPlastic" | |
blo.BrickColor = BrickColor.new("Crimson") | |
blo.Position = dude.Head.Position | |
blo.CFrame = dude.Head.CFrame | |
game:GetService("Debris"):AddItem(blo,15) | |
end | |
end | |
local ds = coroutine.wrap(function() | |
if(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso") then | |
(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Velocity = (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").CFrame.lookVector * -15 | |
end | |
wait(0.3) | |
if dude == targetted then | |
targetted = nil | |
end | |
dude:FindFirstChildOfClass"Humanoid".Health = 0 | |
ragdoll(dude) | |
end) | |
ds() | |
end | |
end | |
function ragdoll(guy) | |
guy.Archivable = true | |
clone = guy:Clone() | |
clone.Parent = workspace | |
game:service'Debris':AddItem(clone,10) | |
for i,v in pairs(clone:GetChildren()) do | |
if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
v:destroy() | |
end | |
for i,p in pairs(v:GetChildren()) do | |
if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
p:destroy() | |
end | |
end | |
end | |
for i,t in pairs(guy:GetChildren()) do | |
if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
t:destroy() | |
end | |
end | |
for i,v in next, clone:children() do | |
if v:IsA"LocalScript" or v:IsA"Script" or v:IsA"ModuleScript" then | |
v.Disabled = true | |
wait() | |
v:destroy() | |
end | |
end | |
local vel | |
if clone:FindFirstChild"Torso" then | |
vel = Instance.new("BodyVelocity", clone.Torso) | |
vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
end | |
if clone:FindFirstChild"Head" and clone.Head:FindFirstChild"face" then | |
clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
end | |
using = false | |
local leftarm = clone:findFirstChild("Left Arm") | |
local rightrm = clone:findFirstChild("Right Arm") | |
local leftleg = clone:findFirstChild("Left Leg") | |
local rightleg = clone:findFirstChild("Right Leg") | |
local head = clone:findFirstChild("Head") | |
for i, g in pairs(guy:GetChildren()) do | |
if g.ClassName == "Part" then | |
g:destroy() | |
end | |
end | |
for i, h in pairs(guy:GetChildren()) do | |
if h.ClassName == "Accesory" then | |
h:destroy() | |
end | |
end | |
if head ~= nil then | |
local glue13 = Instance.new("Glue", clone.Torso) | |
glue13.Part0 = clone.Torso | |
glue13.Part1 = head | |
glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
local collider13 = Instance.new("Part", head) | |
collider13.Position = Vector3.new(0,999,0) | |
collider13.Size = Vector3.new(0.5, 0.9, 0.9) | |
collider13.Shape = "Cylinder" | |
collider13.Transparency = 1 | |
local weld = Instance.new("Weld", collider13) | |
weld.Part0 = head | |
weld.Part1 = collider13 | |
weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80) | |
collider13.TopSurface = "Smooth" | |
collider13.BottomSurface = "Smooth" | |
collider13.formFactor = "Symmetric" | |
end | |
if leftleg ~= nil then | |
local glue = Instance.new("Glue", clone.Torso) | |
glue.Part0 = clone.Torso | |
glue.Part1 = leftleg | |
glue.Name = "Left leg" | |
local collider = Instance.new("Part", leftleg) | |
collider.Position = Vector3.new(0,999,0) | |
collider.Size = Vector3.new(1.7, 1, 1) | |
collider.Shape = "Cylinder" | |
local weld = Instance.new("Weld", collider) | |
weld.Part0 = leftleg | |
weld.Part1 = collider | |
weld.C0 = CFrame.Angles(0, 0, 80) | |
collider.TopSurface = "Smooth" | |
collider.BottomSurface = "Smooth" | |
collider.formFactor = "Symmetric" | |
glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
collider.Transparency = 1 | |
end | |
------------ | |
if rightleg ~= nil then | |
local glue1 = Instance.new("Glue", clone.Torso) | |
glue1.Part0 = clone.Torso | |
glue1.Part1 = rightleg | |
glue1.Name = "Right leg" | |
local collider1 = Instance.new("Part", rightleg) | |
collider1.Position = Vector3.new(0,999,0) | |
collider1.Size = Vector3.new(1.7, 1, 1) | |
collider1.Shape = "Cylinder" | |
local weld1 = Instance.new("Weld", collider1) | |
weld1.Part0 = rightleg | |
weld1.Part1 = collider1 | |
weld1.C0 = CFrame.Angles(0, 0, 80) | |
collider1.TopSurface = "Smooth" | |
collider1.BottomSurface = "Smooth" | |
collider1.formFactor = "Symmetric" | |
glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
collider1.Transparency = 1 | |
end | |
------------ | |
if rightrm ~= nil then | |
local glue11 = Instance.new("Glue", clone.Torso) | |
glue11.Part0 = clone.Torso | |
glue11.Part1 = rightrm | |
glue11.Name = "Right shoulder" | |
local collider11 = Instance.new("Part", rightrm) | |
collider11.Position = Vector3.new(0,9999,0) | |
collider11.Size = Vector3.new(1.8,1,1) | |
collider11.Shape = "Cylinder" | |
local weld11 = Instance.new("Weld", collider11) | |
weld11.Part0 = rightrm | |
weld11.Part1 = collider11 | |
weld11.C0 = CFrame.Angles(0, 0, 80) | |
collider11.TopSurface = "Smooth" | |
collider11.BottomSurface = "Smooth" | |
collider11.formFactor = "Symmetric" | |
glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
collider11.Transparency = 1 | |
end | |
------------ | |
if leftarm ~= nil then | |
local glue111 = Instance.new("Glue", clone.Torso) | |
glue111.Part0 = clone.Torso | |
glue111.Part1 = leftarm | |
glue111.Name = "Left shoulder" | |
local collider111 = Instance.new("Part", leftarm) | |
collider111.Position = Vector3.new(0,9999,0) | |
collider111.Size = Vector3.new(1.8,1,1) | |
collider111.Shape = "Cylinder" | |
local weld111 = Instance.new("Weld", collider111) | |
weld111.Part0 = leftarm | |
weld111.Part1 = collider111 | |
weld111.C0 = CFrame.Angles(0, 0, 80) | |
collider111.TopSurface = "Smooth" | |
collider111.BottomSurface = "Smooth" | |
collider111.formFactor = "Symmetric" | |
glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
collider111.Transparency = 1 | |
---------------- | |
sensoring = Instance.new("Part", clone.Torso) | |
sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
sensoring.CanCollide = false | |
sensoring.Position = clone.Torso.Position | |
local welder = Instance.new("Weld", sensoring) | |
welder.Part0 = clone.Torso | |
welder.Part1 = sensoring | |
welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
sensoring.Transparency = 1 | |
----------------- | |
sensoring1 = Instance.new("Part", clone.Torso) | |
sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
sensoring1.CanCollide = false | |
sensoring1.Position = clone.Torso.Position | |
local welder1 = Instance.new("Weld", sensoring) | |
welder1.Part0 = clone.Torso | |
welder1.Part1 = sensoring1 | |
welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
sensoring1.Transparency = 1 | |
end | |
clone.Name = guy.Name.." (Murdered)" | |
if vel then vel:destroy() end | |
end | |
local slashes = {} | |
table.insert(slashes,220833967) | |
table.insert(slashes,220833976) | |
table.insert(slashes,220834000) | |
table.insert(slashes,220834019) | |
function fucktheworld() | |
local a = Instance.new("ColorCorrectionEffect",Lighty) | |
a.TintColor = Color3.new(1,1,1) | |
local b = Instance.new("BlurEffect",Lighty) | |
b.Size = 0 | |
for i = 1,0, -.1 do | |
a.TintColor = Color3.new(i,i,i) | |
b.Size = b.Size + 1 | |
end | |
wait(1) | |
coroutine.wrap(function() | |
for i,v in next, workspace:children() do | |
if v:IsA"Model" or v:IsA"Part" then | |
if v:FindFirstChildOfClass"Humanoid" and v ~= Character then | |
v:BreakJoints() | |
if v:FindFirstChild"Torso" then ragdoll(v) end | |
wait(.15) | |
end | |
end | |
end | |
end)() | |
for i = 1, 7 do | |
for i = 0,1,.3 do | |
a.TintColor = Color3.new(i,i,i) | |
wait() | |
end | |
local slash = math.random(1,4) | |
local sou = Instance.new("Sound",workspace) | |
sou.Pitch = math.random(0.75,1) | |
sou.Volume = 10 | |
sou.SoundId = "rbxassetid://"..slashes[slash] | |
sou:Play() | |
a.TintColor = Color3.new(0,0,0) | |
wait() | |
end | |
--165487479 | |
local sou = Instance.new("Sound",workspace) | |
sou.Pitch = 1 | |
sou.Volume = 10 | |
sou.SoundId = "rbxassetid://137473066" | |
sou:Play() | |
wait(3) | |
for i = 0,1,.1 do | |
a.TintColor = Color3.new(i,i,i) | |
b.Size = b.Size - 1 | |
wait() | |
end | |
a:destroy() | |
game:service'Debris':AddItem(b,3) | |
end | |
function endit() | |
attack = true | |
Humanoid.WalkSpeed = 0 | |
Humanoid.JumpPower = 0 | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.55124712, 1.10979831, 0.0157209933, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
KWeld.C0 = clerp(KWeld.C0, CFrame.new(-0.0327453725, -1.02458775, -0.0236971658, -1.00000048, 2.08819984e-09, -3.7252903e-09, -5.65341907e-09, -1.00000012, -2.57510692e-07, 3.7252903e-09, -2.57277861e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
end | |
chat("This world is getting boring...") | |
wait(1.5) | |
chat("Well...") | |
wait(1) | |
chat("LETS MOVE ON TO THE NEXT!") | |
wait(2) | |
for i = 1, 3 do | |
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=341336274", Character, 1, 1) | |
local part = Instance.new("Part",EffectModel) | |
part.Shape = "Ball" | |
part.Anchored = true | |
part.CanCollide = false | |
part.BrickColor = BrickColor.new"Really red" | |
part.Material = Enum.Material.Neon | |
part.Size = Vector3.new(1,1,1) | |
part.CFrame = BloodPart.CFrame | |
part.TopSurface,part.BottomSurface = 10,10 | |
for i = 0,1,.1 do | |
part.Size = part.Size+ Vector3.new(4,4,4) | |
part.Transparency = i | |
wait() | |
end | |
part:destroy() | |
wait(.05) | |
end | |
wait(.5) | |
attack = false | |
fucktheworld() | |
wait(2) | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
end | |
function sleepchild() | |
attack = true | |
Humanoid.WalkSpeed = 0 | |
Humanoid.JumpPower = 0 | |
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
local a = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("HumanoidRootPart") targetted:FindFirstChild("UpperTorso") | |
a.Anchored = true | |
RootPart.CFrame = a.CFrame * CFrame.new(0,0,1) | |
wait(.01) | |
Character.Torso.Anchored = true | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.27472198, 0.948095679, -0.665119231, 0.15143548, 0.0339903161, -0.987882555, -0.986717343, -0.0542402044, -0.153123304, -0.0587876812, 0.997948885, 0.0253249966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
--KWeld.C0 = clerp(KWeld.C0, CFrame.new(7.63306252e-06, -0.99992466, 0.249988556, -1.00000012, 1.46683306e-08, 0, 0, -3.8407743e-06, 1, 1.62981451e-09, 1.00000012, 3.85195017e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
end | |
if targetted.Name == "Lime_Pidgey" or targetted.Name == "Quil_Cyndaquil" or targetted.Name == "CKbackup" or targetted.Name == "Salvo_Starly" then | |
wait(2) | |
a.Anchored = false | |
local sel = math.random(1,3) | |
if sel == 1 then | |
chat("What was I thinking...") | |
elseif sel == 2 then | |
if targetted.Name == "Quil_Cyndaquil" then | |
chat("Sorry, Nebula.") | |
elseif targetted.Name == "CKbackup" then | |
chat("Didn't know it was you, Sugarie") | |
elseif targetted.Name == "Salvo_Starly" then | |
chat("Didn't realize, Genocider. I'm so sorry.") | |
elseif targetted.Name == "Lime_Pidgey" then | |
chat("Ah, Jerry, So sorry, thought you were an enemy.") | |
end | |
elseif sel == 3 then | |
chat("Why.. did I try that..?") | |
end | |
for i = 0, 5, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
end | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
else | |
chat("Go to sleep...") | |
wait(2) | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.28332329, 0.947640657, -0.594629169, 0.130690023, 0.303638369, -0.943781614, -0.986253858, -0.0572666377, -0.15499571, -0.101109855, 0.951064467, 0.291980326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
--KWeld.C0 = clerp(KWeld.C0, CFrame.new(1.6214326e-05, -0.999932289, 0.249966294, -1, 7.4505806e-09, 0, 0, -3.24845314e-06, 1.00000012, -1.86264515e-08, 1.00000012, 3.21865082e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
end | |
fuckingdie(targetted) | |
wait(1) | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
end | |
end | |
local combo = false | |
local input = "" | |
local didCombo = false | |
function chainreaction() | |
attack = true | |
Humanoid.WalkSpeed = 0 | |
Humanoid.JumpPower = 0 | |
local func | |
for i = 0, 0.05, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .4, false) | |
--KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
end | |
swait() | |
for i = 0, 0.45, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .6, false) | |
end | |
for i,v in next, Knifu:children() do | |
if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
v.Transparency = 1 | |
end | |
end | |
p2mit.Enabled = false | |
p3mit.Enabled = false | |
local stopIt = false | |
local asd | |
local count = 0 | |
asd = function(dude) | |
local torso = dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso" | |
local cTorso,mag = nil, 0 | |
if torso then | |
for i,v in next, FindNearestTorsos(torso.CFrame.p,15) do | |
if v[2] > mag then | |
cTorso = v[1] | |
mag = v[2] | |
end | |
wait() | |
end | |
count = count + 1 | |
fuckingdiethro(dude) | |
if not cTorso or mag < 1 or count > 7 then | |
stopIt = true | |
else | |
asd(cTorso) | |
end | |
else | |
stopIt = true | |
end | |
end | |
func = coroutine.wrap(function() | |
asd(targetted) | |
end)() | |
repeat wait() until stopIt == true | |
wait(3) | |
for i,v in next, Knifu:children() do | |
if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
v.Transparency = 0 | |
end | |
end | |
p2mit.Enabled = true | |
p3mit.Enabled = true | |
attack = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
end | |
function throwit() | |
attack = true | |
Humanoid.WalkSpeed = 0 | |
for i = 0, 0.05, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .4, false) | |
--KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
end | |
swait() | |
for i = 0, 0.45, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .6, false) | |
end | |
if targetted.Name ~= "Quil_Cyndaquil" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "CKbackup" and targetted.Name ~= "Lime_Pidgey" then | |
for i,v in next, Knifu:children() do | |
if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
v.Transparency = 1 | |
end | |
end | |
p2mit.Enabled = false | |
p3mit.Enabled = false | |
ohshityougothit(targetted) | |
fuckingdiethro(targetted) | |
wait(3) | |
for i,v in next, Knifu:children() do | |
if v:IsA"BasePart" and v.Name ~= "Hitbox" then | |
v.Transparency = 0 | |
end | |
end | |
p2mit.Enabled = true | |
p3mit.Enabled = true | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
elseif targetted.Name == "CKbackup" then | |
wait(2) | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
end | |
local sel = math.random(1,3) | |
if sel == 1 then | |
chat("Sorry, thought you were on the other side.") | |
elseif sel == 2 then | |
chat("I forgot, we are one and the same. Psychopaths.") | |
elseif sel == 3 then | |
chat("Oh, Psycho! How's the Genocider been?") | |
end | |
wait(2) | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
elseif targetted.Name == "Lime_Pidgey" then | |
wait(2) | |
local sel = math.random(1,3) | |
if sel == 1 then | |
chat("Sorry, thought you were on the other side.") | |
elseif sel == 2 then | |
chat("Heyy... Jerry? I think it was?") | |
elseif sel == 3 then | |
chat("Uhh... Sorry.") | |
end | |
for i = 0, 5, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
end | |
wait(2) | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
elseif targetted.Name == "Salvo_Starly" then | |
wait(2) | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
end | |
local sel = math.random(1,3) | |
if sel == 1 then | |
chat("Sorry, thought you were on the other side.") | |
elseif sel == 2 then | |
chat("Ah, Genocider. We've got to talk more!") | |
elseif sel == 3 then | |
chat("Oh, it's you.. How's Sugarie?") | |
end | |
wait(2) | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
else | |
wait(2) | |
for i = 0, 1, 0.1 do | |
swait() | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
end | |
local sel = math.random(1,3) | |
if sel == 1 then | |
chat("Why.. Did I even try?") | |
elseif sel == 2 then | |
chat("Sorry, Nebula. I thought you were against me") | |
elseif sel == 3 then | |
chat("I can't") | |
end | |
wait(2) | |
attack = false | |
Character.Torso.Anchored = false | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
end | |
end | |
function LockOn() | |
if Mouse.Target and Mouse.Target.Parent then | |
local a = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
if a and a.Parent ~= Character then | |
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
coroutine.wrap(function() | |
if targetted ~= Mouse.Target.Parent then | |
targetted = Mouse.Target.Parent | |
img2.Size = UDim2.new(1,0,1,0) | |
img2.ImageTransparency = 0 | |
img2.Position = UDim2.new(0,0,0,0) | |
for i = 0, 2, 0.1 do | |
swait() | |
img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
end | |
end | |
end)() | |
end | |
end | |
end | |
Mouse.KeyDown:connect(function(k) | |
if k == 'q' and attack == false and combo == false then | |
LockOn() | |
end | |
end) | |
Mouse.KeyDown:connect(function(k) | |
if k == 'z' and attack == false and targetted ~= nil and combo == false then | |
sleepchild() | |
end | |
end) | |
Mouse.KeyDown:connect(function(k) | |
if targetted ~= nil and k == 't' and attack == false and combo == false then | |
throwit() | |
end | |
end) | |
Mouse.KeyDown:connect(function(k) | |
if k == 'c' and attack == false and combo == false then | |
coroutine.wrap(function() | |
combo = true | |
Humanoid.WalkSpeed = 0 | |
Humanoid.JumpPower = 0 | |
local asd = false | |
for i = 0, 1.5, .1 do | |
wait(.1) | |
if combo == false then | |
asd = true | |
break; | |
end | |
end | |
if asd == false then | |
if combo == true or input ~= '' then | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
combo = false | |
input = '' | |
end | |
end | |
end)() | |
end | |
end) | |
local Keys = { | |
[48] = "LShift", | |
[13] = "Enter", | |
[32] = "Space", | |
[47] = "RShift", | |
[92] = "Backslash", | |
[50] = "LCtrl", | |
[52] = "LAlt", | |
[49] = "RCtrl", | |
[51] = "RAlt", | |
[8] = "Backspace", | |
[45] = "CapsLock" | |
} | |
local alreadyEnded = false | |
Mouse.KeyDown:connect(function(k) | |
if k == 'n' and not attack and not combo then | |
Sitting = not Sitting | |
end | |
end) | |
Mouse.KeyDown:connect(function(k) | |
if attack == false and combo == true then | |
k = string.lower(k) | |
if k == 'c' or k == 'q' or k == 'e' or k == 'h' or k == 'r' or k == 't' or k == 'n' or k == 'z' or k == 'x' or k == 'm' or k == 'w' or k == 'a' or k == 's' or k == 'd' then | |
if #input < 8 then | |
input = input..k | |
print(input) | |
end | |
elseif Keys[string.byte(k)] == "Enter" then | |
combo = false | |
warn("Trying to execute combo: "..input) | |
if string.lower(input) == "aawdq" then | |
if targetted and attack == false then | |
chainreaction() | |
elseif not targetted then | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
chat("I need a target!") | |
end | |
elseif string.lower(input) == "etwzx" then | |
if attack == false then | |
if not alreadyEnded then | |
alreadyEnded = true | |
endit() | |
else | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
chat("I can't end it again..!") | |
end | |
end | |
else | |
Humanoid.WalkSpeed = 8 | |
Humanoid.JumpPower = 50 | |
end | |
input = '' | |
end | |
end | |
end) | |
local idleC = 0 | |
while true do | |
swait() | |
imgl.Rotation = imgl.Rotation + 3 | |
img2.Rotation = img2.Rotation + 3 | |
if targetted ~= nil then | |
abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
abss.Enabled = true | |
elseif targetted == nil then | |
abss.Adornee = nil | |
abss.Enabled = false | |
end | |
for i, v in pairs(Character:GetChildren()) do | |
if v:IsA("Part") then | |
v.Material = "SmoothPlastic" | |
elseif v:IsA("Accessory") then | |
v:WaitForChild("Handle").Material = "SmoothPlastic" | |
end | |
end | |
Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
velocity = RootPart.Velocity.y | |
sine = sine + change | |
local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
if RootPart.Velocity.y > 1 and hit == nil then | |
Anim = "Jump" | |
idleC = 0 | |
if attack == false then | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
end | |
elseif RootPart.Velocity.y < -1 and hit == nil then | |
Anim = "Fall" | |
idleC = 0 | |
if attack == false then | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
end | |
elseif Torsovelocity < 1 and hit ~= nil then | |
if Sitting then | |
Anim = "Sitting" | |
if attack == false then | |
idleC = idleC+1 | |
PlayAnimationFromTable({ | |
CFrame.new(0.000827711076, -1.65770507, 0.458721817, 0.999484241, -0.0122322068, 0.0296938289, 0.0252500642, 0.870653987, -0.491247624, -0.0198440049, 0.491744012, 0.870513737) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562419407, 1.51485705, -0.185010612, 0.985933542, -0.147043079, -0.0794572532, 0.166523844, 0.904925764, 0.391636789, 0.014315445, -0.399359286, 0.916682839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.49053812, -0.00525209308, 0.341132015, 0.968288898, -0.249781534, 0.0050949771, 0.230188534, 0.899891436, 0.370417148, -0.0971082747, -0.35749796, 0.928851664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.53550422, 0.00908520445, 0.289719999, 0.964274764, 0.237935737, 0.11645104, -0.264904231, 0.866110563, 0.423885047, -2.08616257e-06, -0.439589977, 0.898198724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.877631247, -1.43620968, -0.684172571, 0.881371081, -0.470902473, 0.0379017182, 0.26241079, 0.421269089, -0.868151844, 0.392844826, 0.775101304, 0.494869024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.741793275, -1.41195464, -0.697883487, 0.966170251, 0.249477178, -0.0653936565, -0.179010332, 0.466165125, -0.866398215, -0.18566227, 0.848794281, 0.495053828) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
end | |
else | |
Anim = "Idle" | |
if attack == false then | |
idleC = idleC+1 | |
change = 1 | |
if idleC < 175 then | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .3, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
elseif idleC >= 175 and idleC < 200 then | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-1.0340364, 0.367607117, -0.614107132, 0.883662701, -0.353060901, 0.307383537, 0.318954408, -0.0265178736, -0.94740808, 0.342643917, 0.935224652, 0.0891784057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .1, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
elseif idleC >= 200 and idleC < 325 then | |
PlayAnimationFromTable({ | |
CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.454344451, 0.36049974, -0.596875072, 0.572839379, -0.80925262, 0.130250588, 0.259049803, 0.0279791299, -0.965458691, 0.777655363, 0.586793959, 0.225664154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
}, .01, false) | |
else | |
idleC = 0 | |
end | |
end | |
end | |
elseif Torsovelocity > 2 and hit ~= nil then | |
Anim = "Walk" | |
idleC = 0 | |
if attack == false then | |
PlayAnimationFromTable({ | |
CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
}, .3, false) | |
KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180)) | |
end | |
end | |
if 0 < #Effects then | |
for e = 1, #Effects do | |
if Effects[e] ~= nil then | |
local Thing = Effects[e] | |
if Thing ~= nil then | |
local Part = Thing[1] | |
local Mode = Thing[2] | |
local Delay = Thing[3] | |
local IncX = Thing[4] | |
local IncY = Thing[5] | |
local IncZ = Thing[6] | |
if Thing[2] == "Shoot" then | |
local Look = Thing[1] | |
local move = 30 | |
if Thing[8] == 3 then | |
move = 10 | |
end | |
local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
if Thing[10] ~= nil then | |
da = pos | |
cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
cfa = CFrame.new(Thing[4], pos) | |
tehCF = cfa:lerp(cf2, 0.2) | |
Thing[1] = tehCF.lookVector | |
end | |
local mag = (Thing[4] - pos).magnitude | |
Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
if Thing[8] == 2 then | |
Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
end | |
Thing[4] = Thing[4] + Look * move | |
Thing[3] = Thing[3] - 1 | |
if 2 < Thing[5] then | |
Thing[5] = Thing[5] - 0.3 | |
Thing[6] = Thing[6] - 0.3 | |
end | |
if hit ~= nil then | |
Thing[3] = 0 | |
if Thing[8] == 1 or Thing[8] == 3 then | |
Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
else | |
if Thing[8] == 2 then | |
Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
ref.Anchored = true | |
ref.CFrame = CFrame.new(pos) | |
CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
game:GetService("Debris"):AddItem(ref, 0.2) | |
Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
end | |
end | |
end | |
ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
ref.Anchored = true | |
ref.CFrame = CFrame.new(pos) | |
Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
game:GetService("Debris"):AddItem(ref, 1) | |
end | |
if Thing[3] <= 0 then | |
table.remove(Effects, e) | |
end | |
end | |
do | |
do | |
if Thing[2] == "FireWave" then | |
if Thing[3] <= Thing[4] then | |
Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
Thing[3] = Thing[3] + 1 | |
Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
else | |
Part.Parent = nil | |
table.remove(Effects, e) | |
end | |
end | |
if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
if Thing[1].Transparency <= 1 then | |
if Thing[2] == "Block1" then | |
Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
Mesh = Thing[7] | |
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Block2" then | |
Thing[1].CFrame = Thing[1].CFrame | |
Mesh = Thing[7] | |
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Fire" then | |
Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Cylinder" then | |
Mesh = Thing[7] | |
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Blood" then | |
Mesh = Thing[7] | |
Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Elec" then | |
Mesh = Thing[10] | |
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Disappear" then | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
else | |
if Thing[2] == "Shatter" then | |
Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
Thing[6] = Thing[6] + Thing[5] | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
else | |
Part.Parent = nil | |
table.remove(Effects, e) | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
end | |
end) | |
Dominusastra.MouseButton1Down:connect(function() | |
--//====================================================\\-- | |
--|| CREATED BY SHACKLUSTER | |
--\\====================================================//-- | |
wait(0.2) | |
Player = game:GetService("Players").LocalPlayer | |
PlayerGui = Player.PlayerGui | |
Cam = workspace.CurrentCamera | |
Backpack = Player.Backpack | |
Character = Player.Character | |
Humanoid = Character.Humanoid | |
Mouse = Player:GetMouse() | |
RootPart = Character["HumanoidRootPart"] | |
Torso = Character["Torso"] | |
Head = Character["Head"] | |
RightArm = Character["Right Arm"] | |
LeftArm = Character["Left Arm"] | |
RightLeg = Character["Right Leg"] | |
LeftLeg = Character["Left Leg"] | |
RootJoint = RootPart["RootJoint"] | |
Neck = Torso["Neck"] | |
RightShoulder = Torso["Right Shoulder"] | |
LeftShoulder = Torso["Left Shoulder"] | |
RightHip = Torso["Right Hip"] | |
LeftHip = Torso["Left Hip"] | |
local sick = Instance.new("Sound",Character) | |
sick.SoundId = "rbxassetid://195900687" | |
sick.Looped = true | |
sick.Pitch = 1 | |
sick.Volume = 3 | |
sick:Play() | |
IT = Instance.new | |
CF = CFrame.new | |
VT = Vector3.new | |
RAD = math.rad | |
C3 = Color3.new | |
UD2 = UDim2.new | |
BRICKC = BrickColor.new | |
ANGLES = CFrame.Angles | |
EULER = CFrame.fromEulerAnglesXYZ | |
COS = math.cos | |
ACOS = math.acos | |
SIN = math.sin | |
ASIN = math.asin | |
ABS = math.abs | |
MRANDOM = math.random | |
FLOOR = math.floor | |
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
local NEWMESH = IT(MESH) | |
if MESH == "SpecialMesh" then | |
NEWMESH.MeshType = MESHTYPE | |
if MESHID ~= "nil" and MESHID ~= "" then | |
NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
end | |
if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
end | |
end | |
NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
NEWMESH.Scale = SCALE | |
NEWMESH.Parent = PARENT | |
return NEWMESH | |
end | |
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) | |
local NEWPART = IT("Part") | |
NEWPART.formFactor = FORMFACTOR | |
NEWPART.Reflectance = REFLECTANCE | |
NEWPART.Transparency = TRANSPARENCY | |
NEWPART.CanCollide = false | |
NEWPART.Locked = true | |
NEWPART.Anchored = true | |
if ANCHOR == false then | |
NEWPART.Anchored = false | |
end | |
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
NEWPART.Name = NAME | |
NEWPART.Size = SIZE | |
NEWPART.Position = Torso.Position | |
NEWPART.Material = MATERIAL | |
NEWPART:BreakJoints() | |
NEWPART.Parent = PARENT | |
return NEWPART | |
end | |
--//=================================\\ | |
--|| CUSTOMIZATION | |
--\\=================================// | |
Player_Size = 1 --Size of the player. | |
Animation_Speed = 3 | |
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
local Speed = 16 | |
local Effects2 = {} | |
--//=================================\\ | |
--|| END OF CUSTOMIZATION | |
--\\=================================// | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
--//=================================\\ | |
--|| USEFUL VALUES | |
--\\=================================// | |
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
local CHANGEDEFENSE = 0 | |
local CHANGEDAMAGE = 0 | |
local CHANGEMOVEMENT = 0 | |
local ANIM = "Idle" | |
local ATTACK = false | |
local EQUIPPED = false | |
local HOLD = false | |
local COMBO = 1 | |
local Rooted = false | |
local SINE = 0 | |
local KEYHOLD = false | |
local CHANGE = 2 / Animation_Speed | |
local WALKINGANIM = false | |
local WALK = 0 | |
local VALUE1 = false | |
local VALUE2 = false | |
local ROBLOXIDLEANIMATION = IT("Animation") | |
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
--ROBLOXIDLEANIMATION.Parent = Humanoid | |
local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
WEAPONGUI.Name = "Weapon GUI" | |
local Effects = IT("Folder", Character) | |
Effects.Name = "Effects" | |
local ANIMATOR = Humanoid.Animator | |
local ANIMATE = Character.Animate | |
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
local UNANCHOR = true | |
local SKILLTEXTCOLOR = C3(0.05,0.05,0.15) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
--\\=================================// | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "ArtificialHB" | |
script:WaitForChild("ArtificialHB") | |
frame = Frame_Speed | |
tf = 0 | |
allowframeloss = false | |
tossremainder = false | |
lastframe = tick() | |
script.ArtificialHB:Fire() | |
game:GetService("RunService").Heartbeat:connect(function(s, p) | |
tf = tf + s | |
if tf >= frame then | |
if allowframeloss then | |
script.ArtificialHB:Fire() | |
lastframe = tick() | |
else | |
for i = 1, math.floor(tf / frame) do | |
script.ArtificialHB:Fire() | |
end | |
lastframe = tick() | |
end | |
if tossremainder then | |
tf = 0 | |
else | |
tf = tf - frame * math.floor(tf / frame) | |
end | |
end | |
end) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SOME FUNCTIONS | |
--\\=================================// | |
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
end | |
function PositiveAngle(NUMBER) | |
if NUMBER >= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function NegativeAngle(NUMBER) | |
if NUMBER <= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function Swait(NUMBER) | |
if NUMBER == 0 or NUMBER == nil then | |
ArtificialHB.Event:wait() | |
else | |
for i = 1, NUMBER do | |
ArtificialHB.Event:wait() | |
end | |
end | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5 / s | |
return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00 - m11 - m22 + 1) | |
local recip = 0.5 / s | |
return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
elseif i == 1 then | |
local s = math.sqrt(m11 - m22 - m00 + 1) | |
local recip = 0.5 / s | |
return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
elseif i == 2 then | |
local s = math.sqrt(m22 - m00 - m11 + 1) | |
local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w * xs, w * ys, w * zs | |
local xx = x * xs | |
local xy = x * ys | |
local xz = x * zs | |
local yy = y * ys | |
local yz = y * zs | |
local zz = z * zs | |
return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = ACOS(cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((1 - t) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = 1 - t | |
finishInterp = t | |
end | |
else | |
if (1 + cosTheta) > 0.0001 then | |
local theta = ACOS(-cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((t - 1) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = t - 1 | |
finishInterp = t | |
end | |
end | |
return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
end | |
function Clerp(a, b, t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1 - t | |
return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
end | |
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
local frame = IT("Frame") | |
frame.BackgroundTransparency = TRANSPARENCY | |
frame.BorderSizePixel = BORDERSIZEPIXEL | |
frame.Position = POSITION | |
frame.Size = SIZE | |
frame.BackgroundColor3 = COLOR | |
frame.BorderColor3 = BORDERCOLOR | |
frame.Name = NAME | |
frame.Parent = PARENT | |
return frame | |
end | |
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
local label = IT("TextLabel") | |
label.BackgroundTransparency = 1 | |
label.Size = UD2(1, 0, 1, 0) | |
label.Position = UD2(0, 0, 0, 0) | |
label.TextColor3 = TEXTCOLOR | |
label.TextStrokeTransparency = STROKETRANSPARENCY | |
label.TextTransparency = TRANSPARENCY | |
label.FontSize = TEXTFONTSIZE | |
label.Font = TEXTFONT | |
label.BorderSizePixel = BORDERSIZEPIXEL | |
label.TextScaled = false | |
label.Text = TEXT | |
label.Name = NAME | |
label.Parent = PARENT | |
return label | |
end | |
function NoOutlines(PART) | |
PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
end | |
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
local NEWWELD = IT(TYPE) | |
NEWWELD.Part0 = PART0 | |
NEWWELD.Part1 = PART1 | |
NEWWELD.C0 = C0 | |
NEWWELD.C1 = C1 | |
NEWWELD.Parent = PARENT | |
return NEWWELD | |
end | |
function CreateSound(ID, PARENT, VOLUME, PITCH) | |
local NEWSOUND = nil | |
coroutine.resume(coroutine.create(function() | |
NEWSOUND = IT("Sound", PARENT) | |
NEWSOUND.Volume = VOLUME | |
NEWSOUND.Pitch = PITCH | |
NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
Swait() | |
NEWSOUND:play() | |
game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
end)) | |
return NEWSOUND | |
end | |
function CFrameFromTopBack(at, top, back) | |
local right = top:Cross(back) | |
return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
end | |
function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0)) | |
wave.Color = COLOR | |
local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) | |
wave.CFrame = CFRAME | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, WAIT do | |
Swait() | |
mesh.Scale = mesh.Scale + GROW | |
mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
if DOESROT == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0) | |
end | |
wave.Transparency = wave.Transparency + (0.5/WAIT) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
wave.Color = COLOR | |
local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0)) | |
wave.CFrame = CFRAME | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, WAIT do | |
Swait() | |
mesh.Scale = mesh.Scale + GROW | |
wave.Transparency = wave.Transparency + (1/WAIT) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) | |
local mesh = nil | |
if KIND == "Base" then | |
mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0)) | |
elseif KIND == "Thin" then | |
mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
elseif KIND == "Round" then | |
mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0)) | |
end | |
wave.CFrame = CFRAME | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, WAIT do | |
Swait() | |
mesh.Scale = mesh.Scale + GROW/10 | |
wave.Transparency = wave.Transparency + (0.5/WAIT) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function MakeForm(PART,TYPE) | |
if TYPE == "Cyl" then | |
local MSH = IT("CylinderMesh",PART) | |
elseif TYPE == "Ball" then | |
local MSH = IT("SpecialMesh",PART) | |
MSH.MeshType = "Sphere" | |
elseif TYPE == "Wedge" then | |
local MSH = IT("SpecialMesh",PART) | |
MSH.MeshType = "Wedge" | |
end | |
end | |
function CheckTableForString(Table, String) | |
for i, v in pairs(Table) do | |
if string.find(string.lower(String), string.lower(v)) then | |
return true | |
end | |
end | |
return false | |
end | |
function CheckIntangible(Hit) | |
local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
if Hit and Hit.Parent then | |
if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
return true | |
end | |
end | |
return false | |
end | |
Debris = game:GetService("Debris") | |
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
local Direction = CFrame.new(StartPos, Vec).lookVector | |
local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) | |
if RayHit and CheckIntangible(RayHit) then | |
if DelayIfHit then | |
wait() | |
end | |
RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
end | |
return RayHit, RayPos, RayNormal | |
end | |
function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine) | |
if DoesCourontine == false then | |
local Direction = CF(Part.Position,ToLocation) | |
local Distance = (Part.Position - ToLocation).magnitude | |
for i = 1, AmountOfTime do | |
Swait() | |
Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
Direction = Part.CFrame | |
end | |
Part:remove() | |
elseif DoesCourontine == true then | |
coroutine.resume(coroutine.create(function() | |
local Direction = CF(Part.Position,ToLocation) | |
local Distance = (Part.Position - ToLocation).magnitude | |
for i = 1, AmountOfTime do | |
Swait() | |
Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime) | |
Direction = Part.CFrame | |
end | |
Part:remove() | |
end)) | |
end | |
end | |
function turnto(position) | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) | |
end | |
--//=================================\\ | |
--|| WEAPON CREATION | |
--\\=================================// | |
local naeeym2 = Instance.new("BillboardGui",Character) | |
naeeym2.AlwaysOnTop = true | |
naeeym2.Size = UDim2.new(5,35,2,15) | |
naeeym2.StudsOffset = Vector3.new(0,3,0) | |
naeeym2.Adornee = Character.Head | |
naeeym2.Name = "Name" | |
naeeym2.PlayerToHideFrom = Player | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.TextScaled = true | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = "Dominus Astra" | |
tecks2.Font = "Fantasy" | |
tecks2.TextSize = 30 | |
tecks2.TextStrokeTransparency = 0 | |
tecks2.TextColor3 = Color3.new(0.05,0.05,0.15) | |
tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
tecks2.Parent = naeeym2 | |
function Transparency(TRANS) | |
tecks2.TextTransparency = TRANS | |
tecks2.TextStrokeTransparency = TRANS | |
for _, c in pairs(Character:GetChildren()) do | |
if c.ClassName == "Part" and c ~= RootPart then | |
c.Transparency = TRANS | |
if c:FindFirstChildOfClass("Decal") then | |
c:FindFirstChildOfClass("Decal").Transparency = TRANS | |
end | |
elseif c.ClassName == "Accessory" then | |
c.Handle.Transparency = TRANS | |
elseif c.ClassName == "Model" then | |
for _, q in pairs(c:GetChildren()) do | |
if q.ClassName == "Part" then | |
q.Transparency = TRANS | |
if q:FindFirstChildOfClass("Decal") then | |
q:FindFirstChildOfClass("Decal").Transparency = TRANS | |
end | |
end | |
end | |
end | |
end | |
end | |
Humanoid.Died:connect(function() | |
Humanoid.Parent = nil | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
refit() | |
Humanoid.Parent = Character | |
CreateSound("907330011", Head, 10, 1.2) | |
end) | |
local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
local SKILLEFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Warp Frame") | |
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Lunar Blast", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 1") | |
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Star Cutter", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text 2") | |
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Supernova", SKILLTEXTCOLOR, 10, "Fantasy", 0, 2, 0, "Text 3") | |
local SKILLETEXT = CreateLabel(SKILLEFRAME, "[Q] Astral Hop", SKILLTEXTCOLOR, 7, "Fantasy", 0, 2, 0, "Text Warp") | |
--//=================================\\ | |
--|| DAMAGING | |
--\\=================================// | |
function killnearest(position,range,maxstrength) | |
for i,v in ipairs(workspace:GetChildren()) do | |
local body = v:GetChildren() | |
for part = 1, #body do | |
if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
if(body[part].Position - position).Magnitude < range then | |
if v.ClassName == "Model" then | |
v:BreakJoints() | |
end | |
--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
local bv = Instance.new("BodyVelocity") | |
bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
bv.velocity = CF(position,body[part].Position).lookVector*maxstrength | |
bv.Parent = body[part] | |
Debris:AddItem(bv,0.2) | |
end | |
end | |
end | |
if v.ClassName == "Part" then | |
if v.Anchored == false and (v.Position - position).Magnitude < range then | |
--table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
end | |
end | |
end | |
end | |
--//=================================\\ | |
--|| ATTACK FUNCTIONS AND STUFF | |
--\\=================================// | |
function Lunar_Blast() | |
local HITBODIES = {} | |
local CENTER = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly red", "CenterPart", VT(0,0,0)) | |
local HITFLOOR,ECH,NORMAL = Raycast(Mouse.Hit.p+VT(0,2,0), (CF(Mouse.Hit.p, Mouse.Hit.p + VT(0, -1, 0))).lookVector, 10000000, Character) | |
CENTER.CFrame = CF(ECH) | |
local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Laser01", VT(25,99999,25)) | |
RAY.Color = C3(0.05,0.05,0.15) | |
MakeForm(RAY,"Cyl") | |
RAY.CFrame = CF(ECH) | |
for i = 1, 75 do | |
Swait() | |
RAY.Transparency = RAY.Transparency - 1/75 | |
RAY.Size = RAY.Size - VT(25/75,0,25/75) | |
MagicSphere(VT(1,1,1),15,CF(ECH)*CF(MRANDOM(-15,15),MRANDOM(0,100),MRANDOM(-15,15)),C3(1,1,1),VT(0,0,0)) | |
end | |
killnearest(ECH,25,25) | |
MagicSphere(VT(0,0,0),55,CF(ECH),C3(0.05,0.05,0.15),VT(2,2,2)) | |
for i = 1, 25 do | |
MagicSphere(VT(1,1,1),i*3,CF(ECH)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
end | |
CreateSound("168586621", CENTER, 10, 0.8) | |
RAY:remove() | |
Debris:AddItem(CENTER,5) | |
end | |
function Star_Cutter() | |
local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
if HITFLOOR ~= nil then | |
ATTACK = true | |
Rooted = true | |
local GYRO = IT("BodyGyro",RootPart) | |
GYRO.D = 100 | |
GYRO.P = 2000 | |
GYRO.MaxTorque = VT(0,4000000,0) | |
GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
CreateSound("429459101", RightArm, 10, 0.8) | |
for i=0, 3.5, 0.1 / Animation_Speed do | |
Swait() | |
GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
GYRO:remove() | |
for i=0, 0.15, 0.1 / Animation_Speed do | |
Swait() | |
GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) | |
Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really red",VT(-0.01,0,-0.01)) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
local BOMBSPOTS = {} | |
for i = 1, 25 do | |
local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8)) | |
SPOT.Color = SKILLTEXTCOLOR | |
SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5) | |
table.insert(BOMBSPOTS,SPOT) | |
MakeForm(SPOT,"Cyl") | |
end | |
for i=0, 0.2, 0.1 / Animation_Speed do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
ATTACK = false | |
Rooted = false | |
coroutine.resume(coroutine.create(function() | |
Swait(3) | |
for i = 1, #BOMBSPOTS do | |
if BOMBSPOTS[i] ~= nil then | |
local E = BOMBSPOTS[i] | |
coroutine.resume(coroutine.create(function() | |
local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0)) | |
BLADE.Color = SKILLTEXTCOLOR | |
CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0)) | |
CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6) | |
BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15))) | |
for i = 1, 10 do | |
Swait() | |
MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0)) | |
killnearest(BLADE.Position,6,80) | |
BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0) | |
BLADE.Transparency = BLADE.Transparency - 0.1 | |
end | |
Swait(45) | |
for i = 1, 100 do | |
Swait() | |
BLADE.Transparency = BLADE.Transparency + 0.01 | |
E.Transparency = E.Transparency + 0.01 | |
end | |
BLADE:remove() | |
E:remove() | |
end)) | |
end | |
end | |
end)) | |
end | |
end | |
function Supernova() | |
local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
if HITFLOOR ~= nil then | |
local HITBODIES = {} | |
ATTACK = true | |
Rooted = true | |
local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Relly red", "Star", VT(0,0,0)) | |
MakeForm(ABSOLUTE,"Ball") | |
CreateSound("429459101", ABSOLUTE, 10, 1) | |
for i=0, 4, 0.1 / Animation_Speed do | |
Swait() | |
ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2,0.2,0.2) | |
ABSOLUTE.CFrame = RootPart.CFrame*CF(0,5+(ABSOLUTE.Size.Y/2),0) | |
ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 | |
local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Star", VT(1,1,1)) | |
MakeForm(CHARGE,"Ball") | |
CHARGE.Color = C3(1,1,1) | |
CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15,15),-6,MRANDOM(-15,15)) | |
FireArc(CHARGE,ABSOLUTE.Position,45,45,true) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
CreateSound("907330103", Head, 10, 1.2) | |
for i = 1, 75 do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
coroutine.resume(coroutine.create(function() | |
for i = 1, 13 do | |
for e = 1, 8 do | |
Swait() | |
MagicSphere(VT(1,1,1),15,CF(ABSOLUTE.Position)*CF(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45)),C3(1,1,1),VT(0,0,0)) | |
CreateSwirl(ABSOLUTE.Size/2,15,CF(HITPOS),true,15,BRICKC"Slime green".Color,VT(i,0.3,i)*2) | |
end | |
for i = 1, 5 do | |
Slice("Round",0,35,CF(ABSOLUTE.Position)*ANGLES(RAD(MRANDOM(-18,18)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-18,18))),C3(1,1,1),VT(i,0,i)/3) | |
Slice("Thin",i,55,ABSOLUTE.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),C3(1,0,0),VT(0,0,0)) | |
end | |
CreateSwirl(ABSOLUTE.Size/2,25,CF(ABSOLUTE.Position),true,-25,BRICKC"Relly red".Color,VT(i,i*2,i)) | |
CreateSwirl(ABSOLUTE.Size/2,55,CF(ABSOLUTE.Position),true,25,C3(0.05,0.05,0.15),VT(i,i*2,i)) | |
CreateSound("168586621", ABSOLUTE, 4, 0.8) | |
CreateSound("201858144", ABSOLUTE, 10, 0.8) | |
killnearest(ABSOLUTE.Position,i*18,i) | |
ABSOLUTE.Size = ABSOLUTE.Size*0.9 | |
MagicSphere(ABSOLUTE.Size,25,CF(ABSOLUTE.Position),BRICKC"Relly red".Color,VT(i,i,i)/1.1) | |
MagicSphere(ABSOLUTE.Size,45,CF(ABSOLUTE.Position),C3(0.05,0.05,0.15),VT(i,i,i)) | |
end | |
ABSOLUTE.Transparency = 1 | |
Debris:AddItem(ABSOLUTE,10) | |
end)) | |
ATTACK = false | |
Rooted = false | |
end | |
end | |
local Decal = IT("Decal") | |
function Astral_Hop() | |
ATTACK = true | |
Rooted = false | |
local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
local decal = Decal:Clone() | |
decal.Parent = O1 | |
decal.Face = "Top" | |
decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
local decal2 = Decal:Clone() | |
decal2.Parent = O1 | |
decal2.Face = "Bottom" | |
decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
local O2 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
local POS = VT(RootPart.Position.X,Mouse.Hit.p.Y+6,RootPart.Position.Z) | |
O2.CFrame = CF(Mouse.Hit.p+VT(0,6,0),POS)*ANGLES(RAD(90),RAD(0),RAD(0)) | |
local ROOT = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Warphole", VT(0,0,0)) | |
ROOT.CFrame = CF(O2.Position,RootPart.Position) | |
local decal = Decal:Clone() | |
decal.Parent = O2 | |
decal.Face = "Top" | |
decal.Texture = "http://www.roblox.com/asset/?id=349165228" | |
local decal2 = Decal:Clone() | |
decal2.Parent = O2 | |
decal2.Face = "Bottom" | |
decal2.Texture = "http://www.roblox.com/asset/?id=349165228" | |
CreateSound("84005018", O1, 10, 0.7) | |
CreateSound("84005018", O2, 10, 0.7) | |
for i = 1, 75 do | |
Swait() | |
O1.Size = O1.Size + VT(0.1,0,0.1) | |
O1.CFrame = RootPart.CFrame*CF(0,0,-3)*ANGLES(RAD(90),RAD(i),RAD(0)) | |
O2.Size = O2.Size + VT(0.1,0,0.1) | |
O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
Rooted = true | |
UNANCHOR = false | |
RootPart.Anchored = true | |
VALUE1 = true | |
for i = 1, 15 do | |
Transparency(i/15) | |
Swait() | |
RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.13) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
RootPart.CFrame = ROOT.CFrame | |
ROOT:remove() | |
for i = 1, 15 do | |
Transparency(1-(i/15)) | |
Swait() | |
RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.5) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(16 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-15), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
VALUE1 = false | |
coroutine.resume(coroutine.create(function() | |
for i = 1, 75 do | |
Swait() | |
O1.Size = O1.Size - VT(0.1,0,0.1) | |
O1.CFrame = O1.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
O2.Size = O2.Size - VT(0.1,0,0.1) | |
O2.CFrame = O2.CFrame*ANGLES(RAD(0),RAD(i),RAD(0)) | |
end | |
O1:remove() | |
O2:remove() | |
end)) | |
UNANCHOR = true | |
RootPart.Anchored = false | |
ATTACK = false | |
Rooted = false | |
end | |
--//=================================\\ | |
--|| ASSIGN THINGS TO KEYS | |
--\\=================================// | |
function MouseDown(Mouse) | |
if ATTACK == false then | |
end | |
end | |
function MouseUp(Mouse) | |
HOLD = false | |
end | |
function KeyDown(Key) | |
KEYHOLD = true | |
if Key == "z" and ATTACK == false then | |
Lunar_Blast() | |
end | |
if Key == "b" and ATTACK == false then | |
Star_Cutter() | |
end | |
if Key == "c" and ATTACK == false then | |
Supernova() | |
end | |
if Key == "q" and ATTACK == false then | |
Astral_Hop() | |
end | |
end | |
function KeyUp(Key) | |
KEYHOLD = false | |
end | |
Mouse.Button1Down:connect(function(NEWKEY) | |
MouseDown(NEWKEY) | |
end) | |
Mouse.Button1Up:connect(function(NEWKEY) | |
MouseUp(NEWKEY) | |
end) | |
Mouse.KeyDown:connect(function(NEWKEY) | |
KeyDown(NEWKEY) | |
end) | |
Mouse.KeyUp:connect(function(NEWKEY) | |
KeyUp(NEWKEY) | |
end) | |
--//=================================\\ | |
--\\=================================// | |
function unanchor() | |
if UNANCHOR == true then | |
g = Character:GetChildren() | |
for i = 1, #g do | |
if g[i].ClassName == "Part" then | |
g[i].Anchored = false | |
end | |
end | |
end | |
end | |
--//=================================\\ | |
--|| WRAP THE WHOLE SCRIPT UP | |
--\\=================================// | |
Humanoid.Changed:connect(function(Jump) | |
if Jump == "Jump" and (Disable_Jump == true) then | |
Humanoid.Jump = false | |
end | |
end) | |
Humanoid.HipHeight = 2 | |
Head:ClearAllChildren() | |
local FF = IT("ForceField",Character) | |
FF.Visible = false | |
Speed = 35 | |
function refit() | |
RootJoint.Parent = RootPart | |
Neck.Parent = Torso | |
RightShoulder.Parent = Torso | |
LeftShoulder.Parent = Torso | |
RightHip.Parent = Torso | |
LeftHip.Parent = Torso | |
RootPart.Parent = Character | |
LeftArm.Parent = Character | |
RightArm.Parent = Character | |
RightLeg.Parent = Character | |
LeftLeg.Parent = Character | |
Torso.Parent = Character | |
Head.Parent = Character | |
end | |
local FOUNDFORGOTTEN = false | |
while true do | |
Swait() | |
ANIMATE.Parent = nil | |
local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
IDLEANIMATION:Play() | |
SINE = SINE + CHANGE | |
local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character) | |
if ATTACK == false then | |
if TORSOVELOCITY < 1 then | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
elseif TORSOVELOCITY > 1 then | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) | |
end | |
end | |
unanchor() | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
if Rooted == false then | |
Disable_Jump = false | |
Humanoid.WalkSpeed = Speed | |
elseif Rooted == true then | |
Disable_Jump = true | |
Humanoid.WalkSpeed = 0 | |
end | |
for _, c in pairs(Character:GetChildren()) do | |
if c.ClassName == "Part" then | |
c.Material = "Neon" | |
if c:FindFirstChildOfClass("ParticleEmitter") then | |
c:FindFirstChildOfClass("ParticleEmitter"):remove() | |
end | |
if c == Torso then | |
c.Color = C3(0,0,0) | |
elseif c == RightArm then | |
c.Color = C3(0.05,0.05,0.15) | |
elseif c == LeftArm then | |
c.Color = C3(0.05,0.05,0.15) | |
elseif c == RightLeg then | |
c.Color = C3(0,0,0.05) | |
elseif c == LeftLeg then | |
c.Color = C3(0,0,0.05) | |
elseif c == Head then | |
if c:FindFirstChild("Dominus") == nil then | |
local M = CreateMesh("SpecialMesh", c, "FileMesh", "162384581", "162384608", VT(1,1,1)*1.1, VT(0,0,0)) | |
M.Name = "Dominus" | |
end | |
if c:FindFirstChild("face") then | |
c.face:remove() | |
end | |
end | |
elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then | |
c:remove() | |
end | |
end | |
FF.Parent = Character | |
sick.Parent = Character | |
refit() | |
script.Parent = WEAPONGUI | |
Character.Parent = workspace | |
Humanoid.PlatformStand = false | |
Humanoid.Name = "Astra" | |
for _, c in pairs(game.Players:GetChildren()) do | |
if c.Character ~= nil then | |
if c.Character.Parent ~= workspace and c.Character.Parent ~= nil then | |
c.Character:BreakJoints() | |
end | |
end | |
end | |
FOUNDFORGOTTEN = false | |
Humanoid.DisplayDistanceType = "None" | |
for _, c in pairs(workspace:GetChildren()) do | |
if c.ClassName == "Model" then | |
for _, q in pairs(c:GetChildren()) do | |
if q.Name == ("Forgotten Dominus") then | |
FOUNDFORGOTTEN = true | |
end | |
end | |
end | |
end | |
if FOUNDFORGOTTEN == true then | |
sick:Stop() | |
else | |
sick.Playing = true | |
end | |
if VALUE1 == false then | |
MagicSphere(VT(1,1,1)/5,35,CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0)) | |
end | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//====================================================\\-- | |
--|| END OF SCRIPT | |
--\\====================================================//-- | |
end) | |
DualRainbowSword.MouseButton1Down:connect(function() | |
---------------- | |
--Dual Ultima-- | |
---------------------------------------------------------------- | |
--This edit is by CKbackup (Sugarie Saffron)-------------------- | |
--Credits to whoever the hell made the original Solaris--------- | |
---------------------------------------------------------------- | |
Player=game:GetService("Players").LocalPlayer | |
Character=Player.Character | |
PlayerGui=Player.PlayerGui | |
Backpack=Player.Backpack | |
Torso=Character.Torso | |
Head=Character.Head | |
Humanoid=Character:FindFirstChildOfClass("Humanoid") | |
m=Instance.new('Model',Character) | |
m2=Instance.new('Model',Character) | |
effs=Instance.new('Model',Character) | |
LeftArm=Character["Left Arm"] | |
LeftLeg=Character["Left Leg"] | |
RightArm=Character["Right Arm"] | |
RightLeg=Character["Right Leg"] | |
LS=Torso["Left Shoulder"] | |
LH=Torso["Left Hip"] | |
RS=Torso["Right Shoulder"] | |
RH=Torso["Right Hip"] | |
Face = Head.face | |
Neck=Torso.Neck | |
it=Instance.new | |
attacktype=1 | |
vt=Vector3.new | |
cf=CFrame.new | |
euler=CFrame.fromEulerAnglesXYZ | |
angles=CFrame.Angles | |
cloaked=false | |
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
RootPart=Character.HumanoidRootPart | |
RootJoint=RootPart.RootJoint | |
RootCF=euler(-1.57,0,3.14) | |
attack = false | |
attackdebounce = false | |
deb=false | |
equipped=true | |
hand=false | |
MMouse=nil | |
combo=0 | |
mana=0 | |
trispeed=.2 | |
attackmode='none' | |
local idle=0 | |
local Anim="Idle" | |
local Effects={} | |
local gun=false | |
local shoot=false | |
player=nil | |
mana=0 | |
local CurrentMode = "Unsheathed" | |
mouse=Player:GetMouse() | |
--save shoulders | |
RSH, LSH=nil, nil | |
--welds | |
RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
LH=Torso["Left Hip"] | |
RH=Torso["Right Hip"] | |
TorsoColor=Torso.BrickColor | |
function NoOutline(Part) | |
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
end | |
player=Player | |
ch=Character | |
RSH=ch.Torso["Right Shoulder"] | |
LSH=ch.Torso["Left Shoulder"] | |
-- | |
RSH.Parent=nil | |
LSH.Parent=nil | |
-- | |
RW.Name="Right Shoulder" | |
RW.Part0=ch.Torso | |
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
RW.C1=cf(0, 0.5, 0) | |
RW.Part1=ch["Right Arm"] | |
RW.Parent=ch.Torso | |
-- | |
LW.Name="Left Shoulder" | |
LW.Part0=ch.Torso | |
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
LW.C1=cf(0, 0.5, 0) | |
LW.Part1=ch["Left Arm"] | |
LW.Parent=ch.Torso | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
function nooutline(part) | |
part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
end | |
function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
local fp=it("Part") | |
fp.formFactor=formfactor | |
fp.Parent=parent | |
fp.Reflectance=reflectance | |
fp.Transparency=transparency | |
fp.CanCollide=false | |
fp.Locked=true | |
fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
fp.Name=name | |
fp.Size=size | |
fp.Position=Character.Torso.Position | |
nooutline(fp) | |
fp.Material=material | |
fp:BreakJoints() | |
return fp | |
end | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "Heartbeat" | |
script:WaitForChild("Heartbeat") | |
frame = 0.015 | |
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 | |
ArtificialHB.Event:wait(0) | |
else | |
for i = 0, num do | |
ArtificialHB.Event:wait(0) | |
end | |
end | |
end | |
-- function swait(num) | |
-- if num==0 or num==nil then | |
-- game:service'RunService'.Heartbeat:wait(0) | |
-- else | |
-- for i=0,num do | |
-- game:service'RunService'.Heartbeat:wait(0) | |
-- end | |
-- end | |
-- end | |
function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
local mesh=it(Mesh) | |
mesh.Parent=part | |
if Mesh=="SpecialMesh" then | |
mesh.MeshType=meshtype | |
mesh.MeshId=meshid | |
end | |
mesh.Offset=offset | |
mesh.Scale=scale | |
return mesh | |
end | |
function weld(parent,part0,part1,c0,c1) | |
local weld=it("Weld") | |
weld.Parent=parent | |
weld.Part0=part0 | |
weld.Part1=part1 | |
weld.C0=c0 | |
weld.C1=c1 | |
return weld | |
end | |
local function CFrameFromTopBack(at, top, back) | |
local right = top:Cross(back) | |
return CFrame.new(at.x, at.y, at.z, | |
right.x, top.x, back.x, | |
right.y, top.y, back.y, | |
right.z, top.z, back.z) | |
end | |
function Triangle(a, b, c) | |
local edg1 = (c-a):Dot((b-a).unit) | |
local edg2 = (a-b):Dot((c-b).unit) | |
local edg3 = (b-c):Dot((a-c).unit) | |
if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
a, b, c = a, b, c | |
elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
a, b, c = b, c, a | |
elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
a, b, c = c, a, b | |
else | |
assert(false, "unreachable") | |
end | |
local len1 = (c-a):Dot((b-a).unit) | |
local len2 = (b-a).magnitude - len1 | |
local width = (a + (b-a).unit*len1 - c).magnitude | |
local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
local list = {} | |
if len1 > 0.01 then | |
local w1 = Instance.new('WedgePart', m) | |
game:GetService("Debris"):AddItem(w1,5) | |
w1.Material = "SmoothPlastic" | |
w1.FormFactor = 'Custom' | |
w1.BrickColor = BrickColor.new("White") | |
w1.Transparency = 0 | |
w1.Reflectance = 0 | |
w1.Material = "Neon" | |
w1.CanCollide = false | |
NoOutline(w1) | |
local sz = Vector3.new(0.2, width, len1) | |
w1.Size = sz | |
local sp = Instance.new("SpecialMesh",w1) | |
sp.MeshType = "Wedge" | |
sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
w1:BreakJoints() | |
w1.Anchored = true | |
w1.Parent = workspace | |
w1.Transparency = 0.3 | |
table.insert(Effects,{w1,"Disappear",.03}) | |
w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
table.insert(list,w1) | |
end | |
if len2 > 0.01 then | |
local w2 = Instance.new('WedgePart', m) | |
game:GetService("Debris"):AddItem(w2,5) | |
w2.Material = "SmoothPlastic" | |
w2.FormFactor = 'Custom' | |
w2.BrickColor = BrickColor.new("White") | |
w2.Transparency = 0 | |
w2.Reflectance = 0 | |
w2.Material = "Neon" | |
w2.CanCollide = false | |
NoOutline(w2) | |
local sz = Vector3.new(0.2, width, len2) | |
w2.Size = sz | |
local sp = Instance.new("SpecialMesh",w2) | |
sp.MeshType = "Wedge" | |
sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
w2:BreakJoints() | |
w2.Anchored = true | |
w2.Parent = workspace | |
w2.Transparency = 0.3 | |
table.insert(Effects,{w2,"Disappear",.03}) | |
w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
table.insert(list,w2) | |
end | |
return unpack(list) | |
end | |
so = function(id,par,vol,pit) | |
coroutine.resume(coroutine.create(function() | |
local sou = Instance.new("Sound",par or workspace) | |
sou.Volume=vol | |
sou.Pitch=pit or 1 | |
sou.SoundId=id | |
swait() | |
sou:play() | |
game:GetService("Debris"):AddItem(sou,6) | |
end)) | |
end | |
function clerp(a,b,t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1-t | |
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5/s | |
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00-m11-m22+1) | |
local recip = 0.5/s | |
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
elseif i == 1 then | |
local s = math.sqrt(m11-m22-m00+1) | |
local recip = 0.5/s | |
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
elseif i == 2 then | |
local s = math.sqrt(m22-m00-m11+1) | |
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w*xs, w*ys, w*zs | |
local xx = x*xs | |
local xy = x*ys | |
local xz = x*zs | |
local yy = y*ys | |
local yz = y*zs | |
local zz = z*zs | |
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = math.acos(cosTheta) | |
local invSinTheta = 1/math.sin(theta) | |
startInterp = math.sin((1-t)*theta)*invSinTheta | |
finishInterp = math.sin(t*theta)*invSinTheta | |
else | |
startInterp = 1-t | |
finishInterp = t | |
end | |
else | |
if (1+cosTheta) > 0.0001 then | |
local theta = math.acos(-cosTheta) | |
local invSinTheta = 1/math.sin(theta) | |
startInterp = math.sin((t-1)*theta)*invSinTheta | |
finishInterp = math.sin(t*theta)*invSinTheta | |
else | |
startInterp = t-1 | |
finishInterp = t | |
end | |
end | |
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
end | |
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
end | |
Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
if hit.Parent==nil then | |
return | |
end | |
local h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
for _,v in pairs(hit.Parent:GetDescendants()) do | |
if v:IsA("Humanoid") then | |
h=v | |
end | |
end | |
if hit.Parent.Parent:FindFirstChild("Head")~=nil then | |
h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
end | |
if hit.Parent:IsA("Accoutrement") then | |
hit=hit.Parent.Parent:findFirstChild("Head") | |
end | |
if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then | |
if hit.Parent:findFirstChild("DebounceHit")~=nil then return end | |
Instance.new("BoolValue",h.Parent).Name = "DebounceHit" | |
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
return | |
end]] | |
-- hs(hit,1.2) | |
local c=Instance.new("ObjectValue") | |
c.Name="creator" | |
c.Value=game:service("Players").LocalPlayer | |
c.Parent=h | |
game:GetService("Debris"):AddItem(c,.5) | |
local Damage=math.random(minim,maxim) | |
-- h:TakeDamage(Damage) | |
local blocked=false | |
local block=hit.Parent:findFirstChild("Block") | |
if block~=nil then | |
print(block.className) | |
if block.className=="NumberValue" then | |
if block.Value>0 then | |
blocked=true | |
if decreaseblock==nil then | |
block.Value=block.Value-1 | |
end | |
end | |
end | |
if block.className=="IntValue" then | |
if block.Value>0 then | |
blocked=true | |
if decreaseblock~=nil then | |
block.Value=block.Value-1 | |
end | |
end | |
end | |
end | |
coroutine.resume(coroutine.create(function() | |
h.Parent:BreakJoints() | |
coroutine.resume(coroutine.create(function() | |
local naeeym2 = Instance.new("BillboardGui",h.Parent) | |
naeeym2.Size = UDim2.new(0,100,0,40) | |
naeeym2.StudsOffset = Vector3.new(0,3,0) | |
naeeym2.Adornee = h.Parent.Head | |
naeeym2.Name = "TalkingBillBoard" | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = "GIT SKITTL'D!11!" | |
tecks2.Font = "Fantasy" | |
tecks2.FontSize = "Size36" | |
tecks2.TextStrokeTransparency = 0 | |
tecks2.TextColor3 = Color3.new(0,0,0) | |
tecks2.TextStrokeColor3 = Color3.new(.6,0,1) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
coroutine.resume(coroutine.create(function() | |
while true do | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(1,i/256,0) | |
swait() | |
end | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(1-i/256,1,0) | |
swait() | |
end | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(0,1,i/256) | |
swait() | |
end | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(0,1-i/256,1) | |
swait() | |
end | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(i/256,0,1) | |
swait() | |
end | |
for i = 0,256,16 do | |
tecks2.TextStrokeColor3 = Color3.new(1,0,1-i/256) | |
swait() | |
end | |
end | |
end)) | |
swait(50) | |
for i = 0,1,.05 do | |
swait() | |
tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0) | |
tecks2.TextStrokeTransparency = i | |
tecks2.TextTransparency = i | |
end | |
naeeym2:Destroy() | |
end)) | |
local st = (CFrame.new(h.Parent.Head.CFrame * Vector3.new(0,-1.5,0))).p | |
for oa = 1, 5 do | |
local effp = Instance.new("Part",workspace) | |
effp.CanCollide = false | |
effp.BottomSurface = 0 | |
effp.TopSurface = 0 | |
effp.Size = Vector3.new(1,1,1) | |
effp.Anchored = true | |
effp.CFrame = (h.Parent.Head.CFrame * CFrame.new(0,-1.5,0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,359)),math.rad(math.random(0,359)),math.rad(math.random(0,359))) | |
effp.Material = "Neon" | |
effp.BrickColor = BrickColor.new("White") | |
local efm = Instance.new("SpecialMesh",effp) | |
efm.MeshType = "Sphere" | |
coroutine.resume(coroutine.create(function() | |
for a = 0,1,.05 do | |
efm.Scale = Vector3.new(2-a*2,100*a,2-a*2) | |
effp.Transparency = a | |
swait() | |
end | |
effp:Destroy() | |
end)) | |
end | |
for i, v in pairs(h.Parent:GetChildren()) do | |
if v:IsA("BasePart") then | |
v.Anchored = false | |
end | |
end | |
for a, v in pairs(h.Parent:GetChildren()) do | |
if v:IsA("BasePart") then | |
local bodpos = Instance.new("BodyPosition",v) | |
bodpos.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
v.BrickColor = BrickColor.new("White") | |
v.Material = "Neon" | |
end | |
end | |
for d = 0,1,.05 do | |
for i, v in pairs(h.Parent:GetChildren()) do | |
if v:IsA("BasePart") then | |
v.Transparency = d | |
swait() | |
end | |
end | |
end | |
for i, v in pairs(h.Parent:GetChildren()) do | |
if v:IsA("BasePart") then | |
v:Destroy() | |
end | |
end | |
end)) | |
end | |
end | |
function ShowDamage(Dude, Text, Time, Color) | |
coroutine.resume(coroutine.create(function() | |
local naeeym2 = Instance.new("BillboardGui",Dude) | |
naeeym2.Size = UDim2.new(0,100,0,40) | |
naeeym2.StudsOffset = Vector3.new(0,3,0) | |
naeeym2.Adornee = Dude.Head | |
naeeym2.Name = "TalkingBillBoard" | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = Text | |
tecks2.Font = "Fantasy" | |
tecks2.TextSize = 24 | |
tecks2.TextStrokeTransparency = 0 | |
tecks2.TextColor3 = Color3.new(.8,0,1) | |
tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
swait(10) | |
for i = 0,1,.05 do | |
swait() | |
tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0) | |
tecks2.TextStrokeTransparency = i | |
tecks2.TextTransparency = i | |
end | |
naeeym2:Destroy() | |
end)) | |
end | |
handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999)) | |
handleweld=weld(handle,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007)) | |
mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"White","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024)) | |
Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1)) | |
mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"White","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"White","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
handle2=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999)) | |
handle2weld=weld(handle2,Character["Left Arm"],handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007)) | |
mesh("CylinderMesh",handle2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Hitbox2=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0.5,1,"White","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024)) | |
Hitbox2weld=weld(m2,handle2,Hitbox2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1)) | |
mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Metal,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0.5,0,"White","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0.5,0,"White","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Metal,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463)) | |
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007)) | |
mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961)) | |
Part=part(Enum.FormFactor.Custom,m2,Enum.Material.Neon,0,0,"White","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999)) | |
Partweld=weld(m2,handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1)) | |
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1)) | |
local att1 = Instance.new("Attachment",Hitbox) | |
att1.Position = Vector3.new(-Hitbox.Size.X/2,Hitbox.Size.Y/2,0) | |
local att2 = Instance.new("Attachment",Hitbox) | |
att2.Position = Vector3.new(-Hitbox.Size.X/2,-Hitbox.Size.Y/2,0) | |
local tr1 = Instance.new("Trail",Hitbox) | |
tr1.Color = ColorSequence.new(Part.BrickColor.Color) | |
tr1.Transparency = NumberSequence.new(0,1) | |
tr1.Lifetime = .5 | |
--tr1.Enabled = false | |
tr1.LightEmission = 1 | |
tr1.Attachment0 = att1 | |
tr1.Attachment1 = att2 | |
local att3 = Instance.new("Attachment",Hitbox2) | |
att3.Position = Vector3.new(-Hitbox2.Size.X/2,Hitbox2.Size.Y/2,0) | |
local att4 = Instance.new("Attachment",Hitbox2) | |
att4.Position = Vector3.new(-Hitbox2.Size.X/2,-Hitbox2.Size.Y/2,0) | |
local tr2 = Instance.new("Trail",Hitbox2) | |
tr2.Color = ColorSequence.new(Part.BrickColor.Color) | |
tr2.Transparency = NumberSequence.new(0,1) | |
tr2.Lifetime = .5 | |
--tr2.Enabled = false | |
tr2.LightEmission = 1 | |
tr2.Attachment0 = att3 | |
tr2.Attachment1 = att4 | |
local Lite = it("PointLight",Torso) | |
Lite.Color = Color3.new(.7,0,1) | |
Lite.Range = 8 | |
Lite.Brightness = 10 | |
Lite.Shadows = true | |
musid = "rbxassetid://413641131" | |
local mus = Instance.new("Sound",Character) | |
mus.Name = "mus" | |
mus.SoundId = musid | |
mus.Looped = true | |
mus.Volume = 4 | |
mus:Play() | |
function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
local prt=part("Custom",effs,"Neon",0,0,"White","Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
CF=Part.CFrame | |
Numbb=0 | |
randnumb=math.random()-math.random() | |
for i=0,1,0.05 do | |
swait() | |
CF=CF*cf(0,1,0) | |
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
Part.CFrame=CF*euler(Numbb,0,0) | |
Part.Transparency=i | |
Numbb=Numbb+randnumb | |
end | |
Part.Parent=nil | |
end),prt) | |
end | |
--BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5) | |
neons = {} | |
for i, v in pairs(Character:GetDescendants()) do | |
if v:IsA("BasePart") and (v.Parent == m or v.Parent == m2) and v.BrickColor == BrickColor.new("White") then | |
table.insert(neons,v) | |
v.Material = "Neon" | |
end | |
end | |
function updateCol2(col) | |
tr2.Color = ColorSequence.new(col) | |
tr1.Color = ColorSequence.new(col) | |
Lite.Color = col | |
for i, v in pairs(effs:children()) do | |
v.Color = col | |
end | |
for i=1,#neons do | |
neons[i].Color = col | |
end | |
end | |
colrr = Color3.new() | |
maincol = Color3.new() | |
coroutine.resume(coroutine.create(function() | |
while true do | |
for i = 0,256,16 do | |
colrr = Color3.new(1,i/256,0) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
for i = 0,256,16 do | |
colrr = Color3.new(1-i/256,1,0) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
for i = 0,256,16 do | |
colrr = Color3.new(0,1,i/256) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
for i = 0,256,16 do | |
colrr = Color3.new(0,1-i/256,1) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
for i = 0,256,16 do | |
colrr = Color3.new(i/256,0,1) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
for i = 0,256,16 do | |
colrr = Color3.new(1,0,1-i/256) | |
updateCol2(colrr) | |
maincol = Part.Color | |
swait() | |
end | |
end | |
end)) | |
function attackone() | |
attack=true | |
tr1.Enabled = true | |
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
for i=0,1,0.1 do | |
swait() | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
hitconasdf = Hitbox.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
for i = 1,10 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
end | |
hitconasdf:disconnect() | |
end | |
end) | |
for i=0,1,0.1 do | |
swait() | |
-- local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
attack=false | |
con:disconnect() | |
scfr = nil | |
--tr1.Enabled = false | |
pcall(function() | |
hitconasdf:disconnect() | |
end) | |
end | |
function attacktwo() | |
attack=true | |
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
for i=0,1,0.1 do | |
swait() | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
hitconasdf = Hitbox.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
for i = 1,10 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
end | |
hitconasdf:disconnect() | |
end | |
end) | |
for i=0,1,0.1 do | |
swait() | |
--local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
end | |
attack=false | |
con:disconnect() | |
scfr = nil | |
pcall(function() | |
hitconasdf:disconnect() | |
end) | |
end | |
function attack2one() | |
attack=true | |
tr2.Enabled = true | |
local con=Hitbox2.Touched:connect(function(hit) Damagefunc(Hitbox2,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
RW.C0 = clerp(RW.C0,CFrame.new(1.40839815, 0.633968949, 0.140340954, 0.766044259, -0.642787933, 7.74860382e-07, 0.492404878, 0.586824119, -0.64278686, 0.413175166, 0.492403537, 0.766045213),0.3) | |
LW.C0 = clerp(LW.C0,CFrame.new(-1.35310566, 0.284592211, 0.109513491, 0.178405479, 0.982817411, 0.0473444164, 0.969994664, -0.167593122, -0.176132992, -0.165171936, 0.0773468912, -0.983227134),0.3) | |
handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.511685491, -0.327819645, -0.209367245, 0.754512787, -0.544126034, 0.366929621, 0.564744711, 0.823128462, 0.0593538433, -0.334326208, 0.162438288, 0.92835319),0.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox2,1,1) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox2,1,1) | |
hitconasdf = Hitbox2.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox2,1,1) | |
for i = 1,10 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
end | |
hitconasdf:disconnect() | |
end | |
end) | |
for i=0,1,0.1 do | |
swait() | |
-- local blcf = Hitbox2.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox2.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RW.C0 = clerp(RW.C0,CFrame.new(1.40839434, 0.633969903, 0.140334338, 0.766044557, -0.642787576, 1.93715096e-06, 0.492405057, 0.586823642, -0.642787158, 0.41317451, 0.49240455, 0.766044974),0.3) | |
LW.C0 = clerp(LW.C0,CFrame.new(-1.31502986, 0.279656291, -0.555327773, 0.691364348, -0.713763416, 0.11205925, 0.35895291, 0.204722002, -0.910627127, 0.627031207, 0.669799149, 0.397744954),0.3) | |
handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.425278902, -0.679693937, -0.729468644, 0.728087127, -0.518560231, 0.448312759, -0.252376348, 0.405284405, 0.878664255, -0.637334585, -0.752887487, 0.164210081),0.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
end | |
attack=false | |
con:disconnect() | |
scfr = nil | |
--tr2.Enabled = false | |
pcall(function() | |
hitconasdf:disconnect() | |
end) | |
end | |
function Stab() | |
attack=true | |
tr1.Enabled = true | |
tr2.Enabled = true | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.1) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.1) | |
LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(-50),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(-50),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4) | |
handle2weld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4) | |
end | |
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitconasdf = Hitbox.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
for i = 1,10 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
end | |
hitconasdf:disconnect() | |
end | |
end) | |
local con2=Hitbox2.Touched:connect(function(hit) Damagefunc(Hitbox2,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitconasdf2 = Hitbox2.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox2,1,1) | |
for i = 1,10 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
end | |
hitconasdf2:disconnect() | |
end | |
end) | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
for i=0,1,0.1 do | |
swait() | |
--local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.4) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(20),math.rad(100),math.rad(90)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(20),math.rad(-100),math.rad(-90)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(40),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4) | |
handle2weld.C0=clerp(handleweld.C0,cf(0,-1,1)*angles(math.rad(-270),math.rad(180),math.rad(0)),.4) | |
end | |
swait(5) | |
con:disconnect() | |
con2:disconnect() | |
swait(20) | |
attack=false | |
scfr = nil | |
--tr1.Enabled = false | |
--tr2.Enabled = false | |
pcall(function() | |
hitconasdf:disconnect() | |
hitconasdf2:disconnect() | |
end) | |
end | |
function Spin() | |
attack=true | |
tr1.Enabled = true | |
tr2.Enabled = true | |
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitconasdf = Hitbox.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
-- for i = 1,2 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
-- end | |
--hitconasdf:disconnect() | |
end | |
end) | |
local con2=Hitbox2.Touched:connect(function(hit) Damagefunc(Hitbox2,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitcon2asdf = Hitbox2.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox2,1,1) | |
-- for i = 1,2 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
-- end | |
--hitcon2asdf:disconnect() | |
end | |
end) | |
for i=0,1,1 do | |
so("http://roblox.com/asset/?id=154965962",Hitbox,1,1) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
swait() | |
for i=0,1,0.1 do | |
swait() | |
--local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5) | |
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
handle2weld.C0=clerp(handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) | |
end | |
end | |
attack=false | |
con:disconnect() | |
con2:disconnect() | |
scfr = nil | |
--tr1.Enabled = false | |
--tr2.Enabled = false | |
pcall(function() | |
hitconasdf:disconnect() | |
hitcon2asdf:disconnect() | |
end) | |
end | |
function ContAttack() | |
attack=true | |
tr1.Enabled = true | |
tr2.Enabled = true | |
local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitconasdf = Hitbox.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox,1,1) | |
-- for i = 1,2 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
-- end | |
--hitconasdf:disconnect() | |
end | |
end) | |
local con2=Hitbox2.Touched:connect(function(hit) Damagefunc(Hitbox2,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end) | |
hitcon2asdf = Hitbox2.Touched:connect(function(hit) | |
local hum12 = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if hum12 and not hum12:IsDescendantOf(Character) then | |
so('http://roblox.com/asset/?id=154965973',Hitbox2,1,1) | |
-- for i = 1,2 do | |
BreakEffect(BrickColor.new("White"),hit.Parent.Head.CFrame*CFrame.new(0,-2,0),0.5,math.random(5,20),0.5) | |
-- end | |
--hitcon2asdf:disconnect() | |
end | |
end) | |
for i=1,4 do | |
swait() | |
for i=0,1,0.2 do | |
swait() | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1) | |
for i=0,1,0.2 do | |
swait() | |
--local blcf = Hitbox.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
end | |
for i=0,1,0.2 do | |
swait() | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9) | |
for i=0,1,0.2 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3) | |
RW.C0 = clerp(RW.C0,CFrame.new(1.40839815, 0.633968949, 0.140340954, 0.766044259, -0.642787933, 7.74860382e-07, 0.492404878, 0.586824119, -0.64278686, 0.413175166, 0.492403537, 0.766045213),0.3) | |
LW.C0 = clerp(LW.C0,CFrame.new(-1.35310566, 0.284592211, 0.109513491, 0.178405479, 0.982817411, 0.0473444164, 0.969994664, -0.167593122, -0.176132992, -0.165171936, 0.0773468912, -0.983227134),0.3) | |
handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.511685491, -0.327819645, -0.209367245, 0.754512787, -0.544126034, 0.366929621, 0.564744711, 0.823128462, 0.0593538433, -0.334326208, 0.162438288, 0.92835319),0.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3) | |
end | |
so("http://www.roblox.com/asset/?id=154965962",Hitbox2,1,1) | |
so("http://www.roblox.com/asset/?id=231917758",Hitbox2,1,1) | |
for i=0,1,0.2 do | |
swait() | |
local blcf = Hitbox2.CFrame*CFrame.new(0,.3,0) | |
--if scfr and (Hitbox2.Position-scfr.p).magnitude > .1 then | |
--local h = 5 | |
--local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
--if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
--scfr = blcf | |
--elseif not scfr then | |
--scfr = blcf | |
--end | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RW.C0 = clerp(RW.C0,CFrame.new(1.40839434, 0.633969903, 0.140334338, 0.766044557, -0.642787576, 1.93715096e-06, 0.492405057, 0.586823642, -0.642787158, 0.41317451, 0.49240455, 0.766044974),0.3) | |
LW.C0 = clerp(LW.C0,CFrame.new(-1.31502986, 0.279656291, -0.555327773, 0.691364348, -0.713763416, 0.11205925, 0.35895291, 0.204722002, -0.910627127, 0.627031207, 0.669799149, 0.397744954),0.3) | |
handle2weld.C0 = clerp(handle2weld.C0,CFrame.new(-0.425278902, -0.679693937, -0.729468644, 0.728087127, -0.518560231, 0.448312759, -0.252376348, 0.405284405, 0.878664255, -0.637334585, -0.752887487, 0.164210081),0.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3) | |
end | |
end | |
attack=false | |
con:disconnect() | |
con2:disconnect() | |
scfr = nil | |
--tr1.Enabled = false | |
--tr2.Enabled = false | |
pcall(function() | |
hitconasdf:disconnect() | |
hitcon2asdf:disconnect() | |
end) | |
end | |
function Sheathe() | |
attack = true | |
so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9) | |
CurrentMode = "Sheathed" | |
for i = 0,1,0.1 do | |
swait() | |
handleweld.Part0 = Torso | |
handle2weld.Part0 = Torso | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-190),math.rad(0),math.rad(-0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
attack = false | |
end | |
function Unsheathe() | |
attack = true | |
CurrentMode = "Unsheathed" | |
so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9) | |
for i = 0,1,0.1 do | |
swait() | |
handleweld.Part0 = RightArm | |
handle2weld.Part0 = LeftArm | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-200),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(),.3) | |
end | |
scfr = nil | |
attack = false | |
end | |
local Sit = false | |
mouse.Button1Down:connect(function() | |
if attack==false then | |
if attacktype==1 and CurrentMode == "Unsheathed" then | |
attack=true | |
attacktype=2 | |
attackone() | |
elseif attacktype==2 and CurrentMode == "Unsheathed" then | |
attack=true | |
attacktype=1 | |
attack2one() | |
end | |
end | |
end) | |
mouse.KeyDown:connect(function(k) | |
k=k:lower() | |
if k=='m' then | |
if Character:FindFirstChild("mus")~=nil then | |
if mus.IsPlaying == true then | |
mus:Stop() | |
elseif mus.IsPaused == true then | |
mus:Play() | |
end | |
elseif Character:FindFirstChild("mus")==nil then | |
local mus = Instance.new("Sound",Character) | |
mus.Name = "mus" | |
mus.SoundId = musid | |
mus.Looped = true | |
mus.Volume = 1 | |
mus:Play() | |
end | |
elseif k=='l' then | |
musid = "rbxassetid://147930134" | |
mus.SoundId = musid | |
mus:Play() | |
elseif k=='k' then | |
musid = "rbxassetid://700654812" | |
mus.SoundId = musid | |
mus:Play() | |
end | |
if k=='q' then | |
if attack==false and CurrentMode == "Unsheathed" then | |
Stab() | |
end | |
elseif k=='e' then | |
if attack==false and CurrentMode == "Unsheathed" then | |
Spin() | |
end | |
elseif k=='r' then | |
if attack==false and CurrentMode == "Unsheathed" then | |
ContAttack() | |
end | |
elseif k=='f' then | |
if attack==false and CurrentMode == "Unsheathed" then | |
Sheathe() | |
elseif k=='f' then | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
Unsheathe() | |
end | |
end | |
elseif k=='t' then | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
Sit = true | |
Humanoid.WalkSpeed = 0 | |
elseif k=='t' then | |
if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
Sit = false | |
Humanoid.WalkSpeed = 16 | |
end | |
end | |
end | |
end) | |
local sine = 0 | |
local change = 1 | |
local val = 0 | |
while true do | |
swait() | |
Humanoid.WalkSpeed = 60 | |
sine = sine + change | |
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
local velderp=RootPart.Velocity.y | |
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
if equipped==true or equipped==false then | |
if attack==false then | |
idle=idle+1 | |
else | |
idle=0 | |
end | |
if idle>=500 then | |
if attack==false then | |
end | |
end | |
if RootPart.Velocity.y > 1 and hitfloor==nil then | |
Anim="Jump" | |
if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
Anim="Fall" | |
if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,CFrame.new(-1.40685952, 0.347550094, -0.023207128, 0.965925872, 0.224143773, -0.129409492, -0.258818924, 0.836516261, -0.482963085, 0, 0.500000119, 0.866025388),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
elseif torvel<1 and hitfloor~=nil then | |
Anim="Idle" | |
if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
if attack==false and Sit == true and CurrentMode == "Sheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
elseif torvel>2 and hitfloor~=nil then | |
Anim="Walk" | |
if attack==false and Sit == false and CurrentMode == "Unsheathed" then | |
change=2 | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,CFrame.new(-1.40685952, 0.347550094, -0.023207128, 0.965925872, 0.224143773, -0.129409492, -0.258818924, 0.836516261, -0.482963085, 0, 0.500000119, 0.866025388),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.3) | |
end | |
if attack==false and Sit == false and CurrentMode == "Sheathed" then | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(45*math.cos(sine/10)),math.rad(0),math.rad(5)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-45*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3) | |
handle2weld.C0=clerp(handle2weld.C0,cf(-3,3,0.5)*angles(math.rad(90),math.rad(-150),math.rad(-90)),.3) | |
end | |
end | |
end | |
if #Effects>0 then | |
for e=1,#Effects do | |
if Effects[e]~=nil then | |
local Thing=Effects[e] | |
if Thing~=nil then | |
local Part=Thing[1] | |
local Mode=Thing[2] | |
local Delay=Thing[3] | |
local IncX=Thing[4] | |
local IncY=Thing[5] | |
local IncZ=Thing[6] | |
if Thing[1].Transparency<=1 then | |
if Thing[2]=="Block1" then | |
Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Cylinder" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Blood" then | |
Mesh=Thing[7] | |
Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Elec" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Disappear" then | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
end | |
else | |
Part.Parent=nil | |
table.remove(Effects,e) | |
end | |
end | |
end | |
end | |
end | |
end | |
end) | |
Illuminati.MouseButton1Down:connect(function() | |
--//====================================================\\-- | |
--|| CREATED BY THE TRUE ILLUMINATY, SHACKLUSTER | |
--\\====================================================//-- | |
wait(0.2) | |
Player = game:GetService("Players").LocalPlayer | |
PlayerGui = Player.PlayerGui | |
Cam = workspace.CurrentCamera | |
Backpack = Player.Backpack | |
Character = Player.Character | |
Humanoid = Character.Humanoid | |
Mouse = Player:GetMouse() | |
RootPart = Character["HumanoidRootPart"] | |
Torso = Character["Torso"] | |
Head = Character["Head"] | |
RightArm = Character["Right Arm"] | |
LeftArm = Character["Left Arm"] | |
RightLeg = Character["Right Leg"] | |
LeftLeg = Character["Left Leg"] | |
RootJoint = RootPart["RootJoint"] | |
Neck = Torso["Neck"] | |
RightShoulder = Torso["Right Shoulder"] | |
LeftShoulder = Torso["Left Shoulder"] | |
RightHip = Torso["Right Hip"] | |
LeftHip = Torso["Left Hip"] | |
KEYHOLD = false | |
IT = Instance.new | |
CF = CFrame.new | |
VT = Vector3.new | |
RAD = math.rad | |
C3 = Color3.new | |
UD2 = UDim2.new | |
BRICKC = BrickColor.new | |
ANGLES = CFrame.Angles | |
EULER = CFrame.fromEulerAnglesXYZ | |
COS = math.cos | |
ACOS = math.acos | |
SIN = math.sin | |
ASIN = math.asin | |
ABS = math.abs | |
MRANDOM = math.random | |
FLOOR = math.floor | |
local Torsos = {} | |
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
local NEWMESH = IT(MESH) | |
if MESH == "SpecialMesh" then | |
NEWMESH.MeshType = MESHTYPE | |
if MESHID ~= "nil" and MESHID ~= "" then | |
NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
end | |
if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
end | |
end | |
NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
NEWMESH.Scale = SCALE | |
NEWMESH.Parent = PARENT | |
return NEWMESH | |
end | |
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE) | |
local NEWPART = IT("Part") | |
NEWPART.formFactor = FORMFACTOR | |
NEWPART.Reflectance = REFLECTANCE | |
NEWPART.Transparency = TRANSPARENCY | |
NEWPART.CanCollide = false | |
NEWPART.Locked = true | |
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
NEWPART.Name = NAME | |
NEWPART.Size = SIZE | |
NEWPART.Position = Torso.Position | |
NEWPART.Material = MATERIAL | |
NEWPART:BreakJoints() | |
NEWPART.Parent = PARENT | |
return NEWPART | |
end | |
--//=================================\\ | |
--|| CUSTOMIZATION | |
--\\=================================// | |
Class_Name = "Template" | |
Weapon_Name = "Add-ons" | |
Custom_Colors = { | |
Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon. | |
Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon. | |
Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities. | |
Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar. | |
Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar. | |
Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar. | |
Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar. | |
Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar. | |
Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar. | |
Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar. | |
Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar. | |
Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities. | |
} | |
Player_Size = 1 --Size of the player. | |
Animation_Speed = 3 | |
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
local Speed = 16 | |
local Effects2 = {} | |
--//=================================\\ | |
--|| END OF CUSTOMIZATION | |
--\\=================================// | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
local acs = Instance.new("Part") | |
acs.CanCollide = false | |
acs.Anchored = false | |
acs.Size = Vector3.new(0,0,0) | |
acs.CFrame = attachmentpart.CFrame | |
acs.Parent = Character | |
acs.BrickColor = color | |
local meshs = Instance.new("SpecialMesh") | |
meshs.MeshId = mesh | |
meshs.TextureId = texture | |
meshs.Parent = acs | |
meshs.Scale = scale | |
meshs.Offset = offset | |
weldBetween(attachmentpart,acs) | |
end | |
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
if TYPE == "Gem" then | |
local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Skull" then | |
local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Eye" then | |
local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
end | |
end | |
--//=================================\\ | |
--|| USEFUL VALUES | |
--\\=================================// | |
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
local CO1 = 0 | |
local CO2 = 0 | |
local CO3 = 0 | |
local CO4 = 0 | |
local CHANGEDEFENSE = 0 | |
local CHANGEDAMAGE = 0 | |
local CHANGEMOVEMENT = 0 | |
local ANIM = "Idle" | |
local ATTACK = false | |
local EQUIPPED = false | |
local HOLD = false | |
local COMBO = 1 | |
local LASTPOINT = nil | |
local BLCF = nil | |
local SCFR = nil | |
local STAGGERHITANIM = false | |
local STAGGERANIM = false | |
local STUNANIM = false | |
local CRITCHANCENUMBER = 0 | |
local IDLENUMBER = 0 | |
local DONUMBER = 0 | |
local HANDIDLE = false | |
local SINE = 0 | |
local CHANGE = 2 / Animation_Speed | |
local WALKINGANIM = false | |
local WALK = 0 | |
local DISABLEJUMPING = false | |
local HASBEENBLOCKED = false | |
local STUNDELAYNUMBER = 0 | |
local MANADELAYNUMBER = 0 | |
local SECONDARYMANADELAYNUMBER = 0 | |
local ROBLOXIDLEANIMATION = IT("Animation") | |
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
--ROBLOXIDLEANIMATION.Parent = Humanoid | |
local WEAPONGUI = IT("ScreenGui", nil) | |
WEAPONGUI.Name = "Weapon GUI" | |
local WEAPONTOOL = IT("HopperBin", nil) | |
WEAPONTOOL.Name = Weapon_Name | |
local Weapon = IT("Model") | |
Weapon.Name = Weapon_Name | |
local Effects = IT("Folder", Weapon) | |
Effects.Name = "Effects" | |
local ANIMATOR = Humanoid.Animator | |
local ANIMATE = Character.Animate | |
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
local UNANCHOR = true | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| STATS | |
--\\=================================// | |
if Character:FindFirstChild("Stats") ~= nil then | |
Character:FindFirstChild("Stats").Parent = nil | |
end | |
local Stats = IT("Folder", nil) | |
Stats.Name = "Stats" | |
local ChangeStat = IT("Folder", Stats) | |
ChangeStat.Name = "ChangeStat" | |
local Defense = IT("NumberValue", Stats) | |
Defense.Name = "Defense" | |
Defense.Value = 1 | |
local Movement = IT("NumberValue", Stats) | |
Movement.Name = "Movement" | |
Movement.Value = 1 | |
local Damage = IT("NumberValue", Stats) | |
Damage.Name = "Damage" | |
Damage.Value = 1 | |
local Mana = IT("NumberValue", Stats) | |
Mana.Name = "Mana" | |
Mana.Value = 0 | |
local SecondaryMana = IT("NumberValue", Stats) | |
SecondaryMana.Name = "SecondaryMana" | |
SecondaryMana.Value = 0 | |
local CanCrit = IT("BoolValue", Stats) | |
CanCrit.Name = "CanCrit" | |
CanCrit.Value = false | |
local CritChance = IT("NumberValue", Stats) | |
CritChance.Name = "CritChance" | |
CritChance.Value = 20 | |
local CanPenetrateArmor = IT("BoolValue", Stats) | |
CanPenetrateArmor.Name = "CanPenetrateArmor" | |
CanPenetrateArmor.Value = false | |
local AntiTeamKill = IT("BoolValue", Stats) | |
AntiTeamKill.Name = "AntiTeamKill" | |
AntiTeamKill.Value = false | |
local Rooted = IT("BoolValue", Stats) | |
Rooted.Name = "Rooted" | |
Rooted.Value = false | |
local Block = IT("BoolValue", Stats) | |
Block.Name = "Block" | |
Block.Value = false | |
local RecentEnemy = IT("ObjectValue", Stats) | |
RecentEnemy.Name = "RecentEnemy" | |
RecentEnemy.Value = nil | |
local StaggerHit = IT("BoolValue", Stats) | |
StaggerHit.Name = "StaggerHit" | |
StaggerHit.Value = false | |
local Stagger = IT("BoolValue", Stats) | |
Stagger.Name = "Stagger" | |
Stagger.Value = false | |
local Stun = IT("BoolValue", Stats) | |
Stun.Name = "Stun" | |
Stun.Value = false | |
local StunValue = IT("NumberValue", Stats) | |
StunValue.Name = "StunValue" | |
StunValue.Value = 0 | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| DEBUFFS / BUFFS | |
--\\=================================// | |
local DEFENSECHANGE1 = IT("NumberValue", ChangeStat) | |
DEFENSECHANGE1.Name = "ChangeDefense" | |
DEFENSECHANGE1.Value = 0 | |
local MOVEMENTCHANGE1 = IT("NumberValue", nil) | |
MOVEMENTCHANGE1.Name = "ChangeMovement" | |
MOVEMENTCHANGE1.Value = 0 | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
--\\=================================// | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "ArtificialHB" | |
script:WaitForChild("ArtificialHB") | |
frame = Frame_Speed | |
tf = 0 | |
allowframeloss = false | |
tossremainder = false | |
lastframe = tick() | |
script.ArtificialHB:Fire() | |
game:GetService("RunService").Heartbeat:connect(function(s, p) | |
tf = tf + s | |
if tf >= frame then | |
if allowframeloss then | |
script.ArtificialHB:Fire() | |
lastframe = tick() | |
else | |
for i = 1, math.floor(tf / frame) do | |
script.ArtificialHB:Fire() | |
end | |
lastframe = tick() | |
end | |
if tossremainder then | |
tf = 0 | |
else | |
tf = tf - frame * math.floor(tf / frame) | |
end | |
end | |
end) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SOME FUNCTIONS | |
--\\=================================// | |
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
end | |
function PositiveAngle(NUMBER) | |
if NUMBER >= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function NegativeAngle(NUMBER) | |
if NUMBER <= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function Swait(NUMBER) | |
if NUMBER == 0 or NUMBER == nil then | |
ArtificialHB.Event:wait() | |
else | |
for i = 1, NUMBER do | |
ArtificialHB.Event:wait() | |
end | |
end | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5 / s | |
return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00 - m11 - m22 + 1) | |
local recip = 0.5 / s | |
return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
elseif i == 1 then | |
local s = math.sqrt(m11 - m22 - m00 + 1) | |
local recip = 0.5 / s | |
return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
elseif i == 2 then | |
local s = math.sqrt(m22 - m00 - m11 + 1) | |
local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w * xs, w * ys, w * zs | |
local xx = x * xs | |
local xy = x * ys | |
local xz = x * zs | |
local yy = y * ys | |
local yz = y * zs | |
local zz = z * zs | |
return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = ACOS(cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((1 - t) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = 1 - t | |
finishInterp = t | |
end | |
else | |
if (1 + cosTheta) > 0.0001 then | |
local theta = ACOS(-cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((t - 1) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = t - 1 | |
finishInterp = t | |
end | |
end | |
return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
end | |
function Clerp(a, b, t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1 - t | |
return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
end | |
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
local frame = IT("Frame") | |
frame.BackgroundTransparency = TRANSPARENCY | |
frame.BorderSizePixel = BORDERSIZEPIXEL | |
frame.Position = POSITION | |
frame.Size = SIZE | |
frame.BackgroundColor3 = COLOR | |
frame.BorderColor3 = BORDERCOLOR | |
frame.Name = NAME | |
frame.Parent = PARENT | |
return frame | |
end | |
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
local label = IT("TextLabel") | |
label.BackgroundTransparency = 1 | |
label.Size = UD2(1, 0, 1, 0) | |
label.Position = UD2(0, 0, 0, 0) | |
label.TextColor3 = C3(255, 255, 255) | |
label.TextStrokeTransparency = STROKETRANSPARENCY | |
label.TextTransparency = TRANSPARENCY | |
label.FontSize = TEXTFONTSIZE | |
label.Font = TEXTFONT | |
label.BorderSizePixel = BORDERSIZEPIXEL | |
label.TextScaled = true | |
label.Text = TEXT | |
label.Name = NAME | |
label.Parent = PARENT | |
return label | |
end | |
function NoOutlines(PART) | |
PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
end | |
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
local NEWWELD = IT(TYPE) | |
NEWWELD.Part0 = PART0 | |
NEWWELD.Part1 = PART1 | |
NEWWELD.C0 = C0 | |
NEWWELD.C1 = C1 | |
NEWWELD.Parent = PARENT | |
return NEWWELD | |
end | |
function CreateSound(ID, PARENT, VOLUME, PITCH) | |
coroutine.resume(coroutine.create(function() | |
local NEWSOUND = IT("Sound", PARENT) | |
NEWSOUND.Volume = VOLUME | |
NEWSOUND.Pitch = PITCH | |
NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
Swait() | |
NEWSOUND:play() | |
game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
end)) | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| RESIZE PLAYER | |
--\\=================================// | |
if Player_Size ~= 1 then | |
RootPart.Size = RootPart.Size * Player_Size | |
Torso.Size = Torso.Size * Player_Size | |
Head.Size = Head.Size * Player_Size | |
RightArm.Size = RightArm.Size * Player_Size | |
LeftArm.Size = LeftArm.Size * Player_Size | |
RightLeg.Size = RightLeg.Size * Player_Size | |
LeftLeg.Size = LeftLeg.Size * Player_Size | |
RootJoint.Parent = RootPart | |
Neck.Parent = Torso | |
RightShoulder.Parent = Torso | |
LeftShoulder.Parent = Torso | |
RightHip.Parent = Torso | |
LeftHip.Parent = Torso | |
RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0 | |
LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0 | |
if Disable_Moving_Arms == false then | |
RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5) | |
LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5) | |
else | |
RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) | |
LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) | |
end | |
RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) | |
-------------------- | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| WEAPON CREATION | |
--\\=================================// | |
if Player_Size ~= 1 then | |
for _, v in pairs (Weapon:GetChildren()) do | |
if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then | |
local p1 = v.Part1 | |
v.Part1 = nil | |
local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components() | |
v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12) | |
v.Part1 = p1 | |
elseif v.ClassName == "Part" then | |
for _, b in pairs (v:GetChildren()) do | |
if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then | |
b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size) | |
end | |
end | |
end | |
end | |
end | |
for _, c in pairs(Weapon:GetChildren()) do | |
if c.ClassName == "Part" then | |
c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
end | |
end | |
Weapon.Parent = Character | |
print(Class_Name.." loaded.") | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| ATTACK FUNCTIONS AND STUFF | |
--\\=================================// | |
local raysound = Instance.new("Sound",Character) | |
raysound.SoundId = "rbxassetid://346067083" | |
raysound.Pitch = 2 | |
raysound.Looped = true | |
raysound.Volume = 10 | |
function pew() | |
ATTACK = true | |
local sphere = Instance.new("Part",Effects) | |
sphere.Size = Vector3.new(0,0,0) | |
sphere.Material = "Neon" | |
sphere.Shape = "Ball" | |
sphere.Name = "AntimatterRay" | |
sphere.Anchored = true | |
sphere.Color = Color3.new(0,0,0) | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*27 | |
sphere.CanCollide = false | |
local db=false | |
local hit = sphere.Touched:connect(function(hit) | |
if db==true then return end | |
if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then | |
if hit.Parent:FindFirstChild("Humanoid") then | |
hit.Parent:findFirstChildOfClass("Humanoid"):TakeDamage(hit.Parent:findFirstChildOfClass("Humanoid").MaxHealth/2) | |
db=true | |
if hit.Parent:FindFirstChild("Vanishing") == nil then | |
local vanish = Instance.new("BoolValue",hit.Parent) | |
vanish.Name = "Vanishing" | |
local sound = Instance.new("Sound",hit) | |
sound.SoundId = "rbxassetid://179497874" | |
sound.Volume = 10 | |
sound:Play() | |
end | |
else | |
local vanish = Instance.new("BoolValue",hit) | |
vanish.Name = "Vanishing" | |
hit.Color = Color3.new(0,0,0) | |
table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1}) | |
if hit:FindFirstChildOfClass("SpecialMesh") then | |
local mesh = hit:FindFirstChildOfClass("SpecialMesh") | |
mesh.TextureId = "" | |
end | |
end | |
end | |
end) | |
repeat | |
Swait() | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
sphere.Size = sphere.Size + Vector3.new(1,1,1) | |
sphere.Color = Color3.new(0,(sphere.Size.Y/200),0) | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*(sphere.Size.Y/1.75) | |
until KEYHOLD == false or sphere.Size.Y > 200 | |
CreateSound("11944350", Effects, 10, 1) | |
local bv = Instance.new("BodyVelocity") | |
bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
bv.velocity = RootPart.CFrame.lookVector*350 | |
bv.Parent = sphere | |
bv.Name = "DASH" | |
sphere.Anchored = false | |
ATTACK = false | |
game:GetService("Debris"):AddItem(sphere, 15) | |
end | |
function HoldRay() | |
ATTACK = true | |
UNANCHOR = false | |
CreateSound("428800263", Torso, 15, 3.5) | |
local sphere = Instance.new("Part",Effects) | |
sphere.Size = Vector3.new(0,0,0) | |
sphere.Material = "Neon" | |
sphere.Shape = "Ball" | |
sphere.Name = "AntimatterRay" | |
sphere.Anchored = true | |
sphere.Color = Color3.new(59/255, 80/255, 45/255) | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15 | |
sphere.CanCollide = false | |
for i=0, 1, 0.1 / Animation_Speed do | |
Swait() | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
sphere.Size = sphere.Size + Vector3.new(0.6,0.6,0.6) | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15 | |
end | |
local sound = Instance.new("Sound",Effects) | |
sound.SoundId = "rbxassetid://165487479" | |
sound.Volume = 10 | |
sound:Play() | |
repeat | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15 | |
Swait() | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
until sound.Playing == false | |
sound:remove() | |
raysound:Play() | |
local timer = 1 | |
local Lazor = Instance.new("Part",Effects) | |
Lazor.Size = Vector3.new(12,12,1000) | |
Lazor.Name = "AntimatterRay" | |
Lazor.Material = "Neon" | |
Lazor.Anchored = true | |
Lazor.CanCollide = false | |
Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515 | |
Lazor.Color = Color3.new(0,0,0) | |
Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180)) | |
local hit = Lazor.Touched:connect(function(hit) | |
if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then | |
if hit.Parent:FindFirstChildOfClass("Humanoid") then | |
hit.Parent:findFirstChildOfClass("Humanoid"):TakeDamage(0.1) | |
if hit.Parent:FindFirstChild("Vanishing") == nil then | |
local vanish = Instance.new("BoolValue",hit.Parent) | |
vanish.Name = "Vanishing" | |
local sound = Instance.new("Sound",hit) | |
sound.SoundId = "rbxassetid://179497874" | |
sound.Volume = 10 | |
sound:Play() | |
end | |
else | |
local vanish = Instance.new("BoolValue",hit) | |
vanish.Name = "Vanishing" | |
hit.Color = Color3.new(0,0,0) | |
table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1}) | |
if hit:FindFirstChildOfClass("SpecialMesh") then | |
local mesh = hit:FindFirstChildOfClass("SpecialMesh") | |
mesh.TextureId = "" | |
end | |
end | |
end | |
end) | |
local hit2 = sphere.Touched:connect(function(hit) | |
if hit.Parent ~= Character and hit.Parent.Parent ~= Character and hit.Parent ~= Effects and hit.Anchored == false and hit:FindFirstChild("Vanishing") == nil then | |
if hit.Parent:FindFirstChild("Humanoid") then | |
hit.Parent:BreakJoints() | |
if hit.Parent:FindFirstChild("Vanishing") == nil then | |
local vanish = Instance.new("BoolValue",hit.Parent) | |
vanish.Name = "Vanishing" | |
local sound = Instance.new("Sound",hit) | |
sound.SoundId = "rbxassetid://179497874" | |
sound.Volume = 10 | |
sound:Play() | |
end | |
else | |
local vanish = Instance.new("BoolValue",hit) | |
vanish.Name = "Vanishing" | |
hit.Color = Color3.new(0,0,0) | |
table.insert(Effects2,{hit,"Disappear",0.07,0,1,1,1}) | |
if hit:FindFirstChildOfClass("SpecialMesh") then | |
local mesh = hit:FindFirstChildOfClass("SpecialMesh") | |
mesh.TextureId = "" | |
end | |
end | |
end | |
end) | |
repeat | |
if HOLD == true then | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515 | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15 | |
Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180)) | |
if timer ==1 then | |
Lazor.Color = Color3.new(59/255, 80/255, 45/255) | |
sphere.Color = Color3.new(59/255, 80/255, 45/255) | |
timer = 2 | |
elseif timer ==2 then | |
Lazor.Color = Color3.new(39/255, 70/255, 45/255) | |
sphere.Color = Color3.new(39/255, 70/255, 45/255) | |
timer = 1 | |
end | |
end | |
Swait() | |
until HOLD == false | |
for i=0, 1, 0.1 / Animation_Speed/2 do | |
Swait() | |
Lazor.CFrame = Lazor.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.random(-180,180)) | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
Lazor.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*515 | |
sphere.CFrame = RootPart.CFrame + RootPart.CFrame.lookVector*15 | |
sphere.Anchored = true | |
Lazor.Anchored = true | |
sphere.Size = sphere.Size - Vector3.new(0.2,0.2,0.2) | |
Lazor.Size = Lazor.Size - Vector3.new(0.5,0.5,0) | |
Lazor.Transparency = Lazor.Transparency + 0.03 | |
sphere.Transparency = sphere.Transparency + 0.03 | |
raysound.Volume = raysound.Volume - 0.1 | |
if timer ==1 then | |
Lazor.Color = Color3.new(59/255, 80/255, 45/255) | |
sphere.Color = Color3.new(59/255, 80/255, 45/255) | |
timer = 2 | |
elseif timer ==2 then | |
Lazor.Color = Color3.new(39/255, 70/255, 45/255) | |
sphere.Color = Color3.new(39/255, 70/255, 45/255) | |
timer = 1 | |
end | |
end | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Vector3.new(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z)) * CFrame.new(0, 0, 0) | |
hit2:disconnect() | |
hit:disconnect() | |
raysound:Stop() | |
raysound.Volume = 5 | |
sphere:remove() | |
Lazor:remove() | |
BLCF = nil | |
SCFR = nil | |
ATTACK = false | |
UNANCHOR = true | |
end | |
local sick = Instance.new("Sound",Character) | |
sick.SoundId = "rbxassetid://145616154" | |
sick.Looped = true | |
sick.Pitch = 1 | |
sick.Volume = 10 | |
sick:Play() | |
local Spook = false | |
function spooky() | |
Spook = true | |
local cframe = nil | |
local pos = nil | |
sick:Stop() | |
local sound = Instance.new("Sound",Effects) | |
sound.SoundId = "rbxassetid://211540835" | |
sound.Volume = 10 | |
sound:Play() | |
q = workspace:GetChildren() | |
for i = 1, #q do | |
g = q[i]:GetChildren() | |
for t = 1, #g do | |
if g[t].Name == "Torso" or g[t].Name == "UpperTorso" and q[i] ~= Character then | |
table.insert(Effects2,{g[t],"TorsoSpin",0,0,0,0}) | |
end | |
end | |
end | |
repeat | |
Swait() | |
until sound.Playing == false | |
sound:remove() | |
sick:Play() | |
Spook = false | |
end | |
--//=================================\\ | |
--|| ASSIGN THINGS TO KEYS | |
--\\=================================// | |
Humanoid.Changed:connect(function(Jump) | |
if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then | |
Humanoid.Jump = false | |
end | |
end) | |
function MouseDown(Mouse) | |
if HOLD == false and ATTACK == false then | |
HOLD = true | |
HoldRay() | |
elseif HOLD == true then | |
HOLD = false | |
end | |
end | |
function MouseUp(Mouse) | |
end | |
function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
end | |
function KeyDown(Key) | |
KEYHOLD = true | |
if Key == "w" and HOLD == false and ATTACK == false then | |
repeat | |
local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*150, 1.8, {workspace}) | |
RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
Swait() | |
until KEYHOLD == false | |
end | |
if Key == "s" and HOLD == false and ATTACK == false then | |
repeat | |
local RayHit, RayPos = RayCast(RootPart.Position, RootPart.CFrame.lookVector*-150, 1.8, {workspace}) | |
RootPart.CFrame = CFrame.new(RayPos,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
Swait() | |
until KEYHOLD == false | |
end | |
if Key == "z" and ATTACK == false then | |
pew() | |
end | |
if Key == "f" and Spook == false then | |
spooky() | |
end | |
end | |
function KeyUp(Key) | |
KEYHOLD = false | |
end | |
Mouse.Button1Down:connect(function(NEWKEY) | |
MouseDown(NEWKEY) | |
end) | |
Mouse.Button1Up:connect(function(NEWKEY) | |
MouseUp(NEWKEY) | |
end) | |
Mouse.KeyDown:connect(function(NEWKEY) | |
KeyDown(NEWKEY) | |
end) | |
Mouse.KeyUp:connect(function(NEWKEY) | |
KeyUp(NEWKEY) | |
end) | |
--//=================================\\ | |
--\\=================================// | |
function unanchor() | |
if UNANCHOR == true then | |
g = Character:GetChildren() | |
for i = 1, #g do | |
if g[i].ClassName == "Part" and g[i].Name ~= "HumanoidRootPart" then | |
g[i].Anchored = false | |
end | |
end | |
end | |
RootPart.Anchored = true | |
end | |
--//=================================\\ | |
--|| WRAP THE WHOLE SCRIPT UP | |
--\\=================================// | |
Humanoid.Changed:connect(function(Jump) | |
if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then | |
Humanoid.Jump = false | |
end | |
end) | |
Humanoid.Died:connect(function() | |
ATTACK = true | |
sick:Stop() | |
CreateSound("198973822", workspace, 10, 1) | |
for i = 1, 15 do | |
local bag = Instance.new("Part",workspace) | |
bag.Size = VT(1.8, 1.6, 1.2) | |
bag.CFrame = RootPart.CFrame | |
local mesh = Instance.new("SpecialMesh",bag) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=19106014" | |
mesh.TextureId = "rbxassetid://37305301" | |
end | |
q = Character:GetChildren() | |
for i = 1, #q do | |
if q[i].ClassName == "Model" or q[i].ClassName == "Part" then | |
q[i]:remove() | |
end | |
end | |
end) | |
RightArm:remove() | |
LeftArm:remove() | |
LeftLeg:remove() | |
RightLeg:remove() | |
Head.Transparency = 1 | |
Torso.Transparency = 1 | |
Head:ClearAllChildren() | |
local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.25*Player_Size,0.25*Player_Size,1.5*Player_Size)) | |
local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, Torso, HandlePart, CF(0 * Player_Size, 1 * Player_Size, 1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
local mesh = Instance.new("SpecialMesh",HandlePart) | |
mesh.MeshId = "rbxassetid://438530093" | |
mesh.TextureId = "rbxassetid://438530120" | |
mesh.Scale = Vector3.new(0.7,1,1) | |
ANIMATE.Parent = nil | |
local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
IDLEANIMATION:Play() | |
while true do | |
Swait() | |
if #Effects2>0 then | |
for e=1,#Effects2 do | |
if Effects2[e]~=nil then | |
local Thing=Effects2[e] | |
if Thing~=nil then | |
local Part=Thing[1] | |
local Mode=Thing[2] | |
local Delay=Thing[3] | |
local IncX=Thing[4] | |
local IncY=Thing[5] | |
local IncZ=Thing[6] | |
local Part2=Thing[8] | |
if Thing[1].Transparency<=1 then | |
if Thing[2]=="Block1" then | |
Thing[1].CFrame=Part2.CFrame | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Cylinder" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Blood" then | |
Mesh=Thing[7] | |
Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Elec" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Disappear" then | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="TorsoSpin" and Spook == true then | |
Thing[1].CFrame = CFrame.new(Thing[1].Position,Vector3.new(math.random(-180,180),math.random(-180,180),math.random(-180,180))) | |
end | |
else | |
Part.Parent=nil | |
table.remove(Effects2,e) | |
end | |
end | |
end | |
end | |
end | |
RootPart.CFrame=CFrame.new(RootPart.CFrame.p,Mouse.Hit.p) * CFrame.new(0, 0, 0) | |
q = Character:GetChildren() | |
for u = 1, #q do | |
if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
q[u]:remove() | |
end | |
end | |
unanchor() | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
if Rooted == false then | |
Disable_Jump = false | |
Humanoid.WalkSpeed = Speed | |
elseif Rooted == true then | |
Disable_Jump = true | |
Humanoid.WalkSpeed = 0 | |
end | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//====================================================\\-- | |
--|| END OF SCRIPT | |
--\\====================================================//-- | |
end) | |
Johndoe.MouseButton1Down:connect(function() | |
------------ | |
--John Doe-- | |
------------ | |
-----by----- | |
--CKbackup-- | |
------------ | |
--Player Stuff-- | |
player = game:GetService("Players").LocalPlayer | |
chara = player.Character | |
ch = chara:GetChildren() | |
for i = 1, #ch do | |
if ch[i].Name == "Torso" then | |
ch[i].roblox.Transparency = 1 | |
elseif ch[i].Name == "Head" then | |
ch[i].face.Transparency = 1 | |
ch[i].Transparency = 1 | |
elseif ch[i].ClassName == "Accessory" or ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" then | |
ch[i]:Destroy() | |
end | |
end | |
chara["Left Arm"].BrickColor = BrickColor.new("Cool yellow") | |
chara["Right Arm"].BrickColor = BrickColor.new("Cool yellow") | |
chara["Left Leg"].BrickColor = BrickColor.new("Medium blue") | |
chara["Right Leg"].BrickColor = BrickColor.new("Medium blue") | |
chara.Torso.BrickColor = BrickColor.new("Bright yellow") | |
--Outfit-- | |
New = function(Object, Parent, Name, Data) | |
local Object = Instance.new(Object) | |
for Index, Value in pairs(Data or {}) do | |
Object[Index] = Value | |
end | |
Object.Parent = Parent | |
Object.Name = Name | |
return Object | |
end | |
function ScatterEff(part) | |
local eff1 = Instance.new("ParticleEmitter",part) | |
eff1.Size = NumberSequence.new(.1) | |
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
eff1.LightEmission = 1 | |
eff1.Lifetime = NumberRange.new(1) | |
eff1.Speed = NumberRange.new(1) | |
eff1.Rate = 100 | |
eff1.VelocitySpread = 10000 | |
eff1.Texture = "rbxassetid://347504241" | |
eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
local eff2 = Instance.new("ParticleEmitter",part) | |
eff2.Size = NumberSequence.new(.1) | |
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.9,0),NumberSequenceKeypoint.new(1,1)}) | |
eff2.LightEmission = 1 | |
eff2.Lifetime = NumberRange.new(1) | |
eff2.Speed = NumberRange.new(1) | |
eff2.Rate = 100 | |
eff2.VelocitySpread = 10000 | |
eff2.Texture = "rbxassetid://347504259" | |
eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
end | |
function BurningEff(part) | |
local eff1 = Instance.new("ParticleEmitter",part) | |
eff1.Size = NumberSequence.new(.1) | |
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
eff1.LightEmission = 1 | |
eff1.Lifetime = NumberRange.new(1) | |
eff1.Speed = NumberRange.new(0) | |
eff1.Rate = 100 | |
eff1.Texture = "rbxassetid://347504241" | |
eff1.Acceleration = Vector3.new(0,10,0) | |
eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
local eff2 = Instance.new("ParticleEmitter",part) | |
eff2.Size = NumberSequence.new(.1) | |
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
eff2.LightEmission = 1 | |
eff2.Lifetime = NumberRange.new(1) | |
eff2.Speed = NumberRange.new(0) | |
eff2.Rate = 100 | |
eff2.Texture = "rbxassetid://347504259" | |
eff2.Acceleration = Vector3.new(0,10,0) | |
eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
local eff3 = Instance.new("ParticleEmitter",part) | |
eff3.Size = NumberSequence.new(1) | |
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
eff3.LightEmission = 1 | |
eff3.Lifetime = NumberRange.new(1) | |
eff3.Speed = NumberRange.new(0) | |
eff3.Rate = 100 | |
eff3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
eff3.Acceleration = Vector3.new(0,10,0) | |
eff3.Color = ColorSequence.new(Color3.new(1,0,0)) | |
end | |
FakeHead = New("Model",chara,"FakeHead",{}) | |
MainPart = New("Part",FakeHead,"MainPart",{FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 1, 1),CFrame = CFrame.new(2.29537678, 7.81603718, 0.746068954, 0.00980896503, 0.00110200304, 0.999957919, -0.000536994543, 1.00000548, -0.00109680078, -0.99994874, -0.0005262224, 0.00980964955),CanCollide = false,TopSurface = Enum.SurfaceType.Smooth,}) | |
Mesh = New("SpecialMesh",MainPart,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),}) | |
face = New("Decal",MainPart,"face",{Texture = "rbxasset://textures/face.png",}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Head,C0 = CFrame.new(0, 0, 0, 0.00980896503, -0.000536994543, -0.99994874, 0.00110200304, 1.00000548, -0.0005262224, 0.999957919, -0.00109680078, 0.00980964955),C1 = CFrame.new(5.96046448e-008, -8.58306885e-006, 0, 0.00980896503, -0.000536994543, -0.99994874, 0.00110200304, 1.00000548, -0.0005262224, 0.999957919, -0.00109680078, 0.00980964955),}) | |
FakeHead.MainPart.BrickColor = BrickColor.new("Cool yellow") | |
EyeFire = New("Part",FakeHead,"EyeFire",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Size = Vector3.new(0.400000006, 0.200000003, 0.200000003),CFrame = CFrame.new(1.69668579, 8.11665249, 0.640022159, -0.00107900088, 0.999958038, -0.00980941113, -1.0000056, -0.00107390946, 0.000525554642, 0.000515007298, 0.00981007144, 0.999948859),CanCollide = false,Color = Color3.new(1, 0, 0),}) | |
Mesh = New("CylinderMesh",EyeFire,"Mesh",{Offset = Vector3.new(0.0500000007, 0, -0.0399999991),Scale = Vector3.new(1, 0.150000006, 1),}) | |
Weld = New("ManualWeld",EyeFire,"Weld",{Part0 = EyeFire,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0010790003, -0.999999344, 0.000515000196, 0.999951363, -0.0010738963, 0.00981000345, -0.00980944186, 0.000525560055, 0.99995178),C1 = CFrame.new(0.100008011, 0.300009251, -0.600027919, 0.00980899762, -0.000536999898, -0.99995178, 0.00110200245, 0.999999344, -0.000526215415, 0.999951363, -0.00109678751, 0.00980958249),}) | |
Chest = New("Model",chara,"Chest",{}) | |
MainPart = New("Part",Chest,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2, 2, 1),CFrame = CFrame.new(2.2937007, 6.31611967, 0.746871948, 0.00980956201, 0.00110224239, 0.999954581, -0.000537135813, 1.00000238, -0.00109703222, -0.99995023, -0.000526354474, 0.00981019717),CanCollide = false,LeftSurface = Enum.SurfaceType.Weld,RightSurface = Enum.SurfaceType.Weld,}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara.Torso,C0 = CFrame.new(0, 0, 0, 0.009809535, -0.000537137908, -0.99994725, 0.00110225554, 1.00000858, -0.000526368851, 0.999961257, -0.00109705783, 0.00981026888),C1 = CFrame.new(5.96046448e-008, -9.05990601e-006, -2.38418579e-007, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),}) | |
CorruptedPart = New("Part",Chest,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.400000006, 0.800000072, 1),CFrame = CFrame.new(2.28977966, 7.11656427, 1.34486222, -0.00110228383, -0.00980954897, -0.9999578, -1.00000536, 0.000536905834, 0.00109708123, 0.000526248943, 0.99994868, -0.00981033035),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0011022957, -0.999999225, 0.000526249292, -0.00980958622, 0.000536918582, 0.99995172, -0.999951243, 0.0010970803, -0.00981026702),C1 = CFrame.new(-0.598430753, 0.800122261, 0.00106739998, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),}) | |
CorruptedPart = New("Part",Chest,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.400000006, 0.400000066, 1),CFrame = CFrame.new(2.29174757, 6.71645212, 1.54485857, -0.00110228383, -0.00980954897, -0.9999578, -1.00000536, 0.000536905834, 0.00109708123, 0.000526248943, 0.99994868, -0.00981033035),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.0011022957, -0.999999225, 0.000526249292, -0.00980958622, 0.000536918582, 0.99995172, -0.999951243, 0.0010970803, -0.00981026702),C1 = CFrame.new(-0.798183441, 0.399908543, 0.00543618202, 0.00980956666, -0.000537143264, -0.99995023, 0.00110225484, 1.00000238, -0.000526361808, 0.999954581, -0.00109704456, 0.00981020182),}) | |
LeftArm = New("Model",chara,"LeftArm",{}) | |
MainPart = New("Part",LeftArm,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(1.90889204, 6.31596565, 3.24640989, -0.0484240092, -0.0324009918, 0.998301268, -0.00117100019, 0.999474883, 0.0323822871, -0.998826265, 0.000399069104, -0.0484365262),CanCollide = false,}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Arm"],C0 = CFrame.new(0, 0, 0, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),C1 = CFrame.new(0, -8.10623169e-006, -2.38418579e-007, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(1.48370504, 6.50245714, 2.8663168, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(0.400017738, 0.200018406, -0.400015235, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.51924801, 6.60332775, 3.66543078, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.399997473, 0.300003052, -0.399972558, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
EffCorruptedPart = New("Part",LeftArm,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(1.92512023, 5.81624889, 3.24619365, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(1.52587891e-005, -0.49998045, 2.90870667e-005, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000072, 0.200000003),CFrame = CFrame.new(2.31463432, 6.72918367, 3.62673688, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.400012016, 0.400006294, 0.400012136, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.50631011, 6.40297413, 3.26581192, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(1.3589859e-005, 0.100014687, -0.400020242, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
CorruptedPart = New("Part",LeftArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(1.92179501, 6.51633835, 3.64602208, -0.048417028, -0.0324150361, 0.998301387, -0.00116700074, 0.999474525, 0.03239654, -0.998826742, 0.000403525919, -0.0484294258),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.048417028, -0.00116700074, -0.998826623, -0.0324150361, 0.999474466, 0.000403525832, 0.998301208, 0.0323965363, -0.0484294109),C1 = CFrame.new(-0.40000248, 0.200008869, 1.37090683e-005, -0.0484240092, -0.00117100019, -0.998826265, -0.0324009918, 0.999474883, 0.000399069104, 0.998301268, 0.0323822871, -0.0484365262),}) | |
BurningEff(EffCorruptedPart) | |
LeftLeg = New("Model",chara,"LeftLeg",{}) | |
MainPart = New("Part",LeftLeg,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.2865479, 1.31659603, 1.24781799, 0.00980953407, 0.00110225566, 0.999961138, -0.000537137908, 1.00000858, -0.00109705783, -0.99994719, -0.000526368851, 0.00981026888),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Left Leg"],C0 = CFrame.new(0, 0, 0, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),C1 = CFrame.new(0, -8.58306885e-006, -2.38418579e-007, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
EffCorruptedPart = New("Part",LeftLeg,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.200000048, 1),CFrame = CFrame.new(2.28007793, 0.400032878, 1.25993299, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.0116856098, -0.916567385, -0.00534534454, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.88013697, 0.800038397, 0.859943509, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(0.3841483, -0.516796231, -0.40962553, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000012, 0.200000003),CFrame = CFrame.new(2.69002914, 0.915953577, 0.851962805, 0.999971032, 0.0011022269, -0.00980960391, -0.00109704852, 1.00001776, 0.000537177373, 0.00981036108, -0.000526409131, 0.999942601),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999951303, -0.0010970087, 0.00981015898, 0.00110222446, 0.999999166, -0.000526388001, -0.00980970077, 0.00053719338, 0.99995172),C1 = CFrame.new(0.400011122, -0.399985313, 0.400013685, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000012, 0.200000003),CFrame = CFrame.new(1.88013721, 0.900040269, 1.65993917, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.415866137, -0.41721642, -0.40188694, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(1.88013721, 0.600035727, 1.25993288, 1.00001979, -3.03611159e-007, -5.47617674e-007, 5.67175448e-007, 1.00001717, -5.60779881e-007, -1.86450779e-006, 9.50574758e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 5.86369708e-007, -2.15602267e-006, -2.8440752e-007, 0.999998569, 9.76819592e-007, -8.39119252e-007, -5.34477465e-007, 0.999998569),C1 = CFrame.new(-0.0157161951, -0.717007458, -0.405481935, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.28007793, 0.700037479, 1.65993929, 1.00001967, -3.84054147e-007, 3.90969217e-006, 6.35045581e-007, 1.00001717, -5.60838998e-007, -6.19795173e-006, 9.32147486e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 6.5424797e-007, -6.48946025e-006, -3.64865258e-007, 0.999998629, 9.58411874e-007, 3.61912225e-006, -5.34497644e-007, 0.999998629),C1 = CFrame.new(-0.411835551, -0.616776347, -0.00175023079, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 1.20000005, 0.200000003),CFrame = CFrame.new(2.68018699, 1.10004401, 1.65993941, 1.00001967, -3.84054147e-007, 3.90969217e-006, 6.35045581e-007, 1.00001717, -5.60838998e-007, -6.19795173e-006, 9.32147486e-007, 0.99998951),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 1, 6.5424797e-007, -6.48946025e-006, -3.64865258e-007, 0.999998629, 9.58411874e-007, 3.61912225e-006, -5.34497644e-007, 0.999998629),C1 = CFrame.new(-0.408125639, -0.216332912, 0.397896528, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
CorruptedPart = New("Part",LeftLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(2.68596959, 0.816166699, 1.25195313, 0.999971032, 0.0011022269, -0.00980960391, -0.00109704852, 1.00001776, 0.000537177373, 0.00981036108, -0.000526409131, 0.999942601),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999951303, -0.0010970087, 0.00981015898, 0.00110222446, 0.999999166, -0.000526388001, -0.00980970077, 0.00053719338, 0.99995172),C1 = CFrame.new(5.20944595e-005, -0.499986172, 0.399987936, 0.00980953407, -0.000537137908, -0.99994719, 0.00110225566, 1.00000858, -0.000526368851, 0.999961138, -0.00109705783, 0.00981026888),}) | |
ScatterEff(EffCorruptedPart) | |
RightArm = New("Model",chara,"RightArm",{}) | |
MainPart = New("Part",RightArm,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.011096, 6.31690788, -3.92582893, 0.00918400101, -0.262283146, 0.964947343, 0.259330034, 0.932596445, 0.251021653, -0.965745091, 0.247934431, 0.0765828639),CanCollide = false,}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Arm"],C0 = CFrame.new(0, 0, 0, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),C1 = CFrame.new(-2.86102295e-006, -9.05990601e-006, -2.38418579e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
Hitbox = New("Part",RightArm,"Hitbox",{BrickColor = BrickColor.new("Really black"),Transparency = 1,Transparency = 1,Size = Vector3.new(1, 4, 1),CFrame = CFrame.new(22.2733669, 5.0842762, -22.1737366, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945257, -0.251027077, -0.0765930116, -0.262290984, 0.93259424, 0.247935042, 0.00919180829, 0.259333313, -0.965744138),C1 = CFrame.new(-1.52587891e-005, -1.00003147, -1.71661377e-005, 0.0091838371, 0.259330064, -0.965745151, -0.262283117, 0.932596445, 0.247934505, 0.964947283, 0.251021653, 0.0765827149),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.011096, 6.3169179, -3.92581391, -0.964945257, -0.262290984, 0.00919180829, -0.251027077, 0.93259424, 0.259333313, -0.0765930116, 0.247935042, -0.965744138),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945138, -0.251027018, -0.0765930042, -0.262290984, 0.932594121, 0.247935027, 0.00919180084, 0.259333313, -0.965744197),C1 = CFrame.new(-1.1920929e-005, 1.28746033e-005, 3.57627869e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.600000024, 0.400000036),CFrame = CFrame.new(2.14866924, 6.03215551, -4.72580194, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.699988842, -0.499982834, 7.62939453e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1.20000005, 0.600000024),CFrame = CFrame.new(2.63876629, 4.02682734, -4.32773018, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(-0.199987888, -2.39999342, 3.02791595e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 0.600000024),CFrame = CFrame.new(1.62134135, 7.81954479, -3.94021821, 0.964945078, -0.262291819, -0.00918725226, 0.251029015, 0.932593465, -0.259333432, 0.0765890032, 0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.964944899, 0.251028955, 0.0765889958, -0.262291819, 0.932593465, 0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.399995804, 1.5000124, -2.38418579e-007, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.600000024, 0.400000036),CFrame = CFrame.new(2.35483098, 5.18234444, -4.53787422, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.300010204, -1.29999256, 1.40666962e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1, 0.600000024),CFrame = CFrame.new(1.88730097, 6.99068737, -4.57445002, -0.964945078, 0.262291819, -0.00918725226, -0.251029015, -0.932593465, -0.259333432, -0.0765890032, -0.247936144, 0.965744317),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),MeshType = Enum.MeshType.Wedge,}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964944899, -0.251028955, -0.0765889958, 0.262291819, -0.932593465, -0.247936144, -0.00918724574, -0.259333432, 0.965744257),C1 = CFrame.new(0.799996853, 0.50001812, 4.29153442e-006, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
CorruptedPart = New("Part",RightArm,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 0.800000072, 0.600000024),CFrame = CFrame.new(2.37646794, 4.9594202, -4.07979012, -0.964945316, -0.262290984, 0.00918756705, -0.251028091, 0.932593942, 0.259333163, -0.0765890256, 0.247935995, -0.965744197),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, -0.964945138, -0.251028031, -0.0765890107, -0.262290955, 0.932593882, 0.247935966, 0.0091875596, 0.259333193, -0.965744257),C1 = CFrame.new(-0.199994564, -1.39999104, 1.52587891e-005, 0.00918400101, 0.259330034, -0.965745091, -0.262283146, 0.932596445, 0.247934431, 0.964947343, 0.251021653, 0.0765828639),}) | |
RightLeg = New("Model",chara,"RightLeg",{}) | |
MainPart = New("Part",RightLeg,"MainPart",{Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 2, 1),CFrame = CFrame.new(2.29641008, 1.31540966, 0.248092994, 0.00933599845, 0.00110999751, 0.999955773, -0.0030579993, 0.999994755, -0.00108149007, -0.99995178, -0.0030477671, 0.00933934376),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,}) | |
Weld = New("ManualWeld",MainPart,"Weld",{Part0 = MainPart,Part1 = chara["Right Leg"],C0 = CFrame.new(0, 0, 0, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),C1 = CFrame.new(2.98023224e-008, -8.58306885e-006, 2.38418579e-007, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(2.70045996, 1.61376095, -0.149078026, 0.999955833, 0.00111049914, -0.0093326522, -0.00108199986, 0.999994755, 0.00305823679, 0.00933599938, -0.00304800388, 0.999951839),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955893, -0.00108199986, 0.00933599938, 0.00111049926, 0.999994755, -0.00304800388, -0.0093326522, 0.00305823679, 0.99995178),C1 = CFrame.new(0.400011688, 0.300008655, 0.400000095, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(1.90071809, 1.81462395, -0.157150015, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(0.400002658, 0.50000751, -0.399999142, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(1.896873, 1.71584904, 0.243133992, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(4.14252281e-006, 0.400008917, -0.399998784, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.800000072, 0.200000003),CFrame = CFrame.new(1.89314091, 1.71706903, 0.643112063, 0.999955714, 0.00111050205, -0.0093366541, -0.00108199974, 0.999994755, 0.00305724167, 0.00933999754, -0.00304700364, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111050217, 0.999994755, -0.00304700388, -0.00933665317, 0.00305724121, 0.99995178),C1 = CFrame.new(-0.399993181, 0.400005698, -0.399996519, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
EffCorruptedPart = New("Part",RightLeg,"EffCorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(1, 1.20000005, 1),CFrame = CFrame.new(2.29597116, 0.915416002, 0.249298006, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",EffCorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",EffCorruptedPart,"Weld",{Part0 = EffCorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(1.41263008e-005, -0.399995744, 5.00679016e-006, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.300596, 1.71419013, -0.153122023, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(0.400015235, 0.400005817, 7.39097595e-006, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(2.69322205, 1.81620288, 0.650299072, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(-0.400013447, 0.500005245, 0.400009155, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
CorruptedPart = New("Part",RightLeg,"CorruptedPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Granite,Size = Vector3.new(0.200000003, 0.400000006, 0.200000003),CFrame = CFrame.new(2.69684124, 1.71498096, 0.250625998, 0.999955714, 0.00111051137, -0.00933665317, -0.00108199974, 0.999994755, 0.00305824191, 0.00933999754, -0.00304800365, 0.999951899),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("BlockMesh",CorruptedPart,"Mesh",{Scale = Vector3.new(1.10000002, 1.10000002, 1.10000002),}) | |
Weld = New("ManualWeld",CorruptedPart,"Weld",{Part0 = CorruptedPart,Part1 = MainPart,C0 = CFrame.new(0, 0, 0, 0.999955773, -0.00108199974, 0.00933999848, 0.00111051148, 0.999994755, -0.00304800388, -0.00933665223, 0.00305824145, 0.99995178),C1 = CFrame.new(-1.63316727e-005, 0.400005937, 0.400005102, 0.00933599845, -0.0030579993, -0.99995178, 0.00110999751, 0.999994755, -0.0030477671, 0.999955773, -0.00108149007, 0.00933934376),}) | |
ScatterEff(EffCorruptedPart) | |
sa = RightArm:GetChildren() | |
for i = 1, #sa do | |
ScatterEff(sa[i]) | |
end | |
local eff1 = Instance.new("ParticleEmitter",EyeFire) | |
eff1.Size = NumberSequence.new(.1) | |
eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
eff1.LightEmission = 1 | |
eff1.Lifetime = NumberRange.new(.5) | |
eff1.Speed = NumberRange.new(1) | |
eff1.EmissionDirection = "Front" | |
eff1.Rate = 100 | |
eff1.Texture = "rbxassetid://347504241" | |
eff1.Acceleration = Vector3.new(0,10,0) | |
eff1.Color = ColorSequence.new(Color3.new(1,0,0)) | |
local eff2 = Instance.new("ParticleEmitter",EyeFire) | |
eff2.Size = NumberSequence.new(.1) | |
eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)}) | |
eff2.LightEmission = 1 | |
eff2.Lifetime = NumberRange.new(.5) | |
eff2.Speed = NumberRange.new(1) | |
eff2.EmissionDirection = "Front" | |
eff2.Rate = 100 | |
eff2.Texture = "rbxassetid://347504259" | |
eff2.Acceleration = Vector3.new(0,10,0) | |
eff2.Color = ColorSequence.new(Color3.new(1,0,0)) | |
local eff3 = Instance.new("ParticleEmitter",EyeFire) | |
eff3.Size = NumberSequence.new(.1) | |
eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)}) | |
eff3.LightEmission = 1 | |
eff3.Lifetime = NumberRange.new(.5) | |
eff3.Speed = NumberRange.new(1) | |
eff3.EmissionDirection = "Front" | |
eff3.Rate = 100 | |
eff3.Texture = "rbxasset://textures/particles/fire_main.dds" | |
eff3.Acceleration = Vector3.new(0,10,0) | |
eff3.Color = ColorSequence.new(Color3.new(1,0,0)) | |
--Sounds-- | |
slashsnd = New("Sound",chara.Torso,"Slash",{SoundId = "rbxassetid://28144425",PlaybackSpeed = .7,Volume = 5}) | |
hitsnd = New("Sound",chara.Torso,"Hit",{SoundId = "rbxassetid://429400881",PlaybackSpeed = .7,Volume = 5}) | |
telesnd = New("Sound",chara.Torso,"Tele",{SoundId = "rbxassetid://2767090",PlaybackSpeed = .7,Volume = 5}) | |
burnsnd = New("Sound",chara.Torso,"Burn",{SoundId = "rbxassetid://32791565",PlaybackSpeed = .7,Volume = 5}) | |
music1 = New("Sound",chara.Torso,"Music1",{SoundId = "rbxassetid://151038517",PlaybackSpeed = .5,Volume = 10,Looped = true}) | |
music2 = New("Sound",chara.Torso,"Music2",{SoundId = "rbxassetid://11984351",PlaybackSpeed = .2,Volume = 5,Looped = true}) | |
deathmus = New("Sound",chara.Torso,"DeathMus",{SoundId = "rbxassetid://19094700",PlaybackSpeed = .5,Volume = 5,Looped = true}) | |
deathex = New("Sound",chara.Torso,"DeathEx",{SoundId = "rbxassetid://11984351",PlaybackSpeed = 1,Volume = 5}) | |
music1:Play() | |
music2:Play() | |
--Animations-- | |
swinganim = chara.Humanoid:LoadAnimation(New("Animation",chara,"Swing",{AnimationId = "rbxassetid://186934658"})) | |
--Name Tag-- | |
local naeeym = Instance.new("BillboardGui",chara) | |
naeeym.Size = UDim2.new(0,100,0,40) | |
naeeym.StudsOffset = Vector3.new(0,2,0) | |
naeeym.Adornee = chara.Head | |
local tecks = Instance.new("TextLabel",naeeym) | |
tecks.BackgroundTransparency = 1 | |
tecks.BorderSizePixel = 0 | |
tecks.Text = "John Doe" | |
tecks.Font = "Fantasy" | |
tecks.FontSize = "Size24" | |
tecks.TextStrokeTransparency = 0 | |
tecks.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks.TextColor3 = Color3.new(0,0,0) | |
tecks.Size = UDim2.new(1,0,0.5,0) | |
--Skybox-- | |
skybox = Instance.new("Part",chara) | |
skybox.Size = Vector3.new(0,0,0) | |
skybox.Anchored = true | |
skybox.CanCollide = true | |
skyboxmesh = Instance.new("SpecialMesh",skybox) | |
skyboxmesh.MeshId = "http://www.roblox.com/asset/?id=1527559" | |
skyboxmesh.TextureId = "http://www.roblox.com/asset/?id=1529455" | |
skyboxmesh.VertexColor = Vector3.new(1,0,0) | |
skyboxmesh.Scale = Vector3.new(-3000,-1000,-3000) | |
--Soul Steal-- | |
function SoulSteal(pos) | |
local soulst = coroutine.wrap(function() | |
local soul = Instance.new("Part",chara) | |
soul.Size = Vector3.new(0,0,0) | |
soul.CanCollide = false | |
soul.Anchored = false | |
soul.Position = pos | |
soul.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
soul.Transparency = 1 | |
local ptc = Instance.new("ParticleEmitter",soul) | |
ptc.Texture = "http://www.roblox.com/asset/?id=413366101" | |
ptc.Size = NumberSequence.new(.5) | |
ptc.LockedToPart = true | |
ptc.Speed = NumberRange.new(0) | |
ptc.Lifetime = NumberRange.new(9999) | |
local bodpos = Instance.new("BodyPosition",soul) | |
bodpos.Position = pos | |
wait(2) | |
soul.Touched:connect(function(hit) | |
if hit.Parent == chara then | |
soul:Destroy() | |
end | |
end) | |
while soul do | |
wait(.1) | |
bodpos.Position = chara.Torso.Position | |
end | |
end) | |
soulst() | |
end | |
--Death of a Mortal-- | |
function KillMortal(hitdude) | |
local torsy = nil | |
if hitdude:FindFirstChild("Torso")~=nil then | |
torsy = hitdude.Torso | |
elseif hitdude:FindFirstChild("UpperTorso")~=nil then | |
torsy = hitdude.UpperTorso | |
end | |
local val = Instance.new("ObjectValue",hitdude) | |
val.Name = "HasBeenHit" | |
hitdude:BreakJoints() | |
hitdude.Humanoid:Destroy() | |
SoulSteal(torsy.Position) | |
local chi = hitdude:GetChildren() | |
for i = 1, #chi do | |
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
local bodpos = Instance.new("BodyPosition",chi[i]) | |
bodpos.Position = chi[i].Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) | |
ScatterEff(chi[i]) | |
chi[i].BrickColor = BrickColor.new("Really black") | |
end | |
end | |
for i = 1, 4 do | |
for i = 1, #chi do | |
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
chi[i].Transparency = chi[i].Transparency + .25 | |
wait(.01) | |
end | |
end | |
end | |
for i = 1, #chi do | |
if chi[i].ClassName == "Part" or chi[i].ClassName == "MeshPart" then | |
chi[i]:Destroy() | |
end | |
end | |
end | |
--Arm Touch-- | |
bladeactive = false | |
Hitbox.Touched:connect(function(hit) | |
if bladeactive == true then | |
if hit.Parent:FindFirstChild("Humanoid")~= nil and hit.Parent:FindFirstChild("HasBeenHit")== nil and hit.Parent ~= chara then | |
hitsnd:Play() | |
KillMortal(hit.Parent) | |
end | |
end | |
end) | |
--Teleport-- | |
function Teleport(pos) | |
telesnd:Play() | |
local ch = chara:GetChildren() | |
for i = 1, #ch do | |
if ch[i].ClassName == "Part" and ch[i].Name ~= "HumanoidRootPart" then | |
local trace = Instance.new("Part",game.Workspace) | |
trace.Size = ch[i].Size | |
trace.Material = "Neon" | |
trace.BrickColor = BrickColor.new("Really black") | |
trace.Transparency = .3 | |
trace.CanCollide = false | |
trace.Anchored = true | |
trace.CFrame = ch[i].CFrame | |
if ch[i].Name == "Head" then | |
mehs = Instance.new("CylinderMesh",trace) | |
mehs.Scale = Vector3.new(1.25,1.25,1.25) | |
end | |
tracedisappear = coroutine.wrap(function() | |
wait(1) | |
for i = 1, 7 do | |
wait(.1) | |
trace.Transparency = trace.Transparency + .1 | |
end | |
trace:Destroy() | |
end) | |
tracedisappear() | |
end | |
end | |
chara.Torso.CFrame = CFrame.new(pos.X,pos.Y,pos.Z) | |
end | |
--Grab-- | |
function Grab(mouse) | |
local hit = mouse.Target | |
if hit ~= nil then | |
if hit.Parent:FindFirstChild("Humanoid")~=nil then | |
local torsy = nil | |
if hit.Parent:FindFirstChild("Torso")~=nil then | |
torsy = hit.Parent.Torso | |
elseif hit.Parent:FindFirstChild("UpperTorso")~=nil then | |
torsy = hit.Parent.UpperTorso | |
end | |
local bodpos = Instance.new("BodyPosition",torsy) | |
bodpos.Position = torsy.Position | |
wait(1) | |
burnsnd:Play() | |
hit.Parent.Humanoid.MaxHealth = 100 | |
bodpos.Position = bodpos.Position + Vector3.new(0,4,0) | |
for i = 1, 10 do | |
wait(.1) | |
BurningEff(torsy) | |
hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
end | |
KillMortal(hit.Parent) | |
end | |
else end | |
end | |
--Button1Down-- | |
dell = false | |
function onButton1Down() | |
if dell == false then | |
dell = true | |
swinganim:Play() | |
bladeactive = true | |
slashsnd:Play() | |
wait(.7) | |
bladeactive = false | |
dell = false | |
swinganim:Stop() | |
end | |
end | |
--KeyDowns-- | |
function onKeyDown(key) | |
if key == "z" then | |
Teleport(Mouse.Hit.p + Vector3.new(0,2,0)) | |
elseif key == "x" then | |
Grab(Mouse) | |
end | |
end | |
--Mouse Functions-- | |
Mouse = player:GetMouse() | |
if Mouse then | |
Mouse.Button1Down:connect(onButton1Down) | |
Mouse.KeyDown:connect(onKeyDown) | |
end | |
--Death-- | |
chara.Humanoid.Died:connect(function() | |
local pat = Instance.new("Part",game.Workspace) | |
pat.Transparency = 1 | |
pat.Anchored = true | |
pat.CFrame = chara.Torso.CFrame | |
naeeym.Parent = pat | |
naeeym.Adornee = pat | |
skybox.Parent = game.Workspace | |
tecks.Text = "BAD CHOICE" | |
tecks.FontSize = "Size48" | |
tecks.TextColor3 = Color3.new(1,0,0) | |
music1:Stop() | |
music2:Stop() | |
deathmus.Parent = game.Workspace | |
deathex.Parent = game.Workspace | |
deathmus:Play() | |
deathex:Play() | |
game.Lighting.OutdoorAmbient = Color3.new(0,0,0) | |
game.Lighting.TimeOfDay = "00:00:00" | |
game.Lighting.FogColor = Color3.new(0,0,0) | |
game.Lighting.FogEnd = 1000 | |
local ex = Instance.new("Explosion",game.Workspace) | |
ex.Position = chara.Torso.Position | |
ex.Visible = false | |
ex.BlastRadius = 999999999999999999999999 | |
ex.BlastPressure = 9999999999999999999999999 | |
end) | |
--Loop Function-- | |
while true do | |
wait(.01) | |
chance = math.random(0,100) | |
if chance < 10 then | |
sel = math.random(1,3) | |
if sel == 1 then | |
tecks.Text = "NOHOPE" | |
elseif sel == 2 then | |
tecks.Text = "GIVEUP" | |
elseif sel == 3 then | |
tecks.Text = "BURNINHELL" | |
end | |
else tecks.Text = "John Doe" | |
end | |
if chara.Humanoid.Health > 0 then | |
chara.Humanoid.MaxHealth = math.huge | |
chara.Humanoid.Health = math.huge | |
game.Lighting.OutdoorAmbient = Color3.new(1,0,0) | |
game.Lighting.Ambient = Color3.new(1,0,0) | |
chara["Left Arm"].BrickColor = BrickColor.new("Cool yellow") | |
chara["Right Arm"].BrickColor = BrickColor.new("Cool yellow") | |
chara["Left Leg"].BrickColor = BrickColor.new("Medium blue") | |
chara["Right Leg"].BrickColor = BrickColor.new("Medium blue") | |
chara.Torso.BrickColor = BrickColor.new("Bright yellow") | |
chara["Left Arm"].Anchored = false | |
chara["Right Arm"].Anchored = false | |
chara["Left Leg"].Anchored = false | |
chara["Right Leg"].Anchored = false | |
chara.Torso.Anchored = false | |
ch = chara:GetChildren() | |
for i = 1, #ch do | |
if ch[i].ClassName == "Accessory" or ch[i].ClassName == "Hat" then | |
ch[i]:Destroy() | |
end | |
end | |
tools = player.Backpack:GetChildren() | |
for i = 1, #tools do | |
if tools[i].ClassName == "HopperBin" then | |
tools[i]:Destroy() | |
end | |
end | |
skybox.CFrame = skybox.CFrame * CFrame.fromEulerAnglesXYZ(0,math.rad(1),0) | |
tecks.Position = UDim2.new(0,math.random(-3,3),0,math.random(-3,3)) | |
local jtrace = Instance.new("Part",game.Workspace) | |
jtrace.Name = "JDTrace" | |
jtrace.Size = Vector3.new(10,0,10) | |
jtrace.Position = chara.Torso.Position | |
jtrace.CFrame = chara.Torso.CFrame - Vector3.new(0,3,0) | |
jtrace.Anchored = true | |
jtrace.CanCollide = false | |
jtrace.BrickColor = BrickColor.new("Really black") | |
jtrace.Material = "Granite" | |
BurningEff(jtrace) | |
game.Debris:AddItem(jtrace,1) | |
end | |
end | |
end) | |
Bigsmoke.MouseButton1Down:connect(function() | |
---------ONE WITH CHEESEEE------------ | |
---------MAKE BY SKRUBL0RDZI------------ | |
p = game.Players.LocalPlayer | |
char = p.Character | |
torso = char.Torso | |
hed = char.Head | |
neck = char.Torso.Neck | |
hum = char.Humanoid | |
hum.MaxHealth = math.huge | |
local msg = game:GetService("Chat") | |
torso.BrickColor = BrickColor.new("Brown") | |
hed.BrickColor = BrickColor.new("Brown") | |
char["Right Arm"].BrickColor = BrickColor.new("Brown") | |
char["Left Arm"].BrickColor = BrickColor.new("Brown") | |
char["Left Leg"].BrickColor = BrickColor.new("Brown") | |
char["Right Leg"].BrickColor = BrickColor.new("Brown") | |
ypcall(function() | |
shirt = Instance.new("Shirt", char) | |
shirt.Name = "Shirt" | |
pants = Instance.new("Pants", char) | |
pants.Name = "Pants" | |
char.Shirt.ShirtTemplate = "rbxassetid://586567751" | |
char.Pants.PantsTemplate = "rbxassetid://95425972" | |
end) | |
function sbchat(msg,displayname) | |
if not displayname then | |
displayname = '<Bitch Smoke>' | |
end | |
for i,v in pairs(game:GetService('Players'):GetChildren()) do | |
local st = Instance.new('StringValue') | |
st.Name = 'SB_Chat' | |
st.Value = displayname..'/'..msg | |
delay(0.2,function() st.Parent = v end) | |
end | |
end | |
p1 = Instance.new("Part",char) | |
p1.FormFactor = Enum.FormFactor.Custom | |
p1.Size = Vector3.new(1.8,0.8,1.8) | |
p1.CanCollide = false | |
p1.Locked = true | |
p1.BottomSurface = Enum.SurfaceType.Smooth | |
p1.TopSurface = Enum.SurfaceType.Smooth | |
SMesh = Instance.new("SpecialMesh", p1) | |
SMesh.MeshId = "http://www.roblox.com/asset/?id=91673856" | |
SMesh.MeshType = Enum.MeshType.FileMesh | |
SMesh.Name = "Mesh" | |
SMesh.TextureId = "http://www.roblox.com/asset/?id=91673893" | |
w1 = Instance.new("Weld", hed) | |
w1.Part0 = hed | |
w1.C0 = CFrame.new(0,0.76,0.2)*CFrame.Angles(0.3,0,0) | |
w1.Part1 = p1 | |
w1.C1 = CFrame.new(0, 0, 0) | |
-------------------------------- | |
p1 = Instance.new("Part",char) | |
p1.FormFactor = Enum.FormFactor.Custom | |
p1.Size = Vector3.new(1.8,0.8,1.8) | |
p1.CanCollide = false | |
p1.Locked = true | |
p1.BrickColor = BrickColor.new("Really black") | |
p1.BottomSurface = Enum.SurfaceType.Smooth | |
p1.TopSurface = Enum.SurfaceType.Smooth | |
SMesh = Instance.new("SpecialMesh", p1) | |
SMesh.MeshId = "http://www.roblox.com/asset/?id=11419729" | |
SMesh.MeshType = Enum.MeshType.FileMesh | |
SMesh.Name = "Mesh" | |
w1 = Instance.new("Weld", hed) | |
w1.Part0 = hed | |
w1.C0 = CFrame.new(0,0.2,-0.25) | |
w1.Part1 = p1 | |
w1.C1 = CFrame.new(0, 0, 0) | |
----------- | |
GroundWave3 = function() | |
local HandCF = CFrame.new(torso.Position - Vector3.new(0,0,0)) * CFrame.Angles(0,0,0) | |
local wave1 = Instance.new("Part", torso) | |
wave1.BrickColor = BrickColor.new("Really black") | |
wave1.Anchored = true | |
wave1.CanCollide = false | |
wave1.Locked = true | |
wave1.Material = "Neon" | |
wave1.Size = Vector3.new(1, 1, 1) | |
wave1.TopSurface = "Smooth" | |
wave1.BottomSurface = "Smooth" | |
wave1.Transparency = 0 | |
wave1.CFrame = HandCF | |
wm = Instance.new("SpecialMesh", wave1) | |
wm.Scale = Vector3.new(.1,.1,.1) | |
wm.MeshType = "Sphere" | |
coroutine.wrap(function() | |
for i = 1, 20, 1 do | |
wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
--wave1.Size = wm.Scale | |
wave1.CFrame = HandCF | |
wave1.Transparency = i/10 | |
wait() | |
end | |
wait() | |
wave1:Destroy() | |
end)() | |
end | |
------------------------------- | |
Spawn(function() | |
while wait(1) do | |
GroundWave3() | |
wait(.5) | |
GroundWave3() | |
end | |
end) | |
warn'[Ground Brake]:Connect!' | |
----------------------------------- | |
local Plr = game.Players.LocalPlayer --LocalScript | |
local Char = Plr.Character | |
local Mouse = Plr:GetMouse() | |
local ra = Char:FindFirstChild('Right Arm') | |
local ts = Char.Torso | |
local la = Char:FindFirstChild('Left Arm') | |
local ll = Char:FindFirstChild('Left Leg') | |
local rl = Char:FindFirstChild('Right Leg') | |
local hd = Char.Head | |
local root = Char:FindFirstChild('HumanoidRootPart') | |
rarm = ra | |
larm = la | |
torso = ts | |
hed = hd | |
root = root | |
lleg = ll | |
rleg = rl | |
FloatPart = function() | |
local Part = Instance.new('Part',torso) | |
Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
Part.Anchored = true | |
Part.Material = 'Neon' | |
Part.CanCollide = false | |
Part.BrickColor = BrickColor.new("Forest green") | |
local Mesh = Instance.new('SpecialMesh',Part) | |
Mesh.Scale = Vector3.new(4,4,.2) | |
Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' | |
Mesh.VertexColor = Vector3.new(0,170,255) | |
spawn(function() | |
for i = 1,30 do | |
Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) | |
Part.Transparency = Part.Transparency + .035 | |
game["Run Service"].RenderStepped:wait() | |
end | |
Part:Destroy() | |
end) | |
end; | |
DubPart = function() | |
local Part = Instance.new('Part',torso) | |
Part.CFrame = CFrame.new(torso.CFrame.X,workspace.Base.CFrame.Y+1,torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) | |
Part.Anchored = true | |
Part.CanCollide = false | |
Part.Material = 'Neon' | |
Part.BrickColor = BrickColor.new("Forest green") | |
local Mesh = Instance.new('SpecialMesh',Part) | |
Mesh.Scale = Vector3.new(7,7,.2) | |
Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' | |
Mesh.VertexColor = Vector3.new(0,170,255) | |
spawn(function() | |
for i = 1,30 do | |
Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) | |
Part.Transparency = Part.Transparency + .035 | |
game["Run Service"].RenderStepped:wait() | |
end | |
Part:Destroy() | |
end) | |
end; | |
OnTouch = function(Toucher) | |
if Toucher.Parent.Name ~= Plr.Name and Toucher.Parent:FindFirstChild('Humanoid') then | |
local Hum = Toucher.Parent:FindFirstChild('Humanoid') | |
Hum.Health = Hum.Health - .7 | |
end | |
end; | |
Fade = function(Item,t) | |
spawn(function() | |
for i = 1,20 do | |
Item.Transparency = Item.Transparency + .05 | |
if t then | |
wait(t) | |
else | |
wait() | |
end | |
end | |
Item:Destroy() | |
end) | |
end | |
TouchKill = function(Toucher) | |
if Toucher.Parent then | |
if Toucher.Parent:FindFirstChild('Humanoid') then | |
local P = Toucher.Parent:FindFirstChild('Humanoid') | |
if P ~= nil and P.Parent.Name ~= Plr.Name then | |
P.Health = P.Health - math.random(4,17) | |
end | |
end | |
end | |
end; | |
Particle = function() | |
local Part = Instance.new('Part',torso) | |
Part.Anchored = true | |
Part.Transparency = 0 | |
Part.Material = "Neon" | |
Part.Touched:connect(function(I)OnTouch(I)end) | |
Part.CanCollide = false | |
Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
local Mesh = Instance.new('SpecialMesh',Part) | |
Mesh.Scale = Vector3.new(1,1,1) | |
Mesh.MeshId = "rbxassetid://1090700" | |
Mesh.TextureId = "rbxassetid://1090703" | |
spawn(function() | |
for i = 1,40 do | |
Part.Transparency = Part.Transparency + .0125 | |
Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
game["Run Service"].RenderStepped:wait() | |
end | |
Part:Destroy() | |
end) | |
end; | |
Particle2 = function() | |
local Part = Instance.new('Part',torso) | |
Part.Anchored = true | |
Part.Transparency = 0 | |
Part.Material = "Neon" | |
Part.Touched:connect(function(I)OnTouch(I)end) | |
Part.CanCollide = false | |
Part.CFrame = torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) | |
local Mesh = Instance.new('SpecialMesh',Part) | |
Mesh.Scale = Vector3.new(1.5,1.5,1.5) | |
Mesh.MeshId = "rbxassetid://13073626" | |
Mesh.TextureId = "rbxassetid://13073598" | |
spawn(function() | |
for i = 1,40 do | |
Part.Transparency = Part.Transparency + .0125 | |
Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) | |
game["Run Service"].RenderStepped:wait() | |
end | |
Part:Destroy() | |
end) | |
end; | |
spawn(function() | |
while wait() do | |
wait(.05) | |
FloatPart() | |
wait(.08) | |
FloatPart() | |
wait(.05) | |
DubPart() | |
wait(.08) | |
end | |
end) | |
spawn(function() | |
while wait() do | |
Particle() | |
wait(0.75) | |
Particle2() | |
end | |
end) | |
------------- | |
hed.face.Texture = "http://www.roblox.com/asset/?id=110287880" | |
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"I'M BACK CJ. LET'S ME FLOW DAT DAMN TRAIN!", "Red") | |
sbchat("I'M BACK CJ. LET'S ME FLOW DAT DAMN TRAIN!",'[Big Smoke]') | |
local HBill = Instance.new("BillboardGui", hed) | |
local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame") | |
local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel") | |
HBill.Size = UDim2.new(15,0,2.2,0) | |
HBill.Name = "Health Display" | |
HBill.StudsOffset = Vector3.new(0,4,0) | |
HBill.AlwaysOnTop = true | |
HBill.Enabled = true | |
HMain.BackgroundColor3 = Color3.new(0, 0, 0) | |
HMain.BackgroundTransparency = 0.6 | |
HMain.Size = UDim2.new(1,0,1,0) | |
HBarBack.Parent = HMain | |
HBarBack.BackgroundColor3 = Color3.new(0,0,0) | |
HBarBack.BorderColor3 = Color3.new(0,0,0) | |
HBarBack.BorderSizePixel = 2 | |
HBarBack.Position = UDim2.new(.025, 0, .55, 0) | |
HBarBack.Size = UDim2.new(.95, 0, .3, 0) | |
HHealth.BackgroundTransparency = 1 | |
HHealth.Size = UDim2.new(1,0,1,0) | |
HHealth.Font = "Code" | |
HHealth.Text = "1.#INF" | |
HHealth.TextScaled = true | |
HHealth.TextColor3 = Color3.new(1,1,1) | |
HHealth.TextStrokeColor3 = BrickColor.new("Forest green").Color | |
HHealth.TextStrokeTransparency = 0 | |
HName.Parent = HMain | |
HName.BackgroundTransparency = 1 | |
HName.Size = UDim2.new(1,0,.5,0) | |
HName.Font = "Code" | |
HName.Text = "Big Smoke" | |
HName.TextScaled = true | |
HName.TextColor3 = BrickColor.new("Forest green").Color | |
HName.TextStrokeColor3 = Color3.new(0,0,0) | |
HName.TextStrokeTransparency = 0 | |
HName.TextYAlignment = "Top" | |
plr = game.Players.LocalPlayer | |
local s = Instance.new("Sound",plr.Character) | |
s.Volume = 3 | |
s.Looped = true | |
s.Pitch = 1 | |
s.SoundId = "rbxassetid://568315166" | |
s:Play() | |
repeat | |
wait(0.4) | |
until plr.Character | |
chr = plr.Character | |
human = chr:FindFirstChild("Humanoid") | |
mouse = plr:GetMouse() | |
cam = workspace.CurrentCamera | |
selected = false | |
equipd = false | |
tors = chr.Torso | |
rarm = chr["Right Arm"] | |
larm = chr["Left Arm"] | |
rleg = chr["Right Leg"] | |
lleg = chr["Left Leg"] | |
hrp = chr.HumanoidRootPart | |
hed = chr.Head | |
anim = human.Animator | |
activu = false | |
ragged = false | |
batting = false | |
Heartbeat = Instance.new("BindableEvent") | |
Heartbeat.Name = "Heartbeat" | |
Heartbeat.Parent = script | |
frame = 0.03333333333333333 | |
tf = 0 | |
game:GetService("RunService").Heartbeat:connect(function(s, p) | |
tf = tf + s | |
if tf >= frame then | |
for i = 1, math.floor(tf / frame) do | |
Heartbeat:Fire() | |
end | |
tf = tf - frame * math.floor(tf / frame) | |
end | |
end) | |
function swait(num) | |
if num == 0 or num == nil then | |
Heartbeat.Event:wait() | |
else | |
for i = 1, num do | |
Heartbeat.Event:wait() | |
end | |
end | |
end | |
tool = Instance.new("Tool") | |
tool.CanBeDropped = false | |
tool.RequiresHandle = false | |
tool.ToolTip = "NANI BIG SMOKE??????" | |
tool.Name = "PRESS X TO USING ME BITC" | |
tool.Parent = plr.Backpack | |
modz = Instance.new("Model") | |
modz.Name = "efx" | |
modz.Parent = chr | |
RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
local nscale = Instance.new("NumberValue") | |
nscale.Value = 1 | |
nscale.Parent = nil | |
RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
nscale.Changed:connect(function() | |
RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
end) | |
RS = tors:FindFirstChild("Right Shoulder") | |
LS = tors:FindFirstChild("Left Shoulder") | |
RH = tors:FindFirstChild("Right Hip") | |
LH = tors:FindFirstChild("Left Hip") | |
RJ = hrp:FindFirstChild("RootJoint") | |
N = tors:FindFirstChild("Neck") | |
cf = CFrame.new | |
ang = CFrame.Angles | |
rd = math.rad | |
rd2 = math.random | |
function nooutline(p) | |
p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10 | |
end | |
function makepart(color, name, reflec, trans, mater, parnt, cfram) | |
local port = Instance.new("Part") | |
port.BrickColor = BrickColor.new(color) | |
port.Name = name | |
port.Transparency = trans | |
nooutline(port) | |
port.Reflectance = reflec | |
port.Material = mater | |
port.Anchored = false | |
port.CanCollide = false | |
port.Locked = true | |
port.Size = Vector3.new(0.2, 0.2, 0.2) | |
port.Parent = parnt | |
return port | |
end | |
function makemesh(meshtype, scale, meshid, parent) | |
local mes = Instance.new("SpecialMesh") | |
mes.MeshType = meshtype | |
mes.Scale = scale | |
if meshtype == "FileMesh" then | |
mes.MeshId = meshid | |
end | |
mes.Parent = parent | |
return mes | |
end | |
function makeweld(parent, p0, p1, c0, c1) | |
local wel = Instance.new("Weld") | |
wel.Part0 = p0 | |
wel.Part1 = p1 | |
wel.C0 = c0 | |
if c1 ~= nil then | |
wel.C1 = c1 | |
end | |
wel.Parent = parent | |
return wel | |
end | |
local lauf1 = Instance.new("Sound") | |
lauf1.SoundId = "rbxassetid://138199573" | |
lauf1.Volume = 5 | |
lauf1.Pitch = 1 | |
lauf1.Parent = hrp | |
function lerpz(joint, prop, cfrmz, alp) | |
joint[prop] = joint[prop]:lerp(cfrmz, alp) | |
end | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
function resetlerp() | |
RJ.C0 = RJC0 | |
RJ.C1 = RJC1 | |
N.C0 = NC0 | |
N.C1 = NC1 | |
RS.C0 = RSC0 | |
RS.C1 = RSC1 | |
LS.C0 = LSC0 | |
LS.C1 = LSC1 | |
RH.C0 = RHC0 | |
RH.C1 = RHC1 | |
LH.C0 = LHC0 | |
LH.C1 = LHC1 | |
end | |
function test() | |
if selected == false or activu == true then | |
return | |
end | |
if ragged == false then | |
ragged = true | |
human.PlatformStand = true | |
if rarm and tors:FindFirstChild("Right Shoulder") then | |
tors:FindFirstChild("Right Shoulder"):Destroy() | |
makegloo(tors, RightShoulderC0, RightShoulderC1, tors, rarm, "Right Shoulder") | |
maketouchy(rarm, rarm, CFrame.new(0, 0.5, 0)) | |
end | |
if larm and tors:FindFirstChild("Left Shoulder") then | |
tors:FindFirstChild("Left Shoulder"):Destroy() | |
makegloo(tors, LeftShoulderC0, LeftShoulderC1, tors, larm, "Left Shoulder") | |
maketouchy(larm, larm, CFrame.new(0, 0.5, 0)) | |
end | |
if rleg and tors:FindFirstChild("Right Hip") then | |
tors:FindFirstChild("Right Hip"):Destroy() | |
makegloo(tors, RightHipC0, RightHipC1, tors, rleg, "Right Hip") | |
maketouchy(rleg, rleg, CFrame.new(0, 0.5, 0)) | |
end | |
if lleg and tors:FindFirstChild("Left Hip") then | |
tors:FindFirstChild("Left Hip"):Destroy() | |
makegloo(tors, LeftHipC0, LeftHipC1, tors, lleg, "Left Hip") | |
maketouchy(lleg, lleg, CFrame.new(0, 0.5, 0)) | |
HName.Text = "Died" | |
end | |
elseif ragged == true then | |
ragged = false | |
human.Jump = true | |
if rarm and tors:FindFirstChild("Right Shoulder") then | |
tors:FindFirstChild("Right Shoulder"):Destroy() | |
makejoint(tors, RSC0, RSC1, tors, rarm, "Right Shoulder") | |
rarm:FindFirstChild("touchy"):Destroy() | |
end | |
if larm and tors:FindFirstChild("Left Shoulder") then | |
tors:FindFirstChild("Left Shoulder"):Destroy() | |
makejoint(tors, LSC0, LSC1, tors, larm, "Left Shoulder") | |
larm:FindFirstChild("touchy"):Destroy() | |
end | |
if rleg and tors:FindFirstChild("Right Hip") then | |
tors:FindFirstChild("Right Hip"):Destroy() | |
makejoint(tors, RHC0, RHC1, tors, rleg, "Right Hip") | |
rleg:FindFirstChild("touchy"):Destroy() | |
end | |
if lleg and tors:FindFirstChild("Left Hip") then | |
tors:FindFirstChild("Left Hip"):Destroy() | |
makejoint(tors, LHC0, LHC1, tors, lleg, "Left Hip") | |
lleg:FindFirstChild("touchy"):Destroy() | |
end | |
RS = tors:FindFirstChild("Right Shoulder") | |
LS = tors:FindFirstChild("Left Shoulder") | |
RH = tors:FindFirstChild("Right Hip") | |
LH = tors:FindFirstChild("Left Hip") | |
RJ = hrp:FindFirstChild("RootJoint") | |
N = tors:FindFirstChild("Neck") | |
HName.Text = "Big Smoke" | |
end | |
end | |
function makegloo(paren, co, ci, parto, parti, nam) | |
local gloo = Instance.new("Glue") | |
gloo.Name = nam | |
gloo.C0 = co | |
gloo.C1 = ci | |
gloo.Part0 = parto | |
gloo.Part1 = parti | |
gloo.Parent = paren | |
end | |
function makejoint(paren, co, ci, parto, parti, nam) | |
local gloo = Instance.new("Motor6D") | |
gloo.Name = nam | |
gloo.C0 = co | |
gloo.C1 = ci | |
gloo.Part0 = parto | |
gloo.Part1 = parti | |
gloo.Parent = paren | |
end | |
function maketouchy(parent, limb, cframe) | |
local pr = Instance.new("Part") | |
pr.Name = "touchy" | |
pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
pr.Transparency = 1 | |
pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) | |
pr.CanCollide = true | |
pr.Anchored = false | |
pr.Parent = parent | |
local w = Instance.new("Weld") | |
w.Part0 = pr | |
w.Part1 = limb | |
w.C0 = cframe | |
w.Parent = pr | |
end | |
local clibat, spec | |
local dipperhat = chr:FindFirstChild("DXD_DipperHat") | |
local dipperrot | |
if dipperhat then | |
dipperrot = dipperhat.Handle.HatAttachment.Rotation | |
end | |
function bat() | |
if selected == false or activu == true then | |
return | |
end | |
if batting == false then | |
batting = true | |
do | |
local bmod = Instance.new("Model") | |
bmod.Name = "bmodel" | |
bmod.Parent = chr | |
local hnd = makepart("Really black", "hnd", 0, 1, "Neon", bmod, rarm.CFrame) | |
local hmes = makemesh("1", Vector3.new(2, 9, 2), nil, hnd) | |
local hwel = makeweld(hnd, hnd, rarm, ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
local pt1 = makepart("Really black", "pt1", 0, 1, "Neon", bmod, rarm.CFrame) | |
local p1m = makemesh("Sphere", Vector3.new(3,3,3), nil, pt1) | |
local p1w = makeweld(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), nil) | |
local pt3 = makepart("Really black", "pt3", 0, 1, "Neon", bmod, rarm.CFrame) | |
local p3m = makemesh("1", Vector3.new(1, 6, 1), nil, pt3) | |
local p3w = makeweld(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), nil) | |
local pt4 = makepart("Really black", "pt4", 0, math.rad(0,1), "Neon", bmod, rarm.CFrame) | |
local p4m = makemesh("FileMesh", Vector3.new(2,2,2), "http://www.roblox.com/asset/?id=54983181", pt4) | |
p4m.TextureId = "http://www.roblox.com/asset/?id=54983107" | |
p4m.Scale = Vector3.new(2,2,2) | |
local p4w = makeweld(pt4, pt4, hnd, ang(rd(90), rd(0), rd(0)) * cf(0, -1.5, 0), nil) | |
local pt5 = makepart("Forest green", "pt5", 0, 1, "Neon", bmod, rarm.CFrame) | |
local p5m = makemesh("Cylinder", Vector3.new(25, 1.5, 1.5), nil, pt5) | |
local p5w = makeweld(pt5, pt5, hnd, ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), nil) | |
local swingwoo = Instance.new("Sound") | |
swingwoo.SoundId = "rbxassetid://175024455" | |
swingwoo.Pitch = rd2(10, 11) / 10 | |
swingwoo.Name = "sweae" | |
swingwoo.Volume = 1 | |
swingwoo.Parent = hrp | |
clibat = tool.Activated:connect(function() | |
if selected == false or activu == true or ragged == true then | |
return | |
end | |
activu = true | |
for _ = 1, 5 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(-20), rd(179)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
local bon = Instance.new("Sound") | |
bon.SoundId = "rbxassetid://175024455" | |
bon.Pitch = rd2(10, 12) / 10 | |
bon.Volume = 1 | |
bon.Parent = hrp | |
game.Debris:AddItem(bon, 1) | |
bon:Play() | |
swingwoo:Play() | |
for X = 1, 5 do | |
swait() | |
if X > 1 then | |
hito(pt5, 5, 80, 0.2, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-5, 5), rd2(-40, 40))) | |
end | |
lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(20), rd(40)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
activu = false | |
end) | |
spec = mouse.KeyDown:connect(function(keya) | |
if selected == false or activu == true or ragged == true then | |
return | |
end | |
if keya == "]]" then | |
activu = true | |
local speed = human.WalkSpeed | |
human.WalkSpeed = 0 | |
human:SetStateEnabled(3, false) | |
local function expa() | |
local sond = Instance.new("Sound") | |
sond.Volume = 1.25 | |
sond.Pitch = 1 | |
sond.EmitterSize = 15 | |
sond.SoundId = "rbxassetid://151790502" | |
sond.Parent = pt6 | |
sond:Play() | |
for _ = 1, 3 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(6, 27, 6), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(7.5, 7.5, 7.5), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.07500000000000001, 0.07500000000000001, 0.07500000000000001), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -3.75, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(64.5, 18.75, 18.75), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -12.075000000000001, 0), 0.7) | |
end | |
for _ = 1, 5 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(4, 18, 4), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 2, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(5, 5, 5), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -2, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.05, 0.05, 0.05), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -2.5, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(63, 12.5, 12.5), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -8.05, 0), 0.7) | |
end | |
sond.Pitch = 0.75 | |
sond:Play() | |
for _ = 1, 3 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(12, 54, 12), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 6, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(15, 15, 15), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -6, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.15000000000000002, 0.15000000000000002, 0.15000000000000002), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -7.5, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(156, 37.5, 37.5), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -24.150000000000002, 0), 0.7) | |
end | |
for _ = 1, 5 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(8, 36, 8), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 4, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(10, 10, 10), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.1, 0.1, 0.1), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -5, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(102, 25, 25), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -16.1, 0), 0.7) | |
end | |
sond.Pitch = 0.4 | |
sond:Play() | |
game.Debris:AddItem(sond, 2) | |
for _ = 1, 3 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(18, 81, 18), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 9, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(22.5, 22.5, 22.5), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -9, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.225, 0.225, 0.225), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -11.25, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(230.2, 56.25, 56.25), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -36.225, 0), 0.7) | |
end | |
for _ = 1, 5 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(14, 63, 14), 0.7) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 7, 0), 0.7) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(17.5, 17.5, 17.5), 0.7) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -7, 0), 0.7) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.17500000000000002, 0.17500000000000002, 0.17500000000000002), 0.7) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -8.75, 0), 0.7) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(400, 43.75, 43.75), 0.7) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -30, 0), 0.7) | |
end | |
end | |
for _ = 1, 3 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LS, "C0", LSC0 * cf(0, 0.2, -0.2) * ang(rd(70), rd(-60), rd(-100)), 0.5) | |
if dipperhat then | |
dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(0, 0, 0), 0.3) | |
end | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
end | |
for _ = 1, 3 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.5) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.5) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-20), rd(0), rd(-10)), 0.5) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(35), rd(-50), rd(-100)), 0.3) | |
if dipperhat then | |
dipperhat.Handle.HatAttachment.Rotation = dipperhat.Handle.HatAttachment.Rotation:lerp(dipperrot + Vector3.new(15, 0, 0), 0.3) | |
end | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-10)), 0.5) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-10), rd(-10)), 0.5) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
end | |
for _ = 1, 30 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(1.1, 0.6, 0) * ang(rd(0), rd(0), rd(-120)), 0.2) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.2) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.2) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.2) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.2) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.2) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2) | |
end | |
expa() | |
for O = 1, 10 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0.3, 0) * ang(rd(0), rd(0), rd(60)), 0.001 + O * 0.01) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.001 + O * 0.01) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(-20), rd(80)), 0.001 + O * 0.01) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.001 + O * 0.01) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.001 + O * 0.01) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.001 + O * 0.01) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.001 + O * 0.01) | |
end | |
local whoooo = Instance.new("Sound") | |
whoooo.Volume = 3 | |
whoooo.Pitch = 1.1 | |
whoooo.SoundId = "rbxassetid://151790502" | |
whoooo.Parent = pt5 | |
whoooo:Play() | |
game.Debris:AddItem(whoooo, 2) | |
for O = 1, 1 do | |
swait() | |
hito(pt5, 70, 808282854, 0.75, hrp.CFrame.rightVector * -10000000 + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
lerpz(RJ, "C0", RJC0 * cf(0.9, -0.7, 0) * ang(rd(0), rd(0), rd(120)), 0.1 + O * 0.05) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.1 + O * 0.05) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(20), rd(20)), 0.1 + O * 0.05) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(-20), rd(-60), rd(-80)), 0.1 + O * 0.05) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.1 + O * 0.05) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.1 + O * 0.05) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + O * 0.05) | |
end | |
for O = 1, 13 do | |
swait() | |
hmes.Scale = hmes.Scale:lerp(Vector3.new(2, 9, 2), 0.05 + O * 0.075) | |
p1m.Scale = p1m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
p1w.C0 = p1w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, 1, 0), 0.05 + O * 0.075) | |
p3m.Scale = p3m.Scale:lerp(Vector3.new(2.5, 2.5, 2.5), 0.05 + O * 0.075) | |
p3w.C0 = p3w.C0:lerp(ang(rd(0), rd(0), rd(0)) * cf(0, -1, 0), 0.05 + O * 0.075) | |
p4m.Scale = p4m.Scale:lerp(Vector3.new(0.025, 0.025, 0.025), 0.05 + O * 0.075) | |
p4w.C0 = p4w.C0:lerp(ang(rd(180), rd(0), rd(0)) * cf(0, -1.25, 0), 0.05 + O * 0.075) | |
p5m.Scale = p5m.Scale:lerp(Vector3.new(21.5, 1, 1), 0.05 + O * 0.075) | |
p5w.C0 = p5w.C0:lerp(ang(rd(0), rd(0), rd(90)) * cf(0, -4.025, 0), 0.05 + O * 0.075) | |
lerpz(RJ, "C0", RJC0 * cf(1.1, -0.8, 0) * ang(rd(0), rd(0), rd(150)), 0.05 + O * 0.075) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(-20)), 0.05 + O * 0.075) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.4, 0.2) * ang(rd(80), rd(30), rd(10)), 0.05 + O * 0.075) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
lerpz(LS, "C0", LSC0 * cf(0, -0.2, -0.7) * ang(rd(20), rd(20), rd(-20)), 0.05 + O * 0.075) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-5)), 0.05 + O * 0.075) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
lerpz(LH, "C0", LHC0 * cf(0.4, 0, -0.4) * ang(rd(-10), rd(70), rd(-5)), 0.05 + O * 0.075) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.05 + O * 0.075) | |
end | |
if dipperhat then | |
dipperhat.Handle.HatAttachment.Rotation = dipperrot | |
end | |
human.WalkSpeed = speed | |
human:SetStateEnabled(3, true) | |
activu = false | |
end | |
if keya == "q" then | |
activu = true | |
do | |
local checkkey = true | |
local keyingup = mouse.KeyUp:connect(function(xzx) | |
if xzx == "q" then | |
checkkey = false | |
end | |
end) | |
repeat | |
for _ = 1, 2 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-20), rd(10), rd(-40)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(30), rd(-20), rd(80)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-110)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
swingwoo:Play() | |
for T = 1, 2 do | |
swait() | |
if T == 2 then | |
hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
end | |
lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(60), rd(-10), rd(30)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(20), rd(40), rd(40)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(20), rd(-40), rd(80)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(60)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
for _ = 1, 2 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0.5, 0) * ang(rd(-30), rd(20), rd(0)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(179)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-40), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(35)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
swingwoo:Play() | |
for T = 1, 2 do | |
swait() | |
if T == 2 then | |
hito(pt5, 7, 30, 0.03, hrp.CFrame.lookVector * 0, Vector3.new(0, rd2(-2, 2), rd2(-10, 10))) | |
end | |
lerpz(RJ, "C0", RJC0 * cf(0, -0.5, 0) * ang(rd(40), rd(40), rd(0)), 0.7) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(20), rd(0), rd(0)), 0.7) | |
lerpz(RS, "C0", RSC0 * cf(0, 0.5, 0) * ang(rd(60), rd(20), rd(30)), 0.7) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-70), rd(20), rd(30)), 0.7) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-10), rd(10), rd(-30)), 0.7) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-30), rd(20), rd(-65)), 0.7) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.7) | |
end | |
until not checkkey | |
keyingup:Disconnect() | |
activu = false | |
end | |
end | |
if keya == "f" then | |
activu = true | |
do | |
local speed = human.WalkSpeed | |
human.WalkSpeed = 2 | |
human:SetStateEnabled(3, false) | |
local checkkey = true | |
local chargecounter = 0 | |
local keyingup = mouse.KeyUp:connect(function(xzx) | |
if xzx == "f" then | |
checkkey = false | |
end | |
end) | |
local firederp | |
for _ = 1, 8 do | |
swait() | |
hwel.C0 = hwel.C0:lerp(ang(rd(65), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
lerpz(RJ, "C0", RJC0 * cf(0.5, 0.5, 0) * ang(rd(0), rd(0), rd(-70)), 0.5) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(60)), 0.5) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(70), rd(-10), rd(80)), 0.5) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(-10), rd(-70), rd(-75)), 0.5) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.5) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.5) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5) | |
lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(0), rd(80), rd(-5)), 0.5) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.5) | |
end | |
repeat | |
swait() | |
chargecounter = chargecounter + 1 | |
lerpz(RS, "C0", RSC0 * cf(rd2(-5, 5) / 100, rd2(-5, 5) / 100, rd2(-5, 5) / 100) * ang(rd(rd2(65, 75)), rd(rd2(-15, 5)), rd(rd2(75, 85))), 0.05 + chargecounter * 0.019) | |
lerpz(LS, "C0", LSC0 * cf(-0.3, -0.1, -1) * ang(rd(rd2(-15, -5)), rd(rd2(-75, -65)), rd(rd2(-80, -70))), 0.05 + chargecounter * 0.019) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(rd2(-25, -15)), rd(0)), 0.05 + chargecounter * 0.019) | |
if chargecounter > 30 and firederp == nil then | |
local colorKeyPoints={ColorSequenceKeypoint.new(0,Color3.new(1,1,1)), | |
ColorSequenceKeypoint.new(1,Color3.new(1,1,1)) | |
} | |
local sizeKeyPoints={NumberSequenceKeypoint.new(0,.25), | |
NumberSequenceKeypoint.new(1,1), | |
NumberSequenceKeypoint.new(1,0) | |
} | |
local opacityKeyPoints={NumberSequenceKeypoint.new(0,0); | |
NumberSequenceKeypoint.new(.793,0); | |
NumberSequenceKeypoint.new(1,1); | |
} | |
local runRing=Instance.new('ParticleEmitter',pt1) | |
runRing.LightEmission=0 | |
runRing.Color=ColorSequence.new(colorKeyPoints) | |
runRing.Size=NumberSequence.new(sizeKeyPoints) | |
runRing.Texture='rbxassetid://720401995' | |
runRing.LockedToPart = false | |
runRing.Transparency=NumberSequence.new(opacityKeyPoints) | |
runRing.Lifetime=NumberRange.new(1,2) | |
runRing.Rate=100 | |
runRing.Rotation=NumberRange.new(0,360) | |
runRing.RotSpeed=NumberRange.new(-20,20) | |
runRing.Speed=NumberRange.new(4) | |
runRing.VelocitySpread=10 | |
wait(.1) | |
runRing.Enabled = false | |
end | |
until not checkkey or chargecounter > 50 | |
swingwoo:Play() | |
sbchat("THE POWER OF CHEESEEEEE!!!!!!!!!",'[Big Smoke]') | |
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"THE POWER OF CHEESEEEEE!!!!!!!!", "Red") | |
for U = 1, 10 do | |
swait() | |
if U < 3 then | |
hito(pt5, 8, math.huge, 0.2, hrp.CFrame.lookVector * (math.huge + chargecounter * math.huge) + Vector3.new(0, 6 + 6 * (chargecounter / 5), 0), Vector3.new(0, rd2(-25, 25) * (chargecounter / 25), rd2(-80, 80) * (chargecounter / 25))) | |
if chargecounter > 30 then | |
tagexplode(pt5, 5, 1) | |
end | |
end | |
hwel.C0 = hwel.C0:lerp(ang(rd(135), rd(0), rd(0)) * cf(0, 1, 0), 0.6) | |
lerpz(RJ, "C0", RJC0 * cf(0.5, -0.5, 0) * ang(rd(0), rd(0), rd(50)), 0.6) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-30)), 0.6) | |
lerpz(RS, "C0", RSC0 * cf(0.75, 0.5, -0.5) * ang(rd(0), rd(60), rd(120)), 0.4) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(100), rd(0)), 0.4) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-10), rd(20), rd(-125)), 0.4) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(-20), rd(0)), 0.4) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(5)), 0.6) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(-6)), 0.6) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(5), rd(0), rd(0)), 0.6) | |
end | |
if firederp then | |
firederp:Destroy() | |
end | |
swait(10) | |
hwel.C0 = ang(rd(90), rd(0), rd(0)) * cf(0, 1, 0) | |
keyingup:Disconnect() | |
human.WalkSpeed = speed | |
human:SetStateEnabled(3, true) | |
activu = false | |
HName.Text = "Big Smoke" | |
end | |
end | |
end) | |
end | |
elseif batting == true then | |
batting = false | |
clibat:Disconnect() | |
spec:Disconnect() | |
hrp.sweae:Destroy() | |
local batmod = chr:FindFirstChild("bmodel") | |
batmod.hnd.Weld:Destroy() | |
batmod.PrimaryPart = batmod.hnd | |
batmod:SetPrimaryPartCFrame(rarm.CFrame * ang(rd(-90), rd(0), rd(0)) * cf(0, 0, -1)) | |
for _, A in pairs(batmod:GetChildren()) do | |
if A.ClassName == "Part" then | |
A.CanCollide = true | |
A.Anchored = false | |
end | |
end | |
batmod.Parent = workspace | |
game.Debris:AddItem(batmod, 8) | |
end | |
end | |
local movin = false | |
local cliham, hamspec | |
function ham() | |
if batting == false then | |
batting = true | |
do | |
local bmod = Instance.new("Model") | |
bmod.Name = "bmodel" | |
bmod.Parent = chr | |
local makemotor = function(parent, p0, p1, c0, c1) | |
local wel = Instance.new("Motor6D") | |
wel.Part0 = p0 | |
wel.Part1 = p1 | |
wel.C0 = c0 | |
if c1 ~= nil then | |
wel.C1 = c1 | |
end | |
wel.Parent = parent | |
return wel | |
end | |
local hnd = makepart("Br. yellowish green", "hnd", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
hnd.Anchored = true | |
local hmes = makemesh("Head", Vector3.new(5, 30, 5), nil, hnd) | |
movin = true | |
hnd.CFrame = hrp.CFrame | |
coroutine.resume(coroutine.create(function() | |
while hnd.Anchored == true do | |
swait() | |
if movin then | |
hnd.CFrame = hnd.CFrame:lerp(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, 11, 0), 0.65) | |
end | |
end | |
end)) | |
sbchat("CJ, DAT DAMN TRAIN IS BACK. USING DIS HAMMER TO BRAKE IT!",'[Big Smoke]') | |
game.Chat:Chat(game.Players.LocalPlayer.Character.Head,"CJ, DAT DAMN TRAIN IS BACK. USING DIS HAMMER TO BRAKE IT!", "Red") | |
local pt1 = makepart("Br. yellowish green", "pt1", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p1m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt1) | |
local p1w = makemotor(pt1, pt1, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3, 0), nil) | |
local pt2 = makepart("Br. yellowish green", "pt2", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p2m = makemesh("Head", Vector3.new(6, 5.5, 5.5), nil, pt2) | |
local p2w = makemotor(pt2, pt2, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -3, 0), nil) | |
local pt3 = makepart("Bright yellow", "pt3", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p3m = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, pt3) | |
local p3w = makemotor(pt3, pt3, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, 3.75, 0), nil) | |
local pt4 = makepart("Br. yellowish green", "pt4", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p4m = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://250640098", pt4) | |
p4m.TextureId = "rbxassetid://250639536" | |
local p4w = makemotor(pt4, pt4, hnd, ang(rd(180), rd(180), rd(0)) * cf(0, 4.25, 0.25), nil) | |
local pt5 = makepart("Bright blue", "pt5", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p5m = makemesh("Head", Vector3.new(5, 90, 4), nil, pt5) | |
local p5w = makemotor(pt5, pt5, hnd, ang(rd(0), rd(0), rd(0)) * cf(0, -12, 0), nil) | |
local pt6 = makepart("Bright blue", "pt6", 0, 0, "SmoothPlastic", bmod, hrp.CFrame) | |
local p6m = makemesh("FileMesh", Vector3.new(0.16, 0.4, 0.16), "rbxassetid://524341960", pt6) | |
p6m.TextureId = "rbxassetid://526531650" | |
p6m.Scale = Vector3.new(0.5,0.50,0.5) | |
local p6w = makemotor(pt6, pt6, hnd, ang(rd(180), rd(0), rd(0)) * cf(0, -16, 0), nil) | |
local pt7 = makepart("Bright yellow", "pt7", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p7m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt7) | |
local p7w = makemotor(pt7, pt7, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -27, 0), nil) | |
local pt8 = makepart("Bright yellow", "pt8", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p8m = makemesh("Head", Vector3.new(75, 75, 75), nil, pt8) | |
local p8w = makemotor(pt8, pt8, hnd, ang(rd(0), rd(-90), rd(0)) * cf(0, -27, 0), nil) | |
local hdec2 = Instance.new("Decal") | |
local pt9 = makepart("Bright yellow", "pt9", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p9m = makemesh("FileMesh", Vector3.new(12, 11, 11), "rbxassetid://272942659", pt9) | |
local p9w = makemotor(pt9, pt9, hnd, ang(rd(0), rd(90), rd(0)) * cf(0, -30, 0), nil) | |
p9m.TextureId = "rbxassetid://272942750" | |
local pt10 = makepart("Bright yellow", "pt10", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p10m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt10) | |
local p10w = makemotor(pt10, pt10, pt7, ang(rd(0), rd(0), rd(90)) * cf(11, 0, 0), nil) | |
local hdec3 = Instance.new("Decal") | |
local pt11 = makepart("Bright yellow", "pt11", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p11m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt11) | |
local p11w = makemotor(pt11, pt11, pt7, ang(rd(0), rd(180), rd(90)) * cf(11, 0, 0), nil) | |
local pt12 = makepart("Bright yellow", "pt12", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p12m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt12) | |
local p12w = makemotor(pt12, pt12, pt7, ang(rd(0), rd(0), rd(-90)) * cf(-11, 0, 0), nil) | |
local pt13 = makepart("Bright yellow", "pt13", 0, 1, "SmoothPlastic", bmod, hrp.CFrame) | |
local p13m = makemesh("Head", Vector3.new(60, 60, 60), nil, pt13) | |
local p13w = makemotor(pt13, pt13, pt7, ang(rd(0), rd(180), rd(-90)) * cf(-11, 0, 0), nil) | |
cliham = tool.Activated:connect(function() | |
if selected == false or activu == true or ragged == true then | |
return | |
end | |
activu = true | |
movin = false | |
for B = 1, 20 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.4) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(8), rd(0), rd(0)), 0.4) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(170)), 0.4) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(-10), rd(10)), 0.4) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(-10)), 0.4) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(10)), 0.4) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4) | |
hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 0.1 + B * 0.045) | |
end | |
for B = 1, 30 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0.8, 0) * ang(rd(-25), rd(0), rd(-50)), 0.1 + B / 80) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-18), rd(0), rd(40)), 0.1 + B / 80) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-30), rd(-5), rd(160)), 0.1 + B / 80) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-20), rd(-150)), 0.1 + B / 80) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(-10)), 0.1 + B / 80) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
lerpz(LH, "C0", LHC0 * cf(0.5, 0, -0.4) * ang(rd(-5), rd(60), rd(-110)), 0.1 + B / 80) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + B / 80) | |
hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
end | |
for B = 1, 7 do | |
swait() | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(40)), 0.015 + B / 15) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.015 + B / 15) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-50), rd(100)), 0.015 + B / 15) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.015 + B / 15) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(10)), 0.015 + B / 15) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(-20)), 0.015 + B / 15) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.015 + B / 15) | |
hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
end | |
for B = 1, 8 do | |
swait() | |
hito(pt6, 20, 808282854, 0.75, hrp.CFrame.rightVector * math.huge + Vector3.new(0, 50, 0), Vector3.new(0, rd2(-25, 25), rd2(-160, 160))) | |
lerpz(RJ, "C0", RJC0 * cf(0, -0.8, 0) * ang(rd(70), rd(0), rd(40)), 0.38 + B * 0.1) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(9), rd(0), rd(-15)), 0.38 + B * 0.1) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(-40), rd(100)), 0.38 + B * 0.1) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
lerpz(LS, "C0", LSC0 * cf(-0.8, 0, -1) * ang(rd(-60), rd(-25), rd(-90)), 0.38 + B * 0.1) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-20), rd(60)), 0.38 + B * 0.1) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
lerpz(LH, "C0", LHC0 * cf(0.1, 0, -0.1) * ang(rd(-5), rd(20), rd(70)), 0.38 + B * 0.1) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.38 + B * 0.1) | |
hnd.CFrame = hnd.CFrame:lerp(rarm.CFrame * ang(rd(-110), rd(0), rd(0)) * cf(0, 0, -1), 1) | |
local exp = Instance.new("Explosion",plr.Character) | |
exp.Position = pt6.Position | |
exp.BlastRadius = 0 | |
end | |
swait(15) | |
movin = true | |
sbchat("AW FAK. MY PEN1S IS BLOW UP NAW!",'[Big Smoke]') | |
activu = false | |
end) | |
end | |
elseif batting == true then | |
batting = false | |
cliham:Disconnect() | |
local badevz = chr:FindFirstChild("bmodel") | |
badevz.PrimaryPart = badevz.hnd | |
for _, A in pairs(badevz:GetChildren()) do | |
if A.ClassName == "Part" then | |
A.CanCollide = true | |
A.Anchored = false | |
end | |
end | |
movin = false | |
badevz.Parent = workspace | |
badevz:SetPrimaryPartCFrame(hrp.CFrame * ang(rd(40), rd(0), rd(0)) * cf(0, -11, 0)) | |
game.Debris:AddItem(badevz, 8) | |
end | |
end | |
game:GetService("ContentProvider"):Preload("rbxassetid://725969678") | |
function lauf() | |
if selected == false or activu == true then | |
return | |
end | |
lauf1:Play() | |
end | |
function makenoob(cfrem, scalo, rags) | |
nscale.Value = scalo | |
local md = Instance.new("Model") | |
md.Name = "Small Smoke" | |
md.Parent = workspace | |
local hu = Instance.new("Humanoid") | |
hu.RigType = "R6" | |
hu.MaxHealth = 100 * scalo | |
hu.Health = 100 * scalo | |
hu.Parent = md | |
local anm = Instance.new("Animator") | |
anm.Parent = hu | |
hu.PlatformStand = true | |
local light = function(part) | |
part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5) | |
end | |
local hd = Instance.new("Part") | |
hd.Name = "Head" | |
hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value) | |
hd.TopSurface = "Smooth" | |
hd.BottomSurface = "Inlet" | |
hd.Locked = true | |
hd.BrickColor = BrickColor.random() | |
hd.CanCollide = true | |
hd.Anchored = false | |
light(hd) | |
hd.Parent = md | |
local hm = Instance.new("SpecialMesh") | |
hm.MeshType = "Head" | |
hm.Scale = Vector3.new(1.25, 1.25, 1.25) | |
hm.Parent = hd | |
local hf = Instance.new("Decal") | |
hf.Texture = "rbxasset://textures/face.png" | |
local gen = math.random(1, 40) | |
if gen == 3 then | |
hf.Texture = "rbxassetid://101912931" | |
end | |
if gen == 8 then | |
hf.Texture = "rbxassetid://548947987" | |
end | |
if gen == 12 then | |
hf.Texture = "rbxassetid://259580505" | |
end | |
if gen == 16 then | |
hf.Texture = "rbxassetid://259579232" | |
end | |
if gen == 24 then | |
hf.Texture = "rbxassetid://259571525" | |
end | |
if gen == 28 then | |
hf.Texture = "rbxassetid://258283210" | |
end | |
if gen == 32 then | |
hf.Texture = "rbxassetid://258940032" | |
end | |
if gen == 38 then | |
hf.Texture = "rbxassetid://673220970" | |
hf.Color3 = Color3.new(0, 0, 0) | |
end | |
hf.Face = "Front" | |
hf.Parent = hd | |
local hrpa = Instance.new("Part") | |
hrpa.Name = "HumanoidRootPart" | |
hrpa.TopSurface, hrpa.BottomSurface = 0, 0 | |
hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
hrpa.Transparency = 1 | |
hrpa.CanCollide = false | |
hrpa.Locked = true | |
light(hrpa) | |
hrpa.Parent = md | |
local tagbomb = Instance.new("BoolValue") | |
tagbomb.Name = "tagbomb" | |
tagbomb.Value = false | |
tagbomb.Parent = hrpa | |
local learm = Instance.new("Part") | |
learm.Name = "Left Arm" | |
learm.BrickColor = BrickColor.random() | |
learm.CanCollide = false | |
learm.Locked = true | |
learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
light(learm) | |
learm.Parent = md | |
local riarm = Instance.new("Part") | |
riarm.Name = "Right Arm" | |
riarm.BrickColor = BrickColor.random() | |
riarm.CanCollide = false | |
riarm.Locked = true | |
light(riarm) | |
riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
riarm.Parent = md | |
local leleg = Instance.new("Part") | |
leleg.Name = "Left Leg" | |
leleg.BrickColor = BrickColor.random() | |
leleg.CanCollide = false | |
leleg.Locked = true | |
light(leleg) | |
leleg.BottomSurface = 0 | |
leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
leleg.Parent = md | |
local rileg = Instance.new("Part") | |
rileg.Name = "Right Leg" | |
rileg.BrickColor = BrickColor.random() | |
rileg.CanCollide = false | |
rileg.Locked = true | |
light(rileg) | |
rileg.BottomSurface = 0 | |
rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
rileg.Parent = md | |
local tor = Instance.new("Part") | |
tor.Name = "Torso" | |
tor.BrickColor = BrickColor.random() | |
tor.Locked = true | |
light(tor) | |
tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value) | |
tor.LeftSurface, tor.RightSurface = "Weld", "Weld" | |
tor.Parent = md | |
md.PrimaryPart = hrpa | |
md:SetPrimaryPartCFrame(cfrem) | |
md:makeJoints() | |
makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint") | |
makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck") | |
if rags == true then | |
makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0)) | |
elseif rags == false then | |
makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder") | |
makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder") | |
makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip") | |
makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip") | |
hu.PlatformStand = false | |
end | |
nscale.Value = 1 | |
hu.Touched:connect(function(tpart, uwot) | |
if tagbomb.Value == true and tpart.Parent ~= md and tpart.Parent.Parent ~= md and tpart.Parent.Parent.Parent ~= md then | |
tagbomb.Value = false | |
hu.Health = 0 | |
local derp = Instance.new("Explosion") | |
derp.BlastPressure = 200 | |
derp.BlastRadius = 8 | |
derp.DestroyJointRadiusPercent = 0 | |
derp.ExplosionType = 2 | |
derp.Visible = true | |
derp.Position = uwot.Position - Vector3.new(0, 0.5, 0) | |
derp.Parent = workspace | |
game.Debris:AddItem(md, 8) | |
end | |
end) | |
return md | |
end | |
function makecircle(cfrem, scalo) | |
local mcir1 = Instance.new("Part") | |
mcir1.Anchored = true | |
mcir1.CanCollide = false | |
mcir1.Size = Vector3.new(0.2, 0.2, 0.2) | |
mcir1.Transparency = 1 | |
mcir1.CFrame = cfrem | |
mcir1.Parent = modz | |
game.Debris:AddItem(mcir1, 8) | |
local d1 = Instance.new("Decal") | |
d1.Texture = "rbxassetid://557132029" | |
d1.Face = "Front" | |
d1.Parent = mcir1 | |
local d2 = Instance.new("Decal") | |
d2.Texture = "rbxassetid://0" | |
d2.Face = "Back" | |
d2.Parent = mcir1 | |
local bme = Instance.new("BlockMesh") | |
bme.Parent = mcir1 | |
for _ = 1, 9 do | |
swait() | |
bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3) | |
end | |
coroutine.resume(coroutine.create(function() | |
swait(15) | |
for _ = 1, 12 do | |
swait() | |
d1.Transparency = d1.Transparency + 0.08 | |
d2.Transparency = d2.Transparency + 0.08 | |
end | |
mcir1:Destroy() | |
end)) | |
return mcir1 | |
end | |
function spawnnoob(circlecf, noobcf, scalez, ragd) | |
local aearae = makecircle(circlecf, scalez) | |
local nananb | |
if ragd then | |
nananb = makenoob(aearae.CFrame * noobcf, scalez, true) | |
elseif not ragd then | |
nananb = makenoob(aearae.CFrame * noobcf, scalez, false) | |
end | |
return nananb | |
end | |
function tagexplode(partoz, magn, bombdelay) | |
for _, guy in pairs(workspace:GetChildren()) do | |
if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy.Name == "Skid" and guy.Name == "Dummy" and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude then | |
coroutine.resume(coroutine.create(function() | |
swait(bombdelay * 0) | |
guy:FindFirstChild("HumanoidRootPart").tagbomb.Value = true | |
end)) | |
end | |
end | |
end | |
function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot) | |
for _, guy in pairs(workspace:GetChildren()) do | |
if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then | |
do | |
local humz = guy:FindFirstChild("Humanoid") | |
local horp = guy:FindFirstChild("HumanoidRootPart") | |
humz:TakeDamage(dmg) | |
humz:SetStateEnabled(16, true) | |
delay(debtim, function() | |
humz:SetStateEnabled(16, true) | |
end) | |
local db = Instance.new("StringValue") | |
db.Name = "alabo" | |
db.Parent = horp | |
delay(debtim, function() | |
db:Destroy() | |
end) | |
local b = Instance.new("Part") | |
nooutline(b) | |
b.Size = Vector3.new(0.2, 0.2, 0.2) | |
b.Transparency = 0 | |
b.Anchored = true | |
b.CanCollide = false | |
b.Material = "Neon" | |
b.BrickColor = BrickColor.new("Forest green") | |
b.Locked = true | |
b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))*CFrame.Angles(math.random(1412),math.random(423532),math.random(1312)) | |
b.Parent = modz | |
local c = Instance.new("SpecialMesh") | |
c.MeshType = "Sphere" | |
c.Scale = Vector3.new(3.5, 3.5, 3.5) | |
c.Parent = b | |
game.Debris:AddItem(b, 1) | |
if bodyfdire then | |
local boopyve = Instance.new("BodyVelocity") | |
boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999) | |
boopyve.P = 9999999999 | |
boopyve.Velocity = bodyfdire | |
boopyve.Parent = horp | |
game.Debris:AddItem(boopyve, debtim) | |
end | |
if bodyrot then | |
local boopyro = Instance.new("BodyAngularVelocity") | |
boopyro.MaxTorque = Vector3.new(999999, 999999, 999999) | |
boopyro.P = math.huge | |
boopyro.AngularVelocity = bodyrot | |
boopyro.Parent = horp | |
game.Debris:AddItem(boopyro, debtim) | |
end | |
local bet = Instance.new("Sound") | |
bet.Pitch = rd2(9, 11) / 10 | |
bet.Volume = rd2(12, 14) / 10 | |
bet.SoundId = "rbxassetid://175024455" | |
bet.Parent = b | |
bet:Play() | |
coroutine.resume(coroutine.create(function() | |
for _ = 1, 24 do | |
swait() | |
b.Transparency = b.Transparency + 0.08 | |
c.Scale = c.Scale + Vector3.new(.8 * dmg, .8 * dmg, .8 * dmg) | |
end | |
end)) | |
end | |
end | |
end | |
end | |
function cleannoobs() | |
for _, nib in pairs(workspace:GetChildren()) do | |
coroutine.resume(coroutine.create(function() | |
if nib.Name == "Noob" then | |
if nib:FindFirstChild("HumanoidRootPart") then | |
local g = Instance.new("Part") | |
g.CanCollide, g.Anchored = false, true | |
g.Transparency = 1 | |
g.CFrame = nib:FindFirstChild("HumanoidRootPart").CFrame | |
g.Parent = workspace | |
game.Debris:AddItem(g, 3.5) | |
local sou = Instance.new("Sound") | |
sou.Pitch = 0 | |
sou.Volume = 3 | |
sou.SoundId = "rbxassetid://151790502" | |
sou.Parent = g | |
local pe = Instance.new("ParticleEmitter") | |
pe.Acceleration = Vector3.new(0, 8, 0) | |
pe.Lifetime = NumberRange.new(1, 1.5) | |
pe.Rate = 0.005 | |
pe.RotSpeed = NumberRange.new(-30, 30) | |
pe.Rotation = NumberRange.new(0, 360) | |
pe.Size = NumberSequence.new({ | |
NumberSequenceKeypoint.new(0, 4.38, 0), | |
NumberSequenceKeypoint.new(0.672, 4.14, 0), | |
NumberSequenceKeypoint.new(1, 1.48, 0) | |
}) | |
pe.Texture = "rbxassetid://244221440" | |
pe.Transparency = NumberSequence.new({ | |
NumberSequenceKeypoint.new(0, 0, 0), | |
NumberSequenceKeypoint.new(0.529, 0.3, 0), | |
NumberSequenceKeypoint.new(1, 1, 1) | |
}) | |
pe.ZOffset = 5 | |
pe.Enabled = true | |
pe.VelocitySpread = 360 | |
pe.Parent = g | |
swait(5) | |
pe:Emit(6) | |
sou:Play() | |
end | |
nib:Destroy() | |
end | |
end)) | |
end | |
end | |
function animo(yep) | |
if yep == true then | |
anim.Parent = human | |
chr.Animate.Disabled = false | |
elseif yep == false then | |
chr.Animate.Disabled = true | |
anim.Parent = nil | |
end | |
end | |
mouse.KeyDown:connect(function(key) | |
if key == "r" then | |
test() | |
end | |
if key == "m" then | |
lauf() | |
end | |
if key == "c" then | |
ham() | |
end | |
if key == "x" then | |
bat() | |
end | |
if key == "l" and selected == true then | |
spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, true) | |
end | |
if key == "h" and selected == true then | |
spawnnoob(hrp.CFrame * cf(5, 60, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 10, true) | |
end | |
if key == "k" and selected == true then | |
spawnnoob(hrp.CFrame * cf(5, 3, -1) * ang(rd(90), 0, 0), cf(0, 0, 0) * ang(rd(-90), 0, 0), 1, false) | |
end | |
if key == "p" then | |
cleannoobs() | |
end | |
if key == "e" then | |
local so = Instance.new("Sound",plr.Character) | |
so.SoundId = "rbxassetid://409176756" | |
so.Volume = 10 | |
so:Play() | |
game:GetService("Lighting").Ambient = Color3.new(255,0,0) | |
game:GetService("Lighting").Brightness = 0 | |
game:GetService("Lighting").TimeOfDay = "00:00:00" | |
HName.Text = "YOU PICK THE WRONG HOUSE, FOOOOOOL!" | |
sbchat("YOU PICK THE WRONG HOUSE, FOOOOOOL!",'[Big Smoke]') | |
wait(2) | |
game.Players.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = "g/fl" | |
HName.Text = "Big Smoke" | |
end | |
if key == "z" then | |
if selected == false or activu == true then | |
return | |
end | |
if human.WalkSpeed == 25 then | |
human.WalkSpeed = 100 | |
human.JumpPower = 125 | |
else | |
human.WalkSpeed = 25 | |
human.JumpPower = 50 | |
end | |
end | |
end) | |
tool.Equipped:connect(function() | |
selected = true | |
end) | |
tool.Unequipped:connect(function() | |
selected = false | |
end) | |
animo(false) | |
human.WalkSpeed = 25 | |
sine = 0 | |
charge = 1 | |
cos = math.cos | |
game:GetService("RunService").RenderStepped:connect(function() | |
if ragged == false and activu == false then | |
local checkfloor = Ray.new(hrp.Position, Vector3.new(0, -5, 0)) | |
local checkpart = workspace:FindPartOnRayWithIgnoreList(checkfloor, {chr}, false, false) | |
local checkstate = human:GetState() | |
if checkstate.Value == 13 then | |
animpose = "Sitting" | |
elseif hrp.Velocity.y > 1 and checkpart == nil then | |
animpose = "Jumping" | |
elseif hrp.Velocity.y < -1 and checkpart == nil then | |
animpose = "Falling" | |
elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then | |
animpose = "Idle" | |
elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude < 40 then | |
animpose = "Walking" | |
elseif (hrp.Velocity * Vector3.new(1, 0, 1)).magnitude > 40 then | |
animpose = "TooFast" | |
end | |
if animpose == "Idle" then | |
sine = sine + charge | |
lerpz(RJ, "C0", RJC0 * cf(0.05 * cos(sine / 40), 0, -0.05 - 0.05 * cos(sine / 20)) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(4 + 2 * cos(sine / 20)), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(10)), 0.3) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.3) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), 0.05 * cos(sine / 40)) * ang(rd(-5), rd(-5), rd(1)), 0.3) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0.05 + 0.05 * cos(sine / 20), -0.05 * cos(sine / 40)) * ang(rd(-5), rd(5), rd(1)), 0.3) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
if animpose == "Walking" then | |
sine = sine + charge | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0 * cos(sine / 4)) * ang(rd(20), math.sin(hrp.RotVelocity.Y / 80), 0), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-2), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-20)), 0.6) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(100), rd(-40), rd(-32)), 0.6) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 8))), 0.6) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
if animpose == "Jumping" then | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(0)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-10), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(-5), rd(-20)), 0.3) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, -0.5, 0.2) * ang(rd(-70), rd(5), rd(20)), 0.3) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-20), rd(-20), rd(-20)), 0.3) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-20), rd(20), rd(15)), 0.3) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
if animpose == "Falling" then | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(-5), rd(-20)), 0.3) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0.6) * ang(rd(-150), rd(5), rd(20)), 0.3) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(-15), rd(-20)), 0.3) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(15), rd(15)), 0.3) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
if animpose == "TooFast" then | |
sine = sine + charge | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0.35 * cos(sine / 2)) * ang(rd(30), math.sin(hrp.RotVelocity.Y / 20), math.sin(hrp.RotVelocity.Y / 2)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15 - 5 * cos(sine / 2)), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-10), rd(-20), rd(-80)), 0.6) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(110), rd(-40), rd(-35)), 0.6) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(-1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-1 - 1 * cos(sine / 60)), rd(1 - 1 * cos(sine / 60)), rd(-60 * cos(sine / 3))), 0.6) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
if animpose == "Sitting" then | |
lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3) | |
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-90)), 0.3) | |
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3) | |
end | |
end | |
end) | |
if plr.Character.Humanoid.PlatformStand == true then | |
plr.Character.Humanoid.PlatformStand = false | |
end | |
plr.Character.Humanoid.Died:connect(function() | |
s:Stop() | |
HName.TextColor3 = BrickColor.new("Hot white").Color | |
HName.Text = "R.I.P" | |
local f = Instance.new("Explosion",plr.Character.Torso) | |
f.Position = plr.Character.Torso.Position | |
f.BlastRadius = 0 | |
local m = Instance.new("Sound",Workspace) | |
m.SoundId = "rbxassetid://609079653" | |
m.Volume = 10 | |
m:Play() | |
end) | |
--------------------------Gui--------------------------- | |
makeframe = function(par, trans, pos, size, color) | |
local frame = Instance.new("Frame", par) | |
frame.BackgroundTransparency = trans | |
frame.BorderSizePixel = 1 | |
frame.BorderColor3 = BrickColor.Black().Color | |
frame.Position = pos | |
frame.Size = size | |
frame.BackgroundColor3 = BrickColor.new("Forest green").Color | |
frame.ZIndex = 5 | |
return frame | |
end | |
makelabel = function(par, text) | |
local label = Instance.new("TextLabel", par) | |
label.BackgroundTransparency = 1 | |
label.Size = ud(1, 0, 1, 0) | |
label.Position = ud(0, 0, 0, 0) | |
label.TextColor3 = c3(1,1,1) | |
label.TextStrokeTransparency = 0 | |
label.FontSize = Enum.FontSize.Size24 | |
label.Font = Enum.Font.SciFi | |
label.BorderSizePixel = 0 | |
label.TextScaled = true | |
label.Text = text | |
end | |
---------------------------------------------- | |
local scrn = Instance.new("ScreenGui", p.PlayerGui) | |
ud = UDim2.new | |
c3 = Color3.new | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.150,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[Q]:Automatic Attack (Hold)") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.190,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[E]:WRONG HAWSE DUD") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.230,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[R]:Ragdoll") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.270,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[Z]:Speed") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.310,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[C]:Big Smoke Hammer") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.350,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[K]:No Ragdoll Dummy") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.390,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[L]:Ragdoll Dummy") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.430,0), ud(0.19, 0, 0.03, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "[H]:Big Dummy") | |
Manabar = makeframe(scrn, 0.5, ud(0.8125,0,0.470,0), ud(0.19, 0, 0.17, 0), c3(0,0,0)) | |
Manacover = makeframe(Manabar, 0.5, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(0, 0, 0)) | |
Manatext = makelabel(Manabar, "PUT DIS SH!T TO CJ'S FACE PLES!") | |
warn'<Script>[Anti Sent To Local]:Connect!' | |
warn'<Script>:Welcome!' | |
----------------------------------------------------------------- | |
end) | |
DeathStar.MouseButton1Down:connect(function() | |
wait(1) | |
local DeathStar = Instance.new("Part") | |
local BBG = Instance.new("BillboardGui") | |
local ImLab = Instance.new("ImageLabel") | |
local Sound = Instance.new("Sound") | |
Sound.SoundId = "rbxassetid://522569768" | |
Sound.MaxDistance = math.huge | |
Sound.EmitterSize = math.huge | |
Sound.Volume = 1 | |
Sound.Parent = game.Workspace | |
local DISTANCE = 1500 | |
local SIZE = 750 | |
local TIMEE = 1500 | |
DeathStar.Size = Vector3.new(1,1,1) | |
DeathStar.BrickColor = BrickColor.new("Lime green") | |
DeathStar.Material = Enum.Material.Neon | |
local Mesh = Instance.new("SpecialMesh") | |
Mesh.Scale = Vector3.new(SIZE,0,SIZE) | |
Mesh.MeshType = Enum.MeshType.Sphere | |
Mesh.Parent = DeathStar | |
DeathStar.Transparency = 1 | |
DeathStar.Anchored = true | |
BBG.Size = UDim2.new(SIZE,0,SIZE,0) | |
ImLab.Size = UDim2.new(1,0,1,0) | |
ImLab.Image = "rbxassetid://150858108" | |
ImLab.BackgroundTransparency = 1 | |
ImLab.ImageTransparency = 1 | |
ImLab.Parent = BBG | |
BBG.Parent = DeathStar | |
DeathStar.CFrame = (game.Workspace:GetModelCFrame() + Vector3.new(0, 0, DISTANCE)) | |
DeathStar.Parent = game.Workspace | |
wait(1) | |
function boom(part) | |
if part:IsA("BasePart") and part ~= DeathStar then | |
local a = Instance.new("Explosion") | |
a.Position = part.Position | |
a.Parent = part | |
part.Anchored = false | |
end | |
local b = part:GetChildren() | |
for i=1,#b do | |
if b[i]:IsA("BasePart") or b[i]:IsA("Folder") or b[i]:IsA("Model") then | |
boom(b[i]) | |
end | |
end | |
end | |
for i=1,TIMEE do | |
wait() | |
DeathStar.CFrame = CFrame.new(0,DeathStar.Position.y + (DISTANCE/TIMEE), DeathStar.Position.z - (DISTANCE/TIMEE)) | |
ImLab.ImageTransparency = ImLab.ImageTransparency - (1/(TIMEE/2)) | |
end | |
Sound:Play() | |
game:GetService("Debris"):AddItem(Sound,Sound.TimeLength+1) | |
wait(11) | |
for i=1,25 do | |
wait() | |
if DeathStar.Transparency ~= 0 then | |
DeathStar.Transparency = DeathStar.Transparency - 0.2 | |
end | |
if DeathStar.Transparency <= 0 then | |
DeathStar.Transparency = 0 | |
end | |
Mesh.Scale = Vector3.new(SIZE,Mesh.Scale.y + ((DISTANCE*4)/50),SIZE) | |
Mesh.Offset = Mesh.Offset - Vector3.new(0,((DISTANCE*2)/50),0) | |
end | |
game.Lighting.TimeOfDay = 0 | |
boom(game.Workspace) | |
for i=1,25 do | |
wait() | |
Mesh.Scale = Vector3.new(SIZE,Mesh.Scale.y - ((DISTANCE*4)/50),SIZE) | |
Mesh.Offset = Mesh.Offset - Vector3.new(0,((DISTANCE*2)/50),0) | |
end | |
for i=1,100 do | |
DeathStar.Transparency = DeathStar.Transparency + 1/50 | |
ImLab.ImageTransparency = ImLab.ImageTransparency + 1/50 | |
BBG.Size = BBG.Size - UDim2.new(SIZE/50,0,SIZE/50,0) | |
wait() | |
end | |
game:GetService("Debris"):AddItem(DeathStar,1) | |
end) | |
Roadrollerda.MouseButton1Down:connect(function() | |
A = true | |
if A == true then | |
Model = Instance.new("Model") | |
Model.Name = "Weapon" | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(10, 12, 10) | |
p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Medium stone grey") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Concrete | |
m = Instance.new("CylinderMesh") | |
m.Scale = Vector3.new(1, 1.02999997, 1) | |
m.Parent = p | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(2, 12.8, 2) | |
p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("CylinderMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1.79, 5, 1) | |
p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5, 1.40, 0.99) | |
p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Center" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(12.5, 5.80, 27.6) | |
p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 1 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(6.80, 1, 6.00) | |
p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(11, 5.40, 2.79) | |
p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(2.60, 11, 1.99) | |
p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(3.20, 11.0, 5) | |
p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1.99, 1, 1) | |
p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1, 1, 4.59) | |
p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1, 12.6, 9.80) | |
p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5.19, 1.39, 2.39) | |
p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(11, 0.60, 1.99) | |
p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(3.20, 11, 5.60) | |
p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5, 13, 3.79) | |
p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5.19, 1.39, 2.39) | |
p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5.19, 1, 1) | |
p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(3.20, 5, 4) | |
p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(6, 6.79, 2.79) | |
p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(0.60, 7.40, 3.79) | |
p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Black") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(6.80, 1, 6.00) | |
p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(11, 3.20, 2.19) | |
p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(2.60, 11, 2.39) | |
p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5.19, 1, 1) | |
p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5, 0.80, 0.79) | |
p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(10, 12, 10) | |
p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Medium stone grey") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Concrete | |
m = Instance.new("CylinderMesh") | |
m.Scale = Vector3.new(1, 1.02999997, 1) | |
m.Parent = p | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(0.60, 5.19, 5) | |
p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(6, 6.79, 2.79) | |
p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(2.79, 7.40, 0.79) | |
p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Black") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(5.40, 11, 10) | |
p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(11, 0.60, 2.39) | |
p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(4, 13, 1) | |
p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Bright yellow") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(10.1, 1, 0.99) | |
p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1, 1, 4.59) | |
p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1.99, 1, 1) | |
p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(1, 1, 4.59) | |
p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
p = Instance.new("Part", Model) | |
p.Name = "Part" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.Size = Vector3.new(10.1, 1, 0.99) | |
p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) | |
p.BrickColor = BrickColor.new("Mid gray") | |
p.Transparency = 0 | |
p.Reflectance = .1 | |
p.Material = Enum.Material.Plastic | |
m = Instance.new("SpecialMesh") | |
m.Scale = Vector3.new(1, 1, 1) | |
m.Parent = p | |
m.MeshType = Enum.MeshType.Wedge | |
Spawn = function() | |
Modelc = Model:clone() | |
for _, v in pairs(Modelc:children()) do | |
if v.className == "Part" then | |
if v.Name ~= "Center" then | |
w = Instance.new("Weld") | |
w.Part0 = Modelc.Center | |
w.Part1 = v | |
w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) | |
w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) | |
w.Parent = w.Part0 | |
end | |
end | |
end | |
return Modelc | |
end | |
CameraRadius = 66 | |
TimeStopRadius = 66 | |
RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
getWelds = function(c) --designate weld variables | |
local t = c.Torso | |
local hrp = c.HumanoidRootPart.RootJoint | |
RightShoulder = t:FindFirstChild("Right Shoulder") | |
LeftShoulder = t:FindFirstChild("Left Shoulder") | |
RightHip = t:FindFirstChild("Right Hip") | |
LeftHip = t:FindFirstChild("Left Hip") | |
RootJoint = hrp | |
Neck = t:FindFirstChild("Neck") | |
end | |
resetWelds = function(ext, occ) --extent 1-3; occlusion | |
--1 == reset desiredangle/currentangle | |
--2 == reset C0/C1 | |
--3 == reset both des/cur/c0/c1 | |
local r = { | |
RightShoulder, | |
LeftShoulder, | |
RightHip, | |
LeftHip, | |
RootJoint, | |
Neck, | |
Grip | |
} | |
for _, v in pairs(r) do | |
for i = 1, #occ do | |
if occ[i] == v then | |
table.remove(r, _) | |
end | |
end | |
end | |
for _, v in pairs(r) do | |
if v.Name == "Right Shoulder" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = RightShoulderC0 | |
v.C1 = RightShoulderC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = RightShoulderC0 | |
v.C1 = RightShoulderC1 | |
end | |
elseif v.Name == "Left Shoulder" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = LeftShoulderC0 | |
v.C1 = LeftShoulderC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = LeftShoulderC0 | |
v.C1 = LeftShoulderC1 | |
end | |
elseif v.Name == "Right Hip" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = RightHipC0 | |
v.C1 = RightHipC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = RightHipC0 | |
v.C1 = RightHipC1 | |
end | |
elseif v.Name == "Left Hip" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = LeftHipC0 | |
v.C1 = LeftHipC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = LeftHipC0 | |
v.C1 = LeftHipC1 | |
end | |
elseif v.Name == "Neck" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = NeckC0 | |
v.C1 = NeckC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = NeckC0 | |
v.C1 = NeckC1 | |
end | |
elseif v.Name == "RootJoint" then | |
if ext == 1 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
elseif ext == 2 then | |
v.C0 = RootJointC0 | |
v.C1 = RootJointC1 | |
elseif ext == 3 then | |
v.DesiredAngle = 0 | |
v.CurrentAngle = 0 | |
v.C0 = RootJointC0 | |
v.C1 = RootJointC1 | |
end | |
elseif v.Name == "RightGrip" then | |
if ext == 1 then | |
elseif ext == 2 then | |
Grip.C0 = nGrip.C0 | |
Grip.C1 = nGrip.C1 | |
elseif ext == 3 then | |
Grip.C0 = nGrip.C0 | |
Grip.C1 = nGrip.C1 | |
end | |
end | |
end | |
end | |
doitdocdoit = function() | |
if deb == false then | |
return | |
end | |
deb = false | |
vPlayer = game.Players.LocalPlayer | |
cPlayer = vPlayer.Character | |
Anim = cPlayer.Animate | |
Anim.Disabled = true | |
Hum = cPlayer.Humanoid | |
Hum.Name = "NOPE" | |
Hum.WalkSpeed = 0 | |
getWelds(cPlayer) | |
resetWelds(3, {}) | |
bodypos = Instance.new("BodyPosition") | |
bodypos.P = 4000 | |
bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 | |
bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) | |
bodypos.Parent = cPlayer.Torso | |
dir = cPlayer.HumanoidRootPart.CFrame.lookVector | |
CPlayer = cPlayer | |
partpos = Instance.new("Part", workspace) | |
partpos.Transparency = 1 | |
partpos.CanCollide = false | |
partpos.Anchored = true | |
partpos.CFrame = cPlayer.Torso.CFrame | |
sound = Instance.new("Sound") | |
sound.Parent = partpos | |
sound.Volume = 1 | |
sound.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
-- sound.SoundId="http://www.roblox.com/asset/?id=168009623" | |
sound2 = Instance.new("Sound") | |
sound2.Parent = workspace.CurrentCamera | |
sound2.Volume = 1 | |
sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
-- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" | |
sound:Play() | |
sound2:Play() | |
expected = 10 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
end) | |
--[[sound=Instance.new("Sound") | |
sound.Parent=cPlayer.Torso | |
sound.Volume=1 | |
sound.SoundId="http://www.roblox.com/asset/?id=316900066" | |
sound:Play()]]-- | |
while did == false do | |
wait() | |
end | |
expected = 10 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.2) | |
expected = 5 | |
did = false | |
pooted = 0 | |
nubhit = nil | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) | |
if nubhit == nil then | |
bodypos.position = bodypos.position + dir * 4 | |
cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) | |
--bodypos.position=bodypos.position + dir*9 | |
--cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) | |
end | |
if nubhit == nil and pooted >= 2 then | |
pos = bodypos.position + dir * 2 | |
radi = 6 | |
for _, v in pairs(workspace:children()) do | |
h = v:FindFirstChild("Humanoid") | |
t = v:FindFirstChild("Torso") | |
if h ~= nil and t ~= nil and v ~= cPlayer then | |
if (t.Position - pos).magnitude <= radi then | |
print(":>") | |
nubhit = v | |
break | |
end | |
end | |
end | |
end | |
if nubhit ~= nil then | |
if nubhit.Torso:FindFirstChild("PART1") == nil then | |
v = Instance.new("BodyVelocity") | |
v.P = 4000 | |
v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) | |
v.velocity = dir * 4 + Vector3.new(0, 4, 0) | |
v.Name = "PART1" | |
v.Parent = nubhit.Torso | |
game:GetService("Debris"):AddItem(v, 5) | |
coroutine.resume(coroutine.create(function(v) | |
for i = 1, 100 do | |
v.velocity = v.velocity - Vector3.new(0, .07, 0) | |
wait() | |
end | |
end), v) | |
v = Instance.new("BodyGyro") | |
v.P = 20 | |
v.D = 30 | |
v.maxTorque = Vector3.new(5000000, 5000000, 5000000) | |
v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) | |
v.Name = "PART1" | |
v.Parent = nubhit.Torso | |
game:GetService("Debris"):AddItem(v, 5) | |
end | |
end | |
end) | |
while did == false do | |
wait() | |
end | |
if nubhit == nil then | |
sound:Stop() | |
wait(.5) | |
sound2:Stop() | |
else | |
expected = 32 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) | |
bodypos.position = bodypos.position + dir * .05 | |
cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) | |
end) | |
while did == false do | |
wait() | |
end | |
bodypos.Parent = nil | |
expected = 12 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) | |
end) | |
while did == false do | |
wait() | |
end | |
expected = 6 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) | |
print(":(") | |
end) | |
wait(.3) | |
while did == false do | |
wait() | |
end | |
resetWelds(3, { | |
"Neck" | |
}) | |
expected = 5 | |
did = false | |
pooted = 0 | |
p = Instance.new("Part", workspace) | |
p.Name = "ORB" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.CFrame = cPlayer.Torso.CFrame | |
m = Instance.new("SpecialMesh", p) | |
m.MeshType = "Sphere" | |
p.BrickColor = BrickColor:White() | |
p.Size = Vector3.new(1, 1, 1) | |
p.CanCollide = false | |
p.Anchored = true | |
game:GetService("Debris"):AddItem(p, 5) | |
coroutine.resume(coroutine.create(function(p) | |
nubhit.Torso.Anchored = true | |
for i = 1, 10 do | |
p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) | |
p.Transparency = .5 + i / 20 | |
wait() | |
end | |
p:Remove() | |
end), p) | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(1) | |
expected = 5 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.8) | |
expected = 5 | |
did = false | |
pooted = 0 | |
bodypos.Parent = cPlayer.Torso | |
workspace.CurrentCamera.CameraType = "Follow" | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
bodypos.position = bodypos.position + Vector3.new(0, 240, 0) | |
cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0) | |
print(":(") | |
end) | |
local DIOPLS = Instance.new("Sound", cPlayer.Torso) | |
DIOPLS.SoundId = "rbxassetid://316900066" | |
DIOPLS.Volume = 1 | |
DIOPLS:Play() | |
Instance.new("DistortionSoundEffect", DIOPLS).Level = 1 | |
game:GetService("Debris"):AddItem(DIOPLS, 19) | |
while did == false do | |
wait() | |
end | |
wait(.8) | |
LOL = Spawn() | |
LOL.Parent = workspace | |
LOL:MakeJoints() | |
LOL:MoveTo(cPlayer.Torso.CFrame.p) | |
C = LOL.Center | |
C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) | |
bb = Instance.new("BodyPosition") | |
bb.Parent = C | |
bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) | |
bb.position = bb.Parent.Position | |
C.CFrame = CFrame.new(bb.position) | |
orig = bb.position | |
gg = Instance.new("BodyGyro") | |
gg.P = 15000 | |
gg.D = 100 | |
gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) | |
gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) | |
gg.Parent = C | |
expected = 80 | |
did = false | |
pooted = 0 | |
resetWelds(3, {}) | |
Hum.PlatformStand = true | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
bodypos.Parent = nil | |
w = Instance.new("Weld") | |
w.Part0 = C | |
w.Part1 = cPlayer.Torso | |
w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) | |
w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
w.Parent = w.Part0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) | |
C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) | |
C.CFrame = C.CFrame * CFrame.new(8, 0, 0) | |
bl2 = Instance.new("Part") | |
bl2.TopSurface = 0 | |
bl2.BottomSurface = 0 | |
bl2.CanCollide = false | |
bl2.formFactor = "Symmetric" | |
local ShockWaveSound = Instance.new("Sound", bl2) | |
ShockWaveSound.SoundId = "rbxassetid://138186576" | |
ShockWaveSound.Pitch = 0.8 | |
ShockWaveSound.Volume = 1 | |
ShockWaveSound:Play() | |
Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1 | |
m = Instance.new("SpecialMesh") | |
m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
m.Scale = Vector3.new(1, 4, 1) | |
m.Parent = bl2 | |
bl2.Size = Vector3.new(1, 1, 1) | |
bl2.Anchored = false | |
bl2.Name = "c" | |
bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
bl2.BrickColor = BrickColor.new("White") | |
bl2.Parent = CPlayer | |
coroutine.resume(coroutine.create(function(p) | |
for i = 1, 10 do | |
p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) | |
p.Transparency = .25 + i * .075 | |
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) | |
wait() | |
end | |
p:Remove() | |
end), bl2) | |
bl2.Anchored = true | |
bl2 = Instance.new("Part") | |
bl2.TopSurface = 0 | |
bl2.BottomSurface = 0 | |
bl2.CanCollide = false | |
bl2.formFactor = "Symmetric" | |
m = Instance.new("SpecialMesh") | |
m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
m.Scale = Vector3.new(1, 6, 1) | |
m.Parent = bl2 | |
bl2.Size = Vector3.new(1, 1, 1) | |
bl2.Anchored = false | |
bl2.Name = "c" | |
bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
bl2.BrickColor = BrickColor.new("White") | |
bl2.Parent = CPlayer | |
coroutine.resume(coroutine.create(function(p) | |
for i = 1, 20 do | |
p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) | |
p.Transparency = i / 20 | |
p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) | |
wait() | |
end | |
p:Remove() | |
end), bl2) | |
bl2.Anchored = true | |
gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) | |
expected = 3 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.3) | |
expected = 5 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) | |
w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
expected = 203 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, { | |
RightHip, | |
LeftHip, | |
RootJoint, | |
Neck | |
}) | |
RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) | |
LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) | |
RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) | |
LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) | |
w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) | |
if pooted / 2 == math.floor(pooted / 2) then | |
p = cPlayer["Right Arm"]:clone() | |
p.Anchored = true | |
p.CanCollide = false | |
p.Parent = workspace | |
p.Transparency = .5 | |
game:GetService("Debris"):AddItem(p, .2) | |
p = cPlayer["Left Arm"]:clone() | |
p.Anchored = true | |
p.CanCollide = false | |
p.Parent = workspace | |
p.Transparency = .5 | |
game:GetService("Debris"):AddItem(p, .2) | |
p = Instance.new("Part", workspace) | |
p.Name = "ORB" | |
p.TopSurface = 0 | |
p.BottomSurface = 0 | |
p.formFactor = "Custom" | |
p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) | |
m = Instance.new("SpecialMesh", p) | |
m.MeshType = "Sphere" | |
p.BrickColor = BrickColor:White() | |
p.Size = Vector3.new(.4, .4, .4) | |
p.CanCollide = false | |
p.Anchored = true | |
game:GetService("Debris"):AddItem(p, 5) | |
coroutine.resume(coroutine.create(function(p) | |
for i = 1, 8 do | |
p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) | |
p.Transparency = i / 8 | |
wait() | |
end | |
p:Remove() | |
end), p) | |
end | |
print(":)") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.5) | |
expected = 20 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, { | |
Neck, | |
RootJoint, | |
RightHip, | |
LeftHip | |
}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) | |
print(":)") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(2) | |
expected = 5 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
w.Parent = nil | |
bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) | |
poo = cPlayer.Torso.CFrame.lookVector | |
cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) | |
bodypos.Parent = cPlayer.Torso | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) | |
print(":)") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.7) | |
expected = 5 | |
did = false | |
pooted = 0 | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
resetWelds(3, {}) | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.2) | |
expected = 10 | |
did = false | |
pooted = 0 | |
workspace.CurrentCamera.CameraType = "Follow" | |
g = Instance.new("BodyGyro") | |
g.Parent = cPlayer.Torso | |
sos = game:GetService("RunService").Stepped:connect(function() | |
pooted = pooted + 1 | |
if pooted >= expected + 1 then | |
sos:disconnect() | |
did = true | |
return | |
end | |
RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) | |
LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) | |
RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) | |
LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) | |
Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
if pooted >= 2 then | |
bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 | |
cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 | |
end | |
print(":(") | |
end) | |
while did == false do | |
wait() | |
end | |
wait(.2) | |
bodypos:Remove() | |
wait(.5) | |
e = Instance.new("Explosion") | |
e.BlastRadius = 30 | |
e.Position = C.Position | |
e.BlastPressure = e.BlastPressure * 2.5 | |
e.Parent = workspace | |
s = Instance.new("Sound", C) | |
s.SoundId = "rbxassetid://258057783" | |
s.Volume = 1 | |
s:Play() | |
Instance.new("DistortionSoundEffect", s).Level = 1 | |
g:Remove() | |
--dun | |
nubhit.Torso.Anchored = false | |
Hum.PlatformStand = false | |
C.Anchored = true | |
coroutine.resume(coroutine.create(function(t) | |
wait(3) | |
p = Instance.new("Sound") | |
p.SoundId = "http://www.roblox.com/asset/?id=154677261" | |
p.Parent = t | |
p.Volume = 1 | |
p:Play() | |
end), C) | |
game:GetService("Debris"):AddItem(LOL, 5) | |
end | |
resetWelds(3, {}) | |
workspace.CurrentCamera.CameraType = "Custom" | |
Hum.WalkSpeed = 16 | |
Hum.Name = "Humanoid" | |
bodypos:Remove() | |
partpos:Remove() | |
Anim.Parent = nil | |
wait(.1) | |
Anim.Disabled = false | |
Anim.Parent = cPlayer | |
deb = true | |
end | |
Tool = Instance.new("HopperBin") | |
Tool.Name = "ROAD ROLLER DA" | |
Tool.Parent = game.Players.LocalPlayer.Backpack | |
Tool.Selected:connect(function(mouse) | |
mouse.Button1Down:connect(function() | |
doitdocdoit() | |
end) | |
end) | |
end | |
end) | |
SinUnleashed.MouseButton1Down:connect(function() | |
--//====================================================\\-- | |
--|| CREATED BY SHACKLUSTER | |
--\\====================================================//-- | |
wait(0.2) | |
Player = game:GetService("Players").LocalPlayer | |
PlayerGui = Player.PlayerGui | |
Cam = workspace.CurrentCamera | |
Backpack = Player.Backpack | |
Character = Player.Character | |
Humanoid = Character.Humanoid | |
Mouse = Player:GetMouse() | |
RootPart = Character["HumanoidRootPart"] | |
Torso = Character["Torso"] | |
Head = Character["Head"] | |
RightArm = Character["Right Arm"] | |
LeftArm = Character["Left Arm"] | |
RightLeg = Character["Right Leg"] | |
LeftLeg = Character["Left Leg"] | |
RootJoint = RootPart["RootJoint"] | |
Neck = Torso["Neck"] | |
RightShoulder = Torso["Right Shoulder"] | |
LeftShoulder = Torso["Left Shoulder"] | |
RightHip = Torso["Right Hip"] | |
LeftHip = Torso["Left Hip"] | |
local sick = Instance.new("Sound",Character) | |
sick.SoundId = "rbxassetid://733414830" | |
sick.Looped = true | |
sick.Pitch = 1 | |
sick.Volume = 1 | |
sick:Play() | |
Humanoid.HipHeight = 15 | |
Humanoid.DisplayDistanceType = "None" | |
local LightningBolts = {} | |
Humanoid.Name = "Sin" | |
IT = Instance.new | |
CF = CFrame.new | |
VT = Vector3.new | |
RAD = math.rad | |
C3 = Color3.new | |
UD2 = UDim2.new | |
BRICKC = BrickColor.new | |
ANGLES = CFrame.Angles | |
EULER = CFrame.fromEulerAnglesXYZ | |
COS = math.cos | |
ACOS = math.acos | |
SIN = math.sin | |
ASIN = math.asin | |
ABS = math.abs | |
MRANDOM = math.random | |
FLOOR = math.floor | |
function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) | |
local NEWMESH = IT(MESH) | |
if MESH == "SpecialMesh" then | |
NEWMESH.MeshType = MESHTYPE | |
if MESHID ~= "nil" and MESHID ~= "" then | |
NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID | |
end | |
if TEXTUREID ~= "nil" and TEXTUREID ~= "" then | |
NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID | |
end | |
end | |
NEWMESH.Offset = OFFSET or VT(0, 0, 0) | |
NEWMESH.Scale = SCALE | |
NEWMESH.Parent = PARENT | |
return NEWMESH | |
end | |
function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHR) | |
local NEWPART = IT("Part") | |
NEWPART.formFactor = FORMFACTOR | |
NEWPART.Reflectance = REFLECTANCE | |
NEWPART.Transparency = TRANSPARENCY | |
NEWPART.CanCollide = false | |
NEWPART.Locked = true | |
NEWPART.Anchored = true | |
if ANCHR == false then | |
NEWPART.Anchored = false | |
end | |
NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) | |
NEWPART.Name = NAME | |
NEWPART.Size = SIZE | |
NEWPART.Position = Torso.Position | |
NEWPART.Material = MATERIAL | |
NEWPART:BreakJoints() | |
NEWPART.Parent = PARENT | |
return NEWPART | |
end | |
--//=================================\\ | |
--|| CUSTOMIZATION | |
--\\=================================// | |
Class_Name = "Sin Unleashed" | |
Weapon_Name = "Add-ons" | |
Custom_Colors = { | |
Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon. | |
Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon. | |
Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities. | |
Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar. | |
Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar. | |
Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar. | |
Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar. | |
Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar. | |
Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar. | |
Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar. | |
Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar. | |
Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities. | |
} | |
Player_Size = 1 --Size of the player. | |
Animation_Speed = 2 | |
Animation_Speed2 = 1 | |
Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) | |
local Speed = 28 | |
Humanoid.JumpPower = 80 | |
local Effects2 = {} | |
--//=================================\\ | |
--|| END OF CUSTOMIZATION | |
--\\=================================// | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
function createaccessory(attachmentpart,mesh,texture,scale,offset,color) | |
local acs = Instance.new("Part") | |
acs.CanCollide = false | |
acs.Anchored = false | |
acs.Size = Vector3.new(0,0,0) | |
acs.CFrame = attachmentpart.CFrame | |
acs.Parent = Character | |
acs.BrickColor = color | |
local meshs = Instance.new("SpecialMesh") | |
meshs.MeshId = mesh | |
meshs.TextureId = texture | |
meshs.Parent = acs | |
meshs.Scale = scale | |
meshs.Offset = offset | |
weldBetween(attachmentpart,acs) | |
end | |
function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) | |
if TYPE == "Gem" then | |
local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Skull" then | |
local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
elseif TYPE == "Eye" then | |
local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) | |
acs.Anchored = false | |
acs.CanCollide = false | |
acs.CFrame = PART.CFrame | |
local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) | |
weldBetween(PART,acs) | |
end | |
end | |
--//=================================\\ | |
--|| USEFUL VALUES | |
--\\=================================// | |
local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) | |
local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) | |
local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) | |
local CO1 = 0 | |
local CO2 = 0 | |
local CO3 = 0 | |
local CO4 = 0 | |
local CHANGEDEFENSE = 0 | |
local CHANGEDAMAGE = 0 | |
local CHANGEMOVEMENT = 0 | |
local ANIM = "Idle" | |
local ATTACK = false | |
local EQUIPPED = false | |
local HOLD = false | |
local COMBO = 1 | |
local LASTPOINT = nil | |
local BLCF = nil | |
local SCFR = nil | |
local STAGGERHITANIM = false | |
local STAGGERANIM = false | |
local STUNANIM = false | |
local CRITCHANCENUMBER = 0 | |
local IDLENUMBER = 0 | |
local DONUMBER = 0 | |
local HANDIDLE = false | |
local Rooted = false | |
local KEYHOLD = false | |
local SINE = 0 | |
local CHANGE = 2 / Animation_Speed | |
local WALKINGANIM = false | |
local WALK = 0 | |
local DEAD = false | |
local ROBLOXIDLEANIMATION = IT("Animation") | |
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" | |
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" | |
--ROBLOXIDLEANIMATION.Parent = Humanoid | |
local WEAPONGUI = IT("ScreenGui", PlayerGui) | |
WEAPONGUI.Name = "Weapon GUI" | |
local Weapon = IT("Model") | |
Weapon.Name = Weapon_Name | |
local Effects = IT("Folder", Weapon) | |
Effects.Name = "Effects" | |
local ANIMATOR = Humanoid.Animator | |
local ANIMATE = Character.Animate | |
local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} | |
local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} | |
local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} | |
local HITBLOCKSOUNDS = {"199148933", "199148947"} | |
local UNANCHOR = true | |
local MAGICPARTICLE = "655109389" | |
local SKILLTEXTCOLOR = C3(0.7,0,0) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SAZERENOS' ARTIFICIAL HEARTBEAT | |
--\\=================================// | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "ArtificialHB" | |
script:WaitForChild("ArtificialHB") | |
frame = Frame_Speed | |
tf = 0 | |
allowframeloss = false | |
tossremainder = false | |
lastframe = tick() | |
script.ArtificialHB:Fire() | |
game:GetService("RunService").Heartbeat:connect(function(s, p) | |
tf = tf + s | |
if tf >= frame then | |
if allowframeloss then | |
script.ArtificialHB:Fire() | |
lastframe = tick() | |
else | |
for i = 1, math.floor(tf / frame) do | |
script.ArtificialHB:Fire() | |
end | |
lastframe = tick() | |
end | |
if tossremainder then | |
tf = 0 | |
else | |
tf = tf - frame * math.floor(tf / frame) | |
end | |
end | |
end) | |
--//=================================\\ | |
--\\=================================// | |
--//=================================\\ | |
--|| SOME FUNCTIONS | |
--\\=================================// | |
function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) | |
return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) | |
end | |
function PositiveAngle(NUMBER) | |
if NUMBER >= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function NegativeAngle(NUMBER) | |
if NUMBER <= 0 then | |
NUMBER = 0 | |
end | |
return NUMBER | |
end | |
function Swait(NUMBER) | |
if NUMBER == 0 or NUMBER == nil then | |
ArtificialHB.Event:wait() | |
else | |
for i = 1, NUMBER do | |
ArtificialHB.Event:wait() | |
end | |
end | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5 / s | |
return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00 - m11 - m22 + 1) | |
local recip = 0.5 / s | |
return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip | |
elseif i == 1 then | |
local s = math.sqrt(m11 - m22 - m00 + 1) | |
local recip = 0.5 / s | |
return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip | |
elseif i == 2 then | |
local s = math.sqrt(m22 - m00 - m11 + 1) | |
local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w * xs, w * ys, w * zs | |
local xx = x * xs | |
local xy = x * ys | |
local xz = x * zs | |
local yy = y * ys | |
local yz = y * zs | |
local zz = z * zs | |
return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = ACOS(cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((1 - t) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = 1 - t | |
finishInterp = t | |
end | |
else | |
if (1 + cosTheta) > 0.0001 then | |
local theta = ACOS(-cosTheta) | |
local invSinTheta = 1 / SIN(theta) | |
startInterp = SIN((t - 1) * theta) * invSinTheta | |
finishInterp = SIN(t * theta) * invSinTheta | |
else | |
startInterp = t - 1 | |
finishInterp = t | |
end | |
end | |
return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp | |
end | |
function Clerp(a, b, t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1 - t | |
return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) | |
end | |
function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) | |
local frame = IT("Frame") | |
frame.BackgroundTransparency = TRANSPARENCY | |
frame.BorderSizePixel = BORDERSIZEPIXEL | |
frame.Position = POSITION | |
frame.Size = SIZE | |
frame.BackgroundColor3 = COLOR | |
frame.BorderColor3 = BORDERCOLOR | |
frame.Name = NAME | |
frame.Parent = PARENT | |
return frame | |
end | |
function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) | |
local label = IT("TextLabel") | |
label.BackgroundTransparency = 1 | |
label.Size = UD2(1, 0, 1, 0) | |
label.Position = UD2(0, 0, 0, 0) | |
label.TextColor3 = TEXTCOLOR | |
label.TextStrokeTransparency = STROKETRANSPARENCY | |
label.TextTransparency = TRANSPARENCY | |
label.FontSize = TEXTFONTSIZE | |
label.Font = TEXTFONT | |
label.BorderSizePixel = BORDERSIZEPIXEL | |
label.TextScaled = false | |
label.Text = TEXT | |
label.Name = NAME | |
label.Parent = PARENT | |
return label | |
end | |
function NoOutlines(PART) | |
PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 | |
end | |
function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) | |
local NEWWELD = IT(TYPE) | |
NEWWELD.Part0 = PART0 | |
NEWWELD.Part1 = PART1 | |
NEWWELD.C0 = C0 | |
NEWWELD.C1 = C1 | |
NEWWELD.Parent = PARENT | |
return NEWWELD | |
end | |
local sound = IT("Sound") | |
function CreateSound(ID, PARENT, VOLUME, PITCH) | |
local NEWSOUND = nil | |
coroutine.resume(coroutine.create(function() | |
NEWSOUND = sound:Clone() | |
NEWSOUND.Parent = PARENT | |
NEWSOUND.Volume = VOLUME | |
NEWSOUND.Pitch = PITCH | |
NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID | |
Swait() | |
NEWSOUND:play() | |
game:GetService("Debris"):AddItem(NEWSOUND, 10) | |
end)) | |
return NEWSOUND | |
end | |
function CFrameFromTopBack(at, top, back) | |
local right = top:Cross(back) | |
return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) | |
end | |
function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,color) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
mesh.Scale = VT(size,size,size) | |
mesh.Offset = VT(0,0,-size/8) | |
wave.CFrame = cframe | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
mesh.Scale = mesh.Scale + VT(size/5,0,size/5) | |
mesh.Offset = VT(0,0,-(mesh.Scale.X/8)) | |
if doesrotate == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
end | |
wave.Transparency = wave.Transparency + (0.5/waitt) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,color) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" | |
mesh.Scale = VT(size,size,size) | |
wave.CFrame = cframe | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5) | |
if doesrotate == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
end | |
wave.Transparency = wave.Transparency + (0.5/waitt) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,part,offset,color) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" | |
mesh.Scale = VT(size,size,size) | |
wave.CFrame = CF(part.Position) * CF(0,offset,0) * ANGLES(RAD(inair),RAD(0),RAD(0)) | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
mesh.Scale = mesh.Scale + VT(size/5,0,size/5) | |
if doesrotate == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
end | |
wave.Transparency = wave.Transparency + (0.5/waitt) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,offset,spin1,spin2,color) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
mesh.Scale = VT(size,size,size) | |
mesh.Offset = VT(0,0,0) | |
wave.CFrame = cframe | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5) | |
if doesrotate == true then | |
wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1) | |
end | |
wave.Transparency = wave.Transparency + (0.5/waitt) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
function MagicSphere(size,waitt,part,offset,color) | |
local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1)) | |
local mesh = IT("SpecialMesh",wave) | |
mesh.MeshType = "Sphere" | |
mesh.Scale = VT(size,size,size) | |
mesh.Offset = VT(0,0,0) | |
wave.CFrame = CF(part) * CF(0,offset,0) * ANGLES(RAD(0),RAD(0),RAD(0)) | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5) | |
wave.Transparency = wave.Transparency + (1/waitt) | |
if wave.Transparency > 0.99 then | |
wave:remove() | |
end | |
end | |
end)) | |
end | |
local EyeSizes={ | |
NumberSequenceKeypoint.new(0,1,0), | |
NumberSequenceKeypoint.new(1,0.2,0) | |
} | |
local EyeTrans={ | |
NumberSequenceKeypoint.new(0,0.8,0), | |
NumberSequenceKeypoint.new(1,1,0) | |
} | |
local PE=Instance.new("ParticleEmitter") | |
PE.LightEmission=0 | |
PE.Size=NumberSequence.new(EyeSizes) | |
PE.Transparency=NumberSequence.new(EyeTrans) | |
PE.Lifetime=NumberRange.new(0.35,0.35,0.35) | |
PE.Rotation=NumberRange.new(0,360) | |
PE.Rate=15 | |
PE.Acceleration = Vector3.new(0,75,0) | |
PE.Drag = 5 | |
PE.Enabled = false | |
PE.Speed = NumberRange.new(0,0,0) | |
PE.Texture="http://www.roblox.com/asset/?id=1179557490" | |
PE.ZOffset = 0 | |
PE.Name = "Particles" | |
function CreateParticles(art,text,accel,drag,rate,type,isenabledbydefault) | |
local particle = PE:Clone() | |
particle.Parent = art | |
particle.Acceleration = accel | |
PE.Rate = rate | |
if type == "Fire" then | |
local EyeSizes={ | |
NumberSequenceKeypoint.new(0,1,0.3), | |
NumberSequenceKeypoint.new(1,0.2,0.2) | |
} | |
PE.Size = NumberSequence.new(EyeSizes) | |
elseif type == "Smoke" then | |
local EyeSizes={ | |
NumberSequenceKeypoint.new(0,1,0), | |
NumberSequenceKeypoint.new(1,5,0.5) | |
} | |
PE.Size = NumberSequence.new(EyeSizes) | |
elseif type == "Solid" then | |
local EyeSizes={ | |
NumberSequenceKeypoint.new(0,1,0), | |
NumberSequenceKeypoint.new(1,1,0) | |
} | |
PE.Size = NumberSequence.new(EyeSizes) | |
end | |
PE.Drag = drag | |
particle.Texture = "http://www.roblox.com/asset/?id="..text | |
particle.Enabled = isenabledbydefault | |
return particle | |
end | |
--//=================================\\ | |
--|| BIG ZAPS | |
--\\=================================// | |
BaseLightning = IT("Part") | |
BaseLightning.Anchored = true | |
BaseLightning.CanCollide = false | |
BaseLightning.Material = "Neon" | |
function CheckTableForString(Table, String) | |
for i, v in pairs(Table) do | |
if string.find(string.lower(String), string.lower(v)) then | |
return true | |
end | |
end | |
return false | |
end | |
function CheckIntangible(Hit) | |
local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} | |
if Hit and Hit.Parent then | |
if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then | |
return true | |
end | |
end | |
return false | |
end | |
Debris = game:GetService("Debris") | |
function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) | |
local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) | |
local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore) | |
if RayHit and CheckIntangible(RayHit) then | |
if DelayIfHit then | |
wait() | |
end | |
RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) | |
end | |
return RayHit, RayPos, RayNormal | |
end | |
--Zap({StartPosition = Position, TargetPosition = Position, Character = Character, Color = "Color", Individual = true}) | |
function Zap(Table) | |
local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color | |
local Duration = (Table.Duration or 2) | |
local FadeRate = (Table.FadeRate or 0.05) | |
local Offset = (Table.Offset or 2) | |
local Individualize = (Table.Individualize or false) | |
local MaxRange = (Table.MaxRange or 200) | |
local SegmentLength = (Table.SegmentLength or 5) | |
local TimeToFade = (Table.TimeToFade or 0.5) | |
local Ignore = (Table.Ignore or {}) | |
local SIZE = (Table.Size or 0.3) | |
if not StartPos or not TargetPos or not Character then | |
return | |
end | |
local LightningModel = IT("Folder",Effects) | |
LightningModel.Name = "ZAPP" | |
for i, v in pairs({Character, LightningModel}) do | |
table.insert(Ignore, v) | |
end | |
local LastPos = StartPos | |
local Direction = CFrame.new(StartPos, TargetPos).lookVector | |
local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false) | |
local RayLength = (StartPos - RayPos).Magnitude | |
local Struck = false | |
local TotalSegments = math.ceil(RayLength / SegmentLength) | |
Direction = CFrame.new(StartPos, RayPos).lookVector | |
local LightningBolt = IT("Model",Effects) | |
LightningBolt.Name = "Lightning" | |
if not Individualize then | |
table.insert(LightningBolts, LightningBolt) | |
end | |
LastBolt = LightningBolt | |
Debris:AddItem(LightningBolt, Duration) | |
LightningBolt.Parent = LightningModel | |
for i = 1, TotalSegments do | |
if not Struck then | |
local Entropy = Vector3.new(((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset), ((math.random() * Offset*2.5) - Offset)) | |
local NewPos = (StartPos + (Direction * (RayLength * (i / TotalSegments))) + Entropy) | |
local SegmentVec = (NewPos - LastPos) | |
local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false) | |
local RayVec = (LastPos - RayPos) | |
local LightningPart = BaseLightning:Clone() | |
LightningPart.BrickColor = BrickColor.new(Color) | |
LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude) | |
LightningPart.CFrame = (CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))) | |
table.insert(Effects2,{LightningPart,"Disappear",0.025,1,1,1,2}) | |
--Make circular | |
local CylinderMesh = IT("CylinderMesh",LightningPart) | |
local OrigCF = LightningPart.CFrame | |
LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y) | |
LightningPart.CFrame = (OrigCF * CFrame.Angles((math.pi / 2), 0, 0)) | |
LightningPart.Parent = LightningBolt | |
LastPos = NewPos | |
Spawn(function() | |
local FadeRate = 0.05 | |
local OrigTransparency = LightningPart.Transparency | |
for i = 1, (TimeToFade / FadeRate) do | |
wait(FadeRate) | |
LightningPart.Transparency = (OrigTransparency + (i / (TimeToFade / FadeRate))) | |
end | |
end) | |
end | |
end | |
return {RayHit = RayHit, RayPos = RayPos, RayNormal = RayNormal, LightningModel = LightningModel} | |
end | |
--//=================================\\ | |
--|| WEAPON CREATION | |
--\\=================================// | |
Weapon.Parent = Character | |
Humanoid.Died:connect(function() | |
ATTACK = true | |
end) | |
print(Class_Name.." loaded.") | |
local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") | |
local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") | |
local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") | |
local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") | |
local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") | |
local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Claw force", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 1") | |
local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Hell leash", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 2") | |
local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Sinner wave", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 3") | |
local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] From the depths", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 4") | |
local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] The end", SKILLTEXTCOLOR, 10, "Antique", 0, 2, 1, "Text 5") | |
local naeeym2 = Instance.new("BillboardGui",Character) | |
naeeym2.AlwaysOnTop = true | |
naeeym2.Size = UDim2.new(5,35,2,35) | |
naeeym2.StudsOffset = Vector3.new(0,3,0) | |
naeeym2.Adornee = Character.Head | |
naeeym2.Name = "Name" | |
naeeym2.PlayerToHideFrom = Player | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.TextScaled = true | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = "Sin unleashed" | |
tecks2.Font = "Antique" | |
tecks2.TextSize = 30 | |
tecks2.TextStrokeTransparency = 0.9 | |
tecks2.TextColor3 = Color3.new(0,0,0) | |
tecks2.TextStrokeColor3 = Color3.new(1,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
tecks2.Parent = naeeym2 | |
local Shield = IT("Part",Weapon) | |
Shield.Name = "Barrier" | |
Shield.Shape = "Ball" | |
Shield.Material = "Glass" | |
Shield.Color = C3(1,0,0) | |
Shield.Transparency = 0.5 | |
Shield.Size = VT(0.5,0.5,0.5) | |
local mesh = IT("SpecialMesh",Shield) | |
mesh.MeshType = "Sphere" | |
mesh.Scale = VT(13,13,13) | |
Shield.CFrame = RootPart.CFrame | |
weldBetween(RootPart,Shield) | |
createbodypart("Eye","Really red",Head,VT(0.20, 0, -0.55),VT(2,6,2)) | |
createbodypart("Eye","Really red",Head,VT(-0.20, 0, -0.55),VT(2,6,2)) | |
createbodypart("Eye","Really red",Head,VT(0, 0, -0.6),VT(2,8,2)) | |
local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",gear) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(8,8,8) | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",gear) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(8,8,8) | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0)) | |
local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",gear) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(6,6,6) | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",gear) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(4,4,4) | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 6 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",gear) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(2,2,2) | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 8 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",BottomPart) | |
mesh.MeshType = "Sphere" | |
local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
--//=================================\\ | |
--|| CREATING ARMS | |
--\\=================================// | |
--RIGHT ARM-- | |
local limb1a = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb1a) | |
mesh.MeshType = "Sphere" | |
limb1a.Name = "Right Arm 01" | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1a, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld1a = CreateWeldOrSnapOrMotor("Weld", limb1a, RootPart, limb1a, CF(4 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limb1b = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb1b) | |
mesh.MeshType = "Sphere" | |
limb1b.Name = "Right Arm 02" | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1.5*Player_Size,3.5*Player_Size,1.5*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false) | |
LIMB.Name = "Right Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb1b, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1b, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld1b = CreateWeldOrSnapOrMotor("Weld", limb1b, limb1a, limb1b, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limb1c = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(4*Player_Size,4*Player_Size,4*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb1c) | |
mesh.MeshType = "Sphere" | |
limb1c.Name = "Right Arm 03" | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(15,15,15) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb1c, part, CF(0 * Player_Size, -2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld1c = CreateWeldOrSnapOrMotor("Weld", limb1c, limb1b, limb1c, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local hand1 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Hand", VT(0*Player_Size,0*Player_Size,0*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",hand1) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://1089939072" | |
mesh.Scale = VT(7,8,7) | |
local handweld1 = CreateWeldOrSnapOrMotor("Weld", limb1c, hand1, limb1c, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0)) | |
--LEFT ARM | |
local limb2a = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2*Player_Size,2*Player_Size,2*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb2a) | |
mesh.MeshType = "Sphere" | |
limb2a.Name = "Left Arm 01" | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.8*Player_Size,3.5*Player_Size,0.8*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(01*Player_Size,3.5*Player_Size,1*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2a, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld2a = CreateWeldOrSnapOrMotor("Weld", limb2a, RootPart, limb2a, CF(-4 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limb2b = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(2.5*Player_Size,2.5*Player_Size,2.5*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb2b) | |
mesh.MeshType = "Sphere" | |
limb2b.Name = "Left Arm 02" | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1*Player_Size,3.5*Player_Size,1*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(1.5*Player_Size,3.5*Player_Size,1.5*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local LIMB = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(0.7*Player_Size,3.5*Player_Size,0.7*Player_Size),false) | |
LIMB.Name = "Left Arm part" | |
local LIMBWELD = CreateWeldOrSnapOrMotor("Weld", LIMB, limb2b, LIMB, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2b, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld2b = CreateWeldOrSnapOrMotor("Weld", limb2b, limb2a, limb2b, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limb2c = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Handle", VT(4*Player_Size,4*Player_Size,4*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",limb2c) | |
mesh.MeshType = "Sphere" | |
limb1c.Name = "Right Arm 03" | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(15,15,15) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",part) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://156292343" | |
mesh.Scale = VT(10,10,10) | |
local weld = CreateWeldOrSnapOrMotor("Weld", part, limb2c, part, CF(0 * Player_Size, -2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local limbweld2c = CreateWeldOrSnapOrMotor("Weld", limb2c, limb2b, limb2c, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) | |
local hand2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Hand", VT(0*Player_Size,0*Player_Size,0*Player_Size),false) | |
local mesh = Instance.new("SpecialMesh",hand2) | |
mesh.MeshType = "FileMesh" | |
mesh.MeshId = "rbxassetid://1089939056" | |
mesh.Scale = VT(7,8,7) | |
local handweld2 = CreateWeldOrSnapOrMotor("Weld", limb2c, hand2, limb2c, CF(0 * Player_Size, 3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0)) | |
for _, c in pairs(Weapon:GetChildren()) do | |
if c.ClassName == "Part" then | |
c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) | |
end | |
end | |
--//=================================\\ | |
--|| SPEECH | |
--\\=================================// | |
function chatfunc(text,waitt) | |
local chat = coroutine.wrap(function() | |
if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
Character:FindFirstChild("TalkingBillBoard"):destroy() | |
end | |
local naeeym2 = Instance.new("BillboardGui",Character) | |
naeeym2.Size = UDim2.new(0,100,0,40) | |
naeeym2.StudsOffset = Vector3.new(0,2,0) | |
naeeym2.Adornee = Character.Head | |
naeeym2.Name = "TalkingBillBoard" | |
naeeym2.AlwaysOnTop = true | |
local tecks2 = 30 | |
tecks2.BackgroundTransparency = 1 | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = "" | |
tecks2.Font = "Fantasy" | |
tecks2.TextSize = 30 | |
tecks2.TextStrokeTransparency = 1 | |
tecks2.TextColor3 = SKILLTEXTCOLOR | |
tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
local tecks3 = Instance.new("TextLabel",naeeym2) | |
tecks3.BackgroundTransparency = 1 | |
tecks3.BorderSizePixel = 0 | |
tecks3.Text = "" | |
tecks3.Font = "Fantasy" | |
tecks3.TextSizekeTransparency = 1 | |
tecks3.TextColor3 = SKILLTEXTCOLOR | |
tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks3.Size = UDim2.new(1,0,0.5,0) | |
for i = 1,string.len(text),1 do | |
tecks2.Text = string.sub(text,1,i) | |
tecks3.Text = string.sub(text,1,i) | |
wait(0.01) | |
end | |
wait(waitt) | |
naeeym2:Destroy() | |
end) | |
chat() | |
end | |
--//=================================\\ | |
--|| DAMAGE FUNCTIONS | |
--\\=================================// | |
function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) | |
local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) | |
STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) | |
local BODYGYRO = IT("BodyGyro", STATPART) | |
local BODYPOSITION = IT("BodyPosition", STATPART) | |
BODYPOSITION.P = 2000 | |
BODYPOSITION.D = 100 | |
BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) | |
if LABELTYPE == "Normal" then | |
BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) | |
elseif LABELTYPE == "Debuff" then | |
BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2)) | |
elseif LABELTYPE == "Interruption" then | |
BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2)) | |
end | |
game:GetService("Debris"):AddItem(STATPART ,5) | |
local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) | |
BILLBOARDGUI.Adornee = STATPART | |
BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) | |
BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) | |
BILLBOARDGUI.AlwaysOnTop = false | |
local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) | |
TEXTLABEL.BackgroundTransparency = 1 | |
TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) | |
TEXTLABEL.Text = TEXT | |
TEXTLABEL.Font = "SciFi" | |
TEXTLABEL.FontSize="Size42" | |
TEXTLABEL.TextColor3 = COLOR | |
TEXTLABEL.TextStrokeTransparency = 1 | |
TEXTLABEL.TextScaled = true | |
TEXTLABEL.TextWrapped = true | |
coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) | |
wait(0.2) | |
for i=1, 5 do | |
wait() | |
THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0) | |
end | |
wait(1.2) | |
for i=1, 5 do | |
wait() | |
THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2 | |
THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2 | |
THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0) | |
end | |
THEPART.Parent = nil | |
end),STATPART, BODYPOSITION, TEXTLABEL) | |
end | |
function CreatePentagram(size,doesrotate,rotatedirection,waitt,cframe,offset) | |
local sinkhole = IT("Part",Effects) | |
sinkhole.Size = VT(size,0,size) | |
sinkhole.CFrame = cframe * CF(0,offset,0) | |
sinkhole.Material = "Neon" | |
sinkhole.Color = C3(1,0,0) | |
sinkhole.Anchored = true | |
sinkhole.CanCollide = false | |
sinkhole.Transparency = 1 | |
local decal = IT("Decal",sinkhole) | |
decal.Face = "Top" | |
decal.Texture = "http://www.roblox.com/asset/?id=818983932" | |
coroutine.resume(coroutine.create(function(PART) | |
for i = 1, waitt do | |
Swait() | |
if doesrotate == true then | |
sinkhole.CFrame = sinkhole.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0) | |
end | |
if i > waitt-11 then | |
decal.Transparency = decal.Transparency + 0.1 | |
end | |
end | |
sinkhole:remove() | |
end)) | |
return sinkhole | |
end | |
--//=================================\\ | |
--|| DAMAGING | |
--\\=================================// | |
function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier) | |
if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then | |
local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") | |
local dmg = math.random(min,max) | |
if humanoid.Health > 0 then | |
if beserk == true then | |
humanoid.Health = 0 | |
else | |
CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10) | |
hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength | |
if math.random(1,100) < critrate+1 then | |
humanoid.Health = humanoid.Health - dmg*critmultiplier | |
StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
else | |
humanoid.Health = humanoid.Health - dmg | |
StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
end | |
local defence = Instance.new("BoolValue",hit.Parent) | |
defence.Name = ("HitBy"..Player.Name) | |
game:GetService("Debris"):AddItem(defence, 0.5) | |
end | |
end | |
end | |
end | |
function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping) | |
local dmg = math.random(min,max) | |
for i,v in ipairs(workspace:GetChildren()) do | |
if v:FindFirstChild("HitBy"..Player.Name) == nil then | |
local body = v:GetChildren() | |
for part = 1, #body do | |
if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
if(body[part].Position - position).Magnitude < radius then | |
if v.ClassName == "Model" then | |
if v:FindFirstChild("Humanoid") then | |
if v.Humanoid.Health ~= 0 then | |
if CanBeDodgedByJumping == true then | |
if body[part].Position.Y < position.Y+5 then | |
if math.random(1,100) < critrate+1 then | |
v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier | |
StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
else | |
v.Humanoid.Health = v.Humanoid.Health - dmg | |
StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
end | |
local defence = Instance.new("BoolValue",v) | |
defence.Name = ("HitBy"..Player.Name) | |
game:GetService("Debris"):AddItem(defence, 0.5) | |
end | |
else | |
if beserk == true then | |
v.Humanoid.Health = 0 | |
end | |
if math.random(1,100) < critrate+1 then | |
v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier | |
StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) | |
else | |
v.Humanoid.Health = v.Humanoid.Health - dmg | |
StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) | |
end | |
local defence = Instance.new("BoolValue",v) | |
defence.Name = ("HitBy"..Player.Name) | |
game:GetService("Debris"):AddItem(defence, 0.5) | |
end | |
end | |
end | |
end | |
--body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
end | |
end | |
end | |
if v.ClassName == "Part" then | |
if v.Anchored == false and (v.Position - position).Magnitude < radius then | |
--v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
end | |
end | |
end | |
end | |
end | |
function killnearest(position,range,maxstrength) | |
for i,v in ipairs(workspace:GetChildren()) do | |
local body = v:GetChildren() | |
for part = 1, #body do | |
if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then | |
if(body[part].Position - position).Magnitude < range then | |
if v.ClassName == "Model" then | |
v:BreakJoints() | |
end | |
--table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2}) | |
body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength | |
end | |
end | |
end | |
if v.ClassName == "Part" then | |
if v.Anchored == false and (v.Position - position).Magnitude < range then | |
--table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2}) | |
v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength | |
end | |
end | |
end | |
end | |
--//=================================\\ | |
--|| ATTACK FUNCTIONS AND STUFF | |
--\\=================================// | |
function turnto(pos,part) | |
part.CFrame = CF(part.Position,VT(pos.X,RootPart.Position.Y,pos.Z)) | |
end | |
Humanoid.Died:connect(function() | |
q = workspace:GetChildren() | |
DEAD = true | |
CreatePentagram(1500,true,-0.1,150,CF(RootPart.Position),-15-3) | |
Head.Parent = nil | |
Head = nil | |
for i = 1, #q do | |
local child = q[i] | |
if child.ClassName == "Model" and child:FindFirstChild("Humanoid") then | |
child:BreakJoints() | |
end | |
end | |
local taunt = CreateSound("135009414", workspace, 10, 1) | |
local effect = IT("PitchShiftSoundEffect",taunt) | |
effect.Octave = 0.700 | |
ATTACK = true | |
end) | |
function ClawForce() | |
ATTACK = true | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-65)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(65)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
CreateSound("134012322", Effects, 2, 1) | |
for i=0, 1, 0.1 / Animation_Speed2 do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(8), RAD(-175)), 0.4 / Animation_Speed2) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-90), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(-8), RAD(175)), 0.4 / Animation_Speed2) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(90), RAD(0)), 0.4 / Animation_Speed2) | |
end | |
killnearest(hand1.Position,15,60) | |
killnearest(hand2.Position,15,60) | |
CreateWave(0,15,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black") | |
CreateWave(0,15,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black") | |
CreateWave(0,10,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black") | |
CreateWave(0,10,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black") | |
CreateWave(0,5,false,0,15,CF(hand1.Position) * CF(0,-1,0),0,"Really black") | |
CreateWave(0,5,false,0,15,CF(hand2.Position) * CF(0,-1,0),0,"Really black") | |
CreateSound("1225807237", Effects, 4, 1) | |
for i=0, 0.5, 0.1 / Animation_Speed2 do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed2) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(8), RAD(-175)), 0.4 / Animation_Speed2) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-90), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(15), RAD(-8), RAD(175)), 0.4 / Animation_Speed2) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed2) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(90), RAD(0)), 0.4 / Animation_Speed2) | |
end | |
ATTACK = false | |
end | |
function HellLeash() | |
ATTACK = true | |
Rooted = true | |
CreateSound("159882578", Effects, 10, 0.6) | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
turnto(Mouse.Hit.p,RootPart) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-85), RAD(0), RAD(-95)) * ANGLES(RAD(0),RAD(0),RAD(90)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-6), RAD(-5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-8+(-5 * COS(SINE / 30))), RAD(135)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-36), RAD(5 * COS(SINE / 30)), RAD(-35)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
CreateSound("910988901", Effects, 4, 1) | |
local sphere = IT("Part",Effects) | |
sphere.Shape = "Ball" | |
sphere.Size = VT(0,0,0) | |
sphere.Material = "Neon" | |
sphere.Color = C3(1,0,0) | |
sphere.CFrame = hand1.CFrame*CF(0,0,0) | |
sphere.Anchored = true | |
for i = 1, 25 do | |
Swait() | |
turnto(Mouse.Hit.p,RootPart) | |
sphere.CFrame = hand1.CFrame*CF(-3.5,-2-sphere.Size.Y/2,0) | |
sphere.Size = sphere.Size + VT(1,1,1) | |
sphere.Anchored = true | |
end | |
for i = 1, 100 do | |
turnto(Mouse.Hit.p,RootPart) | |
local RayData = Zap({Offset = 2, Size = sphere.Size.Y/5 ,MaxRange = 150 ,StartPosition = sphere.Position, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true}) | |
MagicSphere(5,15,RayData.RayPos,0,"Really red") | |
killnearest(RayData.RayPos,15,100) | |
Swait() | |
sphere.CFrame = hand1.CFrame*CF(-3.5,-2-sphere.Size.Y/2,0) | |
sphere.Size = sphere.Size - VT(0.25,0.25,0.25) | |
sphere.Anchored = true | |
RayData.LightningModel:remove() | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) | |
end | |
function SinnerWave() | |
ATTACK = true | |
Rooted = true | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
turnto(Mouse.Hit.p,RootPart) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-65)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(65)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-86), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
CreateSound("971126018", Effects, 6, 1) | |
local angle = -60 | |
for i = 1, 9 do | |
coroutine.resume(coroutine.create(function() | |
local RayHit, RayPos = RayCast(Torso.Position, Vector3.new(0, -15, 0), 10000, {Character}) | |
local SpawnPosition = RayPos | |
local floor = RayHit | |
local needcframe = RootPart.CFrame*ANGLES(RAD(0),RAD(angle),RAD(0)) | |
local LastPosition = RayPos | |
local Delay = 1 | |
for i = 1, 15 do | |
local RayHit, RayPos = RayCast(LastPosition, needcframe.lookVector, 10, {workspace}) | |
local End = RayPos | |
LastPosition = End | |
local locatepart = Instance.new("Part",Effects) | |
locatepart.Size = VT(0.5,0.5,0.5) | |
locatepart.Position = End | |
locatepart.CanCollide = false | |
locatepart.Anchored = true | |
locatepart.Name = "Oof" | |
locatepart.Transparency = 1 | |
if SpawnPosition then | |
CreateSound("971125740", locatepart.CFrame, 7, 1) | |
killnearest(End,15,50) | |
CreateWave(0,5,true,0.1,15,CF(locatepart.Position),0,"Really black") | |
CreateWave(0,2.5,true,-0.1,15,CF(locatepart.Position),0,"Really black") | |
CreateWave(0,2,true,0.1,15,CF(locatepart.Position),0,"Really black") | |
CreateWave(0,1.5,true,-0.1,15,CF(locatepart.Position),0,"Really black") | |
end | |
Swait(5) | |
game:GetService("Debris"):AddItem(locatepart, 5) | |
end | |
end)) | |
angle = angle + 15 | |
end | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(72)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-72)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-125)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(125)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
function FromTheDepths() | |
ATTACK = true | |
Rooted = true | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
turnto(Mouse.Hit.p,RootPart) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(72)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(145), RAD(0), RAD(-72)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-125)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(125)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-26), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
local pos = nil | |
repeat | |
Swait() | |
local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 150 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true}) | |
MagicSphere(2,15,RayData.RayPos,0,"Really red") | |
pos = RayData.RayPos | |
Swait() | |
RayData.LightningModel:remove() | |
turnto(Mouse.Hit.p,RootPart) | |
until KEYHOLD == false | |
coroutine.resume(coroutine.create(function() | |
local gate = IT("Part",Effects) | |
gate.Material = "Neon" | |
gate.Color = C3(1,0,0) | |
gate.CanCollide = false | |
gate.Anchored = true | |
gate.Transparency = 1 | |
gate.Size = VT(65,0.3,65) | |
local mesh = IT("CylinderMesh",gate) | |
gate.CFrame = CF(pos) | |
local soundeffect = IT("Sound",gate) | |
soundeffect.SoundId = "rbxassetid://487186990" | |
soundeffect.Looped = true | |
soundeffect.Volume = 0 | |
soundeffect.Playing = true | |
for i = 1, 10 do | |
soundeffect.Volume = i | |
gate.Transparency = gate.Transparency - 0.1 | |
Swait() | |
end | |
for i = 1, 150 do | |
Swait(5) | |
killnearest(gate.Position,35,-10) | |
end | |
for i = 1, 10 do | |
soundeffect.Volume = soundeffect.Volume - 1 | |
gate.Transparency = gate.Transparency + 0.1 | |
Swait() | |
end | |
gate:remove() | |
end)) | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
turnto(Mouse.Hit.p,RootPart) | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(52)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(-52)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-55)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(55)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.4 / Animation_Speed) | |
end | |
ATTACK = false | |
Rooted = false | |
end | |
function TheEnd() | |
local pos = RootPart.CFrame * CF(0,65,0).p | |
ATTACK = true | |
Rooted = true | |
for i=0, 2, 0.1 / Animation_Speed do | |
Swait() | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(52)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(165), RAD(0), RAD(-52)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(8), RAD(-55)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(-5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(45), RAD(-8), RAD(55)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-66), RAD(5), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), 0.4 / Animation_Speed) | |
end | |
if DEAD == false then | |
local sphere = IT("Part",Effects) | |
sphere.Shape = "Ball" | |
sphere.Size = VT(0,0,0) | |
sphere.Material = "Neon" | |
sphere.Color = C3(1,0,0) | |
sphere.CFrame = CF(pos) | |
sphere.Anchored = true | |
sphere.CanCollide = false | |
local maxdist1 = (hand1.Position-pos).magnitude | |
local maxdist2 = (hand2.Position-pos).magnitude | |
local soundeffect = IT("Sound",RootPart) | |
soundeffect.SoundId = "rbxassetid://379557765" | |
soundeffect.Looped = true | |
soundeffect.Volume = 10 | |
soundeffect.Playing = true | |
local hit = sphere.Touched:connect(function(hit) | |
if hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Anchored == false and hit.CanCollide == true then | |
hit:Destroy() | |
end | |
end) | |
CreateSwirl(0,1,true,0.5,300,sphere.CFrame,0,"Really red") | |
for i = 1, 250 do | |
--local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 1500 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true}) | |
local RayData2 = Zap({Offset = 2, Size = 0.2 ,MaxRange = maxdist1 ,StartPosition = hand1.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true}) | |
local RayData3 = Zap({Offset = 2, Size = 0.2 ,MaxRange = maxdist2 ,StartPosition = hand2.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true}) | |
Swait() | |
--RayData.LightningModel:remove() | |
RayData2.LightningModel:remove() | |
RayData3.LightningModel:remove() | |
sphere.Size = sphere.Size + VT(0.2,0.2,0.2) | |
end | |
soundeffect:remove() | |
Swait(50) | |
for i = 1, 5 do | |
CreateSound("821439273", sphere, 10, 0.7) | |
--local RayData = Zap({Offset = 2, Size = 0.2 ,MaxRange = 1500 ,StartPosition = CF(BottomPart.Position)*CF(0,-3,0).p, TargetPosition = Mouse.Hit.p, Character = Character, Color = "Really red", Individual = true}) | |
local RayData2 = Zap({Offset = 2, Size = 2 ,MaxRange = maxdist1 ,StartPosition = hand1.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true}) | |
local RayData3 = Zap({Offset = 2, Size = 2 ,MaxRange = maxdist2 ,StartPosition = hand2.Position, TargetPosition = pos, Character = Character, Color = "Really red", Individual = true}) | |
Swait() | |
sphere.Size = sphere.Size + VT(5,5,5) | |
Swait(15) | |
end | |
local laugh = CreateSound("160212892", Effects, 10, 0.7) | |
Swait(2) | |
repeat Swait() until laugh.Playing == false | |
local filter = IT("ColorCorrectionEffect",game.Lighting) | |
CreateSound("160745944", Effects, 10, 0.7) | |
for i = 1, 100 do | |
Swait() | |
MagicSphere(sphere.Size.Y/2,15,sphere.Position,0,"Really red") | |
MagicSphere(sphere.Size.Y/5,15,sphere.Position,0,"Really red") | |
MagicSphere(sphere.Size.Y/8,15,sphere.Position,0,"Really red") | |
sphere.Size = sphere.Size + VT(5,5,5) | |
filter.TintColor = C3(1,1-(i/100),1-(i/100)) | |
end | |
for i = 1, 100 do | |
Swait() | |
MagicSphere(sphere.Size.Y/2,15,sphere.Position,0,"Really red") | |
MagicSphere(sphere.Size.Y/5,15,sphere.Position,0,"Really red") | |
MagicSphere(sphere.Size.Y/8,15,sphere.Position,0,"Really red") | |
sphere.Size = sphere.Size + VT(5,5,5) | |
filter.Brightness = filter.Brightness - (1/100) | |
end | |
--killnearest(sphere.Position,1000,100) | |
sphere:remove() | |
Swait(50) | |
ATTACK = false | |
Rooted = false | |
for i = 1, 50 do | |
Swait() | |
filter.TintColor = C3(1,0+(i/50),0+(i/50)) | |
filter.Brightness = filter.Brightness + (1/50) | |
end | |
filter:remove() | |
end | |
end | |
Humanoid.HealthChanged:connect(function() | |
if Humanoid.Health == 0 then | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
if ATTACK == false then | |
if Humanoid.Health == 0 then | |
workspace:ClearAllChildren() | |
else | |
TheEnd() | |
end | |
end | |
end | |
end) | |
--//=================================\\ | |
--|| ASSIGN THINGS TO KEYS | |
--\\=================================// | |
function MouseDown(Mouse) | |
if ATTACK == false then | |
end | |
end | |
function MouseUp(Mouse) | |
HOLD = false | |
end | |
function KeyDown(Key) | |
KEYHOLD = true | |
if Key == "z" and ATTACK == false then | |
ClawForce() | |
end | |
if Key == "b" and ATTACK == false then | |
HellLeash() | |
end | |
if Key == "c" and ATTACK == false then | |
SinnerWave() | |
end | |
if Key == "v" and ATTACK == false then | |
FromTheDepths() | |
end | |
if Key == "x" and ATTACK == false then | |
TheEnd() | |
end | |
if Key == "t" and ATTACK == false then | |
CreateSound("907329893", Head, 10, 0.85) | |
end | |
end | |
function KeyUp(Key) | |
KEYHOLD = false | |
end | |
Mouse.Button1Down:connect(function(NEWKEY) | |
MouseDown(NEWKEY) | |
end) | |
Mouse.Button1Up:connect(function(NEWKEY) | |
MouseUp(NEWKEY) | |
end) | |
Mouse.KeyDown:connect(function(NEWKEY) | |
KeyDown(NEWKEY) | |
end) | |
Mouse.KeyUp:connect(function(NEWKEY) | |
KeyUp(NEWKEY) | |
end) | |
--//=================================\\ | |
--\\=================================// | |
function unanchor() | |
if UNANCHOR == true then | |
g = Character:GetChildren() | |
for i = 1, #g do | |
if g[i].ClassName == "Part" then | |
g[i].Anchored = false | |
end | |
end | |
end | |
end | |
--//=================================\\ | |
--|| WRAP THE WHOLE SCRIPT UP | |
--\\=================================// | |
Humanoid.Changed:connect(function(Jump) | |
if Jump == "Jump" and (Disable_Jump == true) then | |
Humanoid.Jump = false | |
end | |
end) | |
ANIMATE.Parent = nil | |
local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) | |
IDLEANIMATION:Play() | |
while true do | |
Swait() | |
SINE = SINE + CHANGE | |
local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude | |
local TORSOVERTICALVELOCITY = RootPart.Velocity.y | |
local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) | |
local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) | |
local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) | |
if ATTACK == false then | |
RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) | |
LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) | |
RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.3 * Player_Size - 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.2 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) | |
limbweld1a.C0 = Clerp(limbweld1a.C0, CF(5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(8+(5 * COS(SINE / 30))), RAD(-125)), 0.4 / Animation_Speed) | |
limbweld1b.C0 = Clerp(limbweld1b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-56), RAD(-5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed) | |
limbweld1c.C0 = Clerp(limbweld1c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2a.C0 = Clerp(limbweld2a.C0, CF(-5 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(-8+(-5 * COS(SINE / 30))), RAD(125)), 0.4 / Animation_Speed) | |
limbweld2b.C0 = Clerp(limbweld2b.C0, CF(0* Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-56), RAD(5 * COS(SINE / 30)), RAD(0)), 0.4 / Animation_Speed) | |
limbweld2c.C0 = Clerp(limbweld2c.C0, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed) | |
end | |
if #Effects2>0 then | |
for e=1,#Effects2 do | |
if Effects2[e]~=nil then | |
local Thing=Effects2[e] | |
if Thing~=nil then | |
local Part=Thing[1] | |
local Mode=Thing[2] | |
local Delay=Thing[3] | |
local IncX=Thing[4] | |
local IncY=Thing[5] | |
local IncZ=Thing[6] | |
local Part2=Thing[8] | |
if Thing[1].Transparency<=1 then | |
if Thing[2]=="Block1" then | |
Thing[1].CFrame=Thing[1].CFrame | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Cylinder" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Blood" then | |
Mesh=Thing[7] | |
Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) | |
Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Elec" then | |
Mesh=Thing[1].Mesh | |
Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
elseif Thing[2]=="Disappear" then | |
Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
end | |
else | |
Part.Parent=nil | |
table.remove(Effects2,e) | |
end | |
end | |
end | |
end | |
end | |
unanchor() | |
Humanoid.MaxHealth = "inf" | |
Humanoid.Health = "inf" | |
if Rooted == false then | |
Disable_Jump = false | |
Humanoid.WalkSpeed = Speed | |
elseif Rooted == true then | |
Disable_Jump = true | |
Humanoid.WalkSpeed = 0 | |
end | |
q = Character:GetChildren() | |
for u = 1, #q do | |
if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then | |
q[u]:remove() | |
elseif q[u].ClassName == "Shirt" then | |
q[u]:Destroy() | |
elseif q[u].ClassName == "Pants" then | |
q[u]:Destroy() | |
elseif q[u].ClassName == "CharacterMesh" then | |
q[u]:remove() | |
elseif q[u].ClassName == "ShirtGraphic" then | |
q[u]:remove() | |
elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then | |
q[u].Color = Color3.new(0/255, 0/255, 0/255) | |
end | |
end | |
if Head:FindFirstChild("face") then | |
Head.face:remove() | |
end | |
end | |
--//=================================\\ | |
--\\=================================// | |
--//====================================================\\-- | |
--|| END OF SCRIPT | |
--\\====================================================//-- | |
end) | |
Sindragon.MouseButton1Down:connect(function() | |
----------------- | |
--some sin thing-- | |
-------------------------------------------------------------- | |
--By CKbackup (Sugarie Saffron), credits to original creator-- | |
-------------------------------------------------------------- | |
Player=game:GetService("Players").LocalPlayer | |
Character=Player.Character | |
PlayerGui=Player.PlayerGui | |
Backpack=Player.Backpack | |
Torso=Character.Torso | |
Head=Character.Head | |
Humanoid=Character:FindFirstChildOfClass("Humanoid") | |
m=Instance.new('Model',Character) | |
LeftArm=Character["Left Arm"] | |
LeftLeg=Character["Left Leg"] | |
RightArm=Character["Right Arm"] | |
RightLeg=Character["Right Leg"] | |
LS=Torso["Left Shoulder"] | |
LH=Torso["Left Hip"] | |
RS=Torso["Right Shoulder"] | |
RH=Torso["Right Hip"] | |
Face = Head.face | |
Neck=Torso.Neck | |
it=Instance.new | |
attacktype=1 | |
vt=Vector3.new | |
cf=CFrame.new | |
euler=CFrame.fromEulerAnglesXYZ | |
angles=CFrame.Angles | |
cloaked=false | |
necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
RootPart=Character.HumanoidRootPart | |
RootJoint=RootPart.RootJoint | |
RootCF=euler(-1.57,0,3.14) | |
attack = false | |
attackdebounce = false | |
deb=false | |
equipped=true | |
hand=false | |
MMouse=nil | |
combo=0 | |
trispeed=1 | |
pathtrans=.7 | |
attackmode='none' | |
local idle=0 | |
local Anim="Idle" | |
local Effects={} | |
local gun=false | |
local shoot=false | |
player=nil | |
cloak=false | |
lightcolor='Royal purple' | |
local Color1=Torso.BrickColor | |
mouse=Player:GetMouse() | |
--save shoulders | |
RSH, LSH=nil, nil | |
--welds | |
RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
LH=Torso["Left Hip"] | |
RH=Torso["Right Hip"] | |
TorsoColor=BrickColor.new("Royal purple") | |
function NoOutline(Part) | |
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
end | |
player=Player | |
ch=Character | |
RSH=ch.Torso["Right Shoulder"] | |
LSH=ch.Torso["Left Shoulder"] | |
-- | |
RSH.Parent=nil | |
LSH.Parent=nil | |
-- | |
RW.Name="Right Shoulder" | |
RW.Part0=ch.Torso | |
RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
RW.C1=cf(0, 0.5, 0) | |
RW.Part1=ch["Right Arm"] | |
RW.Parent=ch.Torso | |
-- | |
LW.Name="Left Shoulder" | |
LW.Part0=ch.Torso | |
LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
LW.C1=cf(0, 0.5, 0) | |
LW.Part1=ch["Left Arm"] | |
LW.Parent=ch.Torso | |
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
local fp=it("Part") | |
fp.formFactor=formfactor | |
fp.Parent=parent | |
fp.Reflectance=reflectance | |
fp.Transparency=transparency | |
fp.CanCollide=false | |
fp.Locked=true | |
fp.BrickColor=brickcolor | |
fp.Name=name | |
fp.Size=size | |
fp.Position=Torso.Position | |
NoOutline(fp) | |
fp.Material="Neon" | |
fp:BreakJoints() | |
return fp | |
end | |
function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
local mesh=it(Mesh) | |
mesh.Parent=part | |
if Mesh=="SpecialMesh" then | |
mesh.MeshType=meshtype | |
if meshid~="nil" then | |
mesh.MeshId="rbxassetid://"..meshid | |
end | |
end | |
mesh.Offset=offset | |
mesh.Scale=scale | |
return mesh | |
end | |
function weld(parent,part0,part1,c0) | |
local weld=it("Weld") | |
weld.Parent=parent | |
weld.Part0=part0 | |
weld.Part1=part1 | |
weld.C0=c0 | |
return weld | |
end | |
local Color1=Torso.BrickColor | |
local bodvel=Instance.new("BodyVelocity") | |
local bg=Instance.new("BodyGyro") | |
ArtificialHB = Instance.new("BindableEvent", script) | |
ArtificialHB.Name = "Heartbeat" | |
script:WaitForChild("Heartbeat") | |
frame = 0.015 | |
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 | |
ArtificialHB.Event:wait(0) | |
else | |
for i = 0, num do | |
ArtificialHB.Event:wait(0) | |
end | |
end | |
end | |
function so(id,par,pit,vol) | |
local sou = Instance.new("Sound", par or workspace) | |
if par == Character then | |
sou.Parent = Torso | |
end | |
sou.Volume = vol | |
sou.Pitch = pit or 1 | |
sou.SoundId = "rbxassetid://" .. id | |
sou.PlayOnRemove = true | |
sou:Destroy() | |
end | |
function clerp(a,b,t) | |
local qa = {QuaternionFromCFrame(a)} | |
local qb = {QuaternionFromCFrame(b)} | |
local ax, ay, az = a.x, a.y, a.z | |
local bx, by, bz = b.x, b.y, b.z | |
local _t = 1-t | |
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
end | |
function QuaternionFromCFrame(cf) | |
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
local trace = m00 + m11 + m22 | |
if trace > 0 then | |
local s = math.sqrt(1 + trace) | |
local recip = 0.5/s | |
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
else | |
local i = 0 | |
if m11 > m00 then | |
i = 1 | |
end | |
if m22 > (i == 0 and m00 or m11) then | |
i = 2 | |
end | |
if i == 0 then | |
local s = math.sqrt(m00-m11-m22+1) | |
local recip = 0.5/s | |
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
elseif i == 1 then | |
local s = math.sqrt(m11-m22-m00+1) | |
local recip = 0.5/s | |
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
elseif i == 2 then | |
local s = math.sqrt(m22-m00-m11+1) | |
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
end | |
end | |
end | |
function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
local xs, ys, zs = x + x, y + y, z + z | |
local wx, wy, wz = w*xs, w*ys, w*zs | |
local xx = x*xs | |
local xy = x*ys | |
local xz = x*zs | |
local yy = y*ys | |
local yz = y*zs | |
local zz = z*zs | |
return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
end | |
function QuaternionSlerp(a, b, t) | |
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
local startInterp, finishInterp; | |
if cosTheta >= 0.0001 then | |
if (1 - cosTheta) > 0.0001 then | |
local theta = math.acos(cosTheta) | |
local invSinTheta = 1/math.sin(theta) | |
startInterp = math.sin((1-t)*theta)*invSinTheta | |
finishInterp = math.sin(t*theta)*invSinTheta | |
else | |
startInterp = 1-t | |
finishInterp = t | |
end | |
else | |
if (1+cosTheta) > 0.0001 then | |
local theta = math.acos(-cosTheta) | |
local invSinTheta = 1/math.sin(theta) | |
startInterp = math.sin((t-1)*theta)*invSinTheta | |
finishInterp = math.sin(t*theta)*invSinTheta | |
else | |
startInterp = t-1 | |
finishInterp = t | |
end | |
end | |
return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
end | |
function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
end | |
function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe | |
local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://4770583",vt(0,0,0),vt(x1,y1,z1)) | |
--rbxassetid://4770560 | |
game:GetService("Debris"):AddItem(prt,2) | |
CF=prt.CFrame | |
coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
for i=0,1,0.2 do | |
swait() | |
Part.CFrame=CF*cf(0,0,-0.4) | |
end | |
for i=0,1,delay do | |
swait() | |
--Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
Mesh.Scale=Mesh.Scale | |
end | |
for i=0,1,0.1 do | |
swait() | |
Part.Transparency=i | |
end | |
Part:Destroy() | |
end),prt,msh,CF) | |
end | |
function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe | |
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,5) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame*euler(math.random(0,360),math.random(0,360),math.random(0,360)) | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=false | |
prt.CFrame=cframe | |
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
local wld=weld(prt,prt,Parent,cframe) | |
game:GetService("Debris"):AddItem(prt,5) | |
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
for i=0,1,delay do | |
swait() | |
Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh,wld) | |
end | |
function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Material = "Neon" | |
prt.Anchored=false | |
prt.CFrame=cframe | |
msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
game:GetService("Debris"):AddItem(prt,5) | |
coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
for i=0,1,delay do | |
swait() | |
Weld.C0=euler(i*20,0,0) | |
--Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh,wld) | |
end | |
function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Material = "Neon" | |
prt.Anchored=true | |
prt.CFrame=cframe | |
local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt2.Anchored=true | |
prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
game:GetService("Debris"):AddItem(prt2,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,0.1 do | |
swait() | |
Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
end | |
Part:Destroy() | |
end),prt2,msh2) | |
end | |
for i=0,1,delay*2 do | |
swait() | |
Part.CFrame=Part.CFrame | |
Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe | |
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe*euler(x2,y2,z2) | |
--"rbxassetid://168892465" | |
local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://3270017",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,0.03 do | |
swait() | |
Part.CFrame=Part.CFrame | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
CF=Part.CFrame | |
Numbb=0 | |
randnumb=math.random()/10 | |
rand1=math.random()/10 | |
for i=0,1,rand1 do | |
swait() | |
CF=CF*cf(0,math.random()/2,0) | |
--Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
Part.CFrame=CF*euler(Numbb,0,0) | |
Part.Transparency=i | |
Numbb=Numbb+randnumb | |
end | |
Part:Destroy() | |
end),prt,CF,Numbb,randnumb) | |
end | |
function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe | |
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://1051557",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,5) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe | |
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Anchored=true | |
prt.CFrame=cframe*cf(x,y,z) | |
msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,5) | |
coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
local num=math.random() | |
local num2=math.random(-3,2)+math.random() | |
local numm=0 | |
for i=0,1,delay*2 do | |
swait() | |
Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
Part.Transparency=i | |
numm=numm+0.01 | |
end | |
Part:Destroy() | |
Mesh:Destroy() | |
end),prt,msh,x,y,z) | |
end | |
function puncheff(par) | |
so(386946017,par,math.random(80,120)/100,1) | |
MagicCircle(BrickColor.new("Alder"), par.CFrame, 1, 1, 1, 1, 1, 1, 0.05) | |
end | |
Damagefunc=function(hit,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
if hit.Parent==nil then | |
return | |
end | |
local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")) | |
h=hit.Parent:FindFirstChildOfClass("Humanoid") | |
for _,v in pairs(hit.Parent:children()) do | |
if v:IsA("Humanoid") then | |
h=v | |
end | |
end | |
if hit.Parent.Parent:FindFirstChild("Head")~=nil then | |
h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid") | |
end | |
if hit.Parent.className=="Hat" then | |
hit=hit.Parent.Parent:findFirstChild("Head") | |
end | |
if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then | |
if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
--[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
return | |
end]] | |
-- hs(hit,1.2) | |
c=Instance.new("ObjectValue") | |
c.Name="creator" | |
c.Value=game:service("Players").LocalPlayer | |
c.Parent=h | |
game:GetService("Debris"):AddItem(c,.5) | |
Damage=math.random(minim,maxim) | |
-- h:TakeDamage(Damage) | |
blocked=false | |
block=hit.Parent:findFirstChild("Block") | |
if block~=nil then | |
print(block.className) | |
if block.className=="NumberValue" then | |
if block.Value>0 then | |
blocked=true | |
if decreaseblock==nil then | |
block.Value=block.Value-1 | |
end | |
end | |
end | |
if block.className=="IntValue" then | |
if block.Value>0 then | |
blocked=true | |
if decreaseblock~=nil then | |
block.Value=block.Value-1 | |
end | |
end | |
end | |
end | |
if efft == "Blunt" then | |
puncheff(hit) | |
end | |
h.MaxHealth = 100 | |
h.Health=h.Health-Damage | |
showDamage(hit.Parent,Damage,.5,TorsoColor) | |
if Type=="Knockdown" then | |
local hum=hit.Parent:FindFirstChildOfClass("Humanoid") | |
hum.PlatformStand=true | |
coroutine.resume(coroutine.create(function(HHumanoid) | |
swait(30) | |
HHumanoid.PlatformStand=false | |
end),hum) | |
local bodvol=Instance.new("BodyVelocity") | |
bodvol.velocity=RootPart.CFrame.lookVector*knockback | |
bodvol.P=50000 | |
bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000 | |
bodvol.Parent=torsy | |
torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0) | |
game:GetService("Debris"):AddItem(bodvol,.5) | |
elseif Type=="Normal" then | |
vp=Instance.new("BodyVelocity") | |
vp.P=500 | |
vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
vp.velocity=Character.Torso.CFrame.lookVector*knockback | |
-- if KnockbackType==1 then | |
-- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
-- elseif KnockbackType==2 then | |
-- vp.velocity=Property.CFrame.lookVector*knockback | |
-- end | |
if knockback>0 then | |
vp.Parent=torsy | |
end | |
game:GetService("Debris"):AddItem(vp,.5) | |
elseif Type=="Up" then | |
local bodyVelocity=Instance.new("BodyVelocity") | |
bodyVelocity.velocity=vt(0,10,0) | |
bodyVelocity.P=1000 | |
bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
bodyVelocity.Parent=hit | |
game:GetService("Debris"):AddItem(bodyVelocity,1) | |
rl=Instance.new("BodyAngularVelocity") | |
rl.P=3000 | |
rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
rl.Parent=hit | |
game:GetService("Debris"):AddItem(rl,.5) | |
elseif Type=="Snare" then | |
bp=Instance.new("BodyPosition") | |
bp.P=2000 | |
bp.D=100 | |
bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
bp.position=torsy.Position | |
bp.Parent=torsy | |
game:GetService("Debris"):AddItem(bp,1) | |
elseif Type=="Target" then | |
if Targetting==false then | |
ZTarget=torsy | |
coroutine.resume(coroutine.create(function(Part) | |
so("15666462",Part,1,1.5) | |
swait(5) | |
so("15666462",Part,1,1.5) | |
end),ZTarget) | |
TargHum=ZTarget.Parent:FindFirstChildOfClass("Humanoid") | |
targetgui=Instance.new("BillboardGui") | |
targetgui.Parent=ZTarget | |
targetgui.Size=UDim2.new(10,100,10,100) | |
targ=Instance.new("ImageLabel") | |
targ.Parent=targetgui | |
targ.BackgroundTransparency=1 | |
targ.Image="rbxassetid://4834067" | |
targ.Size=UDim2.new(1,0,1,0) | |
cam.CameraType="Scriptable" | |
cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
Targetting=true | |
RocketTarget=ZTarget | |
for i=1,Property do | |
--while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
swait() | |
end | |
--workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
end | |
Targetting=false | |
RocketTarget=nil | |
targetgui:Destroy() | |
cam.CameraType="Custom" | |
end | |
end | |
debounce=Instance.new("BoolValue") | |
debounce.Name="DebounceHit" | |
debounce.Parent=hit.Parent | |
debounce.Value=true | |
game:GetService("Debris"):AddItem(debounce,Delay) | |
c=Instance.new("ObjectValue") | |
c.Name="creator" | |
c.Value=Player | |
c.Parent=h | |
game:GetService("Debris"):AddItem(c,.5) | |
CRIT=false | |
hitDeb=true | |
AttackPos=6 | |
end | |
end | |
function showDamage(Dude, Text, Time, Color) | |
coroutine.resume(coroutine.create(function() | |
local naeeym2 = Instance.new("BillboardGui",Dude) | |
naeeym2.Size = UDim2.new(0,100,0,40) | |
naeeym2.StudsOffset = Vector3.new(0,3,0) | |
naeeym2.Adornee = Dude.Head | |
naeeym2.Name = "TalkingBillBoard" | |
local tecks2 = Instance.new("TextLabel",naeeym2) | |
tecks2.BackgroundTransparency = 1 | |
tecks2.BorderSizePixel = 0 | |
tecks2.Text = Text | |
tecks2.Font = "Fantasy" | |
tecks2.TextSize = 24 | |
tecks2.TextStrokeTransparency = 0 | |
tecks2.TextColor3 = Color3.new(.8,0,1) | |
tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
tecks2.Size = UDim2.new(1,0,0.5,0) | |
swait(10) | |
for i = 0,1,.05 do | |
swait() | |
tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0) | |
tecks2.TextStrokeTransparency = i | |
tecks2.TextTransparency = i | |
end | |
naeeym2:Destroy() | |
end)) | |
end | |
Player=game:GetService('Players').LocalPlayer | |
Character=Player.Character | |
Mouse=Player:GetMouse() | |
m=Instance.new('Model',Character) | |
local function weldBetween(a, b) | |
local weldd = Instance.new("ManualWeld") | |
weldd.Part0 = a | |
weldd.Part1 = b | |
weldd.C0 = CFrame.new() | |
weldd.C1 = b.CFrame:inverse() * a.CFrame | |
weldd.Parent = a | |
return weldd | |
end | |
it=Instance.new | |
function nooutline(part) | |
part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
end | |
function parta(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
local fp=it("Part") | |
fp.formFactor=formfactor | |
fp.Parent=parent | |
fp.Reflectance=reflectance | |
fp.Transparency=transparency | |
fp.CanCollide=false | |
fp.Locked=true | |
fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
fp.Name=name | |
fp.Size=size | |
fp.Position=Character.Torso.Position | |
nooutline(fp) | |
fp.Material=material | |
fp:BreakJoints() | |
return fp | |
end | |
function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
local mesh=it(Mesh) | |
mesh.Parent=part | |
if Mesh=="SpecialMesh" then | |
mesh.MeshType=meshtype | |
mesh.MeshId=meshid | |
end | |
mesh.Offset=offset | |
mesh.Scale=scale | |
return mesh | |
end | |
function weld(parent,part0,part1,c0,c1) | |
local weld=it("Weld") | |
weld.Parent=parent | |
weld.Part0=part0 | |
weld.Part1=part1 | |
weld.C0=c0 | |
weld.C1=c1 | |
return weld | |
end | |
local modelzorz=Instance.new("Model") | |
modelzorz.Parent=Character | |
modelzorz.Name="Claw1" | |
Handle=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1)) | |
Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
Gear=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
Gearweld=weld(modelzorz,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
local modelzorz2=Instance.new("Model") | |
modelzorz2.Parent=Character | |
modelzorz2.Name="Claw2" | |
Handle2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1)) | |
Handle2weld=weld(modelzorz2,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
Gear2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
Gear2weld=weld(modelzorz2,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
local modelzorz3=Instance.new("Model") | |
modelzorz3.Parent=Character | |
modelzorz3.Name="Eye" | |
handle=parta(Enum.FormFactor.Custom,modelzorz3,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Handle",Vector3.new(1,6,6)) | |
handleweld=weld(modelzorz3,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
New = function(Object, Parent, Name, Data) | |
local Object = Instance.new(Object) | |
for Index, Value in pairs(Data or {}) do | |
Object[Index] = Value | |
end | |
Object.Parent = Parent | |
Object.Name = Name | |
return Object | |
end | |
Gear2 = New("Part",modelzorz2,"Gear2",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(68.5, 2.5, -42.5, 0, 0, -1, -1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",Gear2,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92052865",MeshType = Enum.MeshType.FileMesh,}) | |
Weld = New("ManualWeld",Gear2,"Weld",{Part0 = Gear2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),}) | |
Gear = New("Part",modelzorz,"Gear",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(78.5, 2.5, -42.5, 0, 0, 1, 1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",Gear,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92053026",MeshType = Enum.MeshType.FileMesh,}) | |
Weld = New("ManualWeld",Gear,"Weld",{Part0 = Gear,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),}) | |
DragonHead = New("Part",modelzorz3,"DragonHead",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(72.5999985, 5.5999999, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",DragonHead,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.FileMesh,}) | |
Weld = New("ManualWeld",DragonHead,"Weld",{Part0 = DragonHead,Part1 = handle,C1 = CFrame.new(-4, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),}) | |
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,}) | |
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),}) | |
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),}) | |
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,}) | |
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),}) | |
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,}) | |
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),}) | |
EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,}) | |
Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),}) | |
local moosick = it("Sound",Character) | |
moosick.SoundId = "rbxassetid://608726256" | |
--142653441, 175067863 | |
moosick.Name = "moosick" | |
moosick.Looped = true | |
moosick.Volume = 1 | |
anim = Character:findFirstChild("Animate") | |
if anim then | |
anim:Destroy() | |
end | |
local pemit = Instance.new("ParticleEmitter") | |
pemit.Color = ColorSequence.new(Color3.new(.5,0,1)) | |
pemit.Lifetime = NumberRange.new(1) | |
pemit.Acceleration = Vector3.new(0,20,0) | |
pemit.EmissionDirection = "Front" | |
pemit.Size = NumberSequence.new(1,0) | |
pemit.Speed = NumberRange.new(10) | |
pemit.LightEmission = 1 | |
pemit.Rate = 500 | |
pemit.Rotation = NumberRange.new(0,360) | |
pemit.RotSpeed = NumberRange.new(150) | |
pemit.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
pemit.Enabled = false | |
local pe1 = pemit:Clone() | |
pe1.Parent = Handle | |
local pe2 = pemit:Clone() | |
pe2.Parent = Handle2 | |
local pe3 = pemit:Clone() | |
pe3.Parent = handle | |
pe3.EmissionDirection = "Right" | |
pe3.Rate = 1000 | |
local light = Instance.new("PointLight", Character.Torso) | |
light.Color = TorsoColor.Color | |
light.Brightness = 5 | |
light.Range = 15 | |
light.Enabled = false | |
local Footsteps = it("Sound",Character.Torso) | |
Footsteps.SoundId = "rbxassetid://142665235" | |
Footsteps.Looped = true | |
Footsteps.Pitch = 0.8 | |
Footsteps.Volume = 0.3 | |
local Footsteps2 = it("Sound",Character.Torso) | |
Footsteps2.SoundId = "rbxassetid://142665235" | |
Footsteps2.Looped = true | |
Footsteps2.Pitch = 1 | |
Footsteps2.Volume = 0.4 | |
function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
prt.Material = Enum.Material.Neon | |
prt.Anchored=true | |
prt.CFrame=cframe | |
local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
game:GetService("Debris"):AddItem(prt,2) | |
coroutine.resume(coroutine.create(function(Part,Mesh) | |
for i=0,1,delay do | |
swait() | |
Part.CFrame=Part.CFrame | |
Part.Transparency=i | |
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
end | |
Part:Destroy() | |
end),prt,msh) | |
end | |
TrailDeb = false | |
function equipanim() | |
attack=true | |
Gear.Transparency = 1 | |
Gear2.Transparency = 1 | |
for i,v in pairs(modelzorz3:children()) do | |
if v:IsA("BasePart") then v.Transparency = 1 end | |
end | |
Humanoid.WalkSpeed = 0 | |
moosick:Play() | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2) | |
end | |
swait(60) | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2) | |
end | |
so(136007472,Torso,1,1) | |
swait(30) | |
for i=0,30 do | |
swait(1) | |
MagicRing(BrickColor.new("Alder"), Gear.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0) | |
MagicRing(BrickColor.new("Alder"), Gear2.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0) | |
MagicRing(BrickColor.new("Alder"), DragonHead.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))), 60, 60, 6, 1, 1, 1, -3, -3, 0) | |
end | |
swait(180) | |
so(233096557,Torso,1,5) | |
so(233091205,Torso,1,5) | |
so(150829983,DragonHead,.9,5) | |
MagicCircle(BrickColor.new("Alder"), Gear.CFrame, 10, 10, 10, 1, 1, 1, 0.01) | |
MagicCircle(BrickColor.new("Alder"), Gear2.CFrame, 10, 10, 10, 1, 1, 1, 0.01) | |
MagicCircle(BrickColor.new("Alder"), DragonHead.CFrame, 20, 20, 20, 1, 1, 1, 0.01) | |
Gear.Transparency = 0 | |
Gear2.Transparency = 0 | |
for i,v in pairs(modelzorz3:children()) do | |
if v:IsA("BasePart") and v ~= handle then v.Transparency = 0 end | |
end | |
pe1.Enabled = true | |
pe2.Enabled = true | |
pe3.Enabled = true | |
light.Enabled = true | |
for a=1,300 do | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0)) | |
swait() | |
end | |
attack = false | |
end | |
function attackone() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
so("231917758",Handle,1,.9) | |
so("159972643",Torso,1,1) | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function attacktwo() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle2.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle2.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
so("231917758",Handle2,1,.8) | |
so("159972627",Torso,1,1) | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function attackthree() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,30,"Up",RootPart,.2,1) end) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
so("231917758",Handle,1,1) | |
so("159882477",Torso,1,1) | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function attackfour() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle2.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle2.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
end | |
if anim then | |
anim.Disabled=true | |
end | |
so("231917758",Torso,1,0.7) | |
so("159882584",Torso,1,1) | |
for i=0,1,0.04 do | |
swait() | |
Torso.Velocity=RootPart.CFrame.lookVector*50 | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(3,4,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,4,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
con2:disconnect() | |
if anim then | |
anim.Disabled=false | |
end | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
local prt = parta(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
coroutine.resume(coroutine.create(function() | |
for i = 0, 1, 0.05 do | |
swait() | |
prt.Transparency = i | |
msh.Scale = msh.Scale + vt(x2, y2, z2) | |
end | |
prt.Parent = nil | |
end)) | |
end | |
function MagniDamage(par,efft,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
for _, c in pairs(workspace:GetDescendants()) do | |
local hum = c:FindFirstChildOfClass("Humanoid") | |
if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then | |
local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso")) | |
if head ~= nil then | |
local targ = head.Position - par.Position | |
local mag = targ.magnitude | |
if magni >= mag and c.Name ~= Player.Name then | |
Damagefunc(head,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
end | |
end | |
end | |
end | |
end | |
function MagicCircle4(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
prt.Anchored = true | |
prt.CFrame = cframe | |
local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
game:GetService("Debris"):AddItem(prt, 2) | |
coroutine.resume(coroutine.create(function(Part, Mesh) | |
for i = 0, 1, delay do | |
swait() | |
Part.CFrame = Part.CFrame | |
Part.Transparency = i | |
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
end | |
Part.Parent = nil | |
end), prt, msh) | |
end | |
function smashdown() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle2.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle2.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end) | |
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,1,0)*euler(math.rad(180),0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,1,0)*euler(math.rad(180),0,0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,30,10)*angles(math.rad(35),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,30,10)*angles(math.rad(35),math.rad(0),math.rad(90)),.2) | |
end | |
Humanoid.WalkSpeed = 0 | |
so("231917758",Torso,1,0.7) | |
so("159882584",Torso,1,1) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(90),0,0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(90)),.2) | |
end | |
con1:disconnect() | |
con2:disconnect() | |
attack=false | |
if anim then | |
anim.Disabled=false | |
end | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
local ref = it("Part",Character) | |
ref.Size = Vector3.new(0,0,0) | |
ref.Anchored = true | |
ref.CanCollide = false | |
ref.Transparency = 1 | |
local looky = RootPart.CFrame | |
for i=1,10 do | |
ref.CFrame = looky*CFrame.new(0,-2.5,-10*i) | |
BlastEffect(BrickColor.new("White"),ref.CFrame,1,.2,1,1,0,1) | |
BlastEffect(BrickColor.new("White"),ref.CFrame,5,1,.5,.1,2,.1) | |
MagniDamage(ref,"",10,30,35,50,"Knockdown",RootPart,.2,1) | |
so(178452221,ref,.6,1) | |
so(192410084,ref,1,1) | |
swait(5) | |
end | |
ref:Destroy() | |
swait(60) | |
--dmgstop() | |
end | |
function mudads() | |
attack=true | |
so("624164065",Torso,1,3) | |
print("SUNLIGHT YELLO OVRDREV") | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle2.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle2.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end) | |
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end) | |
Humanoid.WalkSpeed = 16 | |
so("159882584",Torso,1,1) | |
for i=0,1,0.08 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,1,0)*euler(math.rad(90),math.rad(-90),0),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,1,0)*euler(math.rad(90),math.rad(90),0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
for a = 1,20 do | |
so("231917758",Torso,math.random(6,10)/10,1) | |
for i=0,1,0.2 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,1,-2)*euler(math.rad(90),math.rad(-90),0),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,1,2)*euler(math.rad(90),math.rad(90),0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
so("231917758",Torso,math.random(6,10)/10,1) | |
for i=0,1,0.2 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,1,2)*euler(math.rad(90),math.rad(-90),0),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,1,-2)*euler(math.rad(90),math.rad(90),0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
end | |
con1:disconnect() | |
con2:disconnect() | |
--dmgstop() | |
attack=false | |
if anim then | |
anim.Disabled=false | |
end | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function laser() | |
attack = true | |
Humanoid.WalkSpeed = 16 | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2) | |
end | |
local blmod = Instance.new("Model",Character) | |
for a = 1, 5 do | |
local blast2 = it("Part",blmod) | |
blast2.Size = vt(1,1,1) | |
blast2.BrickColor = TorsoColor | |
blast2.Material = "Neon" | |
blast2.Anchored = false | |
blast2.CanCollide = false | |
local blwe = Instance.new("Weld",blast2) | |
blwe.Part0 = DragonHead | |
blwe.Part1 = blast2 | |
blwe.C0 = CFrame.new(0, 0, -5) | |
blwe.C1 = CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
local m = Instance.new("BlockMesh", blast2) | |
m.Scale = Vector3.new(6,6,6) | |
coroutine.resume(coroutine.create(function() | |
for i = 0,1,.1 do | |
blast2.Transparency = 1.2-i | |
swait() | |
blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
end | |
while blast2 do | |
swait() | |
blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)) | |
end | |
end)) | |
end | |
so(864314263,DragonHead,1,5) | |
for i=1,150 do | |
MagicRing(BrickColor.new("Alder"), DragonHead.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0) | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0)) | |
swait() | |
end | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(math.random(-1,1),math.random(5,7),math.random(6,8))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2) | |
end | |
so(162246701,DragonHead,1,5) | |
local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5) | |
local sannd = Instance.new("Sound",Torso) | |
sannd.SoundId = "rbxassetid://162246683" | |
sannd.Looped = true | |
sannd.Volume = 1 | |
sannd:Play() | |
local hitcf = mouse.Hit | |
local ref = it("Part",Character) | |
ref.Size = Vector3.new(0,0,0) | |
ref.Anchored = true | |
ref.CanCollide = false | |
ref.Transparency = 1 | |
local blast = it("Part",blmod) | |
blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude) | |
blast.BrickColor = TorsoColor | |
blast.Material = "Neon" | |
blast.Anchored = true | |
blast.CanCollide = false | |
blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p) | |
local m = Instance.new("BlockMesh", blast) | |
m.Scale = Vector3.new(5,5,1) | |
for a = 1, 200 do | |
local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5) | |
local hitcf = mouse.Hit | |
ref.CFrame = hitcf | |
blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude) | |
blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p) | |
MagicBlock(TorsoColor, hitcf, 1, 1, 1, 6, 6, 6, 0.1) | |
MagniDamage(ref,"",10,5,7,0,"Knockdown",RootPart,.05,1) | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-5),math.rad(0),math.rad(0)) | |
--handleweld.C0 = cf(math.random(-2,2),math.random(4,8),math.random(5,9))*angles(math.rad(-5),math.rad(0),math.rad(0)) | |
swait(1) | |
end | |
for a = 0,1,.05 do | |
sannd.Volume = a | |
for _, b in pairs(blmod:GetChildren()) do | |
b.Transparency = a | |
end | |
swait() | |
end | |
sannd:Destroy() | |
blmod:Destroy() | |
attack = false | |
end | |
function yummy() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
local grab | |
local torsy | |
local ghum | |
local soaa | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
con1=Gear.Touched:connect(function(hit) | |
if grab == nil and hit.Parent ~= Character then | |
torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")) | |
ghum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if ghum ~= nil and torsy ~= nil then | |
grab=hit.Parent | |
so(386946017,hit,1,1) | |
local soaa = it("Sound",grab.Head) | |
soaa.Volume = 1 | |
local cho = math.random(1,5) | |
if cho == 1 then | |
soaa.SoundId = "rbxassetid://111896685" | |
elseif cho == 2 then | |
soaa.SoundId = "rbxassetid://535528169" | |
elseif cho == 3 then | |
soaa.SoundId = "rbxassetid://1080363252" | |
elseif cho == 4 then | |
soaa.SoundId = "rbxassetid://147758746" | |
elseif cho == 5 then | |
soaa.SoundId = "rbxassetid://626777433" | |
soaa.Volume = .2 | |
soaa.TimePosition = 1 | |
end | |
soaa:Play() | |
end | |
end | |
end) | |
so("231917758",Handle,1,.9) | |
so("159972643",Torso,1,1) | |
for i=0,3,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
if grab ~= nil then | |
Humanoid.WalkSpeed = 0 | |
con1:disconnect() | |
for i=0,3,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(0,16,5)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
grab:BreakJoints() | |
for i,v in pairs(grab:children()) do | |
if v:IsA("BasePart") then | |
game:service'Debris':AddItem(v,.01) | |
end | |
end | |
local ref = it("Part",Character) | |
ref.Size = Vector3.new(0,0,0) | |
ref.Anchored = true | |
ref.CanCollide = false | |
ref.Transparency = 1 | |
ref.CFrame = Gear.CFrame | |
so(206082327,Gear,1,3) | |
local partasdeff = Instance.new("ParticleEmitter",ref) | |
partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
partasdeff.LightEmission = .1 | |
partasdeff.Size = NumberSequence.new(0.2) | |
partasdeff.Texture = "rbxassetid://771221224" | |
aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
partasdeff.Transparency = bbb | |
partasdeff.Size = aaa | |
partasdeff.ZOffset = .9 | |
partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
partasdeff.LockedToPart = false | |
partasdeff.EmissionDirection = "Back" | |
partasdeff.Lifetime = NumberRange.new(1, 2) | |
partasdeff.Rate = 1000 | |
partasdeff.Rotation = NumberRange.new(-100, 100) | |
partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
partasdeff.Speed = NumberRange.new(6) | |
partasdeff.VelocitySpread = 10000 | |
partasdeff.Enabled=false | |
partasdeff:Emit(70) | |
game:service'Debris':AddItem(ref,5) | |
swait(90) | |
so(2767085,DragonHead,1,1) | |
swait(150) | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
so(133966572,DragonHead,.8,2) | |
for i=1,15 do | |
for a=1,5 do | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)) | |
swait() | |
end | |
local bo = it("Part",Character) | |
bo.Size = vt(.2,.6,1) | |
bo.BrickColor = BrickColor.new("Persimmon") | |
bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
bo.Velocity = RootPart.CFrame.lookVector*40 | |
local m = it("SpecialMesh",bo) | |
m.MeshId = "rbxassetid://305829157" | |
m.Scale = vt(math.random(9,13)/10,math.random(9,13)/10,math.random(9,13)/10) | |
coroutine.wrap(function() | |
swait(300) | |
for a=0,1,.05 do | |
swait() | |
bo.Transparency = a | |
end | |
bo:Destroy() | |
end)() | |
end | |
for a=1,5 do | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)) | |
swait() | |
end | |
local bo = it("Part",Character) | |
bo.Size = vt(1,1,1) | |
bo.BrickColor = BrickColor.new("Persimmon") | |
bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
bo.Velocity = RootPart.CFrame.lookVector*40 | |
local m = it("SpecialMesh",bo) | |
m.MeshId = "rbxassetid://4770583" | |
m.Scale = vt(3,3,3) | |
coroutine.wrap(function() | |
swait(300) | |
for a=0,1,.05 do | |
swait() | |
bo.Transparency = a | |
end | |
bo:Destroy() | |
end)() | |
swait(60) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function smek() | |
attack=true | |
if TrailDeb == false then | |
TrailDeb = true | |
end | |
coroutine.wrap(function() | |
local Old = Handle.CFrame.p | |
while true do swait() | |
if not TrailDeb then break end | |
local New = Handle.CFrame.p | |
local Mag =(Old -New).magnitude | |
local Dis =(Old +New)/2 | |
local Trail = Instance.new("Part",Character) | |
Trail.Material = "Neon" | |
Trail.Anchored = true | |
Trail.CanCollide = false | |
Trail.BrickColor = TorsoColor | |
Trail.Size = Vector3.new(0.2,Mag,0.2) | |
Trail.TopSurface = 0 | |
Trail.BottomSurface = 0 | |
Trail.formFactor = "Custom" | |
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
local ms = Instance.new("BlockMesh",Trail) | |
ms.Scale = Vector3.new(1,1,1) | |
local TM = Instance.new("CylinderMesh",Trail) | |
TM.Scale = Vector3.new(20,1,20) | |
Old = New | |
coroutine.wrap(function() | |
for i = 1,0,-0.1 do | |
swait() | |
TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
end | |
Trail:remove() | |
end)() | |
coroutine.wrap(function() | |
for i = 1,10 do | |
swait() | |
Trail.Transparency = Trail.Transparency +0.1 | |
end end)()end end)() | |
local grab | |
local torsy | |
local ghum | |
local soaa | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
end | |
con1=Gear.Touched:connect(function(hit) | |
if grab == nil and hit.Parent ~= Character then | |
torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso")) | |
ghum = hit.Parent:FindFirstChildOfClass("Humanoid") | |
if ghum ~= nil and torsy ~= nil then | |
grab=hit.Parent | |
so(386946017,hit,1,1) | |
soaa = it("Sound",grab.Head) | |
soaa.Volume = 1 | |
local cho = math.random(1,5) | |
if cho == 1 then | |
soaa.SoundId = "rbxassetid://111896685" | |
elseif cho == 2 then | |
soaa.SoundId = "rbxassetid://535528169" | |
elseif cho == 3 then | |
soaa.SoundId = "rbxassetid://1080363252" | |
elseif cho == 4 then | |
soaa.SoundId = "rbxassetid://147758746" | |
elseif cho == 5 then | |
soaa.SoundId = "rbxassetid://626777433" | |
soaa.Volume = .2 | |
soaa.TimePosition = 1 | |
end | |
game:service'Debris':AddItem(soaa,8) | |
soaa:Play() | |
end | |
end | |
end) | |
so("231917758",Handle,1,.9) | |
so("159972643",Torso,1,1) | |
for i=0,3,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-10)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
if grab ~= nil then | |
Humanoid.WalkSpeed = 0 | |
con1:disconnect() | |
for i=0,3,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
for a=1,5 do | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,-5,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
so(386946017,torsy,1,1) | |
BlastEffect(BrickColor.new("White"),CFrame.new(torsy.Position),.5,.5,.5,.5,.2,.5) | |
if ghum.Health > 10 then | |
Damagefunc(torsy,"",8,10,0,"Normal",RootPart,0,1) | |
end | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
end | |
for i=1,30 do | |
swait() | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
for i=0,5,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,15,10)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
for i=0,1,0.1 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
if torsy~=nil then | |
ghum.PlatformStand = true | |
torsy.CFrame = Gear.CFrame | |
end | |
end | |
torsy.Velocity = RootPart.CFrame.lookVector*100 | |
coroutine.wrap(function() | |
local par,pos | |
repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par | |
Damagefunc(torsy,"",15,20,0,"Normal",RootPart,0,1) | |
BlastEffect(BrickColor.new("White"),CFrame.new(pos),0,0,0,.5,.2,.5) | |
so(260430079,torsy,1,5) | |
swait(60) | |
ghum.PlatformStand = false | |
end)() | |
swait(60) | |
end | |
--dmgstop() | |
attack=false | |
con1:disconnect() | |
if TrailDeb == true then | |
TrailDeb = false | |
end | |
end | |
function rawr() | |
attack=true | |
Humanoid.WalkSpeed = 0 | |
for i=0,1,0.05 do | |
swait() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3) | |
RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2) | |
end | |
so(150829983,DragonHead,.9,5) | |
for a=1,300 do | |
handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0)) | |
BlastEffect(BrickColor.new("White"),RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,math.random(-50,50),0),1,.2,1,2,0,2) | |
MagniDamage(Torso,"",30,1,1,5,"Knockdown",RootPart,.05,1) | |
swait() | |
end | |
attack = false | |
end | |
equipanim() | |
mouse.Button1Down:connect(function() | |
if attack==false and attacktype==1 then | |
attacktype=2 | |
attackone() | |
elseif attack==false and attacktype==2 then | |
attacktype=3 | |
attacktwo() | |
elseif attack==false and attacktype==3 then | |
attacktype=1 | |
attackthree() | |
end | |
end) | |
mouse.KeyDown:connect(function(k) | |
k = k:lower() | |
if k=='m' then | |
if Character:FindFirstChild("moosick")~=nil then | |
if moosick.IsPlaying == true then | |
moosick:Stop() | |
elseif moosick.IsPaused == true then | |
moosick:Play() | |
end | |
elseif Character:FindFirstChild("moosick")==nil then | |
local moosick = Instance.new("Sound",Character) | |
moosick.Name = "moosick" | |
moosick.SoundId = "rbxassetid://608726256" | |
moosick.Looped = true | |
moosick.Volume = 1 | |
moosick:Play() | |
end | |
end | |
if attack == false then | |
if k=='z' then | |
mudads() | |
elseif k=='x' then | |
smashdown() | |
elseif k=='c' then | |
laser() | |
elseif k=='v' then | |
smek() | |
elseif k=='b' then | |
yummy() | |
elseif k=='g' then | |
rawr() | |
end | |
end | |
end) | |
local sine = 0 | |
local change = 1 | |
local val = 0 | |
local mananum=0 | |
while true do | |
swait() | |
sine = sine + change | |
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
local velderp=RootPart.Velocity.y | |
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
if equipped==true or equipped==false then | |
--if Anim=="Idle" and attack==false then | |
--idle=idle+1 | |
--else | |
--idle=0 | |
--end | |
if idle>=1000 then | |
if attack==false then | |
--Sheath() | |
end | |
end | |
if RootPart.Velocity.y > 1 and hitfloor==nil then | |
Anim="Jump" | |
if attack==false then | |
Footsteps:Stop() | |
Footsteps2:Stop() | |
Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
end | |
elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
Anim="Fall" | |
if attack==false then | |
Footsteps:Stop() | |
Footsteps2:Stop() | |
Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
end | |
elseif torvel<1 and hitfloor~=nil then | |
Anim="Idle" | |
change=0.5 | |
if attack==false then | |
Footsteps:Stop() | |
Footsteps2:Stop() | |
Humanoid.WalkSpeed=12 | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3) | |
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2) | |
end | |
elseif torvel>2 and hitfloor~=nil then | |
Anim="Walk" | |
if attack==false then | |
change=1 | |
--[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
--Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
RH.C0=clerp(RH.C0,RHC0,.3) | |
LH.C0=clerp(LH.C0,LHC0,.3) | |
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
]]-- | |
Humanoid.WalkSpeed=50 | |
--Footsteps:Play() | |
--Footsteps2:Stop() | |
--RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
--Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
--Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
--RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
--LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
--RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
--LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
--handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
--Handleweld.C0=clerp(Handleweld.C0,cf(4-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
--Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
--end | |
--elseif torvel>=22 and hitfloor~=nil then | |
--Anim="Run" | |
change=1 | |
--if attack==false then | |
Footsteps:Stop() | |
Footsteps2:Play() | |
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2) | |
Handleweld.C0=clerp(Handleweld.C0,cf(4-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
end | |
end | |
end | |
end | |
end) | |
Tsunami.MouseButton1Down:connect(function() | |
o1 = Instance.new("Part") | |
o1.Name = "WAVE" | |
o1.Parent = workspace | |
o1.Material = Enum.Material.Granite | |
o1.BrickColor = BrickColor.new("Electric blue") | |
o1.Transparency = 0.30000001192093 | |
o1.Position = Vector3.new(-277.570068, 15.4718628, -1565.60864) | |
o1.Anchored = true | |
o1.CanCollide = false | |
o1.Size = Vector3.new(2048, 155.029999, 1968.98999) | |
o1.CFrame = CFrame.new(-277.570068, 15.4718628, -1565.60864, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
o1.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
o1.Color = Color3.new(0.0352941, 0.537255, 0.811765) | |
function FLOAT (part) | |
for i,v in pairs(part:GetChildren()) do | |
if v:IsA("BodyPosition") then | |
v:Destroy() | |
end | |
end | |
local m = Instance.new("BodyPosition") | |
m.Parent = part | |
m.maxForce = Vector3.new(4e+006,4e+006,4e+006) | |
m.position = Vector3.new(part.Position.X,workspace.WAVE.Position.Y,part.Position.Z) | |
end | |
function DestroyHorrible (part) | |
if part.Name ~= "Baseplate" then | |
if part.Transparency < .5 then | |
FLOAT(part) | |
part.Anchored = false part.Size = part.Size/1.5 | |
for i=1,4 do | |
part:Clone() | |
end | |
local o1g = Instance.new("Sound") | |
o1g.Parent = part | |
o1g.SoundId = "rbxassetid://516789356" | |
o1g:Play() | |
elseif part.Material == "Wood" or part.Material == "WoodPlanks" then | |
part.Anchored = false part.Size = part.Size/1.5 | |
FLOAT(part) | |
for i=1,4 do | |
part:Clone() | |
end | |
local o1j = Instance.new("Sound") | |
o1j.Parent = part | |
o1j.Volume = 2 | |
o1j.SoundId = "rbxassetid://516777998" | |
o1j:Play() | |
else | |
FLOAT(part) | |
part.Anchored = false part.Size = part.Size/1.5 | |
for i=1,4 do | |
part:Clone() | |
end | |
local go1 = Instance.new("Sound") | |
go1.Parent = part | |
go1.Volume = 1 | |
go1.SoundId = "rbxassetid://516777998" | |
go1:Play() | |
end | |
end | |
end | |
myears = Instance.new('Sound') | |
myears.Parent = workspace | |
myears.Looped = false | |
myears.Name = "Ruski" | |
myears.Playing = true | |
myears.SoundId = "rbxassetid://557673018" | |
myears.Volume = .5 | |
myears.TimePosition = 0 | |
myears:Play() | |
workspace.WAVE.Touched:Connect(DestroyHorrible) | |
workspace.WAVE.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(-2200,0,0) | |
o1 = Instance.new("Sound") | |
o1.Parent = workspace | |
o1.SoundId = "rbxassetid://135560679" | |
o1.Volume = 1 | |
o1:Play() | |
h = 0 | |
j = 1 | |
for i=1,2000 do | |
j = j+1 | |
wait() | |
workspace.WAVE.CFrame = workspace.WAVE.CFrame + Vector3.new(4,0,0) | |
if j == 400 then | |
game.workspace.Terrain:FillBlock(workspace.WAVE.CFrame,workspace.WAVE.Size,Enum.Material.Water) | |
a = function(instance) | |
for i,v in pairs(instance:GetChildren()) do | |
if v.className == "Part" and v.Name ~="Baseplate" then | |
v.Anchored = false | |
end | |
a(v) | |
end | |
end | |
a(workspace) | |
end | |
end | |
workspace.WAVE:Destroy() | |
end) | |
Vereus.MouseButton1Down:connect(function() | |
-----------//VEREUS\\----------- | |
--[[Movelist | |
Q = The reverse penance stare, | |
E = Doom Pillars | |
T = Unleashed evil ball | |
Y = The hunt is on | |
Z = CRAZY XESTER SWITCH!!! | |
X = Re_*101011Dact/^ed.exe | |
---------]] | |
--To get this shit out of the way, this is NOT a edit of void boss, it was a little project of mine to see how easy it was to animate 2 hands and a head.-- | |
--Also stop calling this void boss v2, void boss switcher or any other name you come up with.-- | |
--I'm not proud of this project however, having a script this powerful is uncreative and boring + that's what skids care about anyway.-- | |
--Alright enjoy it guys please do not abuse the shit out of this.-- | |
Player=game:GetService("Players").LocalPlayer | |
Character=Player.Character | |
Character.Humanoid.Name = "vereus" | |
hum = Character.vereus | |
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"] | |
attacking = false | |
snoring = false | |
laughing = false | |
taim = nil | |
secondform = false | |
change = 0 | |
xester = false | |
rachjumper = false | |
ws = 92 | |
hpheight = 5 | |
huntdown = false | |
visualizer = false | |
jumpscared = false | |
appi = false | |
stoplev = false | |
tauntdebounce = false | |
allowlev = true | |
MseGuide = true | |
position = nil | |
levitate = false | |
mouse = Player:GetMouse() | |
settime = 0 | |
sine = 0 | |
t = 0 | |
dgs = 75 | |
RunSrv = game:GetService("RunService") | |
RenderStepped = game:GetService("RunService").RenderStepped | |
removeuseless = game:GetService("Debris") | |
smoothen = game:GetService("TweenService") | |
randomcolortable={"Cyan","Really red","Cyan","Royal purple","Lime green","Crimson","Daisy yellow","Eggplant"} | |
random = #randomcolortable | |
smoothen = game:GetService("TweenService") | |
local dmt2 = {143536946,2858940717} | |
local laughs = {2011349649,2011349983,2011351501,2011352223,2011355991,2011356475} | |
local soundtable2 = {2616767970,2614901458,2616891279,2614896603,2616768521,2616848595,2614905967,2614918002,2563244734,2563244134,2563244444,2563244999,2563245407,2563654940,2563656758,2563658474,2563659001} | |
laugh = #laughs | |
local HEADLERP = Instance.new("ManualWeld") | |
HEADLERP.Parent = Head | |
HEADLERP.Part0 = Head | |
HEADLERP.Part1 = Head | |
HEADLERP.C0 = CFrame.new(0, -1.5, -.5) * CFrame.Angles(math.rad(30), 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 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 | |
coroutine.wrap(function() | |
while wait() do | |
hum.WalkSpeed = ws | |
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)() | |
for _,x in pairs(Character:GetChildren()) do | |
if x:IsA("Decal") then x:Remove() 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 | |
for i,v in pairs(Root.Parent:GetDescendants()) do if v:IsA("Part") then v.Transparency = 1 end end | |
id = "rbxassetid://2858940717" | |
dmt2random = dmt2[math.random(1,#dmt2)] | |
doomtheme = Instance.new("Sound", Torso) | |
doomtheme.Volume = 4 | |
doomtheme.Name = "doomtheme" | |
doomtheme.Looped = true | |
doomtheme.SoundId = "rbxassetid://"..dmt2random | |
if doomtheme.SoundId == "rbxassetid://2858940717" then | |
doomtheme.Pitch = .49 | |
else | |
doomtheme.Pitch = 1 | |
end | |
doomtheme:Play() | |
Torso.ChildRemoved:connect(function(removed) | |
if removed.Name == "doomtheme" then | |
if xester then | |
doomtheme = Instance.new("Sound",Torso) | |
doomtheme.Volume = 4 | |
doomtheme.Name = "doomtheme" | |
doomtheme.Looped = true | |
doomtheme.SoundId = "rbxassetid://1382488262" | |
doomtheme.TimePosition = 20.72 | |
doomtheme:Play() | |
else | |
dmt2random = dmt2[math.random(1,#dmt2)] | |
doomtheme = Instance.new("Sound",Torso) | |
doomtheme.Volume = 4 | |
doomtheme.Name = "doomtheme" | |
doomtheme.Looped = true | |
doomtheme.SoundId = "rbxassetid://"..dmt2random | |
if doomtheme.SoundId == "rbxassetid://2858940717" then | |
doomtheme.Pitch = .49 | |
else | |
doomtheme.Pitch = 1 | |
end | |
doomtheme:Play() | |
end | |
end | |
end) | |
function SOUND(PARENT,ID,VOL,LOOP,REMOVE) | |
local so = Instance.new("Sound") | |
so.Parent = PARENT | |
so.SoundId = "rbxassetid://"..ID | |
so.Volume = VOL | |
so.Looped = LOOP | |
so:Play() | |
removeuseless:AddItem(so,REMOVE) | |
end | |
bighead = Instance.new("Part",Torso) | |
bighead.Size = Vector3.new(1,1,1) | |
bighead.Anchored = false | |
bighead.CanCollide = false | |
bighead.Locked = true | |
bighead.Size = Vector3.new(4.75, 4.89, 4.77) | |
bighead.BrickColor = BrickColor.new("Really black") | |
bighead.CFrame = Head.CFrame | |
bigheadweld = weldBetween(bighead,Head) | |
headmesh = Instance.new("SpecialMesh",bighead) | |
headmesh.MeshType = "Head" | |
headmesh.Scale = Vector3.new(1.25,1.25,1.25) | |
mask = Instance.new("Part",Torso) | |
mask.Size = Vector3.new(.1, 0.39, .1) | |
mask.Anchored = false | |
mask.Locked = true | |
mask.CanCollide = false | |
mask.BrickColor = BrickColor.new("White") | |
mask.Material = "Corroded Metal" | |
maskweld = weldBetween(mask,bighead) | |
maskweld.C0 = CFrame.new(0,-2.4,0) * CFrame.Angles(math.rad(90),0,0) | |
maskmesh = Instance.new("SpecialMesh",mask) | |
maskmesh.MeshId = "rbxassetid://5158270" | |
maskmesh.TextureId = "rbxassetid://128212042" | |
maskmesh.Scale = Vector3.new(0.7, 0.5, 0.5) | |
lightpart1 = Instance.new("Part",Head) | |
lightpart1.Size = Vector3.new(2.42,2,.516) | |
lightpart1.Anchored = false | |
lightpart1.Transparency = 1 | |
lightpart1.BrickColor = BrickColor.new("White") | |
lightpart1.Material = "Neon" | |
lightpart1weld = weldBetween(lightpart1,Head) | |
lightpart1weld.C0 = CFrame.new(0,.9,2.595) | |
horns = Instance.new("Part",Torso) | |
horns.Size = Vector3.new(.1,.1,.1) | |
horns.Material = "Slate" | |
horns.Locked = true | |
horns.BrickColor = BrickColor.new("Really black") | |
horns.CFrame = Head.CFrame * CFrame.new(0,3,0) | |
hornsmesh = Instance.new("SpecialMesh",horns) | |
hornsmesh.MeshId = "rbxassetid://434078905" | |
hornsmesh.Scale = Vector3.new(13,12,12) | |
hornsweld = weldBetween(horns,bighead) | |
hornsweld.C0 = CFrame.new(0,-3.3,.82) * CFrame.Angles(math.rad(0),math.rad(180),0) | |
hand1 = Instance.new("Part",Torso) | |
hand1.Size = Vector3.new(.1,.1,.1) | |
hand1.Anchored = false | |
hand1.Locked = true | |
hand1.CanCollide = false | |
hand1.BrickColor = BrickColor.new("White") | |
hand1.Material = "Slate" | |
hand1mesh = Instance.new("SpecialMesh",hand1) | |
hand1mesh.MeshId = "rbxassetid://37241605" | |
hand1mesh.Scale = Vector3.new(8, 8, 8) | |
HAND1LERP = weldBetween(hand1,Torso) | |
HAND1LERP.C0 = CFrame.new(4.5,-5,6) * CFrame.Angles(math.rad(10),math.rad(-5),math.rad(-36)) | |
hand2 = Instance.new("Part",Torso) | |
hand2.Size = Vector3.new(.1,.1,.1) | |
hand2.Anchored = false | |
hand2.CanCollide = false | |
hand2.Locked = true | |
hand2.BrickColor = BrickColor.new("White") | |
hand2.Material = "Slate" | |
hand2mesh = Instance.new("SpecialMesh",hand2) | |
hand2mesh.MeshId = "rbxassetid://2899129749" | |
hand2mesh.Scale = Vector3.new(.8, .8, .8) | |
HAND2LERP = weldBetween(hand2,Torso) | |
HAND2LERP.C0 = HAND2LERP.C0:Inverse() * CFrame.new(-5,-5,6) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(95)) | |
mg1 = Instance.new("Part",Torso) | |
mg1.Anchored = false | |
mg1.CanCollide = false | |
mg1.Locked = true | |
mg1.Size = Vector3.new(4,4,4) | |
mg1.Shape = "Ball" | |
mg1.BrickColor = BrickColor.new("Really black") | |
mg1.Material = "Neon" | |
mg1.CFrame = hand1.CFrame | |
mg1weld = weldBetween(mg1,hand1) | |
mg1weld.C0 = CFrame.new(0,2.7,-4) | |
blackhole = Instance.new("ParticleEmitter",mg1) | |
blackhole.Texture = "rbxassetid://258128463" | |
blackhole.Size = NumberSequence.new(2,2) | |
blackhole.Rate = 50 | |
blackhole.LockedToPart = true | |
blackhole.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color) | |
blackhole.RotSpeed = NumberRange.new(50) | |
blackhole.Lifetime = NumberRange.new(1) | |
blackhole.Speed = NumberRange.new(0) | |
mg2 = Instance.new("Part",Torso) | |
mg2.Anchored = false | |
mg2.CanCollide = false | |
mg2.Shape = "Ball" | |
mg2.Locked = true | |
mg2.Size = Vector3.new(4,4,4) | |
mg2.BrickColor = BrickColor.new("Really black") | |
mg2.Material = "Neon" | |
mg2.CFrame = hand2.CFrame | |
mg2weld = weldBetween(mg2,hand2) | |
mg2weld.C0 = CFrame.new(0,2.7,-4) | |
blackhole2 = Instance.new("ParticleEmitter",mg2) | |
blackhole2.Texture = "rbxassetid://258128463" | |
blackhole2.Size = NumberSequence.new(2,2) | |
blackhole2.Rate = 50 | |
blackhole2.Color = ColorSequence.new(BrickColor.new("Really black").Color,BrickColor.new("Really black").Color) | |
blackhole2.RotSpeed = NumberRange.new(50) | |
blackhole2.Lifetime = NumberRange.new(1) | |
blackhole2.LockedToPart = true | |
blackhole2.Speed = NumberRange.new(0) | |
slaten = Instance.new("Decal",hand2) | |
slaten.Texture = "rbxassetid://647441616" | |
slaten.Color3 = Color3.new(0, 0, 0) | |
slaten.Face = "Top" | |
slaten2 = Instance.new("Decal",hand2) | |
slaten2.Texture = "rbxassetid://647417318" | |
slaten2.Color3 = Color3.new(0,0,0) | |
slaten2.Face = "Top" | |
slatez = Instance.new("Decal",hand1) | |
slatez.Texture = "rbxassetid://647441616" | |
slatez.Color3 = Color3.new(0, 0, 0) | |
slatez.Face = "Top" | |
slatez2 = Instance.new("Decal",hand1) | |
slatez2.Texture = "rbxassetid://647417318" | |
slatez2.Color3 = Color3.new(0,0,0) | |
slatez2.Face = "Top" | |
slatez3 = Instance.new("Decal",hand1) | |
slatez3.Texture = "rbxassetid://647410994" | |
slatez3.Color3 = Color3.new(1,1,1) | |
slatez3.Face = "Top" | |
slatez4 = Instance.new("Decal",hand1) | |
slatez4.Texture = "rbxassetid://647413967" | |
slatez4.Color3 = Color3.new(1,1,1) | |
slatez4.Face = "Top" | |
slatex = Instance.new("Decal",horns) | |
slatex.Texture = "rbxassetid://647441616" | |
slatex.Color3 = Color3.new(0, 0, 0) | |
slatex.Face = "Top" | |
slatex2 = Instance.new("Decal",horns) | |
slatex2.Texture = "rbxassetid://647417318" | |
slatex2.Color3 = Color3.new(0,0,0) | |
slatex2.Face = "Top" | |
slatex3 = Instance.new("Decal",horns) | |
slatex3.Texture = "rbxassetid://647410994" | |
slatex3.Color3 = Color3.new(1,1,1) | |
slatex3.Face = "Top" | |
slatex4 = Instance.new("Decal",horns) | |
slatex4.Texture = "rbxassetid://647413967" | |
slatex4.Color3 = Color3.new(1,1,1) | |
slatex4.Face = "Top" | |
slatex5 = Instance.new("Decal",horns) | |
slatex5.Texture = "rbxassetid://64739326f6" | |
slatex5.Color3 = Color3.new(1, 1, 1) | |
slatex5.Face = "Top" | |
eyeball1 = Instance.new("Part",Torso) | |
eyeball1.Anchored = false | |
eyeball1.CanCollide = false | |
eyeball1.Locked = true | |
eyeball1.Shape = "Ball" | |
eyeball1.Material = "Glass" | |
eyeball1.Size = Vector3.new(3.25, 3.25, 3.25) | |
eyeball1.BrickColor = BrickColor.new("Really black") | |
eyeball1weld = weldBetween(eyeball1,Head) | |
eyeball1weld.C0 = CFrame.new(.6,-.2,1.25) | |
eyeball2 = Instance.new("Part",Torso) | |
eyeball2.Anchored = false | |
eyeball2.CanCollide = false | |
eyeball2.Shape = "Ball" | |
eyeball2.Locked = true | |
eyeball2.Material = "Glass" | |
eyeball2.Size = Vector3.new(3.25, 3.25, 3.25) | |
eyeball2.BrickColor = BrickColor.new("Really black") | |
eyeball2weld = weldBetween(eyeball2,Head) | |
eyeball2weld.C0 = CFrame.new(-.6,-.2,1.25) | |
eyeball3 = Instance.new("Part",Torso) | |
eyeball3.Anchored = false | |
eyeball3.CanCollide = false | |
eyeball3.Locked = true | |
eyeball3.Material = "Neon" | |
eyeball3.Size = Vector3.new(0.4, 0.4, 0.4) | |
eyeball3.BrickColor = BrickColor.new("Crimson") | |
eyeball3mesh = Instance.new("SpecialMesh",eyeball3) | |
eyeball3mesh.MeshType = "Sphere" | |
eyeball3weld = weldBetween(eyeball3,Head) | |
eyeball3weld.C0 = CFrame.new(-1.2,-.3,2.65) | |
eyeball4 = Instance.new("Part",Torso) | |
eyeball4.Anchored = false | |
eyeball4.CanCollide = false | |
eyeball4.Material = "Neon" | |
eyeball4.Locked = true | |
eyeball4.Size = Vector3.new(0.4, 0.4, 0.4) | |
eyeball4.BrickColor = BrickColor.new("Crimson") | |
eyeball4mesh = Instance.new("SpecialMesh",eyeball4) | |
eyeball4mesh.MeshType = "Sphere" | |
eyeball4weld = weldBetween(eyeball4,Head) | |
eyeball4weld.C0 = CFrame.new(1.2,-.3,2.65) | |
coroutine.wrap(function() | |
while true do | |
wait(5) | |
for i = 1, 10 do | |
eyeball3.Size = eyeball3.Size - Vector3.new(0,.04,0) | |
eyeball4.Size = eyeball4.Size - Vector3.new(0,.04,0) | |
swait() | |
end | |
for i = 1, 10 do | |
eyeball3.Size = eyeball3.Size + Vector3.new(0,.04,0) | |
eyeball4.Size = eyeball4.Size + Vector3.new(0,.04,0) | |
swait() | |
end | |
swait() | |
end | |
end)() | |
slateh = Instance.new("Decal",mask) | |
slateh.Texture = "rbxassetid://647441616" | |
slateh.Color3 = Color3.new(0, 0, 0) | |
slateh.Face = "Top" | |
slateh2 = Instance.new("Decal",mask) | |
slateh2.Texture = "rbxassetid://647417318" | |
slateh2.Color3 = Color3.new(0,0,0) | |
slateh2.Face = "Top" | |
slateh3 = Instance.new("Decal",mask) | |
slateh3.Texture = "rbxassetid://647410994" | |
slateh3.Color3 = Color3.new(1,1,1) | |
slateh3.Face = "Top" | |
slateh4 = Instance.new("Decal",mask) | |
slateh4.Texture = "rbxassetid://647413967" | |
slateh4.Color3 = Color3.new(1,1,1) | |
slateh4.Face = "Top" | |
slateh5 = Instance.new("Decal",mask) | |
slateh5.Texture = "rbxassetid://64739326f6" | |
slateh5.Color3 = Color3.new(1, 1, 1) | |
slateh5.Face = "Top" | |
mouse.KeyDown:connect(function(Press) | |
Press=Press:lower() | |
if Press=='m' then | |
immortality() | |
elseif Press=='t' then | |
if xester then | |
if tauntdebounce then return end | |
tauntdebounce = true | |
laughing = true | |
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 | |
elseif rachjumper then | |
if tauntdebounce == true then return end | |
tauntdebounce = true | |
rdnm2 = soundtable2[math.random(1,#soundtable2)] | |
tauntsound = Instance.new("Sound", Head) | |
tauntsound.Volume = 8 | |
tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm2 | |
tauntsound.Looped = false | |
tauntsound:Play() | |
wait(3) | |
wait(tauntsound.TimeLength) | |
tauntsound:Remove() | |
wait(1) | |
tauntdebounce = false | |
else | |
if debounce then return end | |
debounce = true | |
attacking = true | |
ws = 0 | |
local energball = Instance.new("Part",Torso) | |
energball.Shape = "Ball" | |
energball.Material = "Neon" | |
energball.Size = Vector3.new(.1,.1,.1) | |
energball.Anchored = true | |
energball.CanCollide = false | |
energball.BrickColor = BrickColor.new("Really black") | |
energball.CFrame = hand1.CFrame * CFrame.new(0,1,-2.5) | |
SOUND(energball,2880335731,10,false,10) | |
local g1 = Instance.new("BodyGyro", Root) | |
g1.D = 175 | |
g1.P = 20000 | |
g1.MaxTorque = Vector3.new(0,9000,0) | |
for i = 1, 250 do | |
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
coroutine.wrap(function() | |
local sk = Instance.new("Part",Torso) | |
sk.CanCollide = false | |
sk.Anchored = true | |
sk.BrickColor = BrickColor.new("Really black") | |
sk.Name = "sk" | |
sk.CFrame = energball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180))) | |
local skmesh = Instance.new("SpecialMesh",sk) | |
skmesh.MeshId = "rbxassetid://662586858" | |
skmesh.Name = "wave" | |
skmesh.Scale = Vector3.new(.02,.005,.02) | |
for i = 1, 20 do | |
skmesh.Scale = skmesh.Scale + Vector3.new(.004,0,.004) | |
sk.Transparency = sk.Transparency + .05 | |
swait() | |
end | |
sk:Remove() | |
end)() | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .7 | |
shockwave.BrickColor = BrickColor.new("Really black") | |
shockwave.CFrame = CFrame.new(energball.Position) * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(7,.1,7) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
for i = 1, 20 do | |
shockwave.Transparency = shockwave.Transparency + .05 | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(.5,0,.5) | |
swait() | |
end | |
shockwave:Remove() | |
end)() | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .4 | |
shockwave.BrickColor = BrickColor.new("Really black") | |
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,1,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .4 | |
shockwave2.BrickColor = BrickColor.new("Really black") | |
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(1,1,1) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
for i = 1, 30 do | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,1,8) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,.5,10) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
energball.Size = energball.Size + Vector3.new(.02,.02,.02) | |
energball.CFrame = hand1.CFrame * CFrame.new(0,0,-3) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6.5,0,-1) * CFrame.Angles(math.rad(70),math.rad(90),math.rad(0)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(6.5,0,-5) * CFrame.Angles(math.rad(-110),math.rad(90),math.rad(0)),.2) | |
swait() | |
end | |
local bwoo = Instance.new("Sound",Torso) | |
bwoo.SoundId = "rbxassetid://134012322" | |
bwoo.Volume = 10 | |
bwoo.Pitch = .85 | |
bwoo:Play() | |
removeuseless:AddItem(bwoo,10) | |
for i = 1, 20 do | |
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
energball.CFrame = hand2.CFrame * CFrame.new(0,0,-3) | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-35),0),.2) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.5,0,7) * CFrame.Angles(math.rad(-90),math.rad(18),math.rad(37)),.2) | |
swait() | |
end | |
energball.Anchored = false | |
local bov = Instance.new("BodyVelocity",energball) | |
bov.maxForce = Vector3.new(99999,99999,99999) | |
energball.CFrame = CFrame.new(energball.Position,mouse.Hit.p) | |
bov.velocity = energball.CFrame.lookVector*300 | |
local hitted = false | |
energball.Touched:connect(function(hit) | |
if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "rachjumper" and hit.Parent.Parent ~= Character then | |
if hitted then return end | |
hitted = true | |
print("hit") | |
energball.Anchored = true | |
local energballplosion = energball:Clone() energballplosion.Parent = Torso | |
energball.Transparency = 1 | |
local render = Instance.new("Sound",energball) | |
render.SoundId = "rbxassetid://2006635781" | |
render.Volume = 10 * 10 | |
render:Play() | |
local zm = 0 | |
for i = 1, 70 do | |
zm = zm + 2 | |
Hit = damagealll(zm,energball.Position) | |
for _,v in pairs(Hit) do | |
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
coroutine.wrap(function() | |
local w = Instance.new("Part",Torso) | |
w.Anchored = true | |
w.CanCollide = false | |
w.Material = "Neon" | |
w.BrickColor = BrickColor.new("Really black") | |
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
end | |
w.Size = Vector3.new(3,3,3) | |
w.Shape = "Ball" | |
for i = 1, 50 do | |
w.Transparency = w.Transparency + .05 | |
w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
swait() | |
end | |
w:Remove() | |
end)() | |
for i = 1, 8 do | |
coroutine.wrap(function() | |
local ps = Instance.new("Part",Torso) | |
ps.Size = Vector3.new(1,1,1) | |
ps.Anchored = true | |
ps.BrickColor = BrickColor.new("Really black") | |
ps.Material = "Neon" | |
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
end | |
local psm = Instance.new("SpecialMesh",ps) | |
psm.MeshType = "Sphere" | |
psm.Scale = Vector3.new(3,1,3) | |
for i = 1, 50 do | |
psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
ps.Transparency = ps.Transparency + .025 | |
swait() | |
end | |
ps:Remove() | |
end)() | |
end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
x.CanCollide = true x:BreakJoints() end end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
slachtoffer.Parent:BreakJoints() | |
end | |
end | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .4 | |
shockwave.BrickColor = BrickColor.new("Really black") | |
shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,2,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .4 | |
shockwave2.BrickColor = BrickColor.new("Really black") | |
shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(11,2,11) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
local biggar = 0 | |
for i = 1, 30 do | |
biggar = biggar + 4 | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8 + biggar,4,8 + biggar) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10 + biggar,4,10 + biggar) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
energballplosion.Size = energballplosion.Size + Vector3.new(2,2,2) | |
swait() | |
end | |
for i = 1, 80 do | |
zm = zm + 3.5 | |
Hit = damagealll(zm,energball.Position) | |
for _,v in pairs(Hit) do | |
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
coroutine.wrap(function() | |
local w = Instance.new("Part",Torso) | |
w.Anchored = true | |
w.CanCollide = false | |
w.Material = "Neon" | |
w.BrickColor = BrickColor.new("Really black") | |
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
end | |
w.Size = Vector3.new(3,3,3) | |
w.Shape = "Ball" | |
for i = 1, 50 do | |
w.Transparency = w.Transparency + .05 | |
w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
swait() | |
end | |
w:Remove() | |
end)() | |
for i = 1, 8 do | |
coroutine.wrap(function() | |
local ps = Instance.new("Part",Torso) | |
ps.Size = Vector3.new(1,1,1) | |
ps.Anchored = true | |
ps.BrickColor = BrickColor.new("Really black") | |
ps.Material = "Neon" | |
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
end | |
local psm = Instance.new("SpecialMesh",ps) | |
psm.MeshType = "Sphere" | |
psm.Scale = Vector3.new(3,1,3) | |
for i = 1, 50 do | |
psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
ps.Transparency = ps.Transparency + .025 | |
swait() | |
end | |
ps:Remove() | |
end)() | |
end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
x.CanCollide = true x:BreakJoints() end end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
slachtoffer.Parent:BreakJoints() | |
end | |
end | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .4 | |
shockwave.BrickColor = BrickColor.new("Really black") | |
shockwave.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,6,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .4 | |
shockwave2.BrickColor = BrickColor.new("Really black") | |
shockwave2.CFrame = CFrame.new(energballplosion.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(11,6,11) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
local biggar = 0 | |
local biggar2 = 0 | |
for i = 1, 30 do | |
biggar = biggar + 14 | |
biggar2 = biggar2 + 22 | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(16 + biggar,12 + biggar,16 + biggar) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18 + biggar2,12,18 + biggar2) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
energballplosion.Size = energballplosion.Size + Vector3.new(7,7,7) | |
swait() | |
end | |
for i = 1, 50 do | |
energballplosion.Size = energballplosion.Size + Vector3.new(5,5,5) | |
energballplosion.Transparency = energballplosion.Transparency + .025 | |
swait() | |
end | |
energballplosion:Remove() | |
end | |
end) | |
for i = 1, 20 do | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(6,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(20 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.5,0,5) * CFrame.Angles(math.rad(30),math.rad(-28),math.rad(37)),.2) | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(35),0),.2) | |
swait() | |
end | |
removeuseless:AddItem(g1,.001) | |
debounce = false | |
if xester then | |
ws = 155 | |
else | |
ws = 92 | |
end | |
attacking = false | |
end | |
elseif Press=='x' then | |
if debounce then return end | |
debounce = true | |
attacking = true | |
ws = 0 | |
for i = 1, 70 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1) | |
swait() | |
end | |
for i = 1, 40 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
swait() | |
end | |
rachjumper = true | |
xester = false | |
doomtheme.Volume = 0 | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .2 | |
shockwave.BrickColor = BrickColor.new("Really red") | |
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,1,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .2 | |
shockwave2.BrickColor = BrickColor.new("Really red") | |
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(1,1,1) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
for i = 1, 30 do | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
coroutine.wrap(function() | |
local nball = Instance.new("Part",Torso) | |
nball.Size = Vector3.new(4,4,4) | |
nball.Material = "Neon" | |
nball.BrickColor = BrickColor.new("Really red") | |
nball.Shape = "Ball" | |
nball.Anchored = true | |
nball.CanCollide = false | |
nball.CFrame = Torso.CFrame | |
for i = 1, 40 do | |
nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5) | |
nball.Transparency = nball.Transparency + .05 | |
swait() | |
end | |
nball:Remove() | |
end)() | |
particlecolor = ColorSequence.new(Color3.new(255, 255, 255)) | |
particlemiter1 = Instance.new("ParticleEmitter", bighead) | |
particlemiter1.Enabled = true | |
particlemiter1.Color = particlecolor | |
particlemiter1.Texture = "rbxassetid://1390780157" | |
particlemiter1.Lifetime = NumberRange.new(.05) | |
particlemiter1.Size = NumberSequence.new(7.5,7.5) | |
particlemiter1.Rate = 4 | |
particlemiter1.Rotation = NumberRange.new(0,360) | |
particlemiter1.RotSpeed = NumberRange.new(0) | |
particlemiter1.Speed = NumberRange.new(0) | |
particlemiter2 = Instance.new("ParticleEmitter", hand1) | |
particlemiter2.Enabled = true | |
particlemiter2.Color = particlecolor | |
particlemiter2.Texture = "rbxassetid://1390780157" | |
particlemiter2.Lifetime = NumberRange.new(.05) | |
particlemiter2.Size = NumberSequence.new(5,5) | |
particlemiter2.Rate = 4 | |
particlemiter2.Rotation = NumberRange.new(0,360) | |
particlemiter2.RotSpeed = NumberRange.new(0) | |
particlemiter2.Speed = NumberRange.new(0) | |
particlemiter3 = Instance.new("ParticleEmitter", hand2) | |
particlemiter3.Enabled = true | |
particlemiter3.Color = particlecolor | |
particlemiter3.Texture = "rbxassetid://1390780157" | |
particlemiter3.Lifetime = NumberRange.new(.05) | |
particlemiter3.Size = NumberSequence.new(5,5) | |
particlemiter3.Rate = 4 | |
particlemiter3.Rotation = NumberRange.new(0,360) | |
particlemiter3.RotSpeed = NumberRange.new(0) | |
particlemiter3.Speed = NumberRange.new(0) | |
coroutine.wrap(function() | |
transformsound = Instance.new("Sound",Torso) | |
transformsound.Volume = 10 | |
transformsound.SoundId = "rbxassetid://159576182" | |
transformsound:Play() | |
coroutine.wrap(function() | |
wait(1) | |
realmofexistence = Instance.new("Sound",Torso) | |
realmofexistence.Volume = 8 | |
realmofexistence.SoundId = "rbxassetid://2565721367" | |
realmofexistence:Play() | |
end)() | |
wait(2.2) | |
doomtheme.SoundId = "rbxassetid://2902017580" | |
doomtheme:Play() | |
doomtheme.Pitch = 1 | |
doomtheme.TimePosition = 0 | |
for i = 1, 30 do | |
doomtheme.Volume = doomtheme.Volume + .25 | |
swait() | |
end | |
end)() | |
slaten.Transparency = 1 | |
slaten2.Transparency = 1 | |
slateh.Transparency = 1 | |
slateh2.Transparency = 1 | |
slateh3.Transparency = 1 | |
slateh4.Transparency = 1 | |
slateh5.Transparency = 1 | |
slatex.Transparency = 1 | |
slatex2.Transparency = 1 | |
slatex3.Transparency = 1 | |
slatex4.Transparency = 1 | |
slatex5.Transparency = 1 | |
slatez.Transparency = 1 | |
slatez2.Transparency = 1 | |
slatez3.Transparency = 1 | |
slatez4.Transparency = 1 | |
eyeball1.Transparency = 1 | |
eyeball2.Transparency = 1 | |
eyeball3.Transparency = 1 | |
eyeball4.Transparency = 1 | |
lightpart1.Transparency = 1 | |
Root.Anchored = false | |
horns.Material = "Slate" | |
horns.Locked = true | |
horns.BrickColor = BrickColor.new("Really black") | |
hornsmesh.MeshId = "rbxassetid://398618628" | |
hornsmesh.VertexColor = Vector3.new(1,0,0) | |
hornsmesh.TextureId = "rbxassetid://1461382301" | |
hornsmesh.Scale = Vector3.new(4.9, 5.5, 5.8) | |
hornsweld.C0 = CFrame.new(0,3.8,-4.5) * CFrame.Angles(math.rad(0),math.rad(0),0) | |
mask.Anchored = false | |
mask.Locked = true | |
mask.CanCollide = false | |
mask.Transparency = 0 | |
mask.BrickColor = BrickColor.new("White") | |
mask.Material = "Corroded Metal" | |
maskweld.C0 = CFrame.new(0,1.45,-.4) * CFrame.Angles(math.rad(0),0,0) | |
maskmesh.MeshId = "rbxassetid://64560176" | |
maskmesh.TextureId = "rbxassetid://1326186614" | |
maskmesh.Scale = Vector3.new(5.04, 5.04, 5.04) | |
hand2.BrickColor = BrickColor.new("Really black") | |
hand1.BrickColor = BrickColor.new("Really black") | |
face = Instance.new("Decal",bighead) | |
face.Texture = "rbxassetid://1127768638" | |
face.Color3 = Color3.new(255, 255, 255) | |
face.Face = "Front" | |
attacking = false | |
ws = 92 | |
debounce = false | |
elseif Press=='z' then | |
if debounce then return end | |
debounce = true | |
attacking = true | |
ws = 0 | |
for i = 1, 70 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.1) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.1) | |
swait() | |
end | |
for i = 1, 40 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
swait() | |
end | |
if rachjumper then | |
face:Remove() | |
particlemiter1:Remove() | |
particlemiter2:Remove() | |
particlemiter3:Remove() | |
end | |
xester = true | |
rachjumper = false | |
hand1.BrickColor = BrickColor.new("White") | |
hand2.BrickColor = BrickColor.new("White") | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .2 | |
shockwave.BrickColor = BrickColor.new("White") | |
shockwave.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,1,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .2 | |
shockwave2.BrickColor = BrickColor.new("White") | |
shockwave2.CFrame = CFrame.new(Root.Position) * CFrame.new(0,-8,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(1,1,1) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
for i = 1, 30 do | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+16),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-16),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(10,1,10) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(14,2,14) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
coroutine.wrap(function() | |
local nball = Instance.new("Part",Torso) | |
nball.Size = Vector3.new(4,4,4) | |
nball.Material = "Neon" | |
nball.BrickColor = BrickColor.new("White") | |
nball.Shape = "Ball" | |
nball.Anchored = true | |
nball.CanCollide = false | |
nball.CFrame = Torso.CFrame | |
for i = 1, 40 do | |
nball.Size = nball.Size + Vector3.new(5.5,5.5,5.5) | |
nball.Transparency = nball.Transparency + .05 | |
swait() | |
end | |
nball:Remove() | |
end)() | |
doomtheme.SoundId = "rbxassetid://1382488262" | |
doomtheme:Play() | |
doomtheme.Volume = 6 | |
doomtheme.Pitch = 1 | |
doomtheme.TimePosition = 20.7 | |
slaten.Transparency = 1 | |
slaten2.Transparency = 1 | |
slateh.Transparency = 1 | |
slateh2.Transparency = 1 | |
slateh3.Transparency = 1 | |
slateh4.Transparency = 1 | |
slateh5.Transparency = 1 | |
slatex.Transparency = 1 | |
slatex2.Transparency = 1 | |
slatex3.Transparency = 1 | |
slatex4.Transparency = 1 | |
slatex5.Transparency = 1 | |
slatez.Transparency = 1 | |
slatez2.Transparency = 1 | |
slatez3.Transparency = 1 | |
slatez4.Transparency = 1 | |
eyeball1.Transparency = 1 | |
eyeball2.Transparency = 1 | |
eyeball3.Transparency = 1 | |
eyeball4.Transparency = 1 | |
lightpart1.Transparency = 0 | |
laugh = laughs[math.random(1,#laughs)] | |
local laughy = Instance.new("Sound",Head) | |
laughy.SoundId = "rbxassetid://"..laugh | |
laughy.Volume = 10 | |
laughy:Play() | |
removeuseless:AddItem(laughy,10) | |
Root.Anchored = false | |
horns.Material = "Slate" | |
horns.Locked = true | |
horns.BrickColor = BrickColor.new("Really black") | |
hornsmesh.MeshId = "rbxassetid://193760002" | |
hornsmesh.VertexColor = Vector3.new(1,0,0) | |
hornsmesh.TextureId = "rbxassetid://379225327" | |
hornsmesh.Scale = Vector3.new(5.41,5.41,5.41) | |
hornsweld.C0 = CFrame.new(0,-2.75,-1.7) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
mask.Anchored = false | |
mask.Locked = true | |
mask.CanCollide = false | |
mask.BrickColor = BrickColor.new("White") | |
mask.Material = "Corroded Metal" | |
maskweld.C0 = CFrame.new(0,0,2.5) * CFrame.Angles(math.rad(0),0,0) | |
maskmesh.MeshId = "rbxassetid://13520257" | |
maskmesh.TextureId = "rbxassetid://13520260" | |
maskmesh.Scale = Vector3.new(5.53, 5, 5.1) | |
for i = 1, 30 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.1) | |
swait() | |
end | |
for i = 1, 50 do | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.03) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.03) | |
swait() | |
end | |
for i = 1, 50 do | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 - 5 * math.sin(sine)),math.rad(-30 - 8 * math.sin(sine))),.03) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-140 + 8 * math.sin(sine)),math.rad(180 + 5 * math.sin(sine)),math.rad(30 + 8 * math.sin(sine))),.03) | |
swait() | |
end | |
ws = 155 | |
Root.Anchored = false | |
debounce = false | |
attacking = false | |
xester = true | |
elseif Press=='r' then | |
if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then | |
if debounce then return end | |
debounce = true | |
attacking = true | |
local enemy = mouse.Target.Parent:FindFirstChildOfClass("Humanoid") | |
local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent | |
SOUND(Head,1837106999,10,false,10) | |
ws = 0 | |
local z = { | |
Color = BrickColor.new("Crimson").Color | |
} | |
local z2 = { | |
Color = BrickColor.new("Really black").Color | |
} | |
eyeball1.Material = "Neon" | |
eyeball2.Material = "Neon" | |
for i = 1, 7 do | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol2:Play() | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(10)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50),math.rad(180),math.rad(-10)),.2) | |
swait() | |
end | |
for i = 1, 70 do | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol2:Play() | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 + 1 * math.sin(sine)),math.rad(30 + 2 * math.sin(sine))),.05) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 2 * math.sin(sine)),math.rad(180 - 1 * math.sin(sine)),math.rad(-30 - 2 * math.sin(sine))),.05) | |
swait() | |
end | |
for i = 1, 40 do | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol2:Play() | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-50),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(-2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 + 2 * math.sin(sine)),math.rad(30 + 4 * math.sin(sine))),.05) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(2,-2,-4) * CFrame.Angles(math.rad(-50 + 4 * math.sin(sine)),math.rad(180 - 2 * math.sin(sine)),math.rad(-30 - 4 * math.sin(sine))),.05) | |
swait() | |
end | |
attacking = false | |
local targetfound = false | |
local chasemusic = Instance.new("Sound",Head) | |
chasemusic.Volume = 10 | |
chasemusic.SoundId = "rbxassetid://2866313732" | |
chasemusic.Looped = true | |
chasemusic:Play() | |
for i = 1, 1000 do | |
if targetfound then break end | |
local Hit = damagealll(15,Torso.Position) | |
for _,v in pairs(Hit) do | |
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Parent.Name == enemy.Parent.Name then | |
targetfound = true | |
slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
end | |
end | |
huntdown = true | |
hum:MoveTo(enemy.Parent.Torso.Position) | |
ws = 150 | |
swait() | |
end | |
if targetfound then | |
attacking = true | |
local lweld = weldBetween(enemy.Parent.Torso,hand1) | |
lweld.C0 = CFrame.new(2,-2,0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90)) | |
ws = 0 | |
enemy.WalkSpeed = 0 | |
enemy.JumpPower = 0 | |
local IAMHERE = Instance.new("Sound",Head) | |
IAMHERE.SoundId = "rbxassetid://2867055627" | |
IAMHERE.Volume = 10 | |
IAMHERE:Play() | |
removeuseless:AddItem(IAMHERE,10) | |
for i = 1, 220 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-10),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-2.2) * CFrame.Angles(math.rad(90 + 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(-80 + 2 * math.sin(sine))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-2.2) * CFrame.Angles(math.rad(90 - 2 * math.sin(sine)),math.rad(2 * math.sin(sine)),math.rad(80 - 2 * math.sin(sine))),.2) | |
swait() | |
end | |
lweld:Remove() | |
coroutine.wrap(function() | |
local w = Instance.new("Part",Torso) | |
w.Anchored = true | |
w.CanCollide = false | |
w.Material = "Neon" | |
w.BrickColor = BrickColor.new("Really black") | |
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
w.CFrame = targ:FindFirstChild("UpperTorso").CFrame | |
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
w.CFrame = targ:FindFirstChild("Torso").CFrame | |
end | |
w.Size = Vector3.new(3,3,3) | |
w.Shape = "Ball" | |
for i = 1, 50 do | |
w.Transparency = w.Transparency + .05 | |
w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
swait() | |
end | |
w:Remove() | |
end)() | |
for i = 1, 8 do | |
coroutine.wrap(function() | |
local ps = Instance.new("Part",Torso) | |
ps.Size = Vector3.new(1,1,1) | |
ps.Anchored = true | |
ps.BrickColor = BrickColor.new("Really black") | |
ps.Material = "Neon" | |
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
end | |
local psm = Instance.new("SpecialMesh",ps) | |
psm.MeshType = "Sphere" | |
psm.Scale = Vector3.new(3,1,3) | |
for i = 1, 50 do | |
psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
ps.Transparency = ps.Transparency + .025 | |
swait() | |
end | |
ps:Remove() | |
end)() | |
end | |
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
x.CanCollide = true x:BreakJoints() end end | |
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
targ:BreakJoints() | |
SOUND(hand1,264486467,8,false,10) | |
huntdown = false | |
for i = 1, 25 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.05) | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
lol2:Play() | |
chasemusic.Volume = chasemusic.Volume - .5 | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-80)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-2,-7.5,-1) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(80)),.2) | |
swait() | |
end | |
chasemusic:Remove() | |
if xester then | |
ws = 155 | |
else | |
ws = 92 | |
end | |
eyeball1.Material = "Glass" | |
eyeball2.Material = "Glass" | |
attacking = false | |
debounce = false | |
else | |
if xester then | |
ws = 155 | |
else | |
ws = 92 | |
end | |
huntdown = false | |
eyeball1.Material = "Glass" | |
eyeball2.Material = "Glass" | |
debounce = false | |
attacking = false | |
coroutine.wrap(function() | |
for i = 1, 25 do | |
if debounce then break end | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.5,Enum.EasingStyle.Linear),z2) | |
lol2:Play() | |
swait() | |
end | |
end)() | |
chasemusic:Remove() | |
end | |
end | |
elseif Press=='e' then | |
if debounce then return end | |
debounce = true | |
attacking = true | |
g1 = Instance.new("BodyGyro", Root) | |
g1.D = 175 | |
g1.P = 20000 | |
g1.MaxTorque = Vector3.new(0,9000,0) | |
ws = 30 | |
for i = 1, 75 do | |
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(15 * math.sin(sine/12)),math.rad(16 * math.sin(sine/14)),math.rad(0)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2 + .6 * math.sin(sine/14),-5,6) * CFrame.Angles(math.rad(-15 * math.sin(sine/12)),math.rad(-16 * math.sin(sine/14)),math.rad(0)),.2) | |
swait() | |
end | |
local bwoo = Instance.new("Sound",Torso) | |
bwoo.SoundId = "rbxassetid://134012322" | |
bwoo.Volume = 10 | |
bwoo.Pitch = .85 | |
bwoo:Play() | |
removeuseless:AddItem(bwoo,7) | |
for i = 1, 25 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(25),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-94 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-94 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2) | |
swait() | |
end | |
ws = 0 | |
for i = 1, 3 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-5,6) * CFrame.Angles(math.rad(-76 + 8 * math.sin(sine/12)),math.rad(3 * math.sin(sine/10)),math.rad(0)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-5,6) * CFrame.Angles(math.rad(-76 - 8 * math.sin(sine/12)),math.rad(3 * -math.sin(sine/10)),math.rad(0)),.2) | |
swait() | |
end | |
local rocksm = Instance.new("Sound",Torso) | |
rocksm.SoundId = "rbxassetid://168514932" | |
rocksm.Volume = 10 | |
rocksm.Pitch = .94 | |
rocksm:Play() | |
removeuseless:AddItem(rocksm,7) | |
removeuseless:AddItem(g1,.001) | |
local rb = Instance.new("Part",Torso) | |
rb.Size = Vector3.new(.1,.1,.1) | |
rb.Anchored = false | |
rb.Transparency = 1 | |
rb.CanCollide = false | |
rb.CFrame = CFrame.new(mouse.Hit.p) * CFrame.new(0,30,10) | |
local rbweld = weldBetween(rb,Root) | |
rbweld.C0 = CFrame.new(0,10,45) | |
local txc = 10 | |
coroutine.wrap(function() | |
for i = 1, 10 do | |
coroutine.wrap(function() | |
local sondb = Instance.new("Part",rb) | |
sondb.Anchored = true | |
sondb.Transparency = 1 | |
sondb.CanCollide = false | |
sondb.CFrame = rb.CFrame | |
local booms = Instance.new("Sound",sondb) | |
booms.SoundId = "rbxassetid://2175667385" | |
booms.Volume = 5 | |
booms.Pitch = .8 | |
for i = 1, 20 do | |
swait() | |
end | |
wait(1) | |
booms:Play() | |
end)() | |
swait(6) | |
end | |
end)() | |
for i = 1, 90 do | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-30),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.2,-2,7.2 + .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(-9),math.rad(0)),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.2,-2,7.2+ .95 * math.sin(sine/12)) * CFrame.Angles(math.rad(45),math.rad(9),math.rad(0)),.2) | |
coroutine.wrap(function() | |
local cyl = Instance.new("Part",Torso) | |
cyl.Shape = "Cylinder" | |
cyl.BrickColor = BrickColor.new("Really black") | |
cyl.Anchored = true | |
cyl.Transparency = 1 | |
cyl.CanCollide = false | |
cyl.Material = "Neon" | |
cyl.CFrame = rb.CFrame * CFrame.new(math.random(-30,30),2,math.random(-30,30)) * CFrame.Angles(math.rad(90),math.rad(90),0) | |
cyl.Size = Vector3.new(4,6 * math.random(4,8),6 * math.random(4,8)) | |
for i = 1, 20 do | |
cyl.Transparency = cyl.Transparency - .05 | |
swait() | |
end | |
wait(1) | |
local brock = Instance.new("Part",Torso) | |
brock.Size = Vector3.new(9,70 + math.random(10,33),9) | |
brock.Anchored = true | |
brock.Transparency = .3 | |
brock.CanCollide = false | |
brock.Material = "Neon" | |
brock.BrickColor = BrickColor.new("Really black") | |
brock.CFrame = cyl.CFrame * CFrame.new(0,70,0) | |
coroutine.wrap(function() | |
local shockwave = Instance.new("Part", Torso) | |
shockwave.Size = Vector3.new(1,1,1) | |
shockwave.CanCollide = false | |
shockwave.Anchored = true | |
shockwave.Transparency = .4 | |
shockwave.BrickColor = BrickColor.new("White") | |
shockwave.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0) | |
local shockwavemesh = Instance.new("SpecialMesh", shockwave) | |
shockwavemesh.Scale = Vector3.new(10,1,10) | |
shockwavemesh.MeshId = "rbxassetid://20329976" | |
local shockwave2 = Instance.new("Part", Torso) | |
shockwave2.Size = Vector3.new(1,1,1) | |
shockwave2.CanCollide = false | |
shockwave2.Anchored = true | |
shockwave2.Transparency = .4 | |
shockwave2.BrickColor = BrickColor.new("White") | |
shockwave2.CFrame = CFrame.new(cyl.Position) * CFrame.new(0,-1,0) | |
local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2) | |
shockwavemesh2.Scale = Vector3.new(1,1,1) | |
shockwavemesh2.MeshId = "rbxassetid://20329976" | |
for i = 1, 30 do | |
shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+math.random(-4,12)),0) | |
shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-math.random(-4,12)),0) | |
shockwave.Transparency = shockwave.Transparency + 0.05 | |
shockwave2.Transparency = shockwave2.Transparency + 0.05 | |
shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(8,2.5,8) | |
shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(10,2,10) | |
swait() | |
end | |
shockwave:Remove() | |
shockwave2:Remove() | |
end)() | |
Hit = damagealll(52,brock.Position) | |
for _,v in pairs(Hit) do | |
if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then | |
slachtoffer = v:FindFirstChildOfClass("Humanoid") | |
coroutine.wrap(function() | |
local w = Instance.new("Part",Torso) | |
w.Anchored = true | |
w.CanCollide = false | |
w.Material = "Neon" | |
w.BrickColor = BrickColor.new("Really black") | |
if slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
w.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame | |
end | |
w.Size = Vector3.new(3,3,3) | |
w.Shape = "Ball" | |
for i = 1, 50 do | |
w.Transparency = w.Transparency + .05 | |
w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
swait() | |
end | |
w:Remove() | |
end)() | |
for i = 1, 8 do | |
coroutine.wrap(function() | |
local ps = Instance.new("Part",Torso) | |
ps.Size = Vector3.new(1,1,1) | |
ps.Anchored = true | |
ps.BrickColor = BrickColor.new("Really black") | |
ps.Material = "Neon" | |
if slachtoffer.RigType == Enum.HumanoidRigType.R6 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
elseif slachtoffer.RigType == Enum.HumanoidRigType.R15 then | |
ps.CFrame = slachtoffer.Parent:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
end | |
local psm = Instance.new("SpecialMesh",ps) | |
psm.MeshType = "Sphere" | |
psm.Scale = Vector3.new(3,1,3) | |
for i = 1, 50 do | |
psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
ps.Transparency = ps.Transparency + .025 | |
swait() | |
end | |
ps:Remove() | |
end)() | |
end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
x.CanCollide = true x:BreakJoints() end end | |
for i,x in pairs(slachtoffer.Parent:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
slachtoffer.Parent:BreakJoints() | |
end | |
end | |
for i = 1, 50 do | |
brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25) | |
swait() | |
end | |
wait(4) | |
for i = 1, 40 do | |
brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,2,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.25) | |
swait() | |
end | |
for i = 1, 40 do | |
brock.Transparency = brock.Transparency + .025 | |
brock.CFrame = brock.CFrame:lerp(CFrame.new(cyl.Position) * CFrame.new(0,-40,0) * CFrame.Angles(math.rad(math.random(-12,12)),math.rad(math.random(-12,12)),math.rad(math.random(-12,12))),.09) | |
swait() | |
end | |
brock:Remove() | |
for i = 1, 30 do | |
cyl.Size = cyl.Size + Vector3.new(0,3,3) | |
cyl.Transparency = cyl.Transparency + .05 | |
swait() | |
end | |
cyl:Remove() | |
rb:Remove() | |
end)() | |
txc = txc + 8 | |
rbweld.C0 = rbweld.C0:lerp(CFrame.new(0,10,txc),.3) | |
swait() | |
end | |
attacking = false | |
debounce = false | |
if xester then | |
ws = 155 | |
else | |
ws = 92 | |
end | |
elseif Press=='q' then | |
if mouse.Target ~= nil and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") then | |
if debounce then return end | |
debounce = true | |
ws = 0 | |
g1 = Instance.new("BodyGyro", Root) | |
g1.D = 175 | |
g1.P = 20000 | |
g1.MaxTorque = Vector3.new(0,9000,0) | |
local targ = mouse.Target.Parent:FindFirstChildOfClass("Humanoid").Parent | |
for i = 1, 20 do | |
g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,targ.Head.Position),.2) | |
swait() | |
end | |
removeuseless:AddItem(g1,.001) | |
eyeball1.BrickColor = BrickColor.new("Crimson") | |
eyeball1.Material = "Neon" | |
eyeball2.BrickColor = BrickColor.new("Crimson") | |
eyeball2.Material = "Neon" | |
local z = { | |
Color = BrickColor.new("Really black").Color | |
} | |
SOUND(Head,2175667385,10,false,10) | |
for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
coroutine.wrap(function() | |
coroutine.wrap(function() | |
coroutine.wrap(function() | |
local w = Instance.new("Part",Torso) | |
w.Anchored = true | |
w.CanCollide = false | |
w.Material = "Neon" | |
w.BrickColor = BrickColor.new("Really black") | |
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
w.CFrame = targ:FindFirstChild("UpperTorso").CFrame | |
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
w.CFrame = targ:FindFirstChild("Torso").CFrame | |
end | |
w.Size = Vector3.new(3,3,3) | |
w.Shape = "Ball" | |
for i = 1, 50 do | |
w.Transparency = w.Transparency + .05 | |
w.Size = w.Size + Vector3.new(3.5,3.5,3.5) | |
swait() | |
end | |
w:Remove() | |
end)() | |
for i = 1, 8 do | |
coroutine.wrap(function() | |
local ps = Instance.new("Part",Torso) | |
ps.Size = Vector3.new(1,1,1) | |
ps.Anchored = true | |
ps.BrickColor = BrickColor.new("Really black") | |
ps.Material = "Neon" | |
if targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then | |
ps.CFrame = targ:FindFirstChild("UpperTorso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
elseif targ:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then | |
ps.CFrame = targ:FindFirstChild("Torso").CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180))) | |
end | |
local psm = Instance.new("SpecialMesh",ps) | |
psm.MeshType = "Sphere" | |
psm.Scale = Vector3.new(3,1,3) | |
for i = 1, 50 do | |
psm.Scale = psm.Scale + Vector3.new(0,5,0) | |
ps.Transparency = ps.Transparency + .025 | |
swait() | |
end | |
ps:Remove() | |
end)() | |
end | |
end)() | |
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Clone() x.Parent = workspace x.Material = "Glass" x.BrickColor = BrickColor.new("Really black") x.Anchored = false | |
x.CanCollide = true x:BreakJoints() end end | |
for i,x in pairs(targ:GetDescendants()) do if x:IsA("Part") then x:Remove() end end | |
targ:BreakJoints() | |
for i = 1, 40 do | |
local lol = smoothen:Create(eyeball1,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol:Play() | |
local lol2 = smoothen:Create(eyeball2,TweenInfo.new(.3,Enum.EasingStyle.Linear),z) | |
lol2:Play() | |
swait() | |
end | |
eyeball1.BrickColor = BrickColor.new("Really black") | |
eyeball2.BrickColor = BrickColor.new("Really black") | |
eyeball1.Material = "Glass" | |
eyeball2.Material = "Glass" | |
debounce = false | |
if xester then | |
ws = 155 | |
else | |
ws = 92 | |
end | |
end)() | |
end | |
end | |
end | |
end) | |
checks1 = coroutine.wrap(function() -------Checks | |
while true do | |
if Root.Velocity.Magnitude < 10 then | |
position = "Idle" | |
elseif Root.Velocity.Magnitude > 10 then | |
position = "Walking" | |
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 | |
hum:SetStateEnabled("Dead",false) hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false) | |
if hum.Health < .1 then | |
immortality() | |
end | |
wait() | |
end | |
end)() | |
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) | |
coroutine.wrap(function() | |
while true do | |
hpheight = 5.8 + .95 * math.sin(sine/12) | |
hum.HipHeight = hpheight | |
swait() | |
end | |
end)() | |
local anims = coroutine.wrap(function() | |
while true do | |
settime = 0.05 | |
sine = sine + change | |
if position == "Walking" and attacking == false then | |
if huntdown then | |
change = .85 | |
else | |
change = .5 | |
end | |
walking = true | |
if xester then | |
ws = 155 | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(-25),math.rad(2 * math.sin(sine/6))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5.9,-7 + 0 * math.sin(sine/6),5) * CFrame.Angles(math.rad(212 + 3 * math.sin(sine/6)),math.rad(25),math.rad(2 * math.sin(sine/6))),.2) | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 0 * math.sin(sine/3.5)),math.rad(0 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2) | |
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
else | |
ws = 92 | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-4.2 + 1 * math.sin(sine/3.5),-5 + .5 * math.sin(sine/3.5),6) * CFrame.Angles(math.rad(150 + 120 * -math.sin(sine/3.5)),math.rad(30 * math.sin(sine/3.5)),math.rad(-17 * math.sin(sine/3.5))),.2) | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,1 * math.sin(sine/1.75),0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/3.5)),math.rad(10 * math.sin(sine/3.5)) + Root.RotVelocity.Y / 15,math.rad(0) + Root.RotVelocity.Y / 19),.2) | |
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
end | |
elseif position == "Idle" and attacking == false then | |
change = .5 | |
HAND1LERP.C0 = HAND1LERP.C0:lerp(CFrame.new(4.5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(10 + 1 * math.sin(sine/13)),math.rad(-5 + 5 * math.sin(sine/12)),math.rad(-36 - 4 * math.sin(sine/11))),.2) | |
HAND2LERP.C0 = HAND2LERP.C0:lerp(CFrame.new(-5,-5 + .5 * math.sin(sine/14),6) * CFrame.Angles(math.rad(13 - 3 * math.sin(sine/12)),math.rad(36 - 3 * math.sin(sine/13)),math.rad(35 + 2 * math.sin(sine/11))),.2) | |
ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 + 5 * math.sin(sine/12)),math.rad(0 * math.sin(sine/16)),math.rad(0)),.2) | |
LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.78,0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(4),math.rad(35)),.25) | |
RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5, .78, 0) * CFrame.Angles(math.rad(180 + 4 * math.sin(sine/12)),math.rad(-4),math.rad(-35)), 0.25) | |
RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.58,1.8,0) * CFrame.Angles(math.rad(6 + 1 * math.sin(sine/12)),math.rad(-2 + 2 * math.sin(sine/12)),math.rad(5 - 1 * math.sin(sine/12))),.2) | |
LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(1.2,1.3, -.12) * CFrame.Angles(math.rad(-9 + .5 * math.sin(sine/12)),math.rad(2 - 1 * math.sin(sine/12)),math.rad(-35 + 1 * math.sin(sine/12))),.2) | |
end | |
swait() | |
end | |
end) | |
anims() | |
warn("The one you fear, Made by Supr14.") | |
end) | |
-- Scripts: | |
local function WRNG_fake_script() -- Dominusastra.LocalScript | |
local script = Instance.new('LocalScript', Dominusastra) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(WRNG_fake_script)() | |
local function ICONC_fake_script() -- Vereus.LocalScript | |
local script = Instance.new('LocalScript', Vereus) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(ICONC_fake_script)() | |
local function DCDAA_fake_script() -- Pandora.LocalScript | |
local script = Instance.new('LocalScript', Pandora) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(DCDAA_fake_script)() | |
local function QQUPQQD_fake_script() -- Sindragon.LocalScript | |
local script = Instance.new('LocalScript', Sindragon) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(QQUPQQD_fake_script)() | |
local function MLQYR_fake_script() -- SinUnleashed.LocalScript | |
local script = Instance.new('LocalScript', SinUnleashed) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(MLQYR_fake_script)() | |
local function EYXT_fake_script() -- Astrie.LocalScript | |
local script = Instance.new('LocalScript', Astrie) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(EYXT_fake_script)() | |
local function DMFWOMF_fake_script() -- Roadrollerda.LocalScript | |
local script = Instance.new('LocalScript', Roadrollerda) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(DMFWOMF_fake_script)() | |
local function MBEMNC_fake_script() -- DualRainbowSword.LocalScript | |
local script = Instance.new('LocalScript', DualRainbowSword) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(MBEMNC_fake_script)() | |
local function KEYE_fake_script() -- Banhammer.LocalScript | |
local script = Instance.new('LocalScript', Banhammer) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(KEYE_fake_script)() | |
local function UKYK_fake_script() -- Tsunami.LocalScript | |
local script = Instance.new('LocalScript', Tsunami) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(UKYK_fake_script)() | |
local function IOYD_fake_script() -- Illuminati.LocalScript | |
local script = Instance.new('LocalScript', Illuminati) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(IOYD_fake_script)() | |
local function VDNRYR_fake_script() -- Bigsmoke.LocalScript | |
local script = Instance.new('LocalScript', Bigsmoke) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(VDNRYR_fake_script)() | |
local function BXARE_fake_script() -- Johndoe.LocalScript | |
local script = Instance.new('LocalScript', Johndoe) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(BXARE_fake_script)() | |
local function FZERTZR_fake_script() -- DeathStar.LocalScript | |
local script = Instance.new('LocalScript', DeathStar) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(FZERTZR_fake_script)() | |
local function EIFL_fake_script() -- TheMurderer.LocalScript | |
local script = Instance.new('LocalScript', TheMurderer) | |
script.Parent.MouseButton1Click:Connect(function() | |
script.Parent.Parent.Frame.Visible = true | |
end) | |
end | |
coroutine.wrap(EIFL_fake_script)() | |
local function QEUBQO_fake_script() -- X.LocalScript | |
local script = Instance.new('LocalScript', X) | |
script.Parent.MouseButton1Click:Connect (function() | |
script.Parent.Parent.Visible = false | |
end) | |
end | |
coroutine.wrap(QEUBQO_fake_script)() | |
local function NYSEWP_fake_script() -- InsertedObjects.LocalScript | |
local script = Instance.new('LocalScript', InsertedObjects) | |
frame = script.Parent.Main -- Take out {}s, and put name of frame | |
frame.Draggable = true | |
frame.Active = true | |
frame.Selectable = true | |
end | |
coroutine.wrap(NYSEWP_fake_script)() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment