Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local EleganceV1 = Instance.new("ScreenGui")
- local LoginFrame = Instance.new("Frame")
- local Header = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Username = Instance.new("TextBox")
- local Password = Instance.new("TextBox")
- local Submit = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local MHeader = Instance.new("Frame")
- local MTitle = Instance.new("TextLabel")
- local Exit = Instance.new("TextButton")
- local ScriptsButt1 = Instance.new("TextButton")
- local ScriptsButt3 = Instance.new("TextButton")
- local ScriptsButt2 = Instance.new("TextButton")
- local MFooter = Instance.new("Frame")
- local Credits = Instance.new("TextLabel")
- local Scripts1Frame = Instance.new("Frame")
- local S1Header = Instance.new("Frame")
- local S1Title = Instance.new("TextLabel")
- local GrabKnifeV4Butt = Instance.new("TextButton")
- local S1Exit = Instance.new("TextButton")
- local Open = Instance.new("Frame")
- local OpenBut = Instance.new("TextButton")
- local Close = Instance.new("Frame")
- local CloseBut = Instance.new("TextButton")
- local Keemstar = Instance.new("TextButton")
- local DogeFace = Instance.new("TextButton")
- local Pepe = Instance.new("TextButton")
- local Illuminati = Instance.new("TextButton")
- local UltraMech = Instance.new("TextButton")
- local Bleach = Instance.new("TextButton")
- local NoClip = Instance.new("TextButton")
- local JohnDoe = Instance.new("TextButton")
- local Invisible = Instance.new("TextButton")
- local Scripts2Frame = Instance.new("Frame")
- local S2Header_2 = Instance.new("Frame")
- local S2Title_2 = Instance.new("TextLabel")
- local Swim = Instance.new("TextButton")
- local S2Exit_2 = Instance.new("TextButton")
- local BookOfWisdom = Instance.new("TextButton")
- local WeAreNumber1 = Instance.new("TextButton")
- local Disco = Instance.new("TextButton")
- local VaporGun = Instance.new("TextButton")
- local HilaryClinton = Instance.new("TextButton")
- local Bomb = Instance.new("TextButton")
- local Harambe = Instance.new("TextButton")
- local MLG = Instance.new("TextButton")
- local TsarBomba = Instance.new("TextButton")
- --Properties:
- EleganceV1.Name = "Elegance V1"
- EleganceV1.Parent = game.CoreGui
- EleganceV1.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- LoginFrame.Name = "Login Frame"
- LoginFrame.Parent = EleganceV1
- LoginFrame.Active = true
- LoginFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- LoginFrame.BorderColor3 = Color3.new(1, 0, 0)
- LoginFrame.BorderSizePixel = 10
- LoginFrame.Position = UDim2.new(0.711906135, 0, 0.0626535565, 0)
- LoginFrame.Size = UDim2.new(0, 234, 0, 300)
- LoginFrame.Visible = false
- Header.Name = "Header"
- Header.Parent = LoginFrame
- Header.BackgroundColor3 = Color3.new(0, 0, 0)
- Header.BorderSizePixel = 0
- Header.Position = UDim2.new(0, 0, -0.000969263725, 0)
- Header.Size = UDim2.new(0, 234, 0, 46)
- Title.Name = "Title"
- Title.Parent = Header
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(0, 234, 0, 46)
- Title.Font = Enum.Font.GothamBlack
- Title.Text = "Elegance V1 | Login"
- Title.TextColor3 = Color3.new(1, 0, 0)
- Title.TextSize = 25
- Username.Name = "Username"
- Username.Parent = LoginFrame
- Username.BackgroundColor3 = Color3.new(0, 0, 0)
- Username.Position = UDim2.new(0.0427350439, 0, 0.233333334, 0)
- Username.Size = UDim2.new(0, 212, 0, 34)
- Username.Font = Enum.Font.GothamBlack
- Username.Text = "Username"
- Username.TextColor3 = Color3.new(1, 0, 0)
- Username.TextSize = 14
- Password.Name = "Password"
- Password.Parent = LoginFrame
- Password.BackgroundColor3 = Color3.new(0, 0, 0)
- Password.Position = UDim2.new(0.0470085479, 0, 0.443333328, 0)
- Password.Size = UDim2.new(0, 211, 0, 34)
- Password.Font = Enum.Font.GothamBlack
- Password.Text = "Password"
- Password.TextColor3 = Color3.new(1, 0, 0)
- Password.TextSize = 14
- Submit.Name = "Submit"
- Submit.Parent = LoginFrame
- Submit.BackgroundColor3 = Color3.new(1, 0, 0)
- Submit.Position = UDim2.new(0.0470085479, 0, 0.649999976, 0)
- Submit.Size = UDim2.new(0, 211, 0, 42)
- Submit.Font = Enum.Font.GothamBlack
- Submit.Text = "Submit"
- Submit.TextColor3 = Color3.new(0, 0, 0)
- Submit.TextSize = 20
- Submit.MouseButton1Down:connect(function()
- if Username.Text == "Stacks" and Password.Text == "admin" then
- MainFrame.Visible = true
- LoginFrame.Visible = false
- end
- end)
- MainFrame.Name = "Main Frame"
- MainFrame.Parent = EleganceV1
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- MainFrame.BackgroundTransparency = 0.30000001192093
- MainFrame.BorderColor3 = Color3.new(1, 0, 0)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.0919185877, 0, 0.213759214, 0)
- MainFrame.Size = UDim2.new(0, 476, 0, 458)
- MainFrame.Visible = false
- MainFrame.Draggable = true
- MHeader.Name = "MHeader"
- MHeader.Parent = MainFrame
- MHeader.BackgroundColor3 = Color3.new(0, 0, 0)
- MHeader.Position = UDim2.new(0.00210084044, 0, 0, 0)
- MHeader.Size = UDim2.new(0, 475, 0, 57)
- MTitle.Name = "MTitle"
- MTitle.Parent = MHeader
- MTitle.BackgroundColor3 = Color3.new(0, 0, 0)
- MTitle.BorderSizePixel = 0
- MTitle.Size = UDim2.new(0, 475, 0, 57)
- MTitle.Font = Enum.Font.GothamBlack
- MTitle.Text = "Elegance V1"
- MTitle.TextColor3 = Color3.new(1, 0, 0)
- MTitle.TextSize = 40
- Exit.Name = "Exit"
- Exit.Parent = MainFrame
- Exit.BackgroundColor3 = Color3.new(1, 0, 0)
- Exit.Position = UDim2.new(0.955882251, 0, 0, 0)
- Exit.Size = UDim2.new(0, 22, 0, 26)
- Exit.Font = Enum.Font.GothamBlack
- Exit.Text = "X"
- Exit.TextColor3 = Color3.new(0, 0, 0)
- Exit.TextSize = 14
- Exit.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- end)
- ScriptsButt1.Name = "ScriptsButt 1"
- ScriptsButt1.Parent = MainFrame
- ScriptsButt1.BackgroundColor3 = Color3.new(1, 0, 0)
- ScriptsButt1.BorderColor3 = Color3.new(0, 0, 0)
- ScriptsButt1.BorderSizePixel = 0
- ScriptsButt1.Position = UDim2.new(0.0420168079, 0, 0.141921401, 0)
- ScriptsButt1.Size = UDim2.new(0, 128, 0, 42)
- ScriptsButt1.Font = Enum.Font.GothamBold
- ScriptsButt1.Text = "Scripts 1"
- ScriptsButt1.TextColor3 = Color3.new(0, 0, 0)
- ScriptsButt1.TextSize = 20
- ScriptsButt1.TextWrapped = true
- ScriptsButt1.MouseButton1Down:connect(function()
- Scripts1Frame.Visible = true
- end)
- ScriptsButt3.Name = "ScriptsButt 3"
- ScriptsButt3.Parent = MainFrame
- ScriptsButt3.BackgroundColor3 = Color3.new(1, 0, 0)
- ScriptsButt3.BorderColor3 = Color3.new(0, 0, 0)
- ScriptsButt3.BorderSizePixel = 0
- ScriptsButt3.Position = UDim2.new(0.686974823, 0, 0.141921401, 0)
- ScriptsButt3.Size = UDim2.new(0, 128, 0, 42)
- ScriptsButt3.Font = Enum.Font.GothamBold
- ScriptsButt3.Text = "Scripts 3"
- ScriptsButt3.TextColor3 = Color3.new(0, 0, 0)
- ScriptsButt3.TextSize = 20
- ScriptsButt3.TextWrapped = true
- ScriptsButt2.Name = " ScriptsButt 2"
- ScriptsButt2.Parent = MainFrame
- ScriptsButt2.BackgroundColor3 = Color3.new(1, 0, 0)
- ScriptsButt2.BorderColor3 = Color3.new(0, 0, 0)
- ScriptsButt2.BorderSizePixel = 0
- ScriptsButt2.Position = UDim2.new(0.363445401, 0, 0.141921401, 0)
- ScriptsButt2.Size = UDim2.new(0, 128, 0, 42)
- ScriptsButt2.Font = Enum.Font.GothamBold
- ScriptsButt2.Text = "Scripts 2"
- ScriptsButt2.TextColor3 = Color3.new(0, 0, 0)
- ScriptsButt2.TextSize = 20
- ScriptsButt2.TextWrapped = true
- ScriptsButt2.MouseButton1Click:connect(function()
- Scripts2Frame.Visible = true
- end)
- MFooter.Name = "MFooter"
- MFooter.Parent = MainFrame
- MFooter.BackgroundColor3 = Color3.new(0, 0, 0)
- MFooter.Position = UDim2.new(0, 0, 0.875545859, 0)
- MFooter.Size = UDim2.new(0, 475, 0, 57)
- Credits.Name = "Credits"
- Credits.Parent = MFooter
- Credits.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Credits.Position = UDim2.new(0, 0, 0.77192986, 0)
- Credits.Size = UDim2.new(0, 124, 0, 13)
- Credits.Font = Enum.Font.GothamBlack
- Credits.Text = "Made By Stacks"
- Credits.TextColor3 = Color3.new(1, 0, 0)
- Credits.TextSize = 14
- Scripts1Frame.Name = "Scripts 1 Frame"
- Scripts1Frame.Parent = EleganceV1
- Scripts1Frame.Active = true
- Scripts1Frame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Scripts1Frame.BackgroundTransparency = 0.30000001192093
- Scripts1Frame.Position = UDim2.new(0.46267736, 0, 0.496314526, 0)
- Scripts1Frame.Size = UDim2.new(0, 474, 0, 344)
- Scripts1Frame.Visible = false
- Scripts1Frame.Draggable = true
- S1Header.Name = "S1Header"
- S1Header.Parent = Scripts1Frame
- S1Header.BackgroundColor3 = Color3.new(0, 0, 0)
- S1Header.BorderSizePixel = 0
- S1Header.Size = UDim2.new(0, 474, 0, 57)
- S1Title.Name = "S1Title"
- S1Title.Parent = S1Header
- S1Title.BackgroundColor3 = Color3.new(1, 1, 1)
- S1Title.BackgroundTransparency = 1
- S1Title.Size = UDim2.new(0, 474, 0, 57)
- S1Title.Font = Enum.Font.GothamBlack
- S1Title.Text = "Elegance V1 | Scripts 1"
- S1Title.TextColor3 = Color3.new(1, 0, 0)
- S1Title.TextSize = 25
- GrabKnifeV4Butt.Name = "Grab Knife V4 Butt"
- GrabKnifeV4Butt.Parent = Scripts1Frame
- GrabKnifeV4Butt.BackgroundColor3 = Color3.new(1, 0, 0)
- GrabKnifeV4Butt.BorderSizePixel = 0
- GrabKnifeV4Butt.Position = UDim2.new(0.0147679327, 0, 0.191860467, 0)
- GrabKnifeV4Butt.Size = UDim2.new(0, 161, 0, 42)
- GrabKnifeV4Butt.Font = Enum.Font.GothamBlack
- GrabKnifeV4Butt.Text = "Grab Knife V4"
- GrabKnifeV4Butt.TextColor3 = Color3.new(0, 0, 0)
- GrabKnifeV4Butt.TextSize = 14
- GrabKnifeV4Butt.MouseButton1Down:connect(function()
- local player = game:GetService('Players').LocalPlayer
- local rightclone = Instance.new('Motor6D')
- rightclone.Name = "Right Shoulder"
- rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- local leftclone = Instance.new('Motor6D')
- leftclone.Name = "Left Shoulder"
- leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- local leftlegclone = Instance.new('Motor6D')
- leftlegclone.Name = "Left Hip"
- leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- local rightlegclone = Instance.new('Motor6D')
- rightlegclone.Name = "Right Hip"
- rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- local torsoclone = Instance.new('Motor6D')
- torsoclone.Name = "RootJoint"
- torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local mouse = player:GetMouse()
- local rag1 = false
- local rag2 = false
- local firsttime = true
- local firsttime2 = true
- local firsttime3 = true
- local firsttime4 = true
- local firsttime5 = true
- local childlock = true
- local math1 = math.random(1,5)
- math1 = math1+(math.random(0,9)/10)
- local math2 = math.random(1,15)
- math2 = math2+(math.random(0,9)/10)
- local math3 = math.random(1,10)
- math3 = math3+(math.random(0,9)/10)
- local math4 = math.random(5,100)
- math4 = math4+(math.random(0,9)/10)
- local answer = (math4+(math1*math3))/(math1*math2)
- answer = math.floor((answer*10)+0.5)
- answer = answer/10
- print([[To be fair, you have to have a very high IQ to understand Rick and Morty.
- The humor is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head.
- There's also Rick's nihilistic outlook, which is deftly woven into his characterisation -
- his personal philosophy draws heavily from Narodnaya Volya literature, for instance.
- The fans understand this stuff;
- they have the intellectual capacity to truly appreciate the depths of these jokes, to realize that they're not just funny- they say something deep about LIFE.
- As a consequence people who dislike Rick and Morty truly ARE idiots-
- of course they wouldn't appreciate, for instance, the humour in Rick's existencial catchphrase "Wubba Lubba Dub Dub," which itself is a cryptic reference to Turgenev's Russian epic Fathers and Sons.
- I'm smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Dan Harmon's genius unfolds itself on their television screens.
- What fools... how I pity them.
- And yes by the way, I DO have a Rick and Morty tattoo.
- And no, you cannot see it.
- It's for the ladies' eyes only-
- And even they have to demonstrate that they're within ]]..answer..[[ IQ points of my own (preferably lower) beforehand.]])
- local rekt = {}
- -- Objects
- local MainGUI = Instance.new("ScreenGui")
- local Customize = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Frame_2 = Instance.new("Frame")
- local Frame_3 = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local R = Instance.new("TextBox")
- local G = Instance.new("TextBox")
- local B = Instance.new("TextBox")
- local TextLabel_2 = Instance.new("TextLabel")
- local TextLabel_3 = Instance.new("TextLabel")
- local TextLabel_4 = Instance.new("TextLabel")
- local Slider = Instance.new("Frame")
- local Slidee = Instance.new("ImageButton")
- local ChildLock = Instance.new("Frame")
- local TextLabel_5 = Instance.new("TextLabel")
- local mathz = Instance.new("TextLabel")
- local TextBox = Instance.new("TextBox")
- local Black = Instance.new('Frame')
- local fps = Instance.new('TextLabel')
- -- Properties
- MainGUI.Name = "MainGUI"
- MainGUI.ResetOnSpawn = false
- pcall(function()
- MainGUI.Parent = player.PlayerGui
- end)
- pcall(function()
- MainGUI.Parent = game.CoreGui
- game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5)
- game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0)
- end)
- Customize.Name = "Customize"
- Customize.Parent = MainGUI
- Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353)
- Customize.BorderSizePixel = 0
- Customize.Position = UDim2.new(0.15, 0, 0.9, 0)
- Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
- Customize.Font = Enum.Font.SourceSans
- Customize.FontSize = Enum.FontSize.Size14
- Customize.Text = "Customize V4"
- Customize.TextColor3 = Color3.new(1, 1, 1)
- Customize.TextScaled = true
- Customize.TextSize = 14
- Customize.TextWrapped = true
- Frame.Parent = Customize
- Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 1, 0)
- Frame.Size = UDim2.new(1, 0, 6.5, 0)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0)
- TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = "Blood Color: [255, 255, 255]"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextLabel.TextXAlignment = Enum.TextXAlignment.Right
- Frame_2.Parent = TextLabel
- Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0)
- Frame_2.Size = UDim2.new(1, 0, 1, 0)
- Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY
- Frame_3.Parent = Frame
- Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame_3.BackgroundTransparency = 1
- Frame_3.BorderSizePixel = 0
- Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0)
- Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0)
- Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY
- ImageLabel.Parent = Frame_3
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.BackgroundTransparency = 1
- ImageLabel.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel.Image = "rbxassetid://328298876"
- R.Name = "R"
- R.Parent = Frame_3
- R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- R.BorderSizePixel = 0
- R.Position = UDim2.new(1.39999998, 0, 0, 0)
- R.Size = UDim2.new(0.75, 0, 0.300000012, 0)
- R.Font = Enum.Font.SourceSans
- R.FontSize = Enum.FontSize.Size14
- R.Text = "Input"
- R.TextColor3 = Color3.new(1, 1, 1)
- R.TextScaled = true
- R.TextSize = 14
- R.TextWrapped = true
- R.TextXAlignment = Enum.TextXAlignment.Left
- G.Name = "G"
- G.Parent = Frame_3
- G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- G.BorderSizePixel = 0
- G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0)
- G.Size = UDim2.new(0.75, 0, 0.300000012, 0)
- G.Font = Enum.Font.SourceSans
- G.FontSize = Enum.FontSize.Size14
- G.Text = "Input"
- G.TextColor3 = Color3.new(1, 1, 1)
- G.TextScaled = true
- G.TextSize = 14
- G.TextWrapped = true
- G.TextXAlignment = Enum.TextXAlignment.Left
- B.Name = "B"
- B.Parent = Frame_3
- B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- B.BorderSizePixel = 0
- B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0)
- B.Size = UDim2.new(0.75, 0, 0.300000012, 0)
- B.Font = Enum.Font.SourceSans
- B.FontSize = Enum.FontSize.Size14
- B.Text = "Input"
- B.TextColor3 = Color3.new(1, 1, 1)
- B.TextScaled = true
- B.TextSize = 14
- B.TextWrapped = true
- B.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel_2.Parent = Frame_3
- TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_2.BackgroundTransparency = 1
- TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0)
- TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
- TextLabel_2.Font = Enum.Font.SourceSansLight
- TextLabel_2.FontSize = Enum.FontSize.Size14
- TextLabel_2.Text = "R"
- TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_2.TextScaled = true
- TextLabel_2.TextSize = 14
- TextLabel_2.TextWrapped = true
- TextLabel_3.Parent = Frame_3
- TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_3.BackgroundTransparency = 1
- TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0)
- TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
- TextLabel_3.Font = Enum.Font.SourceSansLight
- TextLabel_3.FontSize = Enum.FontSize.Size14
- TextLabel_3.Text = "G"
- TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_3.TextScaled = true
- TextLabel_3.TextSize = 14
- TextLabel_3.TextWrapped = true
- TextLabel_4.Parent = Frame_3
- TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_4.BackgroundTransparency = 1
- TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0)
- TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
- TextLabel_4.Font = Enum.Font.SourceSansLight
- TextLabel_4.FontSize = Enum.FontSize.Size14
- TextLabel_4.Text = "B"
- TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_4.TextScaled = true
- TextLabel_4.TextSize = 14
- TextLabel_4.TextWrapped = true
- Slider.Name = "Slider"
- Slider.Parent = Frame
- Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
- Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0)
- Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0)
- Slidee.Name = "Slidee"
- Slidee.Parent = Slider
- Slidee.AnchorPoint = Vector2.new(0.5, 0.5)
- Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
- Slidee.BorderSizePixel = 0
- Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0)
- Slidee.ImageTransparency = 1
- ChildLock.Name = "ChildLock"
- ChildLock.Parent = Frame
- ChildLock.Active = true
- ChildLock.BackgroundColor3 = Color3.new(0, 0, 0)
- ChildLock.BackgroundTransparency = 0.60000002384186
- ChildLock.BorderSizePixel = 0
- ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0)
- ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0)
- ChildLock.ZIndex = 2
- TextLabel_5.Parent = ChildLock
- TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel_5.BackgroundTransparency = 1
- TextLabel_5.BorderSizePixel = 0
- TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0)
- TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0)
- TextLabel_5.ZIndex = 3
- TextLabel_5.Font = Enum.Font.SourceSans
- TextLabel_5.FontSize = Enum.FontSize.Size14
- TextLabel_5.Text = "do this math to disable child lock"
- TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
- TextLabel_5.TextScaled = true
- TextLabel_5.TextSize = 14
- TextLabel_5.TextWrapped = true
- mathz.Name = "mathz"
- mathz.Parent = ChildLock
- mathz.BackgroundColor3 = Color3.new(1, 1, 1)
- mathz.BackgroundTransparency = 1
- mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0)
- mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0)
- mathz.ZIndex = 3
- mathz.Font = Enum.Font.SourceSans
- mathz.FontSize = Enum.FontSize.Size14
- mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4
- mathz.TextColor3 = Color3.new(1, 1, 1)
- mathz.TextScaled = true
- mathz.TextSize = 14
- mathz.TextWrapped = true
- fps.Name = "fps"
- fps.Parent = Frame
- fps.BackgroundColor3 = Color3.new(1, 1, 1)
- fps.BackgroundTransparency = 1
- fps.Size = UDim2.new(0.75, 0, 0.05, 0)
- fps.ZIndex = 3
- fps.Font = Enum.Font.SourceSansLight
- fps.FontSize = Enum.FontSize.Size14
- fps.Text = "FPS: N/A"
- fps.TextColor3 = Color3.new(1, 1, 1)
- fps.TextScaled = true
- fps.TextSize = 14
- fps.TextWrapped = true
- fps.TextXAlignment = Enum.TextXAlignment.Left
- TextBox.Parent = ChildLock
- TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0)
- TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0)
- TextBox.ZIndex = 3
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size14
- TextBox.Text = "Answer (rounded to nearest tenth)"
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- Black.Size = UDim2.new(1,0,1,0)
- Black.BackgroundTransparency = 1
- Black.BorderSizePixel = 0
- Black.BackgroundColor3 = Color3.new(0,0,0)
- Black.Parent = Frame_3
- TextBox.FocusLost:connect(function()
- if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then
- ChildLock:Destroy()
- childlock = false
- notify("Child lock disabled, press B to enable dildo mode.",true)
- end
- end)
- local mousedown = false
- mouse.Button1Down:connect(function()
- mousedown = true
- end)
- mouse.Button1Up:connect(function()
- mousedown = false
- slidee = false
- end)
- Slidee.MouseButton1Down:connect(function()
- slidee = true
- end)
- Slidee.MouseButton1Up:connect(function()
- slidee = false
- end)
- mouse.Move:connect(function()
- if mousedown then
- if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then
- local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X)
- local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y)
- local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency)
- Frame_2.BackgroundColor3 = newcolor
- TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
- end
- end
- if slidee then
- local ree = mouse.X
- if ree < Slider.AbsolutePosition.X then
- ree = Slider.AbsolutePosition.X
- elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then
- ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X
- end
- Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0)
- Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X)
- end
- end)
- R.FocusLost:connect(function()
- if R.Text ~= "Input" then
- if tonumber(R.Text) then
- if tonumber(R.Text) > 255 then
- R.Text = "255"
- end
- local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b)
- Frame_2.BackgroundColor3 = newcolor
- TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
- R.Text = "Input"
- end
- end
- end)
- G.FocusLost:connect(function()
- if G.Text ~= "Input" then
- if tonumber(G.Text) then
- if tonumber(G.Text) > 255 then
- G.Text = "255"
- end
- local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b)
- Frame_2.BackgroundColor3 = newcolor
- TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
- G.Text = "Input"
- end
- end
- end)
- B.FocusLost:connect(function()
- if B.Text ~= "Input" then
- if tonumber(B.Text) then
- if tonumber(B.Text) > 255 then
- B.Text = "255"
- end
- local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255))
- Frame_2.BackgroundColor3 = newcolor
- TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]"
- B.Text = "Input"
- end
- end
- end)
- local open = false
- local opening = false
- Customize.MouseButton1Click:connect(function()
- if opening == false then
- if open == false then
- open = true
- opening = true
- Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1)
- wait(1)
- opening = false
- else
- open = false
- opening = true
- Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1)
- wait(1)
- opening = false
- end
- end
- end)
- Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0)
- function removewelds(part)
- for i,v in pairs(part:GetChildren()) do
- if v:IsA('Weld') then v:Destroy() end
- end
- end
- function notify(msg,remove)
- local coru= coroutine.wrap(function()
- for i,v in pairs(MainGUI:GetChildren()) do
- if v:IsA('TextLabel') then v:Destroy() end
- end
- if msg then
- local TextLabel = Instance.new("TextLabel")
- local Frame = Instance.new("Frame")
- -- Properties
- TextLabel.Parent = MainGUI
- TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10)
- TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size60
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 50
- TextLabel.Transparency = 1
- TextLabel.TextScaled = true
- TextLabel.TextYAlignment = Enum.TextYAlignment.Top
- TextLabel.Text = ""
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- Frame.Parent = TextLabel
- Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157)
- Frame.BorderSizePixel = 0
- Frame.Transparency = 1
- Frame.Position = UDim2.new(0, 0, 1,0)
- Frame.Size = UDim2.new(1, 0, 0, 5)
- for i=1,10 do
- TextLabel.Transparency = TextLabel.Transparency-0.1
- TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1)
- Frame.Transparency = Frame.Transparency-0.1
- wait()
- end
- for i=1,#msg do
- TextLabel.Text = string.sub(msg,1,i)
- wait()
- end
- wait(1)
- if remove ~= true then
- for i=1,10 do
- TextLabel.Transparency = TextLabel.Transparency+0.1
- TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1)
- Frame.Transparency = Frame.Transparency+0.1
- wait()
- end
- TextLabel:Destroy()
- end
- end
- end)
- coru()
- end
- if workspace.FilteringEnabled == false then
- if workspace:PGSIsEnabled() then
- notify('Press Z to equip. Created by mustardfoot and Tollonis.',true)
- else
- notify('(this game is really old or something and has the shitty physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true)
- end
- else
- notify('LOL this game has filtering enabled so it literally wont work here')
- end
- local handProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle",0};
- {"LowerAngle",0};
- }
- local shinProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle", 0};
- {"LowerAngle", -75};
- }
- local footProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle", 15};
- {"LowerAngle", -45};
- }
- function bleed(frick,OwO)
- while frick.Parent ~= nil and frick.Parent.Parent ~= nil do
- local reeee = coroutine.wrap(function()
- local thing = Instance.new('Part',workspace)
- thing.Size = Vector3.new(0.2,0.2,0.2)
- thing.CFrame = frick.CFrame
- thing.Transparency = 1
- thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3)
- thing.Material = Enum.Material.SmoothPlastic
- thing.Name = "Blood"
- thing.CanCollide =false
- thing:BreakJoints()
- local rawrxd = Instance.new('BodyForce',thing)
- rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0)
- local coru = coroutine.wrap(function()
- wait(0.01)
- rawrxd:Destroy()
- end)
- coru()
- local ree = Instance.new('ParticleEmitter',thing)
- if OwO ~= true then
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)})
- else
- ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))})
- end
- ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)})
- ree.Texture = 'rbxassetid://867743272'
- ree.Lifetime = NumberRange.new(0.4)
- ree.Rate = 50
- ree.LockedToPart = true
- ree.Speed = NumberRange.new(0, 2)
- thing.Touched:connect(function(tou)
- if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then
- local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z)
- local Point1 = pos-Vector3.new(0.01,0.01,0.01)
- local Point2 = pos+Vector3.new(0.01,0.01,0.01)
- local Region = Region3.new(Point1,Point2)
- for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do
- if Part.Name == "BloodPuddle" then
- tou = Part
- end
- end
- thing:Destroy()
- if tou.Name == "BloodPuddle" then
- if tou.Size.X < 1 then
- pcall(function()
- tou.Sound:Play()
- end)
- end
- local reee = tou.CFrame
- if tou.Transparency > -0.2 then
- tou.Transparency = tou.Transparency -0.1
- end
- if tou.Size.X < 5 then
- tou.Size = tou.Size+Vector3.new(0.1,0,0.1)
- tou.CFrame = reee
- end
- elseif tou.CanCollide == true then
- local bloodlol = Instance.new('Part',workspace)
- local sound = Instance.new('Sound',bloodlol)
- sound.SoundId = 'rbxassetid://685857471'
- sound.Volume = 0.025
- sound:Play()
- bloodlol.Size=Vector3.new(1,0.2,1)
- bloodlol.Name = "BloodPuddle"
- bloodlol.Anchored = true
- bloodlol.CanCollide = false
- bloodlol.Material = Enum.Material.SmoothPlastic
- if OwO ~= true then
- bloodlol.Color = Frame_2.BackgroundColor3
- else
- bloodlol.Color = Color3.new(1,1,1)
- end
- local cyl = Instance.new('CylinderMesh',bloodlol)
- cyl.Scale = Vector3.new(1,0.1,1)
- bloodlol.CFrame = CFrame.new(pos)
- local coru=coroutine.wrap(function()
- while bloodlol.Parent ~= nil do
- if bloodlol.Transparency < 1 then
- bloodlol.Transparency = bloodlol.Transparency+0.05
- else
- bloodlol:Destroy()
- end
- wait(0.1)
- end
- end)
- coru()
- end
- end
- end)
- local coru = coroutine.wrap(function()
- wait(1)
- thing:Destroy()
- end)
- coru()
- end)
- reeee()
- wait()
- end
- end
- function stun(char)
- local found = false
- pcall(function()
- char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics)
- end)
- for i,v in pairs(rekt) do
- if v == char then
- found = true
- end
- end
- if found == false then
- table.insert(rekt,char)
- end
- end
- function unstun(char)
- for i,v in pairs(rekt) do
- if v == char then
- if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then
- v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running)
- v:FindFirstChildOfClass('Humanoid').PlatformStand = false
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').Jump = true
- v:FindFirstChildOfClass('Humanoid').JumpPower = 50
- v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- v:FindFirstChildOfClass('Humanoid').Name = "Humanoid"
- end
- table.remove(rekt,i)
- end
- end
- end
- function recurse(root,callback,i)
- i= i or 0
- for _,v in pairs(root:GetChildren()) do
- i = i + 1
- callback(i,v)
- if #v:GetChildren() > 0 then
- i = recurse(v,callback,i)
- end
- end
- return i
- end
- function ragdollJoint(character, part0, part1, attachmentName, className, properties)
- if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then
- if character:FindFirstChild('HumanoidRootPart')then
- character.HumanoidRootPart.CanCollide = false
- end
- for i,v in pairs(character:GetChildren()) do
- if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then
- v.Size = Vector3.new(1,1,1)
- end
- end
- recurse(character, function(_,v)
- if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then
- v.Axis = Vector3.new(0, 1, 0)
- v.SecondaryAxis = Vector3.new(0, 0, 1)
- v.Rotation = Vector3.new(0, 0, 0)
- end
- end)
- if part1:FindFirstChildOfClass('Motor6D') then
- part1:FindFirstChildOfClass('Motor6D'):Destroy()
- end
- if attachmentName ~= "NeckAttachment" then
- attachmentName = attachmentName.."RigAttachment"
- end
- local constraint = Instance.new(className.."Constraint")
- constraint.Attachment0 = part0:FindFirstChild(attachmentName)
- constraint.Attachment1 = part1:FindFirstChild(attachmentName)
- constraint.Name = "RagdollConstraint"..part1.Name
- if character:FindFirstChildOfClass('Humanoid').Health > 0 then
- local collidepart = Instance.new('Part',part1)
- collidepart.Size = part1.Size/2
- if string.find(string.lower(part1.Name),"upper") then
- if string.find(string.lower(part1.Name),"leg") then
- collidepart.Size = part1.Size/3
- else
- collidepart.Size = part1.Size/2.5
- end
- end
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = part1.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',part1)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- if string.find(string.lower(part1.Name),"upper") then
- if string.find(string.lower(part1.Name),"leg") then
- attachment0.Position = Vector3.new(0,0.01,0)
- else
- attachment0.Position = Vector3.new(0,0.25,0)
- end
- else
- attachment0.Position = Vector3.new(0,-0.1,0)
- end
- end
- for _,propertyData in next,properties or {} do
- constraint[propertyData[1]] = propertyData[2]
- end
- constraint.Parent = character
- end
- end
- function R6ragdollJoint(character,limbname,attached,heded)
- pcall(function()
- if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then
- local torsoatt = Instance.new('Attachment',character.Torso)
- torsoatt.Name = limbname.."RagdollConstraint"
- torsoatt.Position = Vector3.new(1.45,0.768,-0.009)
- torsoatt.Axis = Vector3.new(1,0,0)
- torsoatt.SecondaryAxis = Vector3.new(0,1,0)
- local limbatt = Instance.new("Attachment",character[limbname])
- limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
- limbatt.Name = limbname.."RagdollConstraint"
- limbatt.Axis = Vector3.new(1,0,0)
- limbatt.SecondaryAxis = Vector3.new(0,1,0)
- local ballc = Instance.new('BallSocketConstraint',character)
- ballc.Name = "RightArmRagdollRig"
- ballc.Attachment0 = torsoatt
- ballc.Attachment1 = limbatt
- local part1 = character[limbname]
- if character:FindFirstChildOfClass('Humanoid').Health > 0 then
- local collidepart = Instance.new('Part',part1)
- collidepart.Size = part1.Size/1.5
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = part1.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',part1)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- if character.Torso:FindFirstChild('Right Shoulder') then
- character.Torso:FindFirstChild('Right Shoulder'):Destroy()
- end
- elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then
- local torsoatt = Instance.new('Attachment',character.Torso)
- torsoatt.Name = limbname.."RagdollConstraint"
- torsoatt.Position = Vector3.new(-1.45,0.768,-0.009)
- torsoatt.Axis = Vector3.new(1,0,0)
- torsoatt.SecondaryAxis = Vector3.new(0,1,0)
- local limbatt = Instance.new("Attachment",character[limbname])
- limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
- limbatt.Name = limbname.."RagdollConstraint"
- limbatt.Axis = Vector3.new(1,0,0)
- limbatt.SecondaryAxis = Vector3.new(0,1,0)
- local ballc = Instance.new('BallSocketConstraint',character)
- ballc.Name = "LeftArmRagdollRig"
- ballc.Attachment0 = torsoatt
- ballc.Attachment1 = limbatt
- local part1 = character[limbname]
- if character:FindFirstChildOfClass('Humanoid').Health > 0 then
- local collidepart = Instance.new('Part',part1)
- collidepart.Size = part1.Size/1.5
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = part1.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',part1)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- if character.Torso:FindFirstChild('Left Shoulder') then
- character.Torso:FindFirstChild('Left Shoulder'):Destroy()
- end
- elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then
- stun(character)
- local torsoatt = Instance.new('Attachment',character.Torso)
- torsoatt.Name = limbname.."RagdollConstraint"
- torsoatt.Position = Vector3.new(0.45, -1.242, -0.009)
- torsoatt.Axis = Vector3.new(1,0,0)
- torsoatt.SecondaryAxis = Vector3.new(0,1,0)
- local limbatt = Instance.new("Attachment",character[limbname])
- limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
- limbatt.Name = limbname.."RagdollConstraint"
- limbatt.Axis = Vector3.new(1,0,0)
- limbatt.SecondaryAxis = Vector3.new(0,1,0)
- local ballc = Instance.new('BallSocketConstraint',character)
- ballc.Name = "RightLegRagdollRig"
- ballc.Attachment0 = torsoatt
- ballc.Attachment1 = limbatt
- local part1 = character[limbname]
- if character:FindFirstChildOfClass('Humanoid').Health > 0 then
- local collidepart = Instance.new('Part',part1)
- collidepart.Size = part1.Size/1.5
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = part1.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',part1)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- if character.Torso:FindFirstChild('Right Hip') then
- character.Torso:FindFirstChild('Right Hip'):Destroy()
- end
- elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then
- stun(character)
- local torsoatt = Instance.new('Attachment',character.Torso)
- torsoatt.Name = limbname.."RagdollConstraint"
- torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009)
- torsoatt.Axis = Vector3.new(1,0,0)
- torsoatt.SecondaryAxis = Vector3.new(0,1,0)
- local limbatt = Instance.new("Attachment",character[limbname])
- limbatt.Position = Vector3.new(-0.086, 0.755, -0.007)
- limbatt.Name = limbname.."RagdollConstraint"
- limbatt.Axis = Vector3.new(1,0,0)
- limbatt.SecondaryAxis = Vector3.new(0,1,0)
- local ballc = Instance.new('BallSocketConstraint',character)
- ballc.Name = "LeftLegRagdollRig"
- ballc.Attachment0 = torsoatt
- ballc.Attachment1 = limbatt
- local part1 = character[limbname]
- if character:FindFirstChildOfClass('Humanoid').Health > 0 then
- local collidepart = Instance.new('Part',part1)
- collidepart.Size = part1.Size/1.5
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = part1.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',part1)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- if character.Torso:FindFirstChild('Left Hip') then
- character.Torso:FindFirstChild('Left Hip'):Destroy()
- end
- elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then
- if character:FindFirstChildOfClass('Humanoid') then
- character:FindFirstChildOfClass('Humanoid').Health = 0
- end
- while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end
- if character:FindFirstChild('HumanoidRootPart') then
- character.HumanoidRootPart:Destroy()
- end
- game:GetService('Debris'):AddItem(character,10)
- for _,child in next,character:GetChildren() do
- if child:IsA("Accoutrement") then
- for _,part in next,child:GetChildren() do
- if part:IsA("BasePart") then
- for _,c in pairs(part:GetChildren()) do
- if c:IsA('Weld') then c:Destroy() end
- end
- local attachment1 = part:FindFirstChildOfClass("Attachment")
- local attachment0 = getAttachment0(character,attachment1.Name)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- end
- end
- end
- for i,v in pairs(character:GetChildren()) do
- if v:IsA('MeshPart') or v:IsA('BasePart') then
- for _,c in pairs(v:GetChildren()) do
- if c.Name == "Collision" then c:Destroy() end
- end
- end
- end
- if character.Torso:FindFirstChild('Neck') then
- character.Torso.Neck:Destroy()
- end
- if character:FindFirstChild('Torso') then
- local collidepart = Instance.new('Part',character.Torso)
- collidepart.Size = character.Torso.Size/1.5
- collidepart.CanCollide = true
- collidepart.Name = "Collision"
- collidepart.Anchored = false
- collidepart.Transparency = 1
- collidepart.CFrame = character.Torso.CFrame
- collidepart:BreakJoints()
- local attachment0 = Instance.new('Attachment',character.Torso)
- local attachment1 = Instance.new('Attachment',collidepart)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then
- if character.Torso:FindFirstChild('NeckAttachment') == nil then
- local neck = Instance.new('Attachment',character.Torso)
- neck.Name = "NeckAttachment"
- neck.Position = Vector3.new(0, 1, 0)
- end
- ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", {
- {"LimitsEnabled",true};
- {"UpperAngle",50};
- {"LowerAngle",-50};
- })
- end
- if attached ~= false then
- ragdollpart(character, "Right Leg")
- ragdollpart(character, "Left Leg")
- else
- pcall(function()
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z)
- ayybleed.Transparency = 1
- ayybleed.CanCollide = false
- ayybleed.CFrame = character.Torso.CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0)
- attachment1.Orientation = Vector3.new(0, 0, -180)
- local attachment0 = Instance.new('Attachment',character.Torso)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- end)
- end
- ragdollpart(character, "Right Arm")
- ragdollpart(character, "Left Arm")
- end
- end)
- end
- function getAttachment0(character,attachmentName)
- for _,child in next,character:GetChildren() do
- local attachment = child:FindFirstChild(attachmentName)
- if attachment then
- return attachment
- end
- end
- end
- function ragdollpart(character,partname,attached,heded)
- if heded ~= false then
- local neck = Instance.new('Attachment',character.Head)
- neck.Name = "NeckAttachment"
- neck.Position = Vector3.new(0,-0.5,0)
- else
- local force = Instance.new('BodyForce',character.Head)
- force.Force = Vector3.new(0,500,0)
- game:GetService('Debris'):AddItem(force,0.25)
- pcall(function()
- local asdf = Instance.new('Attachment',character.Head)
- asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0)
- local last = asdf
- for i=1,14 do
- local bONE = Instance.new('Part',character)
- bONE.BrickColor = BrickColor.new('Institutional white')
- bONE.Size = Vector3.new(0.1,0.1,0.1)
- bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10))
- local lole = Instance.new('Attachment',bONE)
- local hangurself = Instance.new('RopeConstraint',bONE)
- hangurself.Attachment0 = lole
- hangurself.Attachment1 = last
- hangurself.Visible = true
- hangurself.Thickness = 0.05
- hangurself.Color = BrickColor.new('Bright red')
- hangurself.Length = 0.2
- last = lole
- end
- local bleedee = Instance.new('Part',character.Head)
- bleedee.Size = Vector3.new(0.75,0.25,0.75)
- bleedee.CanCollide = false
- bleedee.Color = Frame_2.BackgroundColor3
- bleedee.CFrame = character.Head.CFrame
- local mehs = Instance.new('CylinderMesh',bleedee)
- bleedee:BreakJoints()
- local attachment1 = Instance.new('Attachment',bleedee)
- attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0)
- attachment1.Orientation = Vector3.new(0,0,180)
- local attachment0 = Instance.new('Attachment',character.Head)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- spawn(function()
- bleed(bleedee)
- end)
- end)
- local thing = "Torso"
- if character:FindFirstChild(thing) == nil then
- thing = "UpperTorso"
- end
- pcall(function()
- local bleedee = Instance.new('Part',character[thing])
- bleedee.Size = Vector3.new(0.75,0,0.75)
- bleedee.CanCollide = false
- bleedee.Color = Frame_2.BackgroundColor3
- bleedee.CFrame = character[thing].CFrame
- local mehs = Instance.new('CylinderMesh',bleedee)
- bleedee:BreakJoints()
- local attachment1 = Instance.new('Attachment',bleedee)
- attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0)
- attachment1.Orientation = Vector3.new(0,0,180)
- local attachment0 = Instance.new('Attachment',character[thing])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- spawn(function()
- bleed(bleedee)
- end)
- end)
- end
- pcall(function()
- if workspace.PGSPhysicsSolverEnabled == false then
- workspace.PGSPhysicsSolverEnabled = true
- end
- end)
- if partname == "HumanoidRootPart" then
- if character:FindFirstChild('Torso') then
- partname = "Torso"
- else
- partname = "UpperTorso"
- end
- end
- if attached == false then
- if character:FindFirstChild('UpperTorso') then
- pcall(function()
- character.UpperTorso.WaistRigAttachment:Destroy()
- end)
- pcall(function()
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z)
- ayybleed.Transparency = 1
- ayybleed.CanCollide = false
- ayybleed.CFrame = character.UpperTorso.CFrame
- ayybleed:BreakJoints()
- ayybleed.Name = "ayybleed"
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0)
- attachment1.Orientation = Vector3.new(0,0,180)
- local attachment0 = Instance.new('Attachment',character.UpperTorso)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- end)
- pcall(function()
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1)
- ayybleed.Transparency = 1
- ayybleed.CanCollide = false
- ayybleed.CFrame = character.LowerTorso.CFrame
- ayybleed:BreakJoints()
- ayybleed.Name = "ayybleed"
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0)
- attachment1.Orientation = Vector3.new(0,0,0)
- local attachment0 = Instance.new('Attachment',character.LowerTorso)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- end)
- end
- pcall(function()
- local thang = "Torso"
- if character:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
- ayybleed.Color = Frame_2.BackgroundColor3
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 0
- ayybleed.CFrame = character[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0)
- attachment1.Orientation = Vector3.new(0,0,0)
- local attachment0 = Instance.new('Attachment',character[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end)
- pcall(function()
- local ree = character.LowerTorso
- local thang = "LowerTorso"
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
- ayybleed.Color = Frame_2.BackgroundColor3
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 0
- ayybleed.CFrame = character[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
- attachment1.Orientation = Vector3.new(0,0,0)
- local attachment0 = Instance.new('Attachment',character[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end)
- pcall(function()
- local ree = character["Right Leg"]
- local thang = "Right Leg"
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
- ayybleed.Color = Frame_2.BackgroundColor3
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 0
- ayybleed.CFrame = character[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
- attachment1.Orientation = Vector3.new(0,0,0)
- local attachment0 = Instance.new('Attachment',character[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end)
- pcall(function()
- local ree = character["Left Leg"]
- local thang = "Left Leg"
- local ayybleed = Instance.new('Part',character)
- ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1)
- ayybleed.Color = Frame_2.BackgroundColor3
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 0
- ayybleed.CFrame = character[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0)
- attachment1.Orientation = Vector3.new(0,0,0)
- local attachment0 = Instance.new('Attachment',character[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end)
- partname="Head"
- end
- if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then
- if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
- ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
- ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket")
- end
- if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
- ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
- end
- elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then
- if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
- ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
- ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket")
- end
- if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then
- ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
- end
- elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then
- stun(character)
- if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
- ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
- end
- if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
- ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
- end
- if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
- ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
- end
- elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then
- stun(character)
- if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
- ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
- end
- if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
- ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
- end
- if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
- ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
- end
- elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then
- if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
- if character:FindFirstChildOfClass('Humanoid') then
- character:FindFirstChildOfClass('Humanoid').Health = 0
- end
- if character:FindFirstChild('HumanoidRootPart') then
- character.HumanoidRootPart:Destroy()
- end
- while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end
- game:GetService('Debris'):AddItem(character,10)
- for _,child in next,character:GetChildren() do
- if child:IsA("Accoutrement") then
- for _,part in next,child:GetChildren() do
- if part:IsA("BasePart") then
- for _,c in pairs(part:GetChildren()) do
- if c:IsA('Weld') then c:Destroy() end
- end
- local attachment1 = part:FindFirstChildOfClass("Attachment")
- local attachment0 = getAttachment0(character,attachment1.Name)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = character
- end
- end
- end
- end
- end
- for i,v in pairs(character:GetChildren()) do
- if v:IsA('MeshPart') or v:IsA('BasePart') then
- for _,c in pairs(v:GetChildren()) do
- if c.Name == "Collision" then c:Destroy() end
- end
- end
- end
- if heded == false then
- pcall(function()
- local asdf = Instance.new('Attachment',character.Head)
- asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0)
- local last = asdf
- character.Head.Neck:Destroy()
- character.Head.NeckRigAttachment:Destroy()
- character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy()
- end)
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then
- ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
- {"LimitsEnabled",true};
- {"UpperAngle",5};
- {"Radius",5};
- })
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then
- ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", {
- {"LimitsEnabled",true};
- {"UpperAngle",50};
- {"LowerAngle",-50};
- })
- end
- local handProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle",0};
- {"LowerAngle",0};
- }
- if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then
- ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
- end
- if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then
- ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
- end
- local shinProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle", 0};
- {"LowerAngle", -75};
- }
- if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then
- ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
- end
- if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then
- ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
- end
- local footProperties = {
- {"LimitsEnabled", true};
- {"UpperAngle", 15};
- {"LowerAngle", -45};
- }
- if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then
- ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
- end
- if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then
- ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then
- ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
- end
- if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then
- ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
- end
- if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then
- ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
- end
- if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then
- ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
- end
- if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then
- ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
- end
- if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then
- ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
- end
- if character:FindFirstChild('HumanoidRootPart') then
- character.HumanoidRootPart:Destroy()
- end
- else
- R6ragdollJoint(character,partname,attached,heded)
- end
- else
- R6ragdollJoint(character,partname,attached,heded)
- end
- end
- function grow(weld,part,endsize,endpos,amntime)
- local start = weld.C1
- local parent = weld.Parent
- local startsize = part.Size
- local particl = Instance.new("ParticleEmitter")
- particl.LightEmission = 3
- particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
- particl.LightInfluence = 0.75
- particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- particl.Lifetime = NumberRange.new(0.1, 1)
- particl.Rate = 50
- particl.RotSpeed = NumberRange.new(300, 300)
- particl.Speed = NumberRange.new(0, 1)
- particl.SpreadAngle = Vector2.new(90, 90)
- particl.Parent = part
- for i=1,amntime*100 do
- weld.C1 = start:lerp(endpos,i/(amntime*100))
- part.Size = startsize:lerp(endsize,i/(amntime*100))
- weld.Parent = parent
- wait(0.01)
- end
- particl.Enabled = false
- end
- function lerp(weld,startpos,endpos,amntime,longatend)
- local waited = 0
- for i=1,amntime*100 do
- if longatend == true then
- startpos = weld.C0
- end
- weld.C0 = startpos:lerp(endpos,i/(amntime*100))
- wait(0.01)
- waited=waited+0.01
- end
- end
- function spawned()
- local usable = true
- local working = false
- local mode = "kill"
- local equipped = false
- local char = player.Character
- local blademode = "handle"
- local swinging = false
- local gettingeem = false
- local MOAN = false
- local sounding = false
- local SLESH = false
- local goteem = nil
- local grabbing = false
- local grabbed = nil
- local grabweld = nil
- local aidsificating = nil
- player.CharacterAdded:connect(function()
- if usable then
- usable = false
- end
- end)
- if char == nil then return end
- while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end
- local badass = Instance.new('Sound',char.Head)
- badass.Name = 'Badass'
- badass.EmitterSize = player.CameraMaxZoomDistance+1
- badass.MaxDistance = player.CameraMaxZoomDistance+1
- badass.Volume = 10
- badass.Looped=true
- badass.SoundId = 'rbxassetid://428902535'
- local handle = Instance.new("Part", char)
- handle.BrickColor = BrickColor.new("Really black")
- handle.Material = "Metal"
- handle.CanCollide = false
- handle.Anchored = false
- handle.Shape = "Cylinder"
- handle.Size = Vector3.new(1.1, 0.3, 0.3)
- handle.BackSurface = "SmoothNoOutlines"
- handle.BottomSurface = "SmoothNoOutlines"
- handle.FrontSurface = "SmoothNoOutlines"
- handle.LeftSurface = "SmoothNoOutlines"
- handle.RightSurface = "SmoothNoOutlines"
- handle.TopSurface = "SmoothNoOutlines"
- handle.Name = "handle"
- local hweld = Instance.new("Weld", char.Torso)
- hweld.Part0 = char.Torso
- hweld.Part1 = handle
- hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0)
- local rdd = false
- function oogabooga()
- if rdd == false then
- rdd = true
- pcall(function()
- ragdollpart(char,"Right Arm")
- ragdollpart(char,"Right Leg")
- ragdollpart(char,"Left Arm")
- ragdollpart(char,"Left Leg")
- end)
- pcall(function()
- ragdollpart(char,"RightUpperArm")
- ragdollpart(char,"RightUpperLeg")
- ragdollpart(char,"LeftUpperArm")
- ragdollpart(char,"LeftUpperLeg")
- end)
- unstun(char)
- for i,v in pairs(char:GetChildren()) do
- v.ChildAdded:connect(function(child)
- if rdd == true then
- if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then
- if child ~= grabweld then
- spawn(function()
- wait()
- child:Destroy()
- end)
- end
- end
- end
- end)
- if string.find(string.lower(v.Name),'leg') then
- if v:FindFirstChild('Collision') then
- v:FindFirstChild('Collision'):Destroy()
- end
- end
- end
- else
- rdd = false
- for i,v in pairs(char:GetChildren()) do
- if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then
- v:Destroy()
- elseif v:IsA('BasePart') then
- if v:FindFirstChild('Collision') then
- v.Collision:Destroy()
- end
- for a,c in pairs(v:GetChildren()) do
- if string.find(string.lower(c.Name),"ragdoll") then
- c:Destroy()
- end
- end
- end
- end
- pcall(function()
- local ra = rightclone:Clone()
- ra.Parent = char.Torso
- ra.Part0 = char.Torso
- ra.Part1 = char["Right Arm"]
- end)
- pcall(function()
- local la = leftclone:Clone()
- la.Parent = char.Torso
- la.Part0 = char.Torso
- la.Part1 = char["Left Arm"]
- end)
- pcall(function()
- local ll = leftlegclone:Clone()
- ll.Parent = char.Torso
- ll.Part0 = char.Torso
- ll.Part1 = char["Left Leg"]
- end)
- pcall(function()
- local rl = rightlegclone:Clone()
- rl.Parent = char.Torso
- rl.Part0 = char.Torso
- rl.Part1 = char["Right Leg"]
- end)
- end
- end
- function getrid()
- if grabbed then
- release()
- end
- blademode = "handle"
- for _,ree in pairs(handle:GetChildren()) do
- if ree:IsA('BasePart') then
- local part = Instance.new('Part',workspace)
- part.CFrame = ree.CFrame
- part.Anchored = true
- part.CanCollide = false
- part.Size = ree.Size
- part.Transparency = 1
- ree:Destroy()
- local pe2 = Instance.new("ParticleEmitter")
- pe2.Acceleration = Vector3.new(0, 1, 0)
- pe2.Lifetime = NumberRange.new(0.1, 0.2)
- pe2.Speed = NumberRange.new(0.5)
- pe2.Rate = 20000
- pe2.RotSpeed = NumberRange.new(-30, 30)
- pe2.Rotation = NumberRange.new(0, 360)
- pe2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, part.Size.X*2, 0),
- NumberSequenceKeypoint.new(1, part.Size.X*2, 0),
- })
- pe2.Texture = "rbxassetid://244221440"
- pe2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.9, 0),
- NumberSequenceKeypoint.new(1, 0.9, 0)
- })
- pe2.ZOffset = 5
- pe2.VelocitySpread = 360
- pe2.Parent = part
- pe2.Enabled = true
- local coru=coroutine.wrap(function()
- wait(0.2)
- pe2.Enabled = false
- game:GetService('Debris'):AddItem(part,0.5)
- end)
- coru()
- else
- ree:Remove()
- end
- end
- end
- function equip()
- equipped = true
- working = true
- if char.Torso:FindFirstChild("Right Shoulder") then
- char.Torso:FindFirstChild("Right Shoulder"):Destroy()
- end
- local weld = Instance.new('Weld', char.Torso)
- weld.Name = "Lerping"
- weld.Part0 = char["Right Arm"]
- weld.Part1 = char.Torso
- weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0)
- lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true)
- wait(0.1)
- hweld.Part0 = char["Right Arm"]
- hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0)
- lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- weld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- working = false
- end
- function unequip()
- getrid(handle)
- equipped = false
- working = true
- if char.Torso:FindFirstChild("Right Shoulder") then
- char.Torso:FindFirstChild("Right Shoulder"):Destroy()
- end
- local weld = Instance.new('Weld', char.Torso)
- weld.Name = "Lerping"
- weld.Part0 = char["Right Arm"]
- weld.Part1 = char.Torso
- weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0)
- lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true)
- hweld.Part0 = char["Torso"]
- hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0)
- lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true)
- weld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- working = false
- end
- function dildo()
- blademode = "dildo"
- working = true
- -- 1 - pink toy
- local obj1 = Instance.new("Model")
- obj1.Name = "pink toy"
- obj1.Parent = handle
- -- 2 - Model
- local obj2 = Instance.new("Model")
- obj2.Parent = obj1
- -- 3 - Part
- local obj3 = Instance.new("Part")
- obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj3.CanCollide = false
- obj3.TopSurface = Enum.SurfaceType.Smooth
- obj3.BottomSurface = Enum.SurfaceType.Smooth
- obj3.Material = Enum.Material.SmoothPlastic
- obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024)
- obj3.BrickColor = BrickColor.new("Hot pink")
- obj3.Friction = 0.30000001192093
- obj3.Shape = Enum.PartType.Ball
- obj3.Parent = obj2
- obj3.Name = "tip"
- -- 4 - Part
- local obj4 = Instance.new("Part")
- obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211)
- obj4.CanCollide = false
- obj4.TopSurface = Enum.SurfaceType.Smooth
- obj4.BottomSurface = Enum.SurfaceType.Smooth
- obj4.Material = Enum.Material.SmoothPlastic
- obj4.Size = Vector3.new(4.09999943, 1, 1)
- obj4.BrickColor = BrickColor.new("Hot pink")
- obj4.Friction = 0.30000001192093
- obj4.Shape = Enum.PartType.Cylinder
- obj4.Parent = obj2
- -- 5 - Part
- local obj5 = Instance.new("Part")
- obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj5.CanCollide = false
- obj5.TopSurface = Enum.SurfaceType.Smooth
- obj5.BottomSurface = Enum.SurfaceType.Smooth
- obj5.Material = Enum.Material.SmoothPlastic
- obj5.Size = Vector3.new(0.25, 0.25, 0.25)
- obj5.BrickColor = BrickColor.new("Hot pink")
- obj5.Friction = 0.30000001192093
- obj5.Shape = Enum.PartType.Ball
- obj5.Parent = obj2
- -- 6 - Part
- local obj6 = Instance.new("Part")
- obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287)
- obj6.CanCollide = false
- obj6.TopSurface = Enum.SurfaceType.Smooth
- obj6.BottomSurface = Enum.SurfaceType.Smooth
- obj6.Material = Enum.Material.SmoothPlastic
- obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762)
- obj6.BrickColor = BrickColor.new("Hot pink")
- obj6.Friction = 0.30000001192093
- obj6.Shape = Enum.PartType.Ball
- obj6.Parent = obj2
- -- 7 - Part
- local obj7 = Instance.new("Part")
- obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj7.CanCollide = false
- obj7.TopSurface = Enum.SurfaceType.Smooth
- obj7.BottomSurface = Enum.SurfaceType.Smooth
- obj7.Material = Enum.Material.SmoothPlastic
- obj7.Size = Vector3.new(0.25, 0.25, 0.25)
- obj7.BrickColor = BrickColor.new("Hot pink")
- obj7.Friction = 0.30000001192093
- obj7.Shape = Enum.PartType.Ball
- obj7.Parent = obj2
- -- 8 - Part
- local obj8 = Instance.new("Part")
- obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287)
- obj8.CanCollide = false
- obj8.TopSurface = Enum.SurfaceType.Smooth
- obj8.BottomSurface = Enum.SurfaceType.Smooth
- obj8.Material = Enum.Material.SmoothPlastic
- obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762)
- obj8.BrickColor = BrickColor.new("Hot pink")
- obj8.Friction = 0.30000001192093
- obj8.Shape = Enum.PartType.Ball
- obj8.Parent = obj2
- local fiREPART = obj8
- -- 9 - Part
- local obj9 = Instance.new("Part")
- obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317)
- obj9.CanCollide = false
- obj9.TopSurface = Enum.SurfaceType.Smooth
- obj9.BottomSurface = Enum.SurfaceType.Smooth
- obj9.Material = Enum.Material.SmoothPlastic
- obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2)
- obj9.BrickColor = BrickColor.new("Hot pink")
- obj9.Friction = 0.30000001192093
- obj9.Shape = Enum.PartType.Cylinder
- obj9.Parent = obj2
- -- 10 - Part
- local obj10 = Instance.new("Part")
- obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj10.CanCollide = false
- obj10.TopSurface = Enum.SurfaceType.Smooth
- obj10.BottomSurface = Enum.SurfaceType.Smooth
- obj10.Material = Enum.Material.SmoothPlastic
- obj10.Size = Vector3.new(0.25, 0.25, 0.25)
- obj10.BrickColor = BrickColor.new("Hot pink")
- obj10.Friction = 0.30000001192093
- obj10.Shape = Enum.PartType.Ball
- obj10.Parent = obj2
- -- 11 - Part
- local obj11 = Instance.new("Part")
- obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj11.CanCollide = false
- obj11.TopSurface = Enum.SurfaceType.Smooth
- obj11.BottomSurface = Enum.SurfaceType.Smooth
- obj11.Material = Enum.Material.SmoothPlastic
- obj11.Size = Vector3.new(0.25, 0.25, 0.25)
- obj11.BrickColor = BrickColor.new("Hot pink")
- obj11.Friction = 0.30000001192093
- obj11.Shape = Enum.PartType.Ball
- obj11.Parent = obj2
- -- 12 - Part
- local obj12 = Instance.new("Part")
- obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj12.CanCollide = false
- obj12.TopSurface = Enum.SurfaceType.Smooth
- obj12.BottomSurface = Enum.SurfaceType.Smooth
- obj12.Material = Enum.Material.SmoothPlastic
- obj12.Size = Vector3.new(0.25, 0.25, 0.25)
- obj12.BrickColor = BrickColor.new("Hot pink")
- obj12.Friction = 0.30000001192093
- obj12.Shape = Enum.PartType.Ball
- obj12.Parent = obj2
- -- 13 - Part
- local obj13 = Instance.new("Part")
- obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj13.CanCollide = false
- obj13.TopSurface = Enum.SurfaceType.Smooth
- obj13.BottomSurface = Enum.SurfaceType.Smooth
- obj13.Material = Enum.Material.SmoothPlastic
- obj13.Size = Vector3.new(0.25, 0.25, 0.25)
- obj13.BrickColor = BrickColor.new("Hot pink")
- obj13.Friction = 0.30000001192093
- obj13.Shape = Enum.PartType.Ball
- obj13.Parent = obj2
- -- 14 - Part
- local obj14 = Instance.new("Part")
- obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj14.CanCollide = false
- obj14.TopSurface = Enum.SurfaceType.Smooth
- obj14.BottomSurface = Enum.SurfaceType.Smooth
- obj14.Material = Enum.Material.SmoothPlastic
- obj14.Size = Vector3.new(0.25, 0.25, 0.25)
- obj14.BrickColor = BrickColor.new("Hot pink")
- obj14.Friction = 0.30000001192093
- obj14.Shape = Enum.PartType.Ball
- obj14.Parent = obj2
- -- 15 - Part
- local obj15 = Instance.new("Part")
- obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj15.CanCollide = false
- obj15.TopSurface = Enum.SurfaceType.Smooth
- obj15.BottomSurface = Enum.SurfaceType.Smooth
- obj15.Material = Enum.Material.SmoothPlastic
- obj15.Size = Vector3.new(0.25, 0.25, 0.25)
- obj15.BrickColor = BrickColor.new("Hot pink")
- obj15.Friction = 0.30000001192093
- obj15.Shape = Enum.PartType.Ball
- obj15.Parent = obj2
- -- 16 - Part
- local obj16 = Instance.new("Part")
- obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj16.CanCollide = false
- obj16.TopSurface = Enum.SurfaceType.Smooth
- obj16.BottomSurface = Enum.SurfaceType.Smooth
- obj16.Material = Enum.Material.SmoothPlastic
- obj16.Size = Vector3.new(0.25, 0.25, 0.25)
- obj16.BrickColor = BrickColor.new("Hot pink")
- obj16.Friction = 0.30000001192093
- obj16.Shape = Enum.PartType.Ball
- obj16.Parent = obj2
- -- 17 - Part
- local obj17 = Instance.new("Part")
- obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj17.CanCollide = false
- obj17.TopSurface = Enum.SurfaceType.Smooth
- obj17.BottomSurface = Enum.SurfaceType.Smooth
- obj17.Material = Enum.Material.SmoothPlastic
- obj17.Size = Vector3.new(0.25, 0.25, 0.25)
- obj17.BrickColor = BrickColor.new("Hot pink")
- obj17.Friction = 0.30000001192093
- obj17.Shape = Enum.PartType.Ball
- obj17.Parent = obj2
- -- 18 - Part
- local obj18 = Instance.new("Part")
- obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj18.CanCollide = false
- obj18.TopSurface = Enum.SurfaceType.Smooth
- obj18.BottomSurface = Enum.SurfaceType.Smooth
- obj18.Material = Enum.Material.SmoothPlastic
- obj18.Size = Vector3.new(0.25, 0.25, 0.25)
- obj18.BrickColor = BrickColor.new("Hot pink")
- obj18.Friction = 0.30000001192093
- obj18.Shape = Enum.PartType.Ball
- obj18.Parent = obj2
- -- 19 - Part
- local obj19 = Instance.new("Part")
- obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj19.CanCollide = false
- obj19.TopSurface = Enum.SurfaceType.Smooth
- obj19.BottomSurface = Enum.SurfaceType.Smooth
- obj19.Material = Enum.Material.SmoothPlastic
- obj19.Size = Vector3.new(0.25, 0.25, 0.25)
- obj19.BrickColor = BrickColor.new("Hot pink")
- obj19.Friction = 0.30000001192093
- obj19.Shape = Enum.PartType.Ball
- obj19.Parent = obj2
- -- 20 - Part
- local obj20 = Instance.new("Part")
- obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj20.CanCollide = false
- obj20.TopSurface = Enum.SurfaceType.Smooth
- obj20.BottomSurface = Enum.SurfaceType.Smooth
- obj20.Material = Enum.Material.SmoothPlastic
- obj20.Size = Vector3.new(0.25, 0.25, 0.25)
- obj20.BrickColor = BrickColor.new("Hot pink")
- obj20.Friction = 0.30000001192093
- obj20.Shape = Enum.PartType.Ball
- obj20.Parent = obj2
- -- 21 - Part
- local obj21 = Instance.new("Part")
- obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj21.CanCollide = false
- obj21.TopSurface = Enum.SurfaceType.Smooth
- obj21.BottomSurface = Enum.SurfaceType.Smooth
- obj21.Material = Enum.Material.SmoothPlastic
- obj21.Size = Vector3.new(0.25, 0.25, 0.25)
- obj21.BrickColor = BrickColor.new("Hot pink")
- obj21.Friction = 0.30000001192093
- obj21.Shape = Enum.PartType.Ball
- obj21.Parent = obj2
- -- 22 - Part
- local obj22 = Instance.new("Part")
- obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj22.CanCollide = false
- obj22.TopSurface = Enum.SurfaceType.Smooth
- obj22.BottomSurface = Enum.SurfaceType.Smooth
- obj22.Material = Enum.Material.SmoothPlastic
- obj22.Size = Vector3.new(0.25, 0.25, 0.25)
- obj22.BrickColor = BrickColor.new("Hot pink")
- obj22.Friction = 0.30000001192093
- obj22.Shape = Enum.PartType.Ball
- obj22.Parent = obj2
- -- 23 - Part
- local obj23 = Instance.new("Part")
- obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj23.CanCollide = false
- obj23.TopSurface = Enum.SurfaceType.Smooth
- obj23.BottomSurface = Enum.SurfaceType.Smooth
- obj23.Material = Enum.Material.SmoothPlastic
- obj23.Size = Vector3.new(0.25, 0.25, 0.25)
- obj23.BrickColor = BrickColor.new("Hot pink")
- obj23.Friction = 0.30000001192093
- obj23.Shape = Enum.PartType.Ball
- obj23.Parent = obj2
- -- 24 - Part
- local obj24 = Instance.new("Part")
- obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj24.CanCollide = false
- obj24.TopSurface = Enum.SurfaceType.Smooth
- obj24.BottomSurface = Enum.SurfaceType.Smooth
- obj24.Material = Enum.Material.SmoothPlastic
- obj24.Size = Vector3.new(0.25, 0.25, 0.25)
- obj24.BrickColor = BrickColor.new("Hot pink")
- obj24.Friction = 0.30000001192093
- obj24.Shape = Enum.PartType.Ball
- obj24.Parent = obj2
- -- 25 - Part
- local obj25 = Instance.new("Part")
- obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj25.CanCollide = false
- obj25.TopSurface = Enum.SurfaceType.Smooth
- obj25.BottomSurface = Enum.SurfaceType.Smooth
- obj25.Material = Enum.Material.SmoothPlastic
- obj25.Size = Vector3.new(0.25, 0.25, 0.25)
- obj25.BrickColor = BrickColor.new("Hot pink")
- obj25.Friction = 0.30000001192093
- obj25.Shape = Enum.PartType.Ball
- obj25.Parent = obj2
- -- 26 - Part
- local obj26 = Instance.new("Part")
- obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj26.CanCollide = false
- obj26.TopSurface = Enum.SurfaceType.Smooth
- obj26.BottomSurface = Enum.SurfaceType.Smooth
- obj26.Material = Enum.Material.SmoothPlastic
- obj26.Size = Vector3.new(0.25, 0.25, 0.25)
- obj26.BrickColor = BrickColor.new("Hot pink")
- obj26.Friction = 0.30000001192093
- obj26.Shape = Enum.PartType.Ball
- obj26.Parent = obj2
- -- 27 - Part
- local obj27 = Instance.new("Part")
- obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj27.CanCollide = false
- obj27.TopSurface = Enum.SurfaceType.Smooth
- obj27.BottomSurface = Enum.SurfaceType.Smooth
- obj27.Material = Enum.Material.SmoothPlastic
- obj27.Size = Vector3.new(0.25, 0.25, 0.25)
- obj27.BrickColor = BrickColor.new("Hot pink")
- obj27.Friction = 0.30000001192093
- obj27.Shape = Enum.PartType.Ball
- obj27.Parent = obj2
- -- 28 - Part
- local obj28 = Instance.new("Part")
- obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj28.CanCollide = false
- obj28.TopSurface = Enum.SurfaceType.Smooth
- obj28.BottomSurface = Enum.SurfaceType.Smooth
- obj28.Material = Enum.Material.SmoothPlastic
- obj28.Size = Vector3.new(0.25, 0.25, 0.25)
- obj28.BrickColor = BrickColor.new("Hot pink")
- obj28.Friction = 0.30000001192093
- obj28.Shape = Enum.PartType.Ball
- obj28.Parent = obj2
- -- 29 - Part
- local obj29 = Instance.new("Part")
- obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj29.CanCollide = false
- obj29.TopSurface = Enum.SurfaceType.Smooth
- obj29.BottomSurface = Enum.SurfaceType.Smooth
- obj29.Material = Enum.Material.SmoothPlastic
- obj29.Size = Vector3.new(0.25, 0.25, 0.25)
- obj29.BrickColor = BrickColor.new("Hot pink")
- obj29.Friction = 0.30000001192093
- obj29.Shape = Enum.PartType.Ball
- obj29.Parent = obj2
- -- 30 - Part
- local obj30 = Instance.new("Part")
- obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj30.CanCollide = false
- obj30.TopSurface = Enum.SurfaceType.Smooth
- obj30.BottomSurface = Enum.SurfaceType.Smooth
- obj30.Material = Enum.Material.SmoothPlastic
- obj30.Size = Vector3.new(0.25, 0.25, 0.25)
- obj30.BrickColor = BrickColor.new("Hot pink")
- obj30.Friction = 0.30000001192093
- obj30.Shape = Enum.PartType.Ball
- obj30.Parent = obj2
- -- 31 - Part
- local obj31 = Instance.new("Part")
- obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj31.CanCollide = false
- obj31.TopSurface = Enum.SurfaceType.Smooth
- obj31.BottomSurface = Enum.SurfaceType.Smooth
- obj31.Material = Enum.Material.SmoothPlastic
- obj31.Size = Vector3.new(0.25, 0.25, 0.25)
- obj31.BrickColor = BrickColor.new("Hot pink")
- obj31.Friction = 0.30000001192093
- obj31.Shape = Enum.PartType.Ball
- obj31.Parent = obj2
- -- 32 - Part
- local obj32 = Instance.new("Part")
- obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj32.CanCollide = false
- obj32.TopSurface = Enum.SurfaceType.Smooth
- obj32.BottomSurface = Enum.SurfaceType.Smooth
- obj32.Material = Enum.Material.SmoothPlastic
- obj32.Size = Vector3.new(0.25, 0.25, 0.25)
- obj32.BrickColor = BrickColor.new("Hot pink")
- obj32.Friction = 0.30000001192093
- obj32.Shape = Enum.PartType.Ball
- obj32.Parent = obj2
- -- 33 - Part
- local obj33 = Instance.new("Part")
- obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj33.CanCollide = false
- obj33.TopSurface = Enum.SurfaceType.Smooth
- obj33.BottomSurface = Enum.SurfaceType.Smooth
- obj33.Material = Enum.Material.SmoothPlastic
- obj33.Size = Vector3.new(0.25, 0.25, 0.25)
- obj33.BrickColor = BrickColor.new("Hot pink")
- obj33.Friction = 0.30000001192093
- obj33.Shape = Enum.PartType.Ball
- obj33.Parent = obj2
- -- 34 - Part
- local obj34 = Instance.new("Part")
- obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj34.CanCollide = false
- obj34.TopSurface = Enum.SurfaceType.Smooth
- obj34.BottomSurface = Enum.SurfaceType.Smooth
- obj34.Material = Enum.Material.SmoothPlastic
- obj34.Size = Vector3.new(0.25, 0.25, 0.25)
- obj34.BrickColor = BrickColor.new("Hot pink")
- obj34.Friction = 0.30000001192093
- obj34.Shape = Enum.PartType.Ball
- obj34.Parent = obj2
- -- 35 - Part
- local obj35 = Instance.new("Part")
- obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj35.CanCollide = false
- obj35.TopSurface = Enum.SurfaceType.Smooth
- obj35.BottomSurface = Enum.SurfaceType.Smooth
- obj35.Material = Enum.Material.SmoothPlastic
- obj35.Size = Vector3.new(0.25, 0.25, 0.25)
- obj35.BrickColor = BrickColor.new("Hot pink")
- obj35.Friction = 0.30000001192093
- obj35.Shape = Enum.PartType.Ball
- obj35.Parent = obj2
- -- 36 - Part
- local obj36 = Instance.new("Part")
- obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj36.CanCollide = false
- obj36.TopSurface = Enum.SurfaceType.Smooth
- obj36.BottomSurface = Enum.SurfaceType.Smooth
- obj36.Material = Enum.Material.SmoothPlastic
- obj36.Size = Vector3.new(0.25, 0.25, 0.25)
- obj36.BrickColor = BrickColor.new("Hot pink")
- obj36.Friction = 0.30000001192093
- obj36.Shape = Enum.PartType.Ball
- obj36.Parent = obj2
- -- 37 - Part
- local obj37 = Instance.new("Part")
- obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj37.CanCollide = false
- obj37.TopSurface = Enum.SurfaceType.Smooth
- obj37.BottomSurface = Enum.SurfaceType.Smooth
- obj37.Material = Enum.Material.SmoothPlastic
- obj37.Size = Vector3.new(0.25, 0.25, 0.25)
- obj37.BrickColor = BrickColor.new("Hot pink")
- obj37.Friction = 0.30000001192093
- obj37.Shape = Enum.PartType.Ball
- obj37.Parent = obj2
- -- 38 - Part
- local obj38 = Instance.new("Part")
- obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj38.CanCollide = false
- obj38.TopSurface = Enum.SurfaceType.Smooth
- obj38.BottomSurface = Enum.SurfaceType.Smooth
- obj38.Material = Enum.Material.SmoothPlastic
- obj38.Size = Vector3.new(0.25, 0.25, 0.25)
- obj38.BrickColor = BrickColor.new("Hot pink")
- obj38.Friction = 0.30000001192093
- obj38.Shape = Enum.PartType.Ball
- obj38.Parent = obj2
- -- 39 - Part
- local obj39 = Instance.new("Part")
- obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj39.CanCollide = false
- obj39.TopSurface = Enum.SurfaceType.Smooth
- obj39.BottomSurface = Enum.SurfaceType.Smooth
- obj39.Material = Enum.Material.SmoothPlastic
- obj39.Size = Vector3.new(0.25, 0.25, 0.25)
- obj39.BrickColor = BrickColor.new("Hot pink")
- obj39.Friction = 0.30000001192093
- obj39.Shape = Enum.PartType.Ball
- obj39.Parent = obj2
- -- 40 - Part
- local obj40 = Instance.new("Part")
- obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj40.CanCollide = false
- obj40.TopSurface = Enum.SurfaceType.Smooth
- obj40.BottomSurface = Enum.SurfaceType.Smooth
- obj40.Material = Enum.Material.SmoothPlastic
- obj40.Size = Vector3.new(0.25, 0.25, 0.25)
- obj40.BrickColor = BrickColor.new("Hot pink")
- obj40.Friction = 0.30000001192093
- obj40.Shape = Enum.PartType.Ball
- obj40.Parent = obj2
- -- 41 - stretches
- local obj41 = Instance.new("Model")
- obj41.Name = "stretches"
- obj41.Parent = obj1
- -- 42 - stretchlol
- local obj42 = Instance.new("Part")
- obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj42.CanCollide = false
- obj42.Transparency = 1
- obj42.TopSurface = Enum.SurfaceType.Smooth
- obj42.BottomSurface = Enum.SurfaceType.Smooth
- obj42.Material = Enum.Material.SmoothPlastic
- obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj42.BrickColor = BrickColor.new("Pastel brown")
- obj42.Friction = 0.30000001192093
- obj42.Shape = Enum.PartType.Ball
- obj42.Name = "stretchlol"
- obj42.Parent = obj41
- -- 43 - stretchlol
- local obj43 = Instance.new("Part")
- obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj43.CanCollide = false
- obj43.Transparency = 1
- obj43.TopSurface = Enum.SurfaceType.Smooth
- obj43.BottomSurface = Enum.SurfaceType.Smooth
- obj43.Material = Enum.Material.SmoothPlastic
- obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj43.BrickColor = BrickColor.new("Pastel brown")
- obj43.Friction = 0.30000001192093
- obj43.Shape = Enum.PartType.Ball
- obj43.Name = "stretchlol"
- obj43.Parent = obj41
- -- 44 - stretchlol
- local obj44 = Instance.new("Part")
- obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj44.CanCollide = false
- obj44.Transparency = 1
- obj44.TopSurface = Enum.SurfaceType.Smooth
- obj44.BottomSurface = Enum.SurfaceType.Smooth
- obj44.Material = Enum.Material.SmoothPlastic
- obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj44.BrickColor = BrickColor.new("Pastel brown")
- obj44.Friction = 0.30000001192093
- obj44.Shape = Enum.PartType.Ball
- obj44.Name = "stretchlol"
- obj44.Parent = obj41
- -- 45 - stretchlol
- local obj45 = Instance.new("Part")
- obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj45.CanCollide = false
- obj45.Transparency = 1
- obj45.TopSurface = Enum.SurfaceType.Smooth
- obj45.BottomSurface = Enum.SurfaceType.Smooth
- obj45.Material = Enum.Material.SmoothPlastic
- obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj45.BrickColor = BrickColor.new("Pastel brown")
- obj45.Friction = 0.30000001192093
- obj45.Shape = Enum.PartType.Ball
- obj45.Name = "stretchlol"
- obj45.Parent = obj41
- -- 46 - stretchlol
- local obj46 = Instance.new("Part")
- obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj46.CanCollide = false
- obj46.Transparency = 1
- obj46.TopSurface = Enum.SurfaceType.Smooth
- obj46.BottomSurface = Enum.SurfaceType.Smooth
- obj46.Material = Enum.Material.SmoothPlastic
- obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj46.BrickColor = BrickColor.new("Pastel brown")
- obj46.Friction = 0.30000001192093
- obj46.Shape = Enum.PartType.Ball
- obj46.Name = "stretchlol"
- obj46.Parent = obj41
- -- 47 - stretchlol
- local obj47 = Instance.new("Part")
- obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj47.CanCollide = false
- obj47.Transparency = 1
- obj47.TopSurface = Enum.SurfaceType.Smooth
- obj47.BottomSurface = Enum.SurfaceType.Smooth
- obj47.Material = Enum.Material.SmoothPlastic
- obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj47.BrickColor = BrickColor.new("Pastel brown")
- obj47.Friction = 0.30000001192093
- obj47.Shape = Enum.PartType.Ball
- obj47.Name = "stretchlol"
- obj47.Parent = obj41
- -- 48 - stretchlol
- local obj48 = Instance.new("Part")
- obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj48.CanCollide = false
- obj48.Transparency = 1
- obj48.TopSurface = Enum.SurfaceType.Smooth
- obj48.BottomSurface = Enum.SurfaceType.Smooth
- obj48.Material = Enum.Material.SmoothPlastic
- obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj48.BrickColor = BrickColor.new("Pastel brown")
- obj48.Friction = 0.30000001192093
- obj48.Shape = Enum.PartType.Ball
- obj48.Name = "stretchlol"
- obj48.Parent = obj41
- -- 49 - stretchlol
- local obj49 = Instance.new("Part")
- obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj49.CanCollide = false
- obj49.Transparency = 1
- obj49.TopSurface = Enum.SurfaceType.Smooth
- obj49.BottomSurface = Enum.SurfaceType.Smooth
- obj49.Material = Enum.Material.SmoothPlastic
- obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj49.BrickColor = BrickColor.new("Pastel brown")
- obj49.Friction = 0.30000001192093
- obj49.Shape = Enum.PartType.Ball
- obj49.Name = "stretchlol"
- obj49.Parent = obj41
- -- 50 - stretchlol
- local obj50 = Instance.new("Part")
- obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj50.CanCollide = false
- obj50.Transparency = 1
- obj50.TopSurface = Enum.SurfaceType.Smooth
- obj50.BottomSurface = Enum.SurfaceType.Smooth
- obj50.Material = Enum.Material.SmoothPlastic
- obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj50.BrickColor = BrickColor.new("Pastel brown")
- obj50.Friction = 0.30000001192093
- obj50.Shape = Enum.PartType.Ball
- obj50.Name = "stretchlol"
- obj50.Parent = obj41
- -- 51 - stretchlol
- local obj51 = Instance.new("Part")
- obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj51.CanCollide = false
- obj51.Transparency = 1
- obj51.TopSurface = Enum.SurfaceType.Smooth
- obj51.BottomSurface = Enum.SurfaceType.Smooth
- obj51.Material = Enum.Material.SmoothPlastic
- obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj51.BrickColor = BrickColor.new("Pastel brown")
- obj51.Friction = 0.30000001192093
- obj51.Shape = Enum.PartType.Ball
- obj51.Name = "stretchlol"
- obj51.Parent = obj41
- -- 52 - stretchlol
- local obj52 = Instance.new("Part")
- obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj52.CanCollide = false
- obj52.Transparency = 1
- obj52.TopSurface = Enum.SurfaceType.Smooth
- obj52.BottomSurface = Enum.SurfaceType.Smooth
- obj52.Material = Enum.Material.SmoothPlastic
- obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj52.BrickColor = BrickColor.new("Pastel brown")
- obj52.Friction = 0.30000001192093
- obj52.Shape = Enum.PartType.Ball
- obj52.Name = "stretchlol"
- obj52.Parent = obj41
- -- 53 - stretchlol
- local obj53 = Instance.new("Part")
- obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211)
- obj53.CanCollide = false
- obj53.Transparency = 1
- obj53.TopSurface = Enum.SurfaceType.Smooth
- obj53.BottomSurface = Enum.SurfaceType.Smooth
- obj53.Material = Enum.Material.SmoothPlastic
- obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995)
- obj53.BrickColor = BrickColor.new("Pastel brown")
- obj53.Friction = 0.30000001192093
- obj53.Shape = Enum.PartType.Cylinder
- obj53.Name = "stretchlol"
- obj53.Parent = obj41
- -- 54 - stretchlol
- local obj54 = Instance.new("Part")
- obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj54.CanCollide = false
- obj54.Transparency = 1
- obj54.TopSurface = Enum.SurfaceType.Smooth
- obj54.BottomSurface = Enum.SurfaceType.Smooth
- obj54.Material = Enum.Material.SmoothPlastic
- obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj54.BrickColor = BrickColor.new("Pastel brown")
- obj54.Friction = 0.30000001192093
- obj54.Shape = Enum.PartType.Ball
- obj54.Name = "stretchlol"
- obj54.Parent = obj41
- -- 55 - stretchlol
- local obj55 = Instance.new("Part")
- obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj55.CanCollide = false
- obj55.Transparency = 1
- obj55.TopSurface = Enum.SurfaceType.Smooth
- obj55.BottomSurface = Enum.SurfaceType.Smooth
- obj55.Material = Enum.Material.SmoothPlastic
- obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj55.BrickColor = BrickColor.new("Pastel brown")
- obj55.Friction = 0.30000001192093
- obj55.Shape = Enum.PartType.Ball
- obj55.Name = "stretchlol"
- obj55.Parent = obj41
- -- 56 - stretchlol
- local obj56 = Instance.new("Part")
- obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj56.CanCollide = false
- obj56.Transparency = 1
- obj56.TopSurface = Enum.SurfaceType.Smooth
- obj56.BottomSurface = Enum.SurfaceType.Smooth
- obj56.Material = Enum.Material.SmoothPlastic
- obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj56.BrickColor = BrickColor.new("Pastel brown")
- obj56.Friction = 0.30000001192093
- obj56.Shape = Enum.PartType.Ball
- obj56.Name = "stretchlol"
- obj56.Parent = obj41
- -- 57 - stretchlol
- local obj57 = Instance.new("Part")
- obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj57.CanCollide = false
- obj57.Transparency = 1
- obj57.TopSurface = Enum.SurfaceType.Smooth
- obj57.BottomSurface = Enum.SurfaceType.Smooth
- obj57.Material = Enum.Material.SmoothPlastic
- obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj57.BrickColor = BrickColor.new("Pastel brown")
- obj57.Friction = 0.30000001192093
- obj57.Shape = Enum.PartType.Ball
- obj57.Name = "stretchlol"
- obj57.Parent = obj41
- -- 58 - stretchlol
- local obj58 = Instance.new("Part")
- obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj58.CanCollide = false
- obj58.Transparency = 1
- obj58.TopSurface = Enum.SurfaceType.Smooth
- obj58.BottomSurface = Enum.SurfaceType.Smooth
- obj58.Material = Enum.Material.SmoothPlastic
- obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj58.BrickColor = BrickColor.new("Pastel brown")
- obj58.Friction = 0.30000001192093
- obj58.Shape = Enum.PartType.Ball
- obj58.Name = "stretchlol"
- obj58.Parent = obj41
- -- 59 - stretchlol
- local obj59 = Instance.new("Part")
- obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj59.CanCollide = false
- obj59.Transparency = 1
- obj59.TopSurface = Enum.SurfaceType.Smooth
- obj59.BottomSurface = Enum.SurfaceType.Smooth
- obj59.Material = Enum.Material.SmoothPlastic
- obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj59.BrickColor = BrickColor.new("Pastel brown")
- obj59.Friction = 0.30000001192093
- obj59.Shape = Enum.PartType.Ball
- obj59.Name = "stretchlol"
- obj59.Parent = obj41
- -- 60 - stretchlol
- local obj60 = Instance.new("Part")
- obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877)
- obj60.CanCollide = false
- obj60.Transparency = 1
- obj60.TopSurface = Enum.SurfaceType.Smooth
- obj60.BottomSurface = Enum.SurfaceType.Smooth
- obj60.Material = Enum.Material.SmoothPlastic
- obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj60.BrickColor = BrickColor.new("Pastel brown")
- obj60.Friction = 0.30000001192093
- obj60.Shape = Enum.PartType.Ball
- obj60.Name = "stretchlol"
- obj60.Parent = obj41
- -- 61 - stretchlol
- local obj61 = Instance.new("Part")
- obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj61.CanCollide = false
- obj61.Transparency = 1
- obj61.TopSurface = Enum.SurfaceType.Smooth
- obj61.BottomSurface = Enum.SurfaceType.Smooth
- obj61.Material = Enum.Material.SmoothPlastic
- obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj61.BrickColor = BrickColor.new("Pastel brown")
- obj61.Friction = 0.30000001192093
- obj61.Shape = Enum.PartType.Ball
- obj61.Name = "stretchlol"
- obj61.Parent = obj41
- -- 62 - stretchlol
- local obj62 = Instance.new("Part")
- obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj62.CanCollide = false
- obj62.Transparency = 1
- obj62.TopSurface = Enum.SurfaceType.Smooth
- obj62.BottomSurface = Enum.SurfaceType.Smooth
- obj62.Material = Enum.Material.SmoothPlastic
- obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj62.BrickColor = BrickColor.new("Pastel brown")
- obj62.Friction = 0.30000001192093
- obj62.Shape = Enum.PartType.Ball
- obj62.Name = "stretchlol"
- obj62.Parent = obj41
- -- 63 - stretchlol
- local obj63 = Instance.new("Part")
- obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj63.CanCollide = false
- obj63.Transparency = 1
- obj63.TopSurface = Enum.SurfaceType.Smooth
- obj63.BottomSurface = Enum.SurfaceType.Smooth
- obj63.Material = Enum.Material.SmoothPlastic
- obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj63.BrickColor = BrickColor.new("Pastel brown")
- obj63.Friction = 0.30000001192093
- obj63.Shape = Enum.PartType.Ball
- obj63.Name = "stretchlol"
- obj63.Parent = obj41
- -- 64 - stretchlol
- local obj64 = Instance.new("Part")
- obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj64.CanCollide = false
- obj64.Transparency = 1
- obj64.TopSurface = Enum.SurfaceType.Smooth
- obj64.BottomSurface = Enum.SurfaceType.Smooth
- obj64.Material = Enum.Material.SmoothPlastic
- obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj64.BrickColor = BrickColor.new("Pastel brown")
- obj64.Friction = 0.30000001192093
- obj64.Shape = Enum.PartType.Ball
- obj64.Name = "stretchlol"
- obj64.Parent = obj41
- -- 65 - stretchlol
- local obj65 = Instance.new("Part")
- obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj65.CanCollide = false
- obj65.Transparency = 1
- obj65.TopSurface = Enum.SurfaceType.Smooth
- obj65.BottomSurface = Enum.SurfaceType.Smooth
- obj65.Material = Enum.Material.SmoothPlastic
- obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj65.BrickColor = BrickColor.new("Pastel brown")
- obj65.Friction = 0.30000001192093
- obj65.Shape = Enum.PartType.Ball
- obj65.Name = "stretchlol"
- obj65.Parent = obj41
- -- 66 - stretchlol
- local obj66 = Instance.new("Part")
- obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj66.CanCollide = false
- obj66.Transparency = 1
- obj66.TopSurface = Enum.SurfaceType.Smooth
- obj66.BottomSurface = Enum.SurfaceType.Smooth
- obj66.Material = Enum.Material.SmoothPlastic
- obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj66.BrickColor = BrickColor.new("Pastel brown")
- obj66.Friction = 0.30000001192093
- obj66.Shape = Enum.PartType.Ball
- obj66.Name = "stretchlol"
- obj66.Parent = obj41
- -- 67 - stretchlol
- local obj67 = Instance.new("Part")
- obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj67.CanCollide = false
- obj67.Transparency = 1
- obj67.TopSurface = Enum.SurfaceType.Smooth
- obj67.BottomSurface = Enum.SurfaceType.Smooth
- obj67.Material = Enum.Material.SmoothPlastic
- obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj67.BrickColor = BrickColor.new("Pastel brown")
- obj67.Friction = 0.30000001192093
- obj67.Shape = Enum.PartType.Ball
- obj67.Name = "stretchlol"
- obj67.Parent = obj41
- -- 68 - stretchlol
- local obj68 = Instance.new("Part")
- obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj68.CanCollide = false
- obj68.Transparency = 1
- obj68.TopSurface = Enum.SurfaceType.Smooth
- obj68.BottomSurface = Enum.SurfaceType.Smooth
- obj68.Material = Enum.Material.SmoothPlastic
- obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj68.BrickColor = BrickColor.new("Pastel brown")
- obj68.Friction = 0.30000001192093
- obj68.Shape = Enum.PartType.Ball
- obj68.Name = "stretchlol"
- obj68.Parent = obj41
- -- 69 - stretchlol
- local obj69 = Instance.new("Part")
- obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj69.CanCollide = false
- obj69.Transparency = 1
- obj69.TopSurface = Enum.SurfaceType.Smooth
- obj69.BottomSurface = Enum.SurfaceType.Smooth
- obj69.Material = Enum.Material.SmoothPlastic
- obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995)
- obj69.BrickColor = BrickColor.new("Pastel brown")
- obj69.Friction = 0.30000001192093
- obj69.Shape = Enum.PartType.Ball
- obj69.Name = "stretchlol"
- obj69.Parent = obj41
- -- 70 - stretchlol
- local obj70 = Instance.new("Part")
- obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj70.CanCollide = false
- obj70.Transparency = 1
- obj70.TopSurface = Enum.SurfaceType.Smooth
- obj70.BottomSurface = Enum.SurfaceType.Smooth
- obj70.Material = Enum.Material.SmoothPlastic
- obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj70.BrickColor = BrickColor.new("Pastel brown")
- obj70.Friction = 0.30000001192093
- obj70.Shape = Enum.PartType.Ball
- obj70.Name = "stretchlol"
- obj70.Parent = obj41
- -- 71 - stretchlol
- local obj71 = Instance.new("Part")
- obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj71.CanCollide = false
- obj71.Transparency = 1
- obj71.TopSurface = Enum.SurfaceType.Smooth
- obj71.BottomSurface = Enum.SurfaceType.Smooth
- obj71.Material = Enum.Material.SmoothPlastic
- obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj71.BrickColor = BrickColor.new("Pastel brown")
- obj71.Friction = 0.30000001192093
- obj71.Shape = Enum.PartType.Ball
- obj71.Name = "stretchlol"
- obj71.Parent = obj41
- -- 72 - stretchlol
- local obj72 = Instance.new("Part")
- obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj72.CanCollide = false
- obj72.Transparency = 1
- obj72.TopSurface = Enum.SurfaceType.Smooth
- obj72.BottomSurface = Enum.SurfaceType.Smooth
- obj72.Material = Enum.Material.SmoothPlastic
- obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj72.BrickColor = BrickColor.new("Pastel brown")
- obj72.Friction = 0.30000001192093
- obj72.Shape = Enum.PartType.Ball
- obj72.Name = "stretchlol"
- obj72.Parent = obj41
- -- 73 - stretchlol
- local obj73 = Instance.new("Part")
- obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466)
- obj73.CanCollide = false
- obj73.Transparency = 1
- obj73.TopSurface = Enum.SurfaceType.Smooth
- obj73.BottomSurface = Enum.SurfaceType.Smooth
- obj73.Material = Enum.Material.SmoothPlastic
- obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj73.BrickColor = BrickColor.new("Pastel brown")
- obj73.Friction = 0.30000001192093
- obj73.Shape = Enum.PartType.Ball
- obj73.Name = "stretchlol"
- obj73.Parent = obj41
- -- 74 - stretchlol
- local obj74 = Instance.new("Part")
- obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632)
- obj74.CanCollide = false
- obj74.Transparency = 1
- obj74.TopSurface = Enum.SurfaceType.Smooth
- obj74.BottomSurface = Enum.SurfaceType.Smooth
- obj74.Material = Enum.Material.SmoothPlastic
- obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj74.BrickColor = BrickColor.new("Pastel brown")
- obj74.Friction = 0.30000001192093
- obj74.Shape = Enum.PartType.Ball
- obj74.Name = "stretchlol"
- obj74.Parent = obj41
- -- 75 - stretchlol
- local obj75 = Instance.new("Part")
- obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj75.CanCollide = false
- obj75.Transparency = 1
- obj75.TopSurface = Enum.SurfaceType.Smooth
- obj75.BottomSurface = Enum.SurfaceType.Smooth
- obj75.Material = Enum.Material.SmoothPlastic
- obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj75.BrickColor = BrickColor.new("Pastel brown")
- obj75.Friction = 0.30000001192093
- obj75.Shape = Enum.PartType.Ball
- obj75.Name = "stretchlol"
- obj75.Parent = obj41
- -- 76 - stretchlol
- local obj76 = Instance.new("Part")
- obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646)
- obj76.CanCollide = false
- obj76.Transparency = 1
- obj76.TopSurface = Enum.SurfaceType.Smooth
- obj76.BottomSurface = Enum.SurfaceType.Smooth
- obj76.Material = Enum.Material.SmoothPlastic
- obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- obj76.BrickColor = BrickColor.new("Pastel brown")
- obj76.Friction = 0.30000001192093
- obj76.Shape = Enum.PartType.Ball
- obj76.Name = "stretchlol"
- obj76.Parent = obj41
- obj1.PrimaryPart = obj4
- local stretches = obj41:GetChildren()
- for i,v in pairs(stretches) do
- v.Anchored = true
- v.Parent = obj1
- end
- for i,v in pairs(obj2:GetChildren()) do
- v.Anchored = true
- v.Parent = obj1
- end
- obj2:Destroy()
- obj41:Destroy()
- local previous = nil
- for i,v in pairs(obj1:GetChildren()) do
- if v:IsA('BasePart') then
- if previous then
- local weld = Instance.new('Weld',v)
- weld.Part0 = v
- weld.Part1 = previous
- weld.C0 = v.CFrame:inverse() * previous.CFrame
- previous.Anchored = false
- previous.CanCollide = false
- local vee = v
- weld.AncestryChanged:connect(function(mez,par)
- wait()
- weld.Parent = vee
- end)
- end
- previous = v
- end
- end
- previous.Anchored = false
- previous.CanCollide = false
- obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0))
- -- 2 - Part
- local ree = Instance.new("Part")
- ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5))
- ree.Transparency = 0.80000001192093
- ree.Material = Enum.Material.Neon
- ree.CFrame = CFrame.new(obj4.Position)
- ree.Size = Vector3.new(5, math.huge, 5)
- ree.BrickColor = BrickColor.new("New Yeller")
- ree.Friction = 0.30000001192093
- ree.Shape = Enum.PartType.Block
- ree.Parent = handle
- -- 3 - Mesh
- local ree2 = Instance.new("CylinderMesh")
- ree2.Parent = ree
- local thing = Instance.new('BodyPosition',obj9)
- local thing2 = Instance.new('BodyPosition',ree)
- thing2.P = 100000
- thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- thing.MaxForce = Vector3.new(10000,10000,10000)
- for i=1,100 do
- thing2.Position = obj4.Position
- obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0))
- thing.Position = handle.Position+(handle.CFrame.rightVector*0.5)
- wait()
- end
- thing:Destroy()
- local lmfao = Instance.new('Weld',obj4)
- lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0)
- lmfao.Part0 = obj4
- lmfao.Part1 = handle
- ree:Destroy()
- working = false
- end
- function katanamode()
- blademode = "katana"
- -- 1 - weeb shit
- local weebshit1 = handle
- -- 16 - top cap
- local weebshit16 = Instance.new("Part")
- weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
- weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65
- weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit16.Anchored = false
- weebshit16.BrickColor = BrickColor.new("Really black")
- weebshit16.Friction = 0.30000001192093
- weebshit16.Shape = Enum.PartType.Cylinder
- weebshit16.Name = "top cap"
- weebshit16.Parent = weebshit1
- local weld = Instance.new('Weld',weebshit16)
- weld.Part0 = weebshit16
- weld.Part1 = handle
- weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048)
- --weld,part,endsize,endpos,amntime
- grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1)
- -- 8 - blade
- local weebshit8 = Instance.new("Part")
- weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.Material = Enum.Material.Metal
- weebshit8.Size = Vector3.new(0.23,0.05, 0.1)
- weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit8.Anchored = false
- weebshit8.BrickColor = BrickColor.new("Dark stone grey")
- weebshit8.Friction = 0.30000001192093
- weebshit8.Shape = Enum.PartType.Block
- weebshit8.Name = "blade"
- weebshit8.Parent = weebshit1
- weebshit8:BreakJoints()
- local bld1 = weebshit8
- local weld2 = Instance.new('Weld',weebshit8)
- weld2.Part0 = weebshit8
- weld2.Part1 = handle
- weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90))
- local coru=coroutine.wrap(function()
- grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05)
- end)
- coru()
- -- 9 - blade
- local weebshit9 = Instance.new("Part")
- weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392)
- weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.Material = Enum.Material.Metal
- weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
- weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit9.Anchored = false
- weebshit9.BrickColor = BrickColor.new("Pearl")
- weebshit9.Friction = 0.30000001192093
- weebshit9.Shape = Enum.PartType.Block
- weebshit9.Name = "blade"
- weebshit9.Parent = weebshit8
- local bld2 = weebshit9
- local weld3 = Instance.new('Weld',weebshit9)
- weld3.Part0 = weebshit9
- weld3.Part1 = weebshit8
- weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
- grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05)
- -- 10 - blade
- local weebshit10 = Instance.new("Part")
- weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381)
- weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.Material = Enum.Material.Metal
- weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009)
- weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit10.Anchored = false
- weebshit10.BrickColor = BrickColor.new("Dark stone grey")
- weebshit10.Friction = 0.30000001192093
- weebshit10.Shape = Enum.PartType.Block
- weebshit10.Name = "blade"
- weebshit10.Parent = weebshit1
- local weld4 = Instance.new('Weld',weebshit10)
- weld4.Part0 = weebshit10
- weld4.Part1 = weebshit8
- weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095)
- local coru=coroutine.wrap(function()
- grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1)
- end)
- coru()
- -- 11 - blade
- local weebshit11 = Instance.new("Part")
- weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381)
- weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.Material = Enum.Material.Metal
- weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
- weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit11.Anchored = false
- weebshit11.BrickColor = BrickColor.new("Pearl")
- weebshit11.Friction = 0.30000001192093
- weebshit11.Shape = Enum.PartType.Block
- weebshit11.Name = "blade"
- weebshit11.Parent = weebshit1
- local weld5 = Instance.new('Weld',weebshit10)
- weld5.Part0 = weebshit10
- weld5.Part1 = weebshit11
- weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
- grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
- -- 15 - blade
- local weebshit15 = Instance.new("Part")
- weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392)
- weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.Material = Enum.Material.Metal
- weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009)
- weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit15.Anchored = false
- weebshit15.BrickColor = BrickColor.new("Dark stone grey")
- weebshit15.Friction = 0.30000001192093
- weebshit15.Shape = Enum.PartType.Block
- weebshit15.Name = "blade"
- weebshit15.Parent = weebshit1
- local weld6 = Instance.new('Weld',weebshit15)
- weld6.Part0 = weebshit15
- weld6.Part1 = weebshit10
- weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006)
- local coru=coroutine.wrap(function()
- grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1)
- end)
- coru()
- -- 12 - blade
- local weebshit12 = Instance.new("Part")
- weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0)
- weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.Material = Enum.Material.Metal
- weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
- weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit12.Anchored = false
- weebshit12.BrickColor = BrickColor.new("Pearl")
- weebshit12.Friction = 0.30000001192093
- weebshit12.Shape = Enum.PartType.Block
- weebshit12.Name = "blade"
- weebshit12.Parent = weebshit1
- local weld7 = Instance.new('Weld',weebshit12)
- weld7.Part0 = weebshit12
- weld7.Part1 = weebshit15
- weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0)
- grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
- -- 14 - blade
- local weebshit14 = Instance.new("Part")
- weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592)
- weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.Material = Enum.Material.Metal
- weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009)
- weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit14.Anchored = false
- weebshit14.BrickColor = BrickColor.new("Dark stone grey")
- weebshit14.Friction = 0.30000001192093
- weebshit14.Shape = Enum.PartType.Block
- weebshit14.Name = "blade"
- weebshit14.Parent = weebshit1
- local weld8 = Instance.new('Weld',weebshit14)
- weld8.Part0 = weebshit14
- weld8.Part1 = weebshit15
- weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1)
- local coru=coroutine.wrap(function()
- grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1)
- end)
- coru()
- -- 13 - blade
- local weebshit13 = Instance.new("Part")
- weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592)
- weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.Material = Enum.Material.Metal
- weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007)
- weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit13.Anchored = false
- weebshit13.BrickColor = BrickColor.new("Pearl")
- weebshit13.Friction = 0.30000001192093
- weebshit13.Shape = Enum.PartType.Block
- weebshit13.Name = "blade"
- weebshit13.Parent = weebshit1
- local weld9 = Instance.new('Weld',weebshit13)
- weld9.Part0 = weebshit13
- weld9.Part1 = weebshit14
- weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1)
- -- 18 - blade
- local weebshit18 = Instance.new("WedgePart")
- weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063)
- weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.Material = Enum.Material.Metal
- weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108)
- weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit18.Anchored = false
- weebshit18.BrickColor = BrickColor.new("Dark stone grey")
- weebshit18.Friction = 0.30000001192093
- weebshit18.Name = "blade"
- weebshit18.Parent = weebshit1
- local weld10 = Instance.new('Weld',weebshit18)
- weld10.Part0 = weebshit18
- weld10.Part1 = weebshit14
- weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0)
- local coru=coroutine.wrap(function()
- grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1)
- end)
- coru()
- -- 19 - blade
- local weebshit19 = Instance.new("WedgePart")
- weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063)
- weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.Material = Enum.Material.Metal
- weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091)
- weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- weebshit19.Anchored = false
- weebshit19.BrickColor = BrickColor.new("Pearl")
- weebshit19.Friction = 0.30000001192093
- weebshit19.Name = "blade"
- weebshit19.Parent = weebshit1
- local weld11 = Instance.new('Weld',weebshit19)
- weld11.Part0 = weebshit19
- weld11.Part1 = weebshit18
- weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0)
- local coru=coroutine.wrap(function()
- grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1)
- end)
- coru()
- end
- function gunmode()
- working = true
- working = false
- end
- function knifemode()
- blademode = "knife"
- -- 6 - thicc cap
- local obj6 = Instance.new("Part")
- obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07)
- obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Size = Vector3.new(0.3, 0.3, 0.3)
- obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj6.Anchored = false
- obj6.BrickColor = BrickColor.new("Really black")
- obj6.Friction = 0.30000001192093
- obj6.Shape = Enum.PartType.Ball
- obj6.Name = "thicc cap"
- obj6.Parent = handle
- local weld2 = Instance.new('Weld',obj6)
- weld2.Part0 = obj6
- weld2.Part1 = handle
- weld2.C0 = CFrame.new(0.4, 0, 0)
- grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1)
- -- 8 - thicc top cap
- local obj8 = Instance.new("Part")
- obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07)
- obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Size = Vector3.new(0.3, 0.3, 0.3)
- obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj8.Anchored = false
- obj8.BrickColor = BrickColor.new("Really black")
- obj8.Friction = 0.30000001192093
- obj8.Shape = Enum.PartType.Ball
- obj8.Name = "thicc top cap"
- obj8.Parent = handle
- local weld1 = Instance.new('Weld',obj8)
- weld1.Part0 = obj8
- weld1.Part1 = handle
- weld1.C0 = CFrame.new(-0.4, 0, 0)
- grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1)
- -- 4 - thicc blade
- local obj4 = Instance.new("Part")
- obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0)
- obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Material = Enum.Material.Metal
- obj4.Size = Vector3.new(0.23, 0.1, 0.1)
- obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj4.Anchored = false
- obj4.BrickColor = BrickColor.new("Dark stone grey")
- obj4.Friction = 0.30000001192093
- obj4.Shape = Enum.PartType.Block
- obj4.Name = "blade"
- obj4.Parent = handle
- local weld4 = Instance.new('Weld',obj4)
- weld4.Part0 = obj4
- weld4.Part1 = handle
- weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90))
- local coru=coroutine.wrap(function()
- grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1)
- end)
- coru()
- -- 5 - thicc blade
- local obj5 = Instance.new("Part")
- obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0)
- obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Material = Enum.Material.Metal
- obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007)
- obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj5.Anchored = false
- obj5.BrickColor = BrickColor.new("Pearl")
- obj5.Friction = 0.30000001192093
- obj5.Shape = Enum.PartType.Block
- obj5.Name = "blade"
- obj5.Parent = handle
- local weld5 = Instance.new('Weld',obj5)
- weld5.Part0 = obj5
- weld5.Part1 = obj4
- weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0)
- grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1)
- -- 3 - thicc blade
- local obj3 = Instance.new("WedgePart")
- obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0)
- obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Material = Enum.Material.Metal
- obj3.Size = Vector3.new(0.1, 0, 0.23)
- obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj3.Anchored = false
- obj3.BrickColor = BrickColor.new("Dark stone grey")
- obj3.Friction = 0.30000001192093
- obj3.Name = "blade"
- obj3.Parent = handle
- local weld6 = Instance.new('Weld',obj3)
- weld6.Part0 = obj3
- weld6.Part1 = obj4
- weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0))
- local coru=coroutine.wrap(function()
- grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05)
- end)
- coru()
- -- 2 - thicc blade
- local obj2 = Instance.new("WedgePart")
- obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0)
- obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Material = Enum.Material.Metal
- obj2.Size = Vector3.new(0.05, 0, 0.26)
- obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- obj2.Anchored = false
- obj2.BrickColor = BrickColor.new("Lily white")
- obj2.Friction = 0.30000001192093
- obj2.Name = "blade"
- obj2.Parent = handle
- local weld7 = Instance.new('Weld',obj2)
- weld7.Part0 = obj2
- weld7.Part1 = obj4
- weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0))
- grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05)
- end
- function raep()
- working = true
- pcall(function()
- local holyshit = Instance.new("Sound", handle)
- holyshit.SoundId = "rbxassetid://345287845"
- holyshit.Volume = 5
- holyshit:Play()
- holyshit.TimePosition = 0.6
- --[[local waitwhatthefuck = Instance.new("Sound", handle)
- waitwhatthefuck.SoundId = "rbxassetid://864314263"
- waitwhatthefuck:Play()]]--
- local coru=coroutine.wrap(function()
- wait(1.95)
- holyshit.TimePosition = 2.8
- end)
- coru()
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local rweld = Instance.new("Weld", char["Right Arm"])
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- local lweld = Instance.new("Weld", char["Left Arm"])
- lweld.Part0 = char.Torso
- lweld.Part1 = char["Left Arm"]
- lweld.C0 = CFrame.new(-1.5, 0, 0)
- char.Humanoid.WalkSpeed = 16
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2)
- local particl = Instance.new("ParticleEmitter")
- particl.LightEmission = 3
- particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
- particl.LightInfluence = 0.75
- particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)})
- particl.Lifetime = NumberRange.new(0.1, 0.5)
- particl.Rate = 50
- particl.RotSpeed = NumberRange.new(300, 300)
- particl.Speed = NumberRange.new(0, 1)
- particl.SpreadAngle = Vector2.new(90, 90)
- particl.Parent = handle
- for i, v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA("Part") then
- cooldildo = particl:Clone()
- cooldildo.Parent = v
- end
- end
- particl:Remove()
- wait(1)
- MOAN = true
- char.Humanoid.WalkSpeed = 75
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06)
- end)
- local cor3 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06)
- end)
- cor()
- cor2()
- cor3()
- lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06)
- local omgg = 0
- repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2
- holyshit:Destroy()
- char.Humanoid.WalkSpeed = 16
- MOAN = false
- if aidsificating == nil then
- for i, v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA("Part") then
- v:FindFirstChild("ParticleEmitter"):Destroy()
- end
- end
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
- end)
- local cor3 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08)
- end)
- cor()
- cor2()
- cor3()
- lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08)
- lweld:Remove()
- rweld:Remove()
- tweld:Remove()
- if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- else
- pcall(function()
- aidsificating.HumanoidRootPart:Destroy()
- end)
- pcall(function()
- ragdollpart(aidsificating,"Right Arm")
- ragdollpart(aidsificating,"Right Leg")
- ragdollpart(aidsificating,"Left Arm")
- ragdollpart(aidsificating,"Left Leg")
- end)
- pcall(function()
- ragdollpart(aidsificating,"RightUpperArm")
- ragdollpart(aidsificating,"RightUpperLeg")
- ragdollpart(aidsificating,"LeftUpperArm")
- ragdollpart(aidsificating,"LeftUpperLeg")
- end)
- pcall(function()
- local weld = Instance.new('Weld',aidsificating.Torso)
- weld.Part0 = aidsificating.Torso
- weld.Part1 = handle
- weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90))
- for i,v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA('BasePart') and v.Name == "stretchlol" then
- v.BrickColor = aidsificating.Torso.BrickColor
- v.Transparency = 0
- end
- end
- end)
- pcall(function()
- local weld = Instance.new('Weld',aidsificating.UpperTorso)
- weld.Part0 = aidsificating.UpperTorso
- weld.Part1 = handle
- weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90))
- for i,v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA('BasePart') and v.Name == "stretchlol" then
- v.BrickColor = aidsificating.UpperTorso.BrickColor
- v.Transparency = 0
- end
- end
- end)
- lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06)
- wait(2)
- for i,v in pairs(aidsificating:GetDescendants()) do
- if v:IsA('Weld') then v:Destroy() end
- end
- pcall(function()
- ragdollpart(aidsificating,"Head")
- end)
- pcall(function()
- local thang = "Torso"
- if aidsificating:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- local ayybleed = Instance.new('Part',aidsificating)
- ayybleed.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed.BrickColor = BrickColor.new('Maroon')
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 1
- ayybleed.CFrame = aidsificating[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,-1,0)
- attachment1.Orientation = Vector3.new(180, 0, 0)
- local attachment0 = Instance.new('Attachment',aidsificating[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = aidsificating
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed,true)
- end)
- bleedBLEED()
- end)
- aidsificating = nil
- pcall(function()
- for i,v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA('BasePart') and v.Name == "stretchlol" then
- v.Transparency = 1
- end
- end
- end)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04)
- wait(0.1)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08)
- end)
- local cor3 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08)
- end)
- cor()
- cor2()
- cor3()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08)
- lweld:Remove()
- rweld:Remove()
- tweld:Remove()
- if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- end
- end)
- working = false
- end
- function katanaQ()
- working = true
- swinging = true
- gettingeem = true
- pcall(function()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- pcall(function()
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- end)
- char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(5, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(1, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- local coru=coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08)
- end)
- coru()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08)
- local ree=0
- while goteem == nil and ree < 1 do
- wait(0.05)
- ree=ree+0.05
- end
- char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- gettingeem = false
- swinging = false
- if goteem then
- wait(2)
- pcall(function()
- local sounn = Instance.new("Sound", goteem.Torso)
- local lipp = math.random(1, 3)
- if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
- if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
- if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
- sounn:Play()
- end)
- ragdollpart(goteem,"Head")
- for i,v in pairs(goteem:GetDescendants()) do
- if v:IsA('Weld') then v:Destroy() end
- end
- goteem = nil
- end
- trail:Destroy()
- at1:Destroy()
- at2:Destroy()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05)
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- cor()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- rweld:Destroy()
- tweld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- end)
- swinging = false
- gettingeem = false
- working = false
- end
- local function katanaE()
- working = true
- swinging = true
- SLESH = true
- pcall(function()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(5, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(1, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- local coru=coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08)
- end)
- coru()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08)
- wait(1)
- char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
- trail:Destroy()
- at1:Destroy()
- at2:Destroy()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05)
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- cor()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- rweld:Destroy()
- tweld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- end)
- swinging = false
- SLESH = false
- working = false
- end
- function begoneTHOUGHT()
- working = true
- pcall(function()
- local thott = Instance.new("Sound", char)
- thott.SoundId = "rbxassetid://949916584"
- thott.Volume = 1
- thott.TimePosition = 0.5
- thott.PlaybackSpeed = 1
- thott.EmitterSize = player.CameraMaxZoomDistance+1
- thott.MaxDistance = player.CameraMaxZoomDistance+1
- thott:Play()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local coru=coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25)
- end)
- coru()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25)
- wait(0.5)
- local thote = Instance.new("Sound", char.Head)
- thote.SoundId = "rbxassetid://358498516"
- thote.Volume = 1
- thote:Play()
- local coru=coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04)
- end)
- coru()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04)
- wait(0.04)
- local ree = Instance.new('Part',workspace)
- ree.Shape = Enum.PartType.Cylinder
- ree.CanCollide = false
- ree.Anchored = false
- ree.Size = Vector3.new(0.5,2,2)
- ree.TopSurface = Enum.SurfaceType.Smooth
- ree.BottomSurface = Enum.SurfaceType.Smooth
- ree.Transparency = 0.8
- ree.Material =Enum.Material.Neon
- ree.BrickColor = BrickColor.new('Toothpaste')
- ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90))
- ree:BreakJoints()
- local reee = Instance.new("Sound", ree)
- reee.SoundId = "rbxassetid://138677306"
- reee:Play()
- local heck = Instance.new('BodyVelocity',ree)
- heck.Velocity = ree.CFrame.rightVector*50
- heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- local coru=coroutine.wrap(function()
- for i=1,21 do
- local cf = ree.CFrame
- ree.Size = ree.Size+Vector3.new(0,2,2)
- ree.CFrame = cf
- wait()
- end
- for i=1,4 do
- local cf = ree.CFrame
- ree.Size = ree.Size+Vector3.new(0,2,2)
- ree.CFrame = cf
- ree.Transparency = ree.Transparency + 0.05
- wait()
- end
- ree:Destroy()
- end)
- coru()
- ree.Touched:connect(function(hit)
- if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then
- hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100
- ragdollpart(hit.Parent,"Head")
- end
- end)
- wait(0.5)
- local coru=coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8)
- end)
- coru()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)
- rweld:Destroy()
- tweld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- end)
- working = false
- end
- function katanaswing()
- working = true
- pcall(function()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local lweld = Instance.new("Weld", char["Left Arm"])
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- lweld.Part0 = char.Torso
- lweld.Part1 = char["Left Arm"]
- lweld.C0 = CFrame.new(-1.5, 0, 0)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08)
- end)
- cor()
- lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08)
- wait(0.2)
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(5, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(1, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- swinging = true
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04)
- end)
- cor()
- lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04)
- wait(0.2)
- swinging = false
- trail:Destroy()
- at1:Destroy()
- at2:Destroy()
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- cor()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- rweld:Destroy()
- lweld:Destroy()
- tweld:Destroy()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- end)
- working = false
- end
- function throw()
- working = true
- pcall(function()
- local rweld = char["Right Arm"]:FindFirstChild("Weld")
- local lweld = char["Left Arm"]:FindFirstChild("Weld")
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local throwsound = Instance.new("Sound", char.Head)
- throwsound.SoundId = "rbxassetid://711753382"
- throwsound.PlaybackSpeed = 0.75
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04)
- end)
- cor()
- cor2()
- grabweld:Remove()
- throwsound:Play()
- local throwvel = Instance.new("BodyThrust")
- throwvel.Force = Vector3.new(0, 3000, -2000)
- pcall(function()
- throwvel.Parent = grabbed.Torso
- end)
- pcall(function()
- throwvel.Parent = grabbed.UpperTorso
- end)
- lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04)
- wait(0.15)
- throwvel:Remove()
- local cor = coroutine.wrap(function()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- cor()
- cor2()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- lweld:Remove()
- rweld:Remove()
- tweld:Remove()
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- local lolgrabbed = grabbed
- spawn(function()
- wait(2)
- unstun(lolgrabbed)
- end)
- end)
- grabbed = nil
- working = false
- end
- function whoosh(vroom)
- vroom.Parent = workspace
- vroom.Name = "Projectile"
- vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
- vroom.Anchored = true
- vroom.Velocity = Vector3.new(0,0,0)
- vroom.RotVelocity = Vector3.new(0,0,0)
- vroom.Anchored = false
- game:GetService('Debris'):AddItem(vroom,10)
- local flyy = Instance.new('BodyVelocity',vroom)
- flyy.Velocity = vroom.CFrame.rightVector*200
- local touched = false
- for i,v in pairs(vroom:GetChildren()) do
- if v:IsA('BasePart') then
- v.Touched:connect(function(hit)
- local pos = vroom.CFrame
- if touched == false then
- if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then
- touched = true
- local before = hit.Anchored
- vroom.Anchored = true
- vroom.Velocity = Vector3.new(0,0,0)
- vroom.RotVelocity = Vector3.new(0,0,0)
- vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector)
- hit.Anchored = true
- flyy:Destroy()
- pcall(function()
- local weld = Instance.new('Weld',hit)
- weld.Part0 = hit
- weld.Part1 = vroom
- weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame)
- local ayybleed = Instance.new('Part',hit)
- ayybleed.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed.BrickColor = BrickColor.new('Maroon')
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 1
- ayybleed.CFrame = hit.CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- local attachment0 = Instance.new('Attachment',hit)
- for i,v in pairs(vroom:GetChildren()) do
- if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then
- v.Name = "REEEE"
- end
- end
- attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0)
- attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = attachment0
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then
- game:GetService('Debris'):AddItem(ayybleed,7.5)
- end
- end)
- hit.Anchored = before
- vroom.Anchored = false
- vroom.CanCollide = true
- pcall(function()
- vroom:FindFirstChildOfClass('Trail'):Destroy()
- end)
- for i,v in pairs(vroom:GetChildren()) do
- if v:IsA('BasePart') then
- v.CanCollide = true
- end
- end
- if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then
- pcall(function()
- hit.Parent.HumanoidRootPart:Destroy()
- end)
- pcall(function()
- ragdollpart(hit.Parent,"Left Arm")
- ragdollpart(hit.Parent,"Left Leg")
- ragdollpart(hit.Parent,"Right Arm")
- ragdollpart(hit.Parent,"Right Leg")
- end)
- pcall(function()
- ragdollpart(hit.Parent,"LeftUpperLeg")
- ragdollpart(hit.Parent,"RightUpperLeg")
- ragdollpart(hit.Parent,"LeftUpperArm")
- ragdollpart(hit.Parent,"RightUpperArm")
- end)
- spawn(function()
- wait(5)
- ragdollpart(hit.Parent,"Head")
- end)
- else
- pcall(function()
- ragdollpart(hit.Parent,hit.Name)
- end)
- end
- elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then
- touched = true
- local before = hit.Anchored
- vroom.Anchored = true
- vroom.Velocity = Vector3.new(0,0,0)
- vroom.RotVelocity = Vector3.new(0,0,0)
- hit.Anchored = true
- flyy:Destroy()
- vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector
- pcall(function()
- local weld = Instance.new('Weld',hit)
- weld.Part0 = hit
- weld.Part1 = vroom
- weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame)
- end)
- pcall(function()
- vroom:FindFirstChildOfClass('Trail'):Destroy()
- end)
- hit.Anchored = before
- vroom.Anchored = false
- end
- end
- end)
- end
- end
- end
- function fling()
- working = true
- pcall(function()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local lweld = Instance.new("Weld", char["Left Arm"])
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- lweld.Part0 = char.Torso
- lweld.Part1 = char["Left Arm"]
- lweld.C0 = CFrame.new(-1.5, 0, 0)
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(2, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(-0.3, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07)
- end)
- cor()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07)
- end)
- local cor3 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12)
- end)
- cor()
- cor2()
- cor3()
- lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07)
- wait(0.2)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01)
- end)
- cor()
- cor2()
- whoosh(handle:Clone())
- for i, v in pairs(handle:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1
- end
- end
- handle.Transparency = 1
- trail:Remove()
- at1:Remove()
- at2:Remove()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04)
- wait(0.2)
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07)
- for i, v in pairs(handle:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 0
- end
- end
- handle.Transparency = 0
- hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0)
- lweld:Remove()
- rweld:Remove()
- tweld:Remove()
- if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- end)
- working = false
- end
- function kill()
- working = true
- pcall(function()
- local rweld = char["Right Arm"]:FindFirstChild("Weld")
- local lweld = char["Left Arm"]:FindFirstChild("Weld")
- local tweld = Instance.new("Weld", char.HumanoidRootPart)
- tweld.Part0 = char.HumanoidRootPart
- tweld.Part1 = char.Torso
- local killsound = Instance.new("Sound", grabbed.Head)
- killsound.SoundId = "rbxassetid://150315649"
- killsound.PlaybackSpeed = 1.2
- local killsoundac = Instance.new("Sound", grabbed.Head)
- killsoundac.SoundId = "rbxassetid://162194585"
- killsoundac.PlaybackSpeed = 1
- killsoundac.Volume = 1
- local throwsound = Instance.new("Sound", char.Head)
- throwsound.SoundId = "rbxassetid://711753382"
- throwsound.PlaybackSpeed = 0.75
- local chokesound = Instance.new("Sound", grabbed.Head)
- chokesound.SoundId = "rbxassetid://418658161"
- chokesound.TimePosition = 3
- chokesound.PlaybackSpeed = 1
- local bleedsound = Instance.new("Sound", grabbed.Head)
- bleedsound.SoundId = "rbxassetid://244502094"
- bleedsound.PlaybackSpeed = 1.5
- bleedsound.Volume = 1
- pitchun = math.random(9, 12)/10
- pitchdos = math.random(9, 13)/10
- killsound.PlaybackSpeed = pitchun
- killsoundac.PlaybackSpeed = pitchdos
- chokesound.PlaybackSpeed = pitchun
- pcall(function()
- grabbed.HumanoidRootPart:Destroy()
- end)
- lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1)
- wait(0.2)
- lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04)
- killsound:Play()
- killsoundac:Play()
- chokesound:Play()
- bleedsound:Play()
- local ayybleed = Instance.new('Part',grabbed)
- ayybleed.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed.BrickColor = BrickColor.new('Maroon')
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 0.5
- ayybleed.CFrame = grabbed.Head.CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(-0.55,0,0)
- attachment1.Orientation = Vector3.new(90, 0, -90)
- local attachment0 = Instance.new('Attachment')
- pcall(function()
- attachment0.Parent = grabbed.Torso
- end)
- pcall(function()
- attachment0.Parent = grabbed.UpperTorso
- end)
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- pcall(function()
- constraint.Parent = grabbed.Torso
- end)
- pcall(function()
- constraint.Parent = grabbed.UpperTorso
- end)
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- wait(0.2)
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(2, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(-0.3, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08)
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1)
- local coru=coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07)
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09)
- end)
- coru()
- local cor = coroutine.wrap(function()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04)
- end)
- cor()
- grabweld:Remove()
- throwsound:Play()
- local throwvel = Instance.new("BodyThrust")
- throwvel.Force = Vector3.new(0, 3000, -1000)
- pcall(function()
- throwvel.Parent = grabbed.Torso
- end)
- pcall(function()
- throwvel.Parent = grabbed.UpperTorso
- end)
- trail:Remove()
- at1:Remove()
- at2:Remove()
- lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04)
- pcall(function()
- ragdollpart(grabbed,"Left Arm")
- ragdollpart(grabbed,"Left Leg")
- ragdollpart(grabbed,"Right Arm")
- ragdollpart(grabbed,"Right Leg")
- end)
- pcall(function()
- ragdollpart(grabbed,"LeftUpperLeg")
- ragdollpart(grabbed,"RightUpperLeg")
- ragdollpart(grabbed,"LeftUpperArm")
- ragdollpart(grabbed,"RightUpperArm")
- end)
- wait(0.15)
- throwvel:Remove()
- local cor = coroutine.wrap(function()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- end)
- cor()
- cor2()
- lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08)
- lweld:Remove()
- rweld:Remove()
- tweld:Remove()
- if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
- local clone = torsoclone:Clone()
- clone.Part0 = char.HumanoidRootPart
- clone.Part1 = char.Torso
- clone.Parent = char.HumanoidRootPart
- end
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- local coru2=coroutine.wrap(function()
- local whyy = grabbed
- local continue = true
- local repeats = 0
- while continue == true do
- local ree = pcall(function()
- if repeats < 20 then
- whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9
- repeats = repeats+1
- if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then
- continue = false
- end
- else
- continue = false
- end
- end)
- if ree == false then
- continue = false
- end
- if continue == true then
- wait(0.2)
- end
- end
- ragdollpart(whyy,"Head")
- end)
- coru2()
- throwsound:Remove()
- killsound:Remove()
- end)
- grabbed = nil
- working = false
- end
- function release()
- working = true
- pcall(function()
- unstun(grabbed)
- grabbed = nil
- grabweld:Destroy()
- removewelds(char["Right Arm"])
- removewelds(char["Left Arm"])
- local rweld = Instance.new("Weld", char["Right Arm"])
- local lweld = Instance.new("Weld", char["Left Arm"])
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105))
- lweld.Part0 = char.Torso
- lweld.Part1 = char["Left Arm"]
- lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105))
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- lweld:Remove()
- rweld:Remove()
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- end)
- working = false
- end
- function grab()
- working = true
- pcall(function()
- local rweld = Instance.new("Weld", char["Right Arm"])
- local lweld = Instance.new("Weld", char["Left Arm"])
- rweld.Part0 = char["Torso"]
- rweld.Part1 = char["Right Arm"]
- rweld.C0 = CFrame.new(1.5, 0, 0)
- lweld.Part0 = char.Torso
- lweld.Part1 = char["Left Arm"]
- lweld.C0 = CFrame.new(-1.5, 0, 0)
- local at1 = Instance.new("Attachment", handle)
- local at2 = Instance.new("Attachment", handle)
- at1.Visible = false
- at1.Position = Vector3.new(2, 0, 0)
- at2.Visible = false
- at2.Position = Vector3.new(-0.3, 0, 0)
- local trail = Instance.new("Trail", handle)
- trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- trail.LightEmission = 0.25
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)})
- trail.Lifetime = 0.10
- trail.MinLength = 0.05
- trail.Attachment0 = at1
- trail.Attachment1 = at2
- local spinnyshit = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07)
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07)
- end)
- spinnyshit()
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08)
- end)
- cor()
- lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08)
- wait(0.15)
- grabbing = true
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08)
- end)
- cor()
- lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08)
- at1:Remove()
- at2:Remove()
- trail:Remove()
- wait(0.3)
- grabbing = false
- if grabbed == nil then
- local cor = coroutine.wrap(function()
- lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- end)
- local cor2 = coroutine.wrap(function()
- lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08)
- end)
- cor()
- cor2()
- lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08)
- lweld:Remove()
- rweld:Remove()
- if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then
- local clone = leftclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Left Arm"]
- clone.Parent = char.Torso
- end
- if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then
- local clone = rightclone:Clone()
- clone.Part0 = char.Torso
- clone.Part1 = char["Right Arm"]
- clone.Parent = char.Torso
- end
- end
- end)
- working = false
- end
- mouse.KeyDown:connect(function(kkk)
- local key = kkk:lower()
- if usable and working == false then
- if key == "z" then
- if equipped == false then
- if firsttime then
- firsttime = false
- notify("Equipped || Press X or C to equip one of two weapons",true)
- else
- notify("Equipped")
- end
- equip()
- else
- notify("Unequipped")
- unequip()
- end
- elseif key == "x" then
- if blademode ~= "katana" and equipped == true then
- getrid(handle)
- if firsttime2 then
- firsttime2 = false
- notify("Katana mode enabled || Press Q, E, or click to perform an action",true)
- else
- notify("Katana mode enabled")
- end
- katanamode()
- elseif blademode == "katana" then
- getrid(handle)
- notify("Katana mode disabled")
- end
- elseif key == "v" then
- if blademode ~= "gun" and equipped == true then
- getrid(handle)
- if firsttime5 then
- firsttime5 = false
- notify("Gun mode enabled || Click to perform an action",true)
- else
- notify("Gun mode enabled")
- end
- gunmode()
- elseif blademode == "gun" then
- getrid(handle)
- notify("Gun mode disabled")
- end
- elseif key == "b" then
- if childlock == false then
- if blademode ~= "dildo" and equipped == true then
- getrid(handle)
- if firsttime4 then
- firsttime4 = false
- notify("Dildo mode enabled || Click to perform an action",true)
- else
- notify("Dildo mode enabled")
- end
- dildo()
- elseif blademode == "dildo" then
- notify("Dildo mode disabled")
- getrid(handle)
- end
- end
- elseif key == "c" then
- if blademode ~= "knife" and equipped == true then
- getrid(handle)
- if firsttime3 then
- firsttime3 = false
- notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true)
- else
- notify("Knife mode enabled")
- end
- knifemode()
- elseif blademode == "knife" then
- notify("Knife mode disabled")
- getrid(handle)
- end
- elseif key == "q" then
- if blademode == "katana" then
- notify()
- katanaQ()
- elseif blademode == "knife" then
- mode = "release"
- notify("Mode changed to "..mode)
- end
- elseif key == "e" then
- if blademode == "katana" then
- notify()
- katanaE()
- elseif blademode == "knife" then
- mode = "throw"
- notify("Mode changed to "..mode)
- end
- elseif key == "f" then
- if blademode == "handle" then
- notify([[BEGONE
- THOT]])
- begoneTHOUGHT()
- elseif blademode == "knife" then
- mode = "kill"
- notify("Mode changed to "..mode)
- end
- elseif key == "t" then
- if blademode == "knife" then
- mode = "fling"
- notify("Mode changed to "..mode)
- end
- end
- end
- if key == "m" and sounding == false then
- --badass mode
- pcall(function()
- if badass.Playing == false then
- sounding = true
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA('Sound') and v~=player.Character.Head.Badass then
- v:Stop()
- end
- end
- badass:Play()
- badass.Volume = 10
- sounding = false
- else
- sounding = true
- for i=1,100 do
- badass.Volume = badass.Volume-0.1
- wait()
- end
- badass.Volume = 0
- badass:Stop()
- sounding = false
- end
- end)
- end
- if key == "r" then
- rag1 = true
- if rag1 == true and rag2 == true then
- oogabooga()
- end
- end
- if key == "g" then
- rag2 = true
- if rag1 == true and rag2 == true then
- oogabooga()
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "r" then
- rag1 = false
- end
- if key == "g" then
- rag2 = false
- end
- end)
- handle.ChildAdded:connect(function(child)
- if child:IsA('BasePart') then
- child.CanCollide = false
- if child.Name == "blade" then
- child.Touched:connect(function(hit)
- if blademode == "katana" and swinging then
- if gettingeem then
- if goteem == nil then
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
- local sounn = Instance.new("Sound", char.Torso)
- local lipp = math.random(1, 3)
- if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
- if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
- if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
- sounn:Play()
- goteem = hit.Parent
- pcall(function()
- goteem.HumanoidRootPart:Destroy()
- end)
- pcall(function()
- ragdollpart(goteem,"Right Arm")
- ragdollpart(goteem,"Right Leg")
- ragdollpart(goteem,"Left Arm")
- ragdollpart(goteem,"Left Leg")
- end)
- pcall(function()
- ragdollpart(goteem,"RightUpperArm")
- ragdollpart(goteem,"RightUpperLeg")
- ragdollpart(goteem,"LeftUpperArm")
- ragdollpart(goteem,"LeftUpperLeg")
- end)
- pcall(function()
- local weld = Instance.new('Weld',goteem.Torso)
- weld.Part0 = goteem.Torso
- weld.Part1 = handle
- weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90))
- end)
- pcall(function()
- local weld = Instance.new('Weld',goteem.UpperTorso)
- weld.Part0 = goteem.UpperTorso
- weld.Part1 = handle
- weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90))
- end)
- pcall(function()
- local thang = "Torso"
- if goteem:FindFirstChild('UpperTorso') then
- thang = "UpperTorso"
- end
- local ayybleed = Instance.new('Part',goteem)
- ayybleed.Size = Vector3.new(0.2,0.2,0.2)
- ayybleed.BrickColor = BrickColor.new('Maroon')
- ayybleed.Material = Enum.Material.SmoothPlastic
- ayybleed.Name = "ayybleed"
- ayybleed.CanCollide = false
- ayybleed.Transparency = 1
- ayybleed.CFrame = goteem[thang].CFrame
- ayybleed:BreakJoints()
- local attachment1 = Instance.new('Attachment',ayybleed)
- attachment1.Position = Vector3.new(0,0,0)
- attachment1.Orientation = Vector3.new(-90, 0, -90)
- local attachment0 = Instance.new('Attachment',goteem[thang])
- if attachment0 and attachment1 then
- local constraint = Instance.new("HingeConstraint")
- constraint.Attachment0 = attachment0
- constraint.Attachment1 = attachment1
- constraint.LimitsEnabled = true
- constraint.UpperAngle = 0
- constraint.LowerAngle = 0
- constraint.Parent = goteem
- end
- local bleedBLEED= coroutine.wrap(function()
- bleed(ayybleed)
- end)
- bleedBLEED()
- end)
- end
- end
- elseif SLESH then
- if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
- local sounn = Instance.new("Sound", char.Torso)
- local lipp = math.random(1, 3)
- if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
- if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
- if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
- sounn:Play()
- ragdollpart(hit.Parent,hit.Name,false)
- end
- else
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
- local sounn = Instance.new("Sound", char.Torso)
- local lipp = math.random(1, 3)
- if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end
- if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end
- if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end
- sounn:Play()
- swinging = false
- ragdollpart(hit.Parent,"Head",true,false)
- end
- end
- elseif blademode == "knife" then
- if grabbing == true and grabbed == nil then
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
- grabbed = hit.Parent
- stun(grabbed)
- local grabwelds = Instance.new("Weld", char.Torso)
- grabwelds.Part0 = char.Torso
- pcall(function()
- grabwelds.Part1 = grabbed.Torso
- end)
- pcall(function()
- grabwelds.Part1 = grabbed.UpperTorso
- end)
- grabwelds.C0 = CFrame.new(-0.45, 0, -1)
- grabweld = grabwelds
- end
- end
- end
- end)
- end
- elseif child:IsA("Model") then
- child.ChildAdded:connect(function(dildotip)
- if dildotip:IsA('BasePart') then
- dildotip.Touched:connect(function(hit)
- if MOAN == true then
- if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then
- local sound = Instance.new('Sound',hit.Parent.Head)
- sound.SoundId = 'rbxassetid://959679286'
- sound.Volume = 5
- sound:Play()
- local sound3 = Instance.new("Sound",hit.Parent.Head)
- sound3.Volume = 5.5
- sound3.SoundId = "rbxassetid://702631545"
- sound3:Play()
- pcall(function()
- for i,v in pairs(hit.Parent.Head:GetChildren()) do
- if v:IsA('Decal') then v:Destroy() end
- end
- end)
- pcall(function()
- local ree=Instance.new('Decal',hit.Parent.Head)
- ree.Name = "face"
- ree.Texture = "rbxassetid://996521543"
- end)
- MOAN = false
- aidsificating = hit.Parent
- for i, v in pairs(handle["pink toy"]:GetChildren()) do
- if v:IsA("Part") then
- v:FindFirstChild("ParticleEmitter"):Destroy()
- end
- end
- end
- end
- end)
- end
- end)
- end
- end)
- mouse.Button1Down:connect(function(jew)
- if usable and working == false and equipped then
- if blademode == "katana" then
- notify()
- katanaswing()
- elseif blademode == "knife" then
- notify()
- if grabbed == nil then
- if mode == "fling" then
- fling()
- else
- grab()
- end
- elseif grabbed ~= nil then
- if mode == "kill" then
- kill()
- elseif mode == "throw" then
- throw()
- elseif mode == "release" then
- release()
- end
- end
- elseif blademode == "dildo" then
- raep()
- end
- end
- end)
- end
- spawned()
- player.CharacterAdded:connect(function()
- spawned()
- end)
- local avgs = {}
- game:GetService('RunService').Heartbeat:connect(function(step)
- local ofps = math.floor((60/(step*60))*10)/10
- if #avgs > 100 then
- table.remove(avgs,1)
- end
- table.insert(avgs,#avgs+1,ofps)
- local fpsa = 0
- for i,v in pairs(avgs) do
- fpsa = fpsa+v
- end
- fpsa = math.floor(fpsa/#avgs)
- fps.Text = 'FPS: '..tostring(fpsa)
- end)
- while true do
- for i,v in pairs(rekt) do
- if v.Parent ~= nil then
- if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then
- for a,c in pairs(v:GetChildren()) do
- if c:IsA('Tool') then
- c.ManualActivationOnly = true
- wait()
- if game:GetService('Players'):GetPlayerFromCharacter(v) then
- c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack
- c.ManualActivationOnly = false
- end
- end
- end
- v:FindFirstChildOfClass('Humanoid').PlatformStand = true
- v:FindFirstChildOfClass('Humanoid').Sit = false
- v:FindFirstChildOfClass('Humanoid').JumpPower = 0
- v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0
- v:FindFirstChildOfClass('Humanoid').Name = "hecc"
- else
- table.remove(rekt,i)
- end
- else
- table.remove(rekt,i)
- end
- end
- wait()
- end
- end)
- S1Exit.Name = "S1 Exit"
- S1Exit.Parent = Scripts1Frame
- S1Exit.BackgroundColor3 = Color3.new(1, 0, 0)
- S1Exit.Position = UDim2.new(0.951662838, 0, 0, 0)
- S1Exit.Size = UDim2.new(0, 22, 0, 26)
- S1Exit.Font = Enum.Font.GothamBlack
- S1Exit.Text = "X"
- S1Exit.TextColor3 = Color3.new(0, 0, 0)
- S1Exit.TextSize = 14
- S1Exit.MouseButton1Down:connect(function()
- Scripts1Frame.Visible = false
- end)
- Keemstar.Name = "Keemstar"
- Keemstar.Parent = Scripts1Frame
- Keemstar.BackgroundColor3 = Color3.new(1, 0, 0)
- Keemstar.BorderSizePixel = 0
- Keemstar.Position = UDim2.new(0.373417735, 0, 0.351744175, 0)
- Keemstar.Size = UDim2.new(0, 161, 0, 42)
- Keemstar.Font = Enum.Font.GothamBlack
- Keemstar.Text = "Keemstar"
- Keemstar.TextColor3 = Color3.new(0, 0, 0)
- Keemstar.TextSize = 14
- Keemstar.MouseButton1Down:connect(function()
- local a = Instance.new("Sound")
- a.Name = "Sound"
- a.SoundId = "http://www.roblox.com/asset/?id=433992205"
- a.Volume = 1
- a.Pitch = 1
- a.Looped = true
- a.archivable = false
- a.Parent = game.Workspace
- a:play()
- for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable
- p = v.Character
- local weld = Instance.new("Weld",p.Torso)
- weld.Part0 = p.Torso
- local train = Instance.new("Part",p.Torso)
- train.Anchored = true
- train.CanCollide = false
- train.Size = Vector3.new(3,2,6)
- train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld.Part1 = train
- weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
- train.Anchored = false
- local TrainMesh = Instance.new("SpecialMesh",train)
- TrainMesh.MeshType = Enum.MeshType.FileMesh
- TrainMesh.Scale = Vector3.new(.5,.5,.5)
- TrainMesh.MeshId = "rbxassetid://471652548"
- TrainMesh.TextureId = "rbxassetid://471652580"
- local weld2 = Instance.new("Weld",p.Torso)
- weld2.Part0 = p.Torso
- local Smoke = Instance.new("Part",p.Torso)
- Smoke.Anchored = true
- Smoke.CanCollide = false
- Smoke.Size = Vector3.new(1,1,1)
- Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
- weld2.Part1 = Smoke
- weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
- Smoke.Anchored = false
- Smoke.Transparency = 1;
- p.Humanoid.WalkSpeed = 60;
- for i,v in pairs(p:GetChildren()) do
- if v:IsA("Part") then
- v.Transparency = 1;
- elseif v:IsA("Hat") then
- v:Destroy()
- elseif v:IsA("Model") then
- v:Destroy()
- end
- end
- end
- local playerLeaderstats = {}
- for i, v in pairs(game.Players:GetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- end)
- DogeFace.Name = "Doge Face"
- DogeFace.Parent = Scripts1Frame
- DogeFace.BackgroundColor3 = Color3.new(1, 0, 0)
- DogeFace.BorderSizePixel = 0
- DogeFace.Position = UDim2.new(0.0147679448, 0, 0.351744175, 0)
- DogeFace.Size = UDim2.new(0, 161, 0, 42)
- DogeFace.Font = Enum.Font.GothamBlack
- DogeFace.Text = "Doge Face"
- DogeFace.TextColor3 = Color3.new(0, 0, 0)
- DogeFace.TextSize = 14
- DogeFace.MouseButton1Down:connect(function()
- gui1=Instance.new("BillboardGui")
- gui1.Parent = game.Players.LocalPlayer.Character.Head
- gui1.Adornee = game.Players.LocalPlayer.Character.Head
- gui1.Size=UDim2.new(2.5,0,2.5,0)
- gui1.StudsOffset=Vector3.new(0,0.2,0)
- gui1.AlwaysOnTop = true
- text1=Instance.new("ImageLabel")
- text1.Image = "http://www.roblox.com/asset/?id=130742396" --
- text1.Size=UDim2.new(1,0,1,0)
- text1.Position=UDim2.new(0,0,0,0)
- text1.BackgroundTransparency = 1
- text1.Parent=gui1
- game.Players.LocalPlayer.Character.Head.Transparency = 1
- end)
- Pepe.Name = "Pepe"
- Pepe.Parent = Scripts1Frame
- Pepe.BackgroundColor3 = Color3.new(1, 0, 0)
- Pepe.BorderSizePixel = 0
- Pepe.Position = UDim2.new(0.373417735, 0, 0.191860467, 0)
- Pepe.Size = UDim2.new(0, 161, 0, 42)
- Pepe.Font = Enum.Font.GothamBlack
- Pepe.Text = "Pepe"
- Pepe.TextColor3 = Color3.new(0, 0, 0)
- Pepe.TextSize = 14
- Pepe.MouseButton1Down:connect(function()
- --Ultimate V2.2
- m = Instance.new("Message")
- m.Parent = Workspace
- m.Text = ("Loaded PePe Rage Script/Server Destruction")
- game.Workspace.Gravity = 75
- game.Lighting.TimeOfDay = ("5:00")
- game.Lighting.FogEnd = 300
- wait(1)
- m:Remove()
- while true do
- wait(0.5)
- b = Instance.new("BlurEffect")
- b.Parent = game.Lighting
- h = Instance.new("Hint")
- h.Parent = game.Workspace
- h.Text = ("It is the ultimate end of the server.")
- game.Workspace.Gravity = -10
- game.Lighting.TimeOfDay = ("0:00")
- game.Lighting.FogEnd = 75
- game.StarterPlayer.CameraMode = ("LockFirstPerson")
- game.Workspace.Camera.FieldOfView = 200
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v:IsA("Part")then
- v.BrickColor = BrickColor.new('le color')
- v.Name = ("locked")
- v.Locked = true
- v.Anchored = false
- end
- end
- end
- end)
- Illuminati.Name = "Illuminati"
- Illuminati.Parent = Scripts1Frame
- Illuminati.BackgroundColor3 = Color3.new(1, 0, 0)
- Illuminati.BorderSizePixel = 0
- Illuminati.Position = UDim2.new(0.373417735, 0, 0.502906978, 0)
- Illuminati.Size = UDim2.new(0, 161, 0, 42)
- Illuminati.Font = Enum.Font.GothamBlack
- Illuminati.Text = "illuminati"
- Illuminati.TextColor3 = Color3.new(0, 0, 0)
- Illuminati.TextSize = 14
- Illuminati.MouseButton1Down:connect(function()
- local playerLeaderstats = {}
- for i, v in pairs(game.Players:GetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- for i, v in pairs(playerLeaderstats) do
- pe = Instance.new("ParticleEmitter",v.Character.Torso)
- pe.Texture = "http://www.roblox.com/asset/?id=377792063"
- pe.VelocitySpread = 50
- end
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://377792063"
- end
- print("Music executed!")
- s = Instance.new("Sound")
- s.Name = "Music"
- s.SoundId = "http://www.roblox.com/asset/?id=185993653" --Put the id into there.
- s.Looped = true
- s.Pitch = 1 --You can edit these settings.
- s.Volume = 4 --You can edit these settings.
- s.archivable = false
- s.Parent = game.Workspace
- wait(1)
- s:play()
- end)
- UltraMech.Name = "Ultra Mech"
- UltraMech.Parent = Scripts1Frame
- UltraMech.BackgroundColor3 = Color3.new(1, 0, 0)
- UltraMech.BorderSizePixel = 0
- UltraMech.Position = UDim2.new(0.0147679448, 0, 0.502906978, 0)
- UltraMech.Size = UDim2.new(0, 161, 0, 42)
- UltraMech.Font = Enum.Font.GothamBlack
- UltraMech.Text = "Ultra Mech"
- UltraMech.TextColor3 = Color3.new(0, 0, 0)
- UltraMech.TextSize = 14
- UltraMech.MouseButton1Down:connect(function()
- Players = game:service'Players'
- Debris = game:service'Debris'
- CF = CFrame.new
- CFa = CFrame.Angles
- CFA = function(x,y,z) return CFa(MR(x),MR(y),MR(z)) end
- V3 = Vector3.new
- MR = math.rad
- MD = math.deg
- MRND = math.random
- CFN=CF(0,0,0)
- V3N=V3(0,0,0)
- V3M=V3(1/0,1/0,1/0)
- newI = function(tab)
- local p = Instance.new(tab[1],tab[2])
- for i,v in pairs(tab) do
- if i=="Debris" then
- Debris:AddItem(p,v)
- elseif (i~=1 and i~=2) then
- p[i] = v
- end
- end
- return p
- end
- ------------Assets
- assets = {}
- --Meshes
- assets.Ring = "3270017"
- assets.Bullet1 = "10207677"
- assets.MuzzleFlash = "25212400"
- --MeshTexture
- --Decals
- --Gui Decals
- --Sounds
- assets.Minigun1 = "2766581"
- assets.Fire1 = "2760979"
- --
- assetprefix = "http://www.roblox.com/asset/?id="
- for i,v in pairs(assets) do
- if v:sub(1,3)~="htt" and v:sub(1,3)~="rbx" then
- assets[i]=assetprefix..v
- end
- end
- ----------------------------
- PlaySound=function(soundId,Parent,Pit,Vol)
- local v=newI{"Sound",Parent,SoundId=soundId,Volume=Vol,Pitch=Pit,Looped=false,Debris=5}
- v:Play()
- end
- newPart = function(sizea,sizeb,sizec,parent,cframe,aa,bb,cc,dd,ee,ff)
- local Materials = {}
- for i,v in pairs{
- "Plastic","SmoothPlastic","Wood", "WoodPlanks",
- "Marble", "Slate","Concrete", "Granite",
- "Brick","Pebble", "Cobblestone","CorrodedMetal",
- "DiamondPlate", "Foil", "Metal","Grass",
- "Sand","Fabric","Ice","Neon"} do
- Materials[v]=v
- end
- local mat,col
- local part = Instance.new("Part",parent or Model)
- for i,v in pairs{aa,bb,cc,dd,ee,ff} do
- if Materials[v] then mat=v end
- if BrickColor.new(v).Name==v then col=v end
- if v=="CylinderMesh" or v=="BlockMesh" then local m = Instance.new(v,part) m.Name="Mesh" end
- if v=="Torso" then newI{"SpecialMesh",part,MeshType="Torso"} end
- if v=="Sphere" then newI{"SpecialMesh",part,MeshType="Sphere"} end
- if v=="Wedge" then part:Destroy() part=Instance.new("WedgePart",parent or Model) end
- if v=="Corner" then part:Destroy() part=Instance.new("CornerWedgePart",parent or Model) end
- if v=="Ring" then newI{"SpecialMesh",part,MeshType="FileMesh",MeshId=assets.Ring} end
- if v=="nonCollide" then part.CanCollide=false end
- if v=="Transparent" then part.Transparency=1 end
- if v=="Anchored" then part.Anchored=true end
- if v=="S0.5" then sizea=sizea/2 sizeb=sizeb/2 sizec=sizec/2 part.Mesh.Scale=part.Mesh.Scale*2 end
- end
- if part.className~="CornerWedgePart" then part.formFactor="Custom" end
- for i,v in pairs{"Top","Bottom","Left","Right","Front","Back"} do
- part[v.."Surface"]="SmoothNoOutlines"
- end
- part.Size=V3(sizea,sizeb,sizec) or V3(1,1,1)
- part.CFrame=cframe or CF(0,-50,0)
- part.BrickColor=BrickColor.new(col or '')
- part.Material = mat or 'SmoothPlastic'
- part:BreakJoints()
- part.Elasticity = 0
- part.Name="z"
- part.CustomPhysicalProperties = PhysicalProperties.new(2,2,0,2,0)
- return part,cframe
- end
- newMesh=function(parent,dtype,sx,sy,sz)
- local filemesh
- local mesh
- if dtype=="Block" or dtype=="Cylinder" then
- mesh=INEW(types.."Mesh",parent)
- elseif dtype:sub(1,4)=="http" or dtype:sub(1,3)=="rbx" then
- mesh=INEW("SpecialMesh",parent)
- mesh.MeshType="FileMesh"
- mesh.MeshId=dtype
- filemesh=true
- else
- mesh=INEW("SpecialMesh",parent)
- mesh.MeshType=dtype
- end
- if parent.Size.x<=0.2 then parent.CanCollide=false end
- local yes=parent.Size.x<0.2001 and 5 or 1
- if filemesh then yes=1 end
- mesh.Scale=V3(sx or 1,sy or 1,sz or 1)*yes
- return mesh
- end
- newWeld = function(parent,P0,P1,C0,C1)
- local weld=Instance.new("Weld",parent or P0)
- weld.Part0=P0
- weld.Part1=P1
- weld.C0=C0 or weld.C0
- weld.C1=C1 or weld.C1
- return weld
- end
- newWeld6D = function(parent,P0,P1,C0,C1)
- local weld=Instance.new("Motor6D",parent or P0)
- weld.Part0=P0
- weld.Part1=P1
- weld.C0=C0 or weld.C0
- weld.C1=C1 or weld.C1
- return weld
- end
- ray = function(Origin,Direction,tab,length) -- ray cast
- return workspace:FindPartOnRay(Ray.new(Origin,Direction.unit *(length or 999)),tab)
- end
- addProjectile = function(Origin,Destination,Speed,onHit,extra,noHit)
- local current = CF(Origin,Destination.p)
- local co = 0
- doIn(4,function(i,wkey,step)
- co=co+1
- if co%2==0 then
- local Speed2 = Speed*step
- local Hit,Pos = ray(current.p,Destination.p-Origin,mech,Speed2)
- if Hit then
- current=current*CF(0,0,-(current.p-Pos).magnitude)
- doInT[wkey] = nil
- onHit(Hit)
- else
- current=current*CF(0,0,-Speed2)
- end
- extra(current,i*4)
- end
- end,function()
- if noHit and noHit~=0 then
- noHit()
- end
- end)
- end
- checkCF = function(weld)
- local x,y,z = weld.C0:toEulerAnglesXYZ()
- print(weld.Name ..".C0 ",weld.C0.x,weld.C0.y,weld.C0.z," ",MD(x),MD(y),MD(z))
- local x,y,z = weld.C1:toEulerAnglesXYZ()
- print(weld.Name ..".C1 ",weld.C1.x,weld.C1.y,weld.C1.z," ",MD(x),MD(y),MD(z))
- end
- GetX = function(Part,Point)
- local x,y,z=Part.CFrame:toObjectSpace(CFrame.new(Part.Position,Point)):toEulerAnglesXYZ()
- return math.deg(x)
- end
- GetY = function(Part,Point)
- local x,y,z=Part.CFrame:toObjectSpace(CFrame.new(Part.Position,Point)):toEulerAnglesXYZ()
- return math.deg(y)
- end
- getTriangleValues = function(Points)
- local G, V = 0
- for S = 1, 3 do
- local L = (Points[1+(S+1)%3]-Points[1+S%3]).magnitude
- G, V = L > G and L or G, L > G and {Points[1+(S-1)%3], Points[1+(S)%3], Points[1+(S+1)%3]} or V
- end
- local D = V[2]+(V[3]-V[2]).unit*((V[3]-V[2]).unit:Dot(V[1]-V[2]))
- local C, B = (D-V[1]).unit, (V[2]-V[3]).unit
- local A = B:Cross(C)
- S1 = V3(0.2, (V[2]-D).magnitude, (V[1]-D).magnitude)/1 --0.2
- S2 = V3(0.2, (V[3]-D).magnitude, (V[1]-D).magnitude)/1 --0.2
- C1 = CF(0,0,0,A.X,B.X,C.X,A.Y,B.Y,C.Y,A.Z,B.Z,C.Z)+(V[1]+V[2])/2
- C2 = CF(0,0,0,-A.X,-B.X,C.X,-A.Y,-B.Y,C.Y,-A.Z,-B.Z,C.Z)+(V[1]+V[3])/2
- return C1, C2, S1, S2
- end
- fillTriangle = function(...)
- local C1,C2,S1,S2 = getTriangleValues(...)
- local tri1 = newPart(S1.x,S1.y,S1.z,mech,C1,"Wedge")
- local tri2 = newPart(S2.x,S2.y,S2.z,mech,C2,"Wedge")
- --for i=1,3 do
- --newPart(0.4,0.4,0.4,mech,CF((...)[i]),"nonCollide","Really black","Anchored")
- --end
- return tri1,tri2
- end
- n = ""
- ThighAngle = -40
- LegAngle = 135
- FootAngle = -40
- ToeAngle = -LegAngle-ThighAngle-FootAngle
- ThighAngle = -25
- LegAngle = 75
- FootAngle = 10
- ToeAngle = -LegAngle-ThighAngle-FootAngle
- --SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP SCROP
- pcall(function() workspace["RM Mech 2"]:Remove() end)
- mech = newI{"Model",workspace,Name="RM Mech 2"}
- Base = newPart(10,10,8,mech,CF(0,50,0),"nonCollide")
- Base.Transparency=1
- Torso = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent")
- BaseW = newWeld6D(Base,Base,Torso,CF(0,0,0)*CFA(0,0,0))
- Torso1 = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent") --for X Turn
- Torso1W = newWeld6D(Torso,Torso,Torso1,CF(0,0,0)*CFA(0,0,0))
- Torso2 = newPart(4,4,4,mech,Base.CFrame,"nonCollide","Transparent") --for Y Turning Torso
- Torso2W = newWeld6D(Torso1,Torso1,Torso2,CF(0,0,0)*CFA(0,0,0))
- --[[
- Stand = newPart(2,2,2,mech,Base.CFrame,"Transparent") --Stand (motor6d never used)
- Stand.Name = "Left Leg"
- StandW = newWeld6D(Base,Base,Stand,CF(-4.5,-7-0.172-6,0))
- Stand = newPart(2,2,2,mech,Base.CFrame,"Transparent")
- Stand.Name = "Right Leg"
- StandW = newWeld6D(Base,Base,Stand,CF( 4.5,-7-0.172-6,0)) --]]
- ------------------
- fillTriangle1Mech = function(...)
- local t1,t2 = fillTriangle(...)
- newWeld(Torso,Torso2,t1,Torso2.CFrame:toObjectSpace(t1.CFrame))
- newWeld(Torso,Torso2,t2,Torso2.CFrame:toObjectSpace(t2.CFrame))
- return t1,t2
- end
- ------------------
- LThigh = newPart(3,3,3,mech,Torso.CFrame,"nonCollide","Transparent")
- LThighW = newWeld6D(Torso,Torso,LThigh,CF(-4.5+1.5,0,0),CF( 1.5,0.5,0)*CFA(ThighAngle,0,0))
- RThigh = newPart(3,3,3,mech,Torso.CFrame,"nonCollide","Transparent")
- RThighW = newWeld6D(Torso,Torso,RThigh,CF( 4.5-1.5,0,0),CF(-1.5,0.5,0)*CFA(ThighAngle,0,0))
- for i,v in pairs{[-1]=LThigh,[1]=RThigh} do
- newWeld(Torso,v,newPart(2.2,0.4,2.2,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(1.41*i,0.5,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.8,0.41,1.8,mech,nil,"CylinderMesh","nonCollide","Black"),CF(1.41*i,0.5,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.75,0.2,1.75,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(1.41*-i,0.5,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.4,3.2,1.4,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,-5,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.1,3.3,1.1,mech,nil,"CylinderMesh","nonCollide","Black"),CF(0,-5,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.6,0.2,1.2,mech,nil),CF(0,-3.9,-0.1))
- local newp = newPart(1.6,math.sqrt(1+5.5*5.5)+0.05,0.2,mech,nil)
- local newpw = newWeld(Torso,v,newp,CF(0,-1.25,1.4-0.52)*CFA(math.deg(math.tan(1/5.5)),0,0))
- if i==-1 then
- LThighPad = newp
- LThighPadW = newpw
- else
- RThighPad = newp
- RThighPadW = newpw
- end
- local newp = newPart(1.6,math.sqrt(0.2^2+5.5^2)+0.05,0.2,mech,nil)
- local newpw = newWeld(Torso,v,newp,CF(0,-1.25,-1.4+0.3)*CFA(-math.deg(math.tan(0.6/5.5)),0,0)*CF(0,2.7725,0),CF(0,2.7725,0)*CFA(0,0,0))
- if i==-1 then
- LThighPad2 = newp
- LThighPad2W = newpw
- else
- RThighPad2 = newp
- RThighPad2W = newpw
- end
- newWeld(Torso,v,newPart(3,1.2,0.8,mech,nil,"Wedge"),CF(0,2.1,-1.5+0.4)*CFA(0,0,0))
- newWeld(Torso,v,newPart(3,1.2,0.6,mech,nil),CF(0,2.1,-1.5+1.1))
- newWeld(Torso,v,newPart(3,1.2,1.6,mech,nil,"Wedge"),CF(0,2.1, 1.5-0.8)*CFA(0,180,0))
- for i=-1,1,2 do
- newWeld(Torso,v,newPart(0.7,7.5,1.6,mech,nil),CF(-1.15*i,-2.25,0))
- newWeld(Torso,v,newPart(0.7,0.8,0.5,mech,nil,"Wedge"),CF(1.15*i,-6.25,-0.4)*CFA(-90,0,0))
- newWeld(Torso,v,newPart(0.7,0.8,0.5,mech,nil,"Wedge"),CF(1.15*i,-6.25, 0.4)*CFA(-90,0,180))
- newWeld(Torso,v,newPart(0.7,0.7,7.5,mech,nil,"Wedge"),CF(1.15*i,-2.25,-0.8-0.35)*CFA(-90,0,0))
- newWeld(Torso,v,newPart(0.7,0.7,7.5,mech,nil,"Wedge"),CF(1.15*i,-2.25, 0.8+0.35)*CFA(-90,0,180))
- end
- end
- LLeg = newPart(2,2,2,mech,Torso.CFrame,"Transparent","nonCollide")
- LLegW = newWeld6D(LThigh,LThigh,LLeg,CF(0,-5,0),CF(0,0,0)*CFA(LegAngle,0,0))
- RLeg = newPart(2,2,2,mech,Torso.CFrame,"Transparent","nonCollide")
- RLegW = newWeld6D(RThigh,RThigh,RLeg,CF(0,-5,0),CF(0,0,0)*CFA(LegAngle,0,0))
- for i,v in pairs{LLeg,RLeg} do
- newWeld(Torso,v,newPart(2,1.6,2,mech,nil,"CylinderMesh"),CF(0,0,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1,1,1,mech,nil,"CylinderMesh"),CF(0,-6,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.599,2,1,mech,nil),CFA(4,0,0)*CF(0,-1,-0.49))
- newWeld(Torso,v,newPart(1.599,2,1,mech,nil,"Wedge"),CFA(4,0,0)*CF(0,-1,0.5)*CFA(180,0,0))
- newWeld(Torso,v,newPart(1.6,3.2,1,mech,nil,"Torso"),CFA(4,0,0)*CF(0,-2-0.8,-0.355)*CFA(165+5,0,0)*CF(0,0.7,0))
- newWeld(Torso,v,newPart(1,1.15,1,mech,nil),CF(0,-6,0)*CFA(-17,0,0)*CF(0,0.575,0))
- for i=-1,1,2 do
- local baa = newPart(0.5,0.4,0.5,mech,nil,"CylinderMesh","Dark stone grey")
- newWeld(Torso,v,baa,CF(-0.25*i,-5.5,0.5)*CFA(-5,0,2.2*i))
- newWeld(Torso,baa,newPart(0.4,5,0.4,mech,nil,"CylinderMesh","Black"),CF(0,2.5,0))
- newWeld(Torso,baa,newPart(0.5,0.5,0.5,mech,nil,"Sphere","Dark stone grey"),CF(0,-0.15,0))
- newWeld(Torso,baa,newPart(0.7,1.8,0.7,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,4.1-0.4,0))
- end
- end
- LFoot = newPart(2,2,2,mech,nil,"Transparent","nonCollide")
- LFootW = newWeld6D(LLeg,LLeg,LFoot,CF(0,-6,0),CF(0,0,0)*CFA(FootAngle,0,0))
- RFoot = newPart(2,2,2,mech,nil,"Transparent","nonCollide")
- RFootW = newWeld6D(RLeg,RLeg,RFoot,CF(0,-6,0),CF(0,0,0)*CFA(FootAngle,0,0))
- for i,v in pairs{LFoot,RFoot} do
- newWeld(Torso,v,newPart(0.8,2.8,0.8,mech,nil,"CylinderMesh","nonCollide","S0.5","Dark stone grey"),CF(0,-1,-5)*CFA(0,0,90))
- newWeld(Torso,v,newPart(0.6,2.81,0.6,mech,nil,"CylinderMesh","nonCollide","S0.5","Black"),CF(0,-1,-5)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1,0.5,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(0,-1,-5)*CFA(0,-1,90))
- newWeld(Torso,v,newPart(1,0.25,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(-0.125-0.65-0.4,-1,-5)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1,0.25,1,mech,nil,"CylinderMesh","nonCollide","S0.5"),CF(0.125+0.65+0.4,-1,-5)*CFA(0,0,90))
- newWeld(Torso,v,newPart(0.501,1,1,mech,nil,"nonCollide"),CF(0,-1,-4.5))
- newWeld(Torso,v,newPart(0.251,1,1,mech,nil,"nonCollide"),CF(-0.125-0.65-0.4,-1,-4.5))
- newWeld(Torso,v,newPart(0.251,1,1,mech,nil,"nonCollide"),CF( 0.125+0.65+0.4,-1,-4.5))
- newWeld(Torso,v,newPart(1,0.5,5.5,mech,nil,"Wedge"),CF(-0.9-0.15,-1,-1.25)*CFA(0,180,-90))
- newWeld(Torso,v,newPart(1,0.5,5.5,mech,nil,"Wedge"),CF( 0.9+0.15,-1,-1.25)*CFA(0,180, 90))
- newWeld(Torso,v,newPart(1.6,1,5.5,mech,nil),CF(0,-1,-1.25)) --asd
- newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,0,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(0.6,1.71,0.6,mech,nil,"CylinderMesh","nonCollide","Black"),CF(0,0,0)*CFA(0,0,90))
- for i=-1,1,2 do
- newWeld(Torso,v,newPart(0.6,1,1,mech,nil,"Wedge"),CF(0.5*i,-1,2)*CFA(0,180,180)) --heel
- newWeld(Torso,v,newPart(0.3,0.5,0.8,mech,nil),CF(0.65*i, 0.25,0)*CFA(0,0,0))
- newWeld(Torso,v,newPart(0.3,0.5,1.6,mech,nil),CF(0.65*i,-0.25,0)*CFA(0,0,0))
- newWeld(Torso,v,newPart(0.3,0.5,0.4,mech,nil,"Wedge"),CF(0.65*i,0.25,-0.6)*CFA(0, 0,0))
- newWeld(Torso,v,newPart(0.3,0.5,0.4,mech,nil,"Wedge"),CF(0.65*i,0.25, 0.6)*CFA(0,180,0))
- newWeld(Torso,v,newPart(0.3,0.5,0.2,mech,nil,"Wedge"),CF(0.65*i,-0.25,-0.9)*CFA(0, 0,0))
- newWeld(Torso,v,newPart(0.3,0.5,0.2,mech,nil,"Wedge"),CF(0.65*i,-0.25, 0.9)*CFA(0,180,0))
- end
- end
- LToe = newPart(3,1,1,mech,nil,"Dark stone grey","Transparent")
- LToeW = newWeld6D(LFoot,LFoot,LToe,CF(0,-1,-5),CF(0,0,0)*CFA(ToeAngle,0,0))
- RToe = newPart(3,1,1,mech,nil,"Dark stone grey","Transparent")
- RToeW = newWeld6D(RFoot,RFoot,RToe,CF(0,-1,-5),CF(0,0,0)*CFA(ToeAngle,0,0))
- for i,v in pairs{LToe,RToe} do
- local part = newPart(0.8,1,3,mech,nil,"Wedge","Dark stone grey")
- newWeld(Torso,v,part,CF(-0.65,0,-1.75))
- local part = newPart(0.8,1,3,mech,nil,"Wedge","Dark stone grey")
- newWeld(Torso,v,part,CF(0.65,0,-1.75))
- local part = newPart(0.8,1,1,mech,nil,"Wedge","Dark stone grey")
- newWeld(Torso,v,part,CF(-0.65,0,0.25)*CFA(180,0,0))
- local part = newPart(0.8,1,1,mech,nil,"Wedge","Dark stone grey")
- newWeld(Torso,v,part,CF( 0.65,0,0.25)*CFA(180,0,0))
- newWeld(Torso,v,newPart(4,3,5,mech,nil,"Transparent"),CF(0,1,-1.5))
- end
- ---------------TORSO1 LOWER (NOT Y TURN)
- newWeld(Torso,Torso1,newPart(5,3,3,mech,nil,"Torso"),CF(0,-0.5,0)*CFA(180,90,0)) --lowest torso
- newWeld(Torso,Torso1,newPart(1.6,3.4,1.6,mech,nil,"CylinderMesh","nonCollide","Dark stone grey"),CF(0,-0.8,-0.55)*CFA(0,0,90))
- for i=-1,1,2 do
- newWeld(Torso,Torso1,newPart(1.5,1.5,1.5,mech,nil,"Sphere","nonCollide"),CF(3*i,0,0))
- newWeld(Torso,Torso1,newPart(1.2,2.4,1.2,mech,nil,"CylinderMesh","nonCollide"),CF(3*i,0,0)*CFA(-55,55*i,0)*CF(0,0,-1.2)*CFA(90,0,0))
- end
- --Tail
- newWeld(Torso,Torso1,newPart(2.5,1.5,2.5,mech,nil,"CylinderMesh"),CF(0,-0.5,2)*CFA(90,0,0)*CF(0,0.5-0.25,0))
- newWeld(Torso,Torso1,newPart(2.3,0.2,2.3,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-0.5,2)*CFA(90,0,0)*CF(0,1-0.09,0))
- newWeld(Torso,Torso1,newPart(2,0.5,0.2,mech,nil,"Black"),CF(0,-0.5,2+1-0.08)*CFA(0,0,0))
- CockpitGlass = {}
- ---------------------TORSO2 UPPER
- newWeld(Torso,Torso2,newPart(2.9,0.2,2.9,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(0,1-0.09,0))
- newWeld(Torso,Torso2,newPart(2.9,0.2,2.9,mech,nil,"CylinderMesh","nonCollide","Really black"),CF(0,1+2+0.09,0))
- newWeld(Torso,Torso2,newPart(2.6,2,2.6,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,1+1,0))
- for i=0.2,1.8,0.4 do
- newWeld(Torso,Torso2,newPart(3.1+i/3,0.2,3.1+i/3,mech,nil,"CylinderMesh","nonCollide"),CF(0,1+i,0))
- end
- newWeld(Torso,Torso2,newPart(8,5,4,mech,nil,"Torso"),CF(0,1+2+2.5,0)*CFA(180,90,0)) -- upper
- Ceiling = newPart(4,0.2,6,mech,nil)
- newWeld(Torso,Torso2,Ceiling,CF(0,16.9,0))
- newWeld(Torso,Torso2,newPart(4,1,1,mech,nil),CF(0,8-0.5,-4.5)) --floor front
- --front glass part
- newWeld(Torso,Torso2,newPart(4.4,1,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,0.5,0))
- newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)*CFA(0,0,90)) --glass metal
- CockpitGlass[#CockpitGlass+1] = newWeld(Torso,Torso2,newPart(4.4,2+0.1,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+1,0)).Part1
- newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(0,0,90)) --glass metal
- CockpitGlass[#CockpitGlass+1] = newWeld(Torso,Torso2,newPart(4.4,1+3.35,0.2,mech,nil),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,0.5+1.675,0)).Part1
- newWeld(Torso,Torso2,newPart(4.4,3,0.2,mech,nil),CF(0,17,-3)*CFA(-135-5,0,0)*CF(0,1.5,0)) --upper ceiling
- newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(0,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,1+3.35,0)*CFA(0,0,90)) --glass metal
- for i=-1,1,2 do
- newWeld(Torso,Torso2,newPart(6.2,3,2,mech,nil,"Torso"),CF(3*i,1+2+3.5,0)*CFA(180,90,0)) --side torsos
- newWeld(Torso,Torso2,newPart(3,1,3,mech,nil,"CylinderMesh"),CF(2.5*i,5,0)*CFA(0,0,90)) -- hipgun
- newWeld(Torso,Torso2,newPart(1,2,2,mech,nil,"Wedge"),CF(3*i,8-0.5,-4)*CFA(0,-90*i,90*i)) --floorwedge
- newWeld(Torso,Torso2,newPart(1,1,2,mech,nil,"Wedge"),CF(3*i,8-0.5, 3.5)*CFA(0,-90*i,90*-i))
- newWeld(Torso,Torso2,newPart(0.2, 6,6.2,mech,nil),CF(4*i,8,-0.1)*CFA(0,0,-10*i)*CF(-0.1*i,3,0)) --sidewalls
- newWeld(Torso,Torso2,newPart(0.2,4.3,6.2,mech,nil),CF(4*i,8,-0.1)*CFA(0,0,-10*i)*CF(0,6,0)*CFA(0,0,55*i)*CF(0,2.15,0)) --sidewall upper
- newWeld(Torso,Torso2,newPart(0.2,1,math.sqrt(2*2+2*2)+0.1,mech,nil),CF(-2.9*i,8,-4)*CFA(0,-45*i,25*i)*CF(0,0.5,0.05)) --side front
- --metal glasses
- newWeld(Torso,Torso2,newPart(0.25,4,0.25,mech,nil,"CylinderMesh"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+1-1,0))
- newWeld(Torso,Torso2,newPart(0.25,4.4,0.25,mech,nil,"CylinderMesh"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,0.5+1.675,0))
- newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0))
- newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)*CFA(30+19.8,0,0)*CF(0,1+3.35,0))
- local p1 = (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p
- local p2 = (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p
- local len = (p1-p2).magnitude
- local cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
- newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
- newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),Torso2.CFrame:toObjectSpace(cf*CF(0,len/2,0)))
- p1 = (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p
- len = (p1-p2).magnitude
- cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
- newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
- p1 = (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p
- len = (p1-p2).magnitude
- cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
- newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
- newWeld(Torso,Torso2,newPart(0.25,0.25,0.25,mech,nil,"Sphere"),Torso2.CFrame:toObjectSpace(cf*CF(0,-len/2,0)))
- p2 = (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p
- len = (p1-p2).magnitude
- cf = CF(p1,p2)*CF(0,0,-len/2)*CFA(-90,0,0)
- newWeld(Torso,Torso2,newPart(0.25,len,0.25,mech,nil,"CylinderMesh"),Torso2.CFrame:toObjectSpace(cf))
- local t1,t2 = fillTriangle1Mech{ --upper glass
- (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
- (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;}
- CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
- CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
- local t1,t2 = fillTriangle1Mech{ --mid glass
- (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
- (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
- CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
- CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
- local t1,t2 = fillTriangle1Mech{ --lower glass
- (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1+2,0)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
- CockpitGlass[#CockpitGlass+1] = t1 newI{"SpecialMesh",t1,MeshType="Wedge",Scale=V3(0,1,1)}
- CockpitGlass[#CockpitGlass+1] = t2 newI{"SpecialMesh",t2,MeshType="Wedge",Scale=V3(0,1,1)}
- fillTriangle1Mech{ --sidewall upper front
- (Torso2.CFrame*CF(2.2*i,17,-3)).p;
- (Torso2.CFrame*CF(2.2*i,17,-3)*CFA(-135-5,0,0)*CF(0,3,0)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(0,6,0)).p;}
- fillTriangle1Mech{ --sidewall lower front
- (Torso2.CFrame*CF(2.2*i,8,-4.9)*CFA(-30,0,0)*CF(0,1,0)).p;
- (Torso2.CFrame*CF(2.9*i,8,-4)*CFA(0,45*i,-25*i)*CF(0,1,math.sqrt(2*2+2*2)/2+0.1)).p;
- (Torso2.CFrame*CF(4*i,8,-3.2)*CFA(0,0,-10*i)*CF(-0.1*i,2,0)).p;}
- fillTriangle1Mech{ --sides and back ceiling
- (Torso2.CFrame*CF(2*i,8,4)).p;
- (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(4*i,8,3)).p;}
- fillTriangle1Mech{
- (Torso2.CFrame*CF(4*i,8,3)*CFA(0,0,-10*i)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(4*i,8,3)).p;}
- fillTriangle1Mech{
- (Torso2.CFrame*CF(4*i,8,3)*CFA(0,0,-10*i)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(2*i,8,4)*CFA(20,0,0)*CF(0,6,0)).p;
- (Torso2.CFrame*CF(2*i,16.5+0.5,3)).p;}
- end
- --roof designs
- newWeld(Torso,Torso2,newPart(9,1,1,mech,nil,"Wedge"),CF(0,17.5,-1.5))
- newWeld(Torso,Torso2,newPart(4.4,1,2,mech,nil,"Wedge"),CF(0,17.5,-2))
- newWeld(Torso,Torso2,newPart(4.4,1,4,mech,nil,"Wedge"),CF(0,18.5, 1))
- newWeld(Torso,Torso2,newPart(4.4,2,3,mech,nil,"Wedge"),CF(0,18, 4.5)*CFA(0,180,0))
- newWeld(Torso,Torso2,newPart(9,1,4,mech,nil),CF(0,17.5, 1))
- newWeld(Torso,Torso2,newPart(4.4,3,3.3,mech,nil,"Wedge"),CF(0,17-1.65, 4.5)*CFA(-90,0,0))
- LShoulder = newPart(2.6,2.6,2.6,mech,nil,"Dark stone grey","Sphere")
- LShoulderW = newWeld6D(Torso2,Torso2,LShoulder,CF(-8,16,0),CF(0,0,0)*CFA(30,0,8))
- RShoulder = newPart(2.6,2.6,2.6,mech,nil,"Dark stone grey","Sphere")
- RShoulderW = newWeld6D(Torso2,Torso2,RShoulder,CF( 8,16,0),CF(0,0,0)*CFA(30,0,-8))
- BackBooster = {}
- for i=-1,1,2 do --back torso design
- local v = newPart(4,4,4,mech,nil,"CylinderMesh")
- newWeld(Torso,Torso2,v,CF(4.5*i,15.5,3.75)*CFA(-15,0,5*i))
- newWeld(Torso,v,newPart(3.65,2,3.65,mech,nil,"CylinderMesh"),CF(0,-2,0)*CFA(2,0,0)*CF(0,0,0))
- newWeld(Torso,v,newPart(3.2,3,3.2,mech,nil,"CylinderMesh"),CF(0,-2,0)*CFA(4,0,0)*CF(0,-1.5,0.1))
- local backboost = newPart(2.4,0.2,2.4,mech,nil,"CylinderMesh","Really black","Neon")
- newWeld(Torso,v,backboost,CF(0,-2,0)*CFA(4,0,0)*CF(0,-2.91,0.1))
- BackBooster[i] = newI{"ParticleEmitter",backboost
- ,Lifetime = NumberRange.new(0.8,1)
- ,LightEmission=1
- ,Color = ColorSequence.new(Color3.new(178/255,248/255,255/255),Color3.new(0/255,0/255,255/255))
- ,Texture = assetprefix.."346519018"
- ,LockedToPart=true
- ,EmissionDirection="Bottom"
- ,Rate=600
- ,Speed = NumberRange.new(6,6)
- ,Rotation = NumberRange.new(-180,-180)
- ,RotSpeed = NumberRange.new(-90,-90)
- ,VelocitySpread=0
- ,Acceleration=V3(0,-15,0)
- ,Enabled=false
- }
- for y=1,6 do
- newWeld(Torso,v,newPart(1,1,0.4,mech,nil,"Wedge"),CF(0,-2,0)*CFA(4,0,0)*CF(0,-3-0.5,0.1)*CFA(0,y*60,0)*CF(0,0,1.5-0.2)*CFA(180,0,0))
- end
- end
- for i,v in pairs{[-1]=LShoulder,[1]=RShoulder} do
- newWeld(Torso,v,newPart(3,0.75,3,mech,nil,"CylinderMesh"),CFA(0,0, 50)) --x
- newWeld(Torso,v,newPart(3,0.75,3,mech,nil,"CylinderMesh"),CFA(0,0,-50)) --x
- newWeld(Torso,Torso2,newPart(6,2.5,2,mech,nil,"Torso"),CF(-5.5*i,17-0.25,0)*CFA(0,90,0)) --shoulder
- newWeld(Torso,Torso2,newPart(4.5,2.5,3,mech,nil,"Torso"),CF(-8*i,17+0.5,0)*CFA(0,90,0))
- newWeld(Torso,Torso2,newPart(1.6,2,2,mech,nil,"Wedge"),CF(-5.5*i,14.5, 1.5)*CFA(180,90*i,0))
- newWeld(Torso,Torso2,newPart(1.6,2,2,mech,nil,"Wedge"),CF(-5.5*i,14.5,-1.5)*CFA(180,90*i,0))
- newWeld(Torso,Torso2,newPart(5,3,2.5,mech,nil,"Wedge"),CF(-3.5*i,15.5,0.5)*CFA(180,-90*i,0))
- newWeld(Torso,Torso2,newPart(4.3,2.5,3,mech,nil,"Wedge"),CF(-4.35*i,16.75,3.5)*CFA(180,0,0))
- newWeld(Torso,v,newPart(3,1,3,mech,nil,"Wedge"),CF(0,-11.5, 1)*CFA(180,0, 0))
- newWeld(Torso,v,newPart(3,2,1,mech,nil,"Wedge"),CF(0,-11 , -1)*CFA( 0,0,180))
- newWeld(Torso,v,newPart(3,1,3,mech,nil,"Wedge"),CF(0,-10.5, 1)*CFA( 0,180,0))
- newWeld(Torso,v,newPart(2.8,1,2.2,mech,nil,"Wedge"),CF(0,-2.5,0.6)*CFA(180,0, 0))
- newWeld(Torso,v,newPart(2.8,2,1,mech,nil,"Wedge"),CF(0,-2 , -1)*CFA( 180,180,180))
- newWeld(Torso,v,newPart(2.8,1,2.2,mech,nil,"Wedge"),CF(0,-1.5,0.6)*CFA( 0,180,0))
- newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.6,-1.3,0.9)*CFA(-15,0,-7))
- newWeld(Torso,v,newPart(0.8,1.7,0.8,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0.6,-1.3,0.9)*CFA(-15,0,7))
- newWeld(Torso,v,newPart(4,1.42,4,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.7*i,-4,2)*CFA(0,0,90))--cylinder upper shoulder
- newWeld(Torso,v,newPart(3,0.2,3,mech,nil,"CylinderMesh"),CF(-1.5*i,-4,2)*CFA(0,0,90))
- newWeld(Torso,v,newPart(4,1.41,4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(0,0,90))
- newWeld(Torso,v,newPart(2.05,3.19,2.05,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.1*i,-4,2)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.5,1.6,1.5,mech,nil,"CylinderMesh","Black"),CF(0.7*i,-4,2)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.4,5,2,mech,nil,"Dark stone grey"),CF(0.69*i,-4,2)*CFA(12.5,0,0)*CF(0,-2.5,0))
- newWeld(Torso,v,newPart(1.4,2.8,2,mech,nil,"Dark stone grey"),CF(0.69*i,-4,2)*CFA(129,0,0)*CF(0,-1.4,0))
- for x=50,110,30 do
- newWeld(Torso,v,newPart(1.3,1.6,1.3,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(x,0,0)*CF(0,2+0.8,0))
- newWeld(Torso,v,newPart(1,0.2,1,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1.5-0.5)*CFA(x,0,0)*CF(0,2+1.6-0.09,0))
- end
- newWeld(Torso,v,newPart(1.4,6.6,1.4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1+2)*CFA( 5,0,0)*CF(0,-3.3,-0.7))
- newWeld(Torso,v,newPart(1.4,6,1.4,mech,nil,"CylinderMesh"),CF(-0.7*i,-4-0.25,1-2)*CFA(-2,0,0)*CF(0,-3, 0.7))
- newWeld(Torso,v,newPart(1.4,6,2.3,mech,nil),CF(-0.7*i,-7,0.8))
- newWeld(Torso,v,newPart(4.2,2,3,mech,nil,"Torso"),CF(0,-9.55,0.75)*CFA(14,90,0))
- end
- LElbow = newPart(1,1,1,mech,nil)
- LElbowW = newWeld6D(LShoulder,LShoulder,LElbow,CF(0,-12,0),CF(0,0,0)*CFA(-90,0,0))
- RElbow = newPart(1,1,1,mech,nil)
- RElbowW = newWeld6D(RShoulder,RShoulder,RElbow,CF(0,-12,0),CF(0,0,0)*CFA(-90-10,0,0))
- for i,v in pairs{[-1]=LElbow,[1]=RElbow} do
- newWeld(Torso,v,newPart(2.4,3.5,2.4,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,0,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(1.7,3.8,1.7,mech,nil,"CylinderMesh","Black"),CF(0,0,0)*CFA(0,0,90))
- newWeld(Torso,v,newPart(3,0.6,3,mech,nil,"CylinderMesh","Really black"),CF(0,0,0)*CFA(0,0,90))
- if i == -1 then
- newWeld(Torso,v,newPart(2.2,2,2.5,mech,nil,"Torso"),CF(0,-0.5,1.3)*CFA(90,90,0)) --z y x --y z x
- newWeld(Torso,v,newPart(1.4,2,1,mech,nil,"Dark stone grey"),CF(0,-1,0))
- newWeld(Torso,v,newPart(0.75,2.4,0.75,mech,nil,"CylinderMesh","Dark stone grey"),CF(-0.6,-1.6,1.3)*CFA(30,0,0))
- newWeld(Torso,v,newPart(0.75,2.4,0.75,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0.6,-1.6,1.3)*CFA(30,0,0))
- newWeld(Torso,v,newPart(2,2.2,2,mech,nil,"Wedge"),CF(0,-1.9,-1.5))
- newWeld(Torso,v,newPart(3,1,2,mech,nil),CF(0,-2.5,0))
- end
- end
- --Left Arm
- newWeld(Torso,LElbow,newPart(3,3.5,4,mech,nil,"Wedge"),CF(0,-3-2,-0.75)*CFA(-90,0,0))
- newWeld(Torso,LElbow,newPart(5,4,5,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-2.5,0)*CFA(0,0,90))
- newWeld(Torso,LElbow,newPart(2.4,5,2.4,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-2.5,0)*CFA(0,0,90))
- newWeld(Torso,LElbow,newPart(4,1.2,4,mech,nil,"CylinderMesh","Black"),CF(0,-3-2.5+1,-1)*CFA(0,0,90))
- --newWeld(Torso,LElbow,newPart(4.99,2.3,1.1,mech,nil,"Dark stone grey"),CF(0,-3-2.5-0.5,0))
- for i=-1,1,2 do
- newWeld(Torso,LElbow,newPart(1,4,4,mech,nil,"Sphere"),CF(2*i,-3-2.5,0)*CFA(0,0,0))
- newWeld(Torso,LElbow,newPart(0.7,5,0.7,mech,nil,"CylinderMesh","Dark stone grey"),CF(0.6*i,-3-5+1+1.2+0.5,1.3+1.8-0.45)*CFA(-10,0,0)*CF(0,2.5,0))
- end
- newWeld(Torso,LElbow,newPart(2.6,6,2.6,mech,nil),CF(0,-3-5-1,0)) --
- newWeld(Torso,LElbow,newPart(3.5,6,1.1,mech,nil,"Dark stone grey"),CF(0,-3-5-1,0))
- newWeld(Torso,LElbow,newPart(2.6,3,1.8,mech,nil,"Wedge"),CF(0,-3-5+1,1.3+0.9)*CFA(180,0,0))
- newWeld(Torso,LElbow,newPart(1,2.6,1,mech,nil,"CylinderMesh"),CF(0,-3-5+1+1.2+0.5,1.3+1.8-0.45)*CFA(0,0,90))
- newWeld(Torso,LElbow,newPart(1,1.4,1,mech,nil,"CylinderMesh","Dark stone grey"),CF(0,-3-5-3.5,1.3)*CFA(0,0,90))
- newWeld(Torso,LElbow,newPart(1.4,4,1,mech,nil,"Dark stone grey"),CF(0,-3-5-3.5+2,1.3))
- newWeld(Torso,LElbow,newPart(1.5,6,1.5,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-5-3.5+2.5,-2.2+1))
- newWeld(Torso,LElbow,newPart(2,3,2,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-5,-2.2+1))
- newWeld(Torso,LElbow,newPart(2.5,3,2.5,mech,nil,"Dark stone grey","CylinderMesh"),CF(0,-3-3.5,-2.2+1))
- newWeld(Torso,LElbow,newPart(2.6,1,1,mech,nil,"Wedge"),CF(0,-3-2.5+1,-2.5-0.5+0.2)*CFA(0,180,0))
- newWeld(Torso,LElbow,newPart(2.6,1,1,mech,nil),CF(0,-3-2.5,-2.5-0.5+0.2))
- newWeld(Torso,LElbow,newPart(2.6,2,2,mech,nil,"Wedge"),CF(0,-3-2.5-1-0.5,-2.5+0.2)*CFA(0,0,180))
- LeftGunUse = false
- LeftGun = newPart(4,1,4,mech,nil,"CylinderMesh","Dark stone grey")
- LeftGunW = newWeld(Torso,LElbow,LeftGun,CF(0,-3-5-4.5,0)*CFA(0,0,0))
- newWeld(Torso,LeftGun,newPart(1.6,1,1.6,mech,nil,"Dark stone grey"),CF(0,-1,0))
- LeftGunSmoke = newI{"Smoke",LeftGun,Color=Color3.new(20/255,20/255,20/255),Opacity=0.5,Enabled=false,RiseVelocity=-10,Size=2}
- for i=120,360,120 do
- newWeld(Torso,LeftGun,newPart(1.6,1,1.6,mech,nil,"Dark stone grey"),CF(0,-1,0)*CFA(0,i,0)*CF(0,0,-2+0.8))
- newWeld(Torso,LeftGun,newPart(1,1,1,mech,nil,"Ring","Dark stone grey"),CF(0,-1.5-2,0)*CFA(0,i,0)*CF(0,0,-2+0.85)*CFA(90,0,0)).Part1.Mesh.Scale=V3(1.6,1.6,25)
- newWeld(Torso,LeftGun,newPart(2.66,1,1,mech,nil,"Dark stone grey"),CF(0,-1,0)*CFA(0,i+60,0)*CF(0,0,-2+0.81))
- local ghole = newPart(1.75,0.5,1.75,mech,nil,"Really black","Sphere","Neon")
- newWeld(Torso,LeftGun,ghole,CF(0,-1.5-2-0.5,0)*CFA(0,i,0)*CF(0,0,-2+0.85)) -- gun hole
- end
- --Right Arm
- local of1 = 2
- local of2 = -5.2
- newWeld(Torso,RElbow,newPart(3.5,3,2.4,mech,nil,"Dark stone grey"),CFA(-55,0,0)*CF( 0,-1.5,0))
- newWeld(Torso,RElbow,newPart(3,4,3,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0,of2+3.5,of1)*CFA(0,0,90))
- newWeld(Torso,RElbow,newPart(7,1,2,mech,nil,"Torso"),CF( 0,of2-1,of1-1.5-1.5)*CFA(-90,90,0))
- newWeld(Torso,RElbow,newPart(5,0.5,1,mech,nil,"Torso"),CF( 0,of2-5,of1-1.5-1.25)*CFA(-90,90,0))
- newWeld(Torso,RElbow,newPart(6,0.8,1.4,mech,nil,"Torso"),CF( 0,of2-1,of1+1.5+1.4)*CFA( 90,90,0))
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(0,of2-3-3,of1-1.5-0.5)) --upper long
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(-0.535,of2-3-3,of1-1.5-0.825)*CFA(0, 70,0)*CF(-1,0,0))
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF( 0.535,of2-3-3,of1-1.5-0.825)*CFA(0,-70,0)*CF( 1,0,0))
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(0,of2-3-3,of1+1.5+0.5)) --lower long
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF(-0.535,of2-3-3,of1+1.5+0.825)*CFA(0,-70,0)*CF(-1,0,0))
- newWeld(Torso,RElbow,newPart(2,18,1,mech,nil),CF( 0.535,of2-3-3,of1+1.5+0.825)*CFA(0, 70,0)*CF( 1,0,0))
- newWeld(Torso,RElbow,newPart(3.4,2,4,mech,nil,"Wedge"),CF( 0,of2+1,of1-1.5)*CFA(-90,0,180))
- newWeld(Torso,RElbow,newPart(3.4,4,2,mech,nil,"Wedge"),CF( 0,of2+1,of1+1.5)*CFA( 0,0,180))
- newWeld(Torso,RElbow,newPart(1.7,2,1.7,mech,nil,"CylinderMesh","Dark stone grey"),CF( 0,of2+2,of1)*CFA( 0,0,180))
- newWeld(Torso,RElbow,newPart(1.3,2.01,1.3,mech,nil,"CylinderMesh","Really black"),CF( 0,of2+2,of1)*CFA( 0,0,180))
- newWeld(Torso,RElbow,newPart(3.4,1,5,mech,nil),CF( 0,of2+3.5,of1)*CFA( 0,0,180))
- newWeld(Torso,RElbow,newPart(3.4,1,5,mech,nil,"Wedge"),CF( 0,of2+1.5,of1+3)*CFA(-90,0,180))
- newWeld(Torso,RElbow,newPart(3.4,2,2,mech,nil,"Wedge"),CF( 0,of2+5,of1-1.5)*CFA(0,0,0))
- newWeld(Torso,RElbow,newPart(3.4,2,4,mech,nil,"Wedge"),CF( 0,of2+5,of1+1.5)*CFA(0,180,0))
- newWeld(Torso,RElbow,newPart(2.6,1,3,mech,nil,"Dark stone grey"),CF( 0,of2+5.25,of1+1.5+0.5)*CFA(27,0,0))
- for x=60,360,60 do
- newWeld(Torso,RElbow,newPart(5,1,3.45,mech,nil),CF( 0,of2+4.5,of1+1.5+0.25)*CFA(27,0,0)*CF(0,1+3,0)*CFA(x,0,0)*CF(0,2.5,0))
- end
- newWeld(Torso,RElbow,newPart(5.5,4,5.5,mech,nil,"Dark stone grey","CylinderMesh"),CF( 0,of2+4.5,of1+1.5+0.25)*CFA(27,0,0)*CF(0,1+3,0)*CFA(0,0,90))
- for i=-1,1,2 do
- newWeld(Torso,RElbow,newPart(0.6,0.25,1.6,mech,nil,"Black"),CF(1.2*i,of2-14,of1))
- for ii=1,10 do
- newWeld(Torso,RElbow,newPart(0.6,0.25,2,mech,nil,"Black"),CF(1.2*i,of2-14.75+ii*1.7,of1)*CFA(ii%2==0 and 56 or -56,0,0))
- end
- end
- Hatch = newPart(4,6,0.2,mech,nil)
- HatchW = newWeld6D(Torso2,Torso2,Hatch,CF(0,11-3,4),CF(0,-3,-0.1)*CFA(-20,0,0)) -- x is -20
- newWeld(Torso,Torso2,newPart(4,4.5,0.2,mech,nil),CF(0,8,4)*CFA(20,0,0)*CF(0,6,0)*CFA(-20-42,0,0)*CF(0,2.25,0))
- Seat = newI{"Seat",mech,Name="Seat",formFactor="Symmetric",Size=V3(2,1,2),TopSurface="SmoothNoOutlines"}
- SeatW = newWeld6D(Torso2,Torso2,Seat,CF(0,8.5,0))
- newWeld(Torso,Seat,newPart(2,1,1,mech,nil,"Wedge"),CF(0,0,-1.5))
- newWeld(Torso,Seat,newPart(2,2.6,0.8,mech,nil),CF(0,0.5+1.15,0.8)*CFA(10,0,0))
- newWeld(Torso,Seat,newPart(2,1.2,0.8,mech,nil),CF(0,0.5+2.9,1)*CFA(0,0,0))
- Head = newPart(1,1,1,mech,nil,"nonCollide","Transparent")
- Head.Name="Head"
- HeadW = newWeld(Torso,Torso,Head,CF(0,2,0))
- for i,v in pairs(CockpitGlass) do
- v.Transparency = 0.6
- end
- CockpitGlassD = false
- for i,v in pairs(mech:children()) do
- if v:IsA'BasePart' and v.Material==Enum.Material.SmoothPlastic and v.Transparency==0 then
- v.Material="Metal"
- end
- end
- Base.Name="HumanoidRootPart" BaseW.Name = "Root Hip"
- Torso.Name="Torso"
- Torso1.Name = "LowerTorso" Torso1W.Name = "Lower Hip"
- Torso2.Name = "UpperTorso" Torso2W.Name = "Upper Hip"
- LThigh.Name = "LeftThigh" LThighW.Name = "LThigh"
- RThigh.Name = "RightThigh" RThighW.Name = "RThigh"
- LLeg.Name = "LeftLeg" LLegW.Name = "LLeg"
- RLeg.Name = "RightLeg" RLegW.Name = "RLeg"
- LFoot.Name = "LeftFoot" LFootW.Name = "LFoot"
- RFoot.Name = "RightFoot" RFootW.Name = "RFoot"
- LToe.Name = "LeftToe" LToeW.Name = "LToe"
- RToe.Name = "RightToe" RToeW.Name = "RToe"
- LShoulder.Name = "LeftShoulder" LShoulderW.Name = "LShoulder"
- RShoulder.Name = "RightShoulder" RShoulderW.Name = "RShoulder"
- LElbow.Name = "LeftElbow" LElbowW.Name = "LElbow"
- RElbow.Name = "RightElbow" RElbowW.Name = "RElbow"
- Hatch.Name = "Hatch" HatchW.Name = "Hatch"
- SeatW.Name="Seat"
- ----
- checkGroundTouch = function()
- local Hit1,Pos1 = ray(LToe.Position,LToe.CFrame*CF(0,-1,0).p-LToe.Position,mech,3)
- local Hit2,Pos2 = ray(RToe.Position,RToe.CFrame*CF(0,-1,0).p-RToe.Position,mech,3)
- if Hit1 or Hit2 then return 1 end
- return 0
- end
- ----
- doAfterT = {}
- doAfter = function(t,f)
- local key = (MRND(-100,100)*MRND(-100,100)).."a"..MRND(-999999,999999)
- doAfterT[key] = {Time=t,Func=f,Current=0}
- return key
- end
- doInT = {}
- doIn = function(t,f,f2)
- local key = (MRND(-100,100)*MRND(-100,100)).."a"..MRND(-999999,999999)
- doInT[key] = {Time=t,Func=f,FuncEnd=f2,Current=0}
- return key
- end
- Motors = {["BaseW"]=BaseW,["Torso1W"]=Torso1W,["Torso2W"]=Torso2W,["LThighW"]=LThighW,["RThighW"]=RThighW,["LLegW"]=LLegW,["RLegW"]=RLegW,["LFootW"]=LFootW,["RFootW"]=RFootW,["LToeW"]=LToeW,["RToeW"]=RToeW,
- ["LShoulderW"]=LShoulderW,["RShoulderW"]=RShoulderW,["LElbowW"]=LElbowW,["RElbowW"]=RElbowW,["HatchW"]=HatchW,["SeatW"]=SeatW}
- print(#mech:getChildren().." Parts")
- _G.mech = mech
- _G.RMM2 = getfenv()
- _G.m = _G.RMM2
- gw = function()
- print(" ")
- for i,weldn in pairs{"LThighW","LLegW","LFootW","LToeW","RThighW","RLegW","RFootW","RToeW","LShoulderW","LElbowW","RShoulderW","RElbowW","BaseW","Torso1W","Torso2W","HatchW","SeatW"} do
- weld = getfenv()[weldn]
- local a,b,c = weld.C0:toEulerAnglesXYZ()
- local d,e,f = weld.C1:toEulerAnglesXYZ()
- inde = function(n)
- n = math.floor(n*1000+0.5)/1000
- return string.rep(" ",5-#(""..n))..n
- end
- --print(weldn..".C0 = CF("..inde(weld.C0.x)..","..inde(weld.C0.y)..","..inde(weld.C0.z)..")*CFA("..inde(MD(a))..","..inde(MD(b))..","..inde(MD(c))..")")
- print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",1,t,nil,{"..inde(weld.C1.x)..","..inde(weld.C1.y)..","..inde(weld.C1.z)..","..inde(MD(d))..","..inde(MD(e))..","..inde(MD(f)).."})")
- end
- print(" ")
- end
- gwBool = newI{"BoolValue",mech,Name="GetWelds"}
- gwBool.Changed:connect(function()
- if not gwBool.Value then return end
- gwBool.Value=false
- gw()
- end)
- gw2 = function()
- print(" ")
- for i,weldn in pairs{"LS","RS","LH","RH"} do
- weld = getfenv()[weldn]
- local a,b,c = weld.C0:toEulerAnglesXYZ()
- local d,e,f = weld.C1:toEulerAnglesXYZ()
- inde = function(n)
- n = math.floor(n*1000+0.5)/1000
- return string.rep(" ",5-#(""..n))..n
- end
- print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",0,t,nil,{"..inde(weld.C0.x)..","..inde(weld.C0.y)..","..inde(weld.C0.z)..","..inde(MD(a))..","..inde(MD(b))..","..inde(MD(c)).."})")
- print(" addAnim("..weldn..string.rep(" ",10-#weldn)..",1,t,nil,{"..inde(weld.C1.x)..","..inde(weld.C1.y)..","..inde(weld.C1.z)..","..inde(MD(d))..","..inde(MD(e))..","..inde(MD(f)).."})")
- end
- print(" ")
- end
- ------
- Anims = {} -- {WELD,C0or1,Time,CFStart,CFEnd,Current}
- addAnim = function(weld,C0or1,Time,CFStart,CFEnd)
- if not weld then return end
- local CC = "C"..C0or1
- if not CFStart then
- local a,b,c = weld[CC]:toEulerAnglesXYZ()
- CFStart = {weld[CC].x,weld[CC].y,weld[CC].z,MD(a),MD(b),MD(c)}
- end
- if not CFEnd[1] and not CFEnd[2] and not CFEnd[3] then
- CFEnd[1] = weld[CC].x
- CFEnd[2] = weld[CC].y
- CFEnd[3] = weld[CC].z
- end
- Anims[weld.Name..CC] = {weld=weld,CC="C"..C0or1,CFStart=CFStart,CFEnd=CFEnd,Time=Time,Current=0}
- end
- --
- WalkKey = {}
- loadAnim = {} _G.la = loadAnim
- --
- ClearWalk = function()
- for i,v in pairs(WalkKey) do
- doAfterT[i] = nil
- WalkKey[i] = nil
- end
- end
- --
- loadAnim.Open = function(a,t)
- t = t or 1.5
- addAnim(LThighW ,1,t,nil,{nil,nil,nil, -75, 0, 0})
- addAnim(LLegW ,1,t,nil,{nil,nil,nil, 155, 0, 0})
- addAnim(LFootW ,1,t,nil,{nil,nil,nil, -80, 0, 0})
- addAnim(LToeW ,1,t,nil,{nil,nil,nil, 0, 0, 0})
- addAnim(RThighW ,1,t,nil,{nil,nil,nil, -75, 0, 0})
- addAnim(RLegW ,1,t,nil,{nil,nil,nil, 155, 0, 0})
- addAnim(RFootW ,1,t,nil,{nil,nil,nil, -80, 0, 0})
- addAnim(RToeW ,1,t,nil,{nil,nil,nil, 0, 0, 0})
- addAnim(LShoulderW,1,t,nil,{nil,nil,nil, 20, 0, 8})
- addAnim(LElbowW ,1,t,nil,{nil,nil,nil, -90, 0, 0})
- addAnim(RShoulderW,1,t,nil,{nil,nil,nil, -20, 0, -8})
- addAnim(RElbowW ,1,t,nil,{nil,nil,nil, -60, 0, 0})
- addAnim(BaseW ,1,t,nil,{ 0,10.2-10.2, 0, 0, 0, 0})
- addAnim(Torso1W ,1,t,nil,{nil,nil,nil, 0, 0, 0})
- addAnim(Torso2W ,1,t,nil,{nil,nil,nil, 0, 0, 0})
- addAnim(HatchW ,1,t,nil,{nil,nil,nil,-180, 0, 0})
- addAnim(SeatW ,0,t,nil,{-0.6,8.5, 5, 0, 180, 0})
- doAfter(t,function() addAnim(SeatW ,0,t*0.5,nil,{ 0, -1, 5.3, 0, 180, 0}) end)
- end
- loadAnim.Close = function(a,t)
- addAnim(SeatW ,0,t*0.5,nil,{ -0.6, 8.5, 5, 0, 180, 0})
- doAfter(t*0.5,function() loadAnim:Standing(1) end)
- end
- loadAnim.Standing = function(a,t)
- t = t or 1
- addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0, -25, 0, 0})
- addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(LFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
- addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0, -25, 0, 0})
- addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(RFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
- addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, 8})
- addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -90, 0, 0})
- addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
- addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -100, 0, 0})
- addAnim(BaseW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- addAnim(Torso2W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- addAnim(HatchW ,1,t,nil,{ 0, -3, -0.1, -20, 0, 0})
- addAnim(SeatW ,0,t,nil,{ 0, 8.5, 0, 0, 0, 0})
- end
- loadAnim.ReturnLeg = function(a,t)
- t = t or 0.5
- addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0, -25, 0, 0})
- addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(LFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
- addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0, -25, 0, 0})
- addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(RFootW ,1,t,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -60, 0, 0})
- end
- loadAnim.ReturnArm = function(a,t)
- t = t or 0.5
- addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, 8})
- addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -90, 0, 0})
- addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
- addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -100, 0, 0})
- end
- loadAnim.WalkL = function(a,t)
- local WalkSpeed = 0.3
- local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
- addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -65, tu, 0})
- addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
- addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, -20, 0, 0})
- addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
- addAnim(RThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, 15, tu, 0})
- addAnim(RLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(RFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 30, 0, 0})
- addAnim(RToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -80, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -45, tu, 0})
- addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 60, 0, 0})
- addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
- end)
- WalkKey[wkey] = true
- wkey = doAfter(WalkSpeed*2,function()
- addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -20, tu, 0})
- addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 65, 0, 0})
- addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
- addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -35, tu, 0})
- addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 105, 0, 0})
- addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
- addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.WalkR = function(a,t)
- local WalkSpeed = 0.3
- local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
- addAnim(LThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, 15, tu, 0})
- addAnim(LLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(LFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 30, 0, 0})
- addAnim(LToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -80, 0, 0})
- addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -65, tu, 0})
- addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
- addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, -20, 0, 0})
- addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -45, tu, 0})
- addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 60, 0, 0})
- addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
- end)
- WalkKey[wkey] = true
- wkey = doAfter(WalkSpeed*2,function()
- addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -35, tu, 0})
- addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 105, 0, 0})
- addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
- addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
- addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -20, tu, 0})
- addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 65, 0, 0})
- addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -50, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.Walk2L = function(a,t)
- local WalkSpeed = 0.4
- local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
- addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -15, tu, 0})
- addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 105, 0, 0})
- addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0,24.286, 0, 0})
- addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0,-74.286, 0, 0})
- addAnim(RThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, -45, tu, 0})
- addAnim(RLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 45, 0, 0})
- addAnim(RFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 50, 0, 0})
- addAnim(RToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -50, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, 15, tu, 0})
- addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 30, 0, 0})
- addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -80, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.Walk2R = function(a,t)
- local WalkSpeed = 0.4
- local tu = Turn==0 and 0 or (Turn<0 and 45 or -45)
- addAnim(LThighW ,1,WalkSpeed*2,nil,{ nil, nil, nil, -45, tu, 0})
- addAnim(LLegW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 45, 0, 0})
- addAnim(LFootW ,1,WalkSpeed*2,nil,{ 0, 0, 0, 50, 0, 0})
- addAnim(LToeW ,1,WalkSpeed*2,nil,{ 0, 0, 0, -50, 0, 0})
- addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -15, tu, 0})
- addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 105, 0, 0})
- addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0,24.286, 0, 0})
- addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0,-74.286, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, 15, tu, 0})
- addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 35, 0, 0})
- addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 30, 0, 0})
- addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -80, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.RunL = function(a,t)
- local WalkSpeed = 0.24
- addAnim(LThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -105, 0, 0})
- addAnim(LLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
- addAnim(LFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(LToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -40, 0, 0})
- addAnim(RThighW ,1,WalkSpeed*1.5,nil,{ nil, nil, nil, 50, 0, 0})
- addAnim(RLegW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 5, 0, 0})
- addAnim(RFootW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(RToeW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, -65, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- WalkSpeed = 0.12
- addAnim(LThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -75, 0, 0})
- addAnim(LLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(LFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
- addAnim(LToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -40, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.RunR = function(a,t)
- local WalkSpeed = 0.24
- addAnim(LThighW ,1,WalkSpeed*1.5,nil,{ nil, nil, nil, 50, 0, 0})
- addAnim(LLegW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 5, 0, 0})
- addAnim(LFootW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(LToeW ,1,WalkSpeed*1.5,nil,{ 0, 0, 0, -65, 0, 0})
- addAnim(RThighW ,1,WalkSpeed ,nil,{ nil, nil, nil, -105, 0, 0})
- addAnim(RLegW ,1,WalkSpeed ,nil,{ 0, 0, 0, 115, 0, 0})
- addAnim(RFootW ,1,WalkSpeed ,nil,{ 0, 0, 0, 10, 0, 0})
- addAnim(RToeW ,1,WalkSpeed ,nil,{ 0, 0, 0, -30, 0, 0})
- wkey = doAfter(WalkSpeed,function()
- WalkSpeed = 0.12
- addAnim(RThighW ,1,WalkSpeed,nil,{ nil, nil, nil, -75, 0, 0})
- addAnim(RLegW ,1,WalkSpeed,nil,{ 0, 0, 0, 75, 0, 0})
- addAnim(RFootW ,1,WalkSpeed,nil,{ 0, 0, 0, 40, 0, 0})
- addAnim(RToeW ,1,WalkSpeed,nil,{ 0, 0, 0, -30, 0, 0})
- end)
- WalkKey[wkey] = true
- end
- loadAnim.Jump = function(a,t)
- local t = 0.4
- addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0,-74.779,-9.656,2.613})
- addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 155, 0, 0})
- addAnim(LFootW ,1,t,nil,{ 0, 0, 0, -80, 0, 0})
- addAnim(LToeW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0,-84.923,9.962,-0.88})
- addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 155, 0, 0})
- addAnim(RFootW ,1,t,nil,{ 0, 0, 0, -70, 0, 0})
- addAnim(RToeW ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- addAnim(LShoulderW,1,t,nil,{ 0, 0, 0, 10, 0, 8})
- addAnim(LElbowW ,1,t,nil,{ 0, 0, 0, -110, 0, 0})
- addAnim(RShoulderW,1,t,nil,{ 0, 0, 0, 30, 0, -8})
- addAnim(RElbowW ,1,t,nil,{ 0, 0, 0, -130, 0, 0})
- addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 20, 0, 0})
- doAfter(t,function()
- local t = 0.2
- addAnim(LThighW ,1,t,nil,{ 1.5, 0.5, 0,-15.455,-19.312,-0.077})
- addAnim(LLegW ,1,t,nil,{ 0, 0, 0, 85, 0, 0})
- addAnim(LFootW ,1,t,nil,{ 0, 0, 0, -10, 0, 0})
- addAnim(LToeW ,1,t,nil,{ 0, 0, 0, -30, 0, 0})
- addAnim(RThighW ,1,t,nil,{ -1.5, 0.5, 0,-14.923,9.962,-0.88})
- addAnim(RLegW ,1,t,nil,{ 0, 0, 0, 85, 0, 0})
- addAnim(RFootW ,1,t,nil,{ 0, 0, 0, -10, 0, 0})
- addAnim(RToeW ,1,t,nil,{ 0, 0, 0, -30, 0, 0})
- addAnim(Torso1W ,1,t,nil,{ 0, 0, 0, 0, 0, 0})
- end)
- end
- Base.CanCollide=false
- --------------------------------------------------------------------------
- Player = Players.LocalPlayer
- if not Player then print'not found' mech:MoveTo(V3(0,0,0)) return end
- Hum = newI{"Humanoid",mech} Hum.PlatformStand=true
- Char = Player.Character
- CTorso = Char.Torso
- CHRP = Char.HumanoidRootPart
- LS = CTorso:findFirstChild'Left Shoulder'
- RS = CTorso:findFirstChild'Right Shoulder'
- LH = CTorso:findFirstChild'Left Hip'
- RH = CTorso:findFirstChild'Right Hip'
- if Char:findFirstChild(mech.Name) then Char[mech.Name]:Destroy() end
- mech.Parent = Char
- Base.Name="HRP"
- ------
- Pilot = nil
- Anim = "Opening"
- AnimLegs = true --use leg pose
- AnimArms = true --use arm pose
- AnimTorso = true --use torso pose
- WalkDir = 0
- ------
- SeatWeld = nil
- Seat.ChildAdded:connect(function(weld)
- SeatWeld = weld
- Pilot = weld.Part1==CHRP and CHRP or nil
- pcall(function()
- weld.C1 = CF(0,-1.5,0.25)*CFA(-95,0,0)
- LS2 = weld.Part1.Parent.Torso:findFirstChild'Left Shoulder' LS2.Parent = nil
- RS2 = weld.Part1.Parent.Torso:findFirstChild'Right Shoulder' RS2.Parent = nil
- LH2 = weld.Part1.Parent.Torso:findFirstChild'Left Hip' LH2.Parent = nil
- RH2 = weld.Part1.Parent.Torso:findFirstChild'Right Hip' RH2.Parent = nil
- LS1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Left Arm' ,Name="RM1"}
- RS1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Right Arm',Name="RM2"}
- LH1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Left Leg' ,Name="RM3"}
- RH1 = newI{"Weld",weld.Part1.Parent.Torso,Part0=weld.Part1.Parent.Torso,Part1=weld.Part1.Parent:findFirstChild'Right Leg',Name="RM4"}
- LS1.C0 = CF(-1.2,0.5,-0.5)*CFA(0,0,0)
- LS1.C1 = CF( 0,0.5,0)*CFA(-80,-10,10)
- RS1.C0 = CF( 1.2,0.5,-0.5)*CFA(0,0,0)
- RS1.C1 = CF( 0,0.5,0)*CFA(-80, 10,-10)
- LH1.C0 = CF(-0.5, -1,-0.3)*CFA(0,0,0)
- LH1.C1 = CF( 0, 1,0)*CFA(-45,0, 5)
- RH1.C0 = CF( 0.5, -1,-0.3)*CFA(0,0,0)
- RH1.C1 = CF( 0, 1,0)*CFA(-45,0,-5)
- end)
- end)
- Seat.ChildRemoved:connect(function(weld)
- pcall(function()
- local mm = weld.Part1.Parent
- for i=1,4 do
- mm.Torso["RM"..i]:Destroy()
- end
- LS2.Parent = mm.Torso
- LS2.Part0 = mm.Torso
- LS2.Part1 = mm["Left Arm"]
- RS2.Parent = mm.Torso
- RS2.Part0 = mm.Torso
- RS2.Part1 = mm["Right Arm"]
- LH2.Parent = mm.Torso
- LH2.Part0 = mm.Torso
- LH2.Part1 = mm["Left Leg"]
- RH2.Parent = mm.Torso
- RH2.Part0 = mm.Torso
- RH2.Part1 = mm["Right Leg"]
- end)
- Pilot = nil
- end)
- ------
- Gyro = newI{"BodyGyro",Base,cframe=Base.CFrame,maxTorque=V3(5000000,5000000,5000000),P=15000}
- WeightForce = newI{"BodyForce",Base,Force=V3(0,-1000000,0)}
- Turn = 0
- Velo = newI{"BodyVelocity",Base,maxForce=V3N}
- veloym = 0
- veloy = 0
- ------
- Mouse = Player:GetMouse()
- Key = {}
- --[[
- X Open/Close
- C Jump
- WASD Movement
- P Cockpit glass
- --]]
- WalkingSpeed = 16
- onKeyDown = function(k)
- if k=="a" then
- Turn = 10
- elseif k=="d" then
- Turn = -10
- end
- --
- if k=="x" and Anim=="Opened" then
- Anim="Closing"
- AnimLegs,AnimArms,AnimTorso,Movement=false,false,false,false
- loadAnim:Close(2)
- wait(2)
- Anim="None"
- AnimLegs,AnimArms,AnimTorso,Movement=true,true,true,true
- elseif k=="x" and Anim=="None" then
- Anim="Opening"
- ClearWalk()
- AnimLegs,AnimArms,AnimTorso,Movement=false,false,false,false
- loadAnim:Open(2)
- wait(3)
- Anim="Opened"
- elseif (k=="w" or k=="a" or k=="d") and not Key.s and Movement and Pilot and WalkDir~=1 and AnimLegs then
- WalkDir=1
- ClearWalk()
- local whichLeg = -1
- while (Key.w or Key.a or Key.d) and not Key.s and Movement and Pilot do
- loadAnim[(Key["0"] and "Run" or "Walk")..(whichLeg==-1 and "L" or "R")]()
- WalkingSpeed = Key["0"] and 18*4.5 or 18
- whichLeg = whichLeg*-1
- if not AnimLegs then repeat wait() until AnimLegs end
- local duration = (Key["0"] and 0.36 or 0.9)
- for i=duration/8,duration,duration/8 do wait(duration/8) if (Key.w or Key.a or Key.d) and not Key.s and Movement and Pilot then else break end end
- if not AnimLegs then repeat wait() until AnimLegs end
- end
- WalkDir=0
- ClearWalk()
- if Movement and Anim=="None" then
- loadAnim:Standing(0.5)
- end
- elseif k=="s" and not Key.w and Movement and Pilot and AnimLegs then
- WalkDir=-1
- ClearWalk()
- local whichLeg = -1
- while Key.s and not Key.w and Movement and Pilot do
- loadAnim["Walk2"..(whichLeg==-1 and "L" or "R")]()
- whichLeg = whichLeg*-1
- if not AnimLegs then repeat wait() until AnimLegs end
- for i=0.1,0.8,0.1 do wait(0.1) if Key.s and not Key.w and Movement and Pilot then else break end end
- if not AnimLegs then repeat wait() until AnimLegs end
- end
- WalkDir=0
- ClearWalk()
- if Movement and Anim=="None" then
- loadAnim:Standing(0.5)
- end
- elseif k=="c" and Movement and Pilot and AnimLegs and AnimTorso and checkGroundTouch()>0 then
- AnimLegs,AnimArms,AnimTorso=false,false,false
- ClearWalk()
- loadAnim:Jump()
- wait(0.5)
- AnimTorso=true
- AnimArms=true
- veloym = 10000000
- loadAnim:ReturnArm(0.3)
- if Key.c then BackBooster[-1].Enabled = true BackBooster[1].Enabled = true veloy = 100 wait(1) else veloy = 75 wait(0.5) end
- BackBooster[-1].Enabled = false BackBooster[1].Enabled = false
- veloym = 0
- veloy = 0
- AnimLegs=true
- if WalkDir==0 then loadAnim:ReturnLeg() end
- elseif k=="p" and not CockpitGlassD and Pilot then
- CockpitGlassD = true
- if CockpitGlass[1].Transparency==0 then
- doIn(0.7,function(i)
- for x,v in pairs(CockpitGlass) do
- v.Transparency = 0.6*i
- end
- end)
- else
- doIn(0.7,function(i)
- for x,v in pairs(CockpitGlass) do
- v.Transparency = 0.6-0.6*i
- end
- end)
- end
- wait(0.8)
- CockpitGlassD = false
- elseif k =="q" and not LeftGunUse then
- LeftGunUse=true
- if not spinSpeed then spinSpeed=0 end
- for i=1,50 do
- if spinSpeed>40 then spinSpeed=40 end
- LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
- spinSpeed=spinSpeed+0.7
- if i%2==0 then PlaySound(assets.Minigun1,LeftGun,0.4+0.8*spinSpeed/40,1) end
- wait()
- end
- local co=0
- LeftGunSmoke.Enabled=true
- local muzzleFlash = newPart(1,1,1,mech,nil,"Transparent","New Yeller")
- newI{"SpecialMesh",muzzleFlash,MeshType="FileMesh",MeshId=assets.MuzzleFlash,Scale=V3(0.8,3,0.8)}
- local muzzleW = newWeld(LeftGun,LeftGun,muzzleFlash,CF(0,0,0))
- repeat
- co=co+1
- LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
- if co%2==0 then PlaySound(assets.Minigun1,LeftGun,1.2,1) end
- if co%2==0 then
- muzzleFlash.Transparency = 0.5
- PlaySound(assets.Fire1,LeftGun,MRND(600,950)/1000,0.4)
- local bullet = newI{"Part",mech,Name="Bullet",Anchored=true,CanCollide=false,formFactor="Custom",Size=V3(0.5,2,0.5),Debris=10,TopSurface='Smooth',BottomSurface='Smooth'}
- newI{"CylinderMesh",bullet}
- local rotRand = MRND(1,3)*120
- bullet.CFrame=LeftGun.CFrame*CF(0,-6+2,0)*CFA(0,rotRand,0)*CF(0,0,-2+0.85)
- addProjectile(bullet.Position,bullet.CFrame*CF(0,-1,0),800,function() print'boom' end,function(cf) bullet.CFrame=cf*CF(0,0,1)*CFA(90,0,0) end,function() bullet:Destroy() end)
- muzzleW.C0 = CF(0,-6-2,0)*CFA(0,rotRand,0)*CF(0,0,-2+0.85)*CFA(180,0,0)
- else
- muzzleFlash.Transparency=1
- end
- wait()
- until not Key.q
- muzzleFlash:Destroy()
- LeftGunSmoke.Enabled=false
- LeftGunUse=false
- for i=50,1,-0.5 do
- if LeftGunUse then break end
- if spinSpeed<0 then spinSpeed=0 end
- LeftGunW.C1=LeftGunW.C1*CFA(0,spinSpeed,0)
- spinSpeed=spinSpeed-0.35
- if i%2==0 then PlaySound(assets.Minigun1,LeftGun,0.4+0.8*spinSpeed/40,1) end
- wait()
- end
- elseif k=="]" then
- Pilot = Char.Torso
- Char.Humanoid.Sit = true
- elseif k=="0" then
- end
- end
- ------
- onKeyUp = function(k)
- if k=="a" and not Key.d then
- Turn = 0
- elseif k=="d" and not Key.a then
- Turn = 0
- end
- end
- ------
- onButton1Down = function(k)
- end
- ------
- onButton1Up = function(k)
- end
- ------
- Mouse.KeyDown:connect(function(k)
- Key[k]=true
- onKeyDown(k)
- end)
- -------------------------
- Mouse.KeyUp:connect(function(k)
- Key[k]=false
- onKeyUp(k)
- end)
- Mouse.Button1Down:connect(function()
- Button1=true
- onButton1Down()
- end)
- Mouse.Button1Up:connect(function()
- Button1=false
- onButton1Up()
- end)
- doAfter(1,function() Base.CanCollide=false end)
- runcount = 0
- game:getService'RunService'.Stepped:connect(function(aa,step)
- runcount = runcount+1
- --
- if runcount%10==0 and AnimTorso and Movement and Pilot then
- local y=GetY(Base,Mouse.Hit.p)
- addAnim(Torso2W ,1,1,nil,{ 0, 0, 0, 0, -y, 0})
- end
- --
- if AnimArms and Movement and Pilot then
- local x=GetX(Torso2,Mouse.Hit.p)
- if x>40 then x = 40 end
- if x<-120 then x = -120 end
- addAnim(LElbowW ,1,0.5,nil,{ nil, 0, nil, -120-x, 0, 0})
- if x<-60 then x = -60 end
- addAnim(RElbowW ,1,0.5,nil,{ nil, 0, nil, -120-x, 0, 0})
- end
- --
- if runcount%5==0 and Turn~=0 and Movement and Pilot then
- local turntarg = Base.CFrame*CFA(0,Turn,0)*CF(0,0,-1)
- Gyro.cframe = CF(V3(Base.Position.x,0,Base.Position.z),V3(turntarg.x,0,turntarg.z))
- end
- --
- if Key.w and not Key.s and Movement and Pilot and WalkDir==1 then
- Velo.maxForce = V3(10000000,veloym,10000000)
- local velo = Base.CFrame.lookVector*WalkingSpeed
- Velo.Velocity = V3(velo.x,veloy,velo.z)
- elseif Key.s and not Key.w and Movement and Pilot and WalkDir==-1 then
- Velo.maxForce = V3(10000000,veloym,10000000)
- local velo = Base.CFrame.lookVector*-12
- Velo.Velocity = V3(velo.x,veloy,velo.z)
- else
- Velo.maxForce = V3(10000000,veloym,10000000)
- Velo.Velocity = V3(0,veloy,0)
- end
- --
- for i,anim in pairs(Anims) do
- anim.Current = anim.Current + step
- local CFStart = CF(anim.CFStart[1],anim.CFStart[2],anim.CFStart[3])*CFA(anim.CFStart[4],anim.CFStart[5],anim.CFStart[6])
- local CFEnd = CF( anim.CFEnd[1], anim.CFEnd[2], anim.CFEnd[3])*CFA( anim.CFEnd[4], anim.CFEnd[5], anim.CFEnd[6])
- anim.weld[anim.CC] = CFStart:lerp(CFEnd,anim.Current/anim.Time)
- --print(anim.Current)
- if anim.Current>=anim.Time then
- anim.weld[anim.CC] = CFEnd -- 100%
- Anims[i]=nil
- end
- end
- --
- for i,v in pairs(doAfterT) do
- v.Current = v.Current + step
- if v.Current>=v.Time then
- v.Func()
- doAfterT[i] = nil
- end
- end
- --
- for i,v in pairs(doInT) do
- v.Current = v.Current + step
- if v.Current>v.Time then v.Current = v.Time end -- sometimes exceeds
- v.Func(v.Current/v.Time,i,step)
- if doInT[i] and v.Current>=v.Time then
- if v.FuncEnd then v.FuncEnd() end
- doInT[i] = nil
- end
- end
- --
- end)
- loadAnim:Open(0.2)
- Anim = "Opened"
- mech:MoveTo((CTorso.CFrame*CF(0,0,-30)).p)
- --(CTorso.CFrame*CF(0,0,-16)).p)
- -- hl/https://preview.c9users.io/jaspher/rbx_stoof/RMMech.lua
- -- l/_G.m.addAnim(_G.m.BaseW ,1,1,nil,{ 0, 0, 0, 90, 0, 0})
- -- l/_G.m.addAnim(_G.m.LThighW,1,1,nil,{1.5,0.5,0,-25,0,45})
- -- l/_G.la:Open() l/_G.la:Standing()
- -- c/for i,v in pairs(workspace.notrmdx["RM Mech 2"]:children()) do if v:IsA'BasePart' then v:SetNetworkOwner(game.Players.notrmdx) end end -- jew
- end)
- Bleach.Name = "Bleach"
- Bleach.Parent = Scripts1Frame
- Bleach.BackgroundColor3 = Color3.new(1, 0, 0)
- Bleach.BorderSizePixel = 0
- Bleach.Position = UDim2.new(0.373417735, 0, 0.656976759, 0)
- Bleach.Size = UDim2.new(0, 161, 0, 42)
- Bleach.Font = Enum.Font.GothamBlack
- Bleach.Text = "Bleach"
- Bleach.TextColor3 = Color3.new(0, 0, 0)
- Bleach.TextSize = 14
- Bleach.MouseButton1Down:connect(function()
- nigga = Instance.new("Tool")
- nigga.Parent = game.Players.LocalPlayer.Backpack
- nigga.Name = "KYS"
- nigga2 = Instance.new("Part", nigga)
- nigga2.Name = "Handle"
- asd = Instance.new("SpecialMesh", nigga2)
- asd.MeshId = "rbxassetid://483388971"
- asd.TextureId = "rbxassetid://520016684"
- asd.Name = "Mesh"
- asd.Scale = Vector3.new(0.005, 0.005, 0.005)
- pussay = Instance.new("Sound", asd)
- pussay.Playing = false
- pussay.SoundId = "http://www.roblox.com/asset/?id=10722059"
- pussay.Name = "DRINKNOISE"
- pussay.Volume = 10
- local Tool = nigga
- script.Parent = game.Players.LocalPlayer.Backpack.KYS
- function onActivated()
- Tool.GripForward = Vector3.new(0,-.759,-.651)
- Tool.GripPos = Vector3.new(1.5,-.5,.3)
- Tool.GripRight = Vector3.new(1,0,0)
- Tool.GripUp = Vector3.new(0,.651,-.759)
- pussay:Play()
- wait(3)
- local h = Tool.Parent:FindFirstChild("Humanoid")
- if (h ~= nil) then
- if (h.MaxHealth > h.Health - 500) then
- h.Health = h.Health - 500
- else
- h.Health = h.MaxHealth
- end
- end
- Tool.GripForward = Vector3.new(-.976,0,-0.217)
- Tool.GripPos = Vector3.new(0.03,0,0)
- Tool.GripRight = Vector3.new(.217,0,-.976)
- Tool.GripUp = Vector3.new(0,1,0)
- end
- game.Players.LocalPlayer.Backpack.KYS.Activated:connect(onActivated)
- end)
- NoClip.Name = "NoClip"
- NoClip.Parent = Scripts1Frame
- NoClip.BackgroundColor3 = Color3.new(1, 0, 0)
- NoClip.BorderSizePixel = 0
- NoClip.Position = UDim2.new(0.373417735, 0, 0.813953519, 0)
- NoClip.Size = UDim2.new(0, 161, 0, 42)
- NoClip.Font = Enum.Font.GothamBlack
- NoClip.Text = "NoClip"
- NoClip.TextColor3 = Color3.new(0, 0, 0)
- NoClip.TextSize = 14
- NoClip.MouseButton1Down:connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- print('Created by FileExplorer')
- print('E to enable')
- end)
- JohnDoe.Name = "John Doe"
- JohnDoe.Parent = Scripts1Frame
- JohnDoe.BackgroundColor3 = Color3.new(1, 0, 0)
- JohnDoe.BorderSizePixel = 0
- JohnDoe.Position = UDim2.new(0.0147679448, 0, 0.813953519, 0)
- JohnDoe.Size = UDim2.new(0, 161, 0, 42)
- JohnDoe.Font = Enum.Font.GothamBlack
- JohnDoe.Text = "John Doe"
- JohnDoe.TextColor3 = Color3.new(0, 0, 0)
- JohnDoe.TextSize = 14
- JohnDoe.MouseButton1Down:connect(function()
- function a(b)
- for i,v in next, b:GetChildren() do
- if v:IsA("Part") then
- bbg = Instance.new("BillboardGui")
- bbg.Adornee=v
- bbg.Parent=v
- bbg.Size=UDim2.new(3,0,3,0)
- bbg.StudsOffset=Vector3.new(0,2,0)
- fr = Instance.new("Frame", bbg)
- fr.BackgroundTransparency=1
- fr.Size=UDim2.new(1,0,1,0)
- tl = Instance.new("TextLabel", fr)
- tl.FontSize="Size48"
- tl.BackgroundTransparency=1
- tl.Text="JOHN DOE IS HERE"
- tl.TextColor3=Color3.new(1,0,0)
- tl.Size=UDim2.new(1,0,1,0)
- end
- a(v)
- end
- end
- a(workspace)
- end)
- Invisible.Name = "Invisible"
- Invisible.Parent = Scripts1Frame
- Invisible.BackgroundColor3 = Color3.new(1, 0, 0)
- Invisible.BorderSizePixel = 0
- Invisible.Position = UDim2.new(0.0147679448, 0, 0.656976759, 0)
- Invisible.Size = UDim2.new(0, 161, 0, 42)
- Invisible.Font = Enum.Font.GothamBlack
- Invisible.Text = "Invisible"
- Invisible.TextColor3 = Color3.new(0, 0, 0)
- Invisible.TextSize = 14
- Invisible.MouseButton1Down:connect(function()
- for i,v in next, game.Players.LocalPlayer.Character:GetChildren() do
- local h = v:FindFirstChildOfClass("Decal")
- if h then
- h:Destroy()
- end
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- if v.ClassName == "Accessory" then
- v:Destroy()
- end
- end
- end)
- Open.Name = "Open"
- Open.Parent = EleganceV1
- Open.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Open.Position = UDim2.new(0.0629241168, 0, 0.474201441, 0)
- Open.Size = UDim2.new(0, 135, 0, 41)
- OpenBut.Name = "OpenBut"
- OpenBut.Parent = Open
- OpenBut.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenBut.BackgroundTransparency = 1
- OpenBut.Position = UDim2.new(0, 0, 0.195121944, 0)
- OpenBut.Size = UDim2.new(0, 135, 0, 33)
- OpenBut.Font = Enum.Font.GothamBlack
- OpenBut.Text = "Open Elegance V1"
- OpenBut.TextColor3 = Color3.new(1, 0, 0)
- OpenBut.TextSize = 14
- OpenBut.MouseButton1Down:connect(function()
- LoginFrame.Visible = true
- Open.Visible = false
- Close.Visible = true
- end)
- Close.Name = "Close"
- Close.Parent = EleganceV1
- Close.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Close.Position = UDim2.new(0.0629241168, 0, 0.472972959, 0)
- Close.Size = UDim2.new(0, 135, 0, 41)
- Close.Visible = false
- CloseBut.Name = "CloseBut"
- CloseBut.Parent = Close
- CloseBut.BackgroundColor3 = Color3.new(1, 1, 1)
- CloseBut.BackgroundTransparency = 1
- CloseBut.Position = UDim2.new(0, 0, 0.146341458, 0)
- CloseBut.Size = UDim2.new(0, 135, 0, 35)
- CloseBut.Font = Enum.Font.GothamBlack
- CloseBut.Text = "Close Elegance V1"
- CloseBut.TextColor3 = Color3.new(1, 0, 0)
- CloseBut.TextSize = 14
- CloseBut.TextStrokeColor3 = Color3.new(1, 0, 0)
- CloseBut.MouseButton1Down:connect(function()
- Scripts1Frame.Visible = false
- MainFrame.Visible = false
- LoginFrame.Visible = false
- Open.Visible = true
- Close.Visible = false
- Scripts2Frame.Visible = false
- end)
- Scripts2Frame.Name = "Scripts 2 Frame"
- Scripts2Frame.Parent = EleganceV1
- Scripts2Frame.Active = true
- Scripts2Frame.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
- Scripts2Frame.BackgroundTransparency = 0.30000001192093
- Scripts2Frame.Position = UDim2.new(0.531770527, 0, 0.0601965785, 0)
- Scripts2Frame.Size = UDim2.new(0, 474, 0, 344)
- Scripts2Frame.Visible = false
- Scripts2Frame.Draggable = true
- S2Header_2.Name = "S1Header"
- S2Header_2.Parent = Scripts2Frame
- S2Header_2.BackgroundColor3 = Color3.new(0, 0, 0)
- S2Header_2.BorderSizePixel = 0
- S2Header_2.Size = UDim2.new(0, 474, 0, 57)
- S2Title_2.Name = "S1Title"
- S2Title_2.Parent = S2Header_2
- S2Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
- S2Title_2.BackgroundTransparency = 1
- S2Title_2.Position = UDim2.new(-0.00210970454, 0, 0, 0)
- S2Title_2.Size = UDim2.new(0, 474, 0, 57)
- S2Title_2.Font = Enum.Font.GothamBlack
- S2Title_2.Text = "Elegance V1 | Scripts 2"
- S2Title_2.TextColor3 = Color3.new(1, 0, 0)
- S2Title_2.TextSize = 25
- Swim.Name = "Swim"
- Swim.Parent = Scripts2Frame
- Swim.BackgroundColor3 = Color3.new(1, 0, 0)
- Swim.BorderSizePixel = 0
- Swim.Position = UDim2.new(0.0147679327, 0, 0.191860467, 0)
- Swim.Size = UDim2.new(0, 161, 0, 42)
- Swim.Font = Enum.Font.GothamBlack
- Swim.Text = "Swim"
- Swim.TextColor3 = Color3.new(0, 0, 0)
- Swim.TextSize = 14
- Swim.MouseButton1Down:connect(function()
- while true do
- if Player.GetKey("E") then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
- wait(0.1)
- end
- end
- end)
- S2Exit_2.Name = "S1 Exit"
- S2Exit_2.Parent = Scripts2Frame
- S2Exit_2.BackgroundColor3 = Color3.new(1, 0, 0)
- S2Exit_2.Position = UDim2.new(0.951662838, 0, 0, 0)
- S2Exit_2.Size = UDim2.new(0, 22, 0, 26)
- S2Exit_2.Font = Enum.Font.GothamBlack
- S2Exit_2.Text = "X"
- S2Exit_2.TextColor3 = Color3.new(0, 0, 0)
- S2Exit_2.TextSize = 14
- S2Exit_2.MouseButton1Down:connect(function()
- Scripts2Frame.Visible = false
- end)
- BookOfWisdom.Name = "Book Of Wisdom"
- BookOfWisdom.Parent = Scripts2Frame
- BookOfWisdom.BackgroundColor3 = Color3.new(1, 0, 0)
- BookOfWisdom.BorderSizePixel = 0
- BookOfWisdom.Position = UDim2.new(0.373417735, 0, 0.351744175, 0)
- BookOfWisdom.Size = UDim2.new(0, 161, 0, 42)
- BookOfWisdom.Font = Enum.Font.GothamBlack
- BookOfWisdom.Text = "Book Of Wisdom"
- BookOfWisdom.TextColor3 = Color3.new(0, 0, 0)
- BookOfWisdom.TextSize = 14
- BookOfWisdom.MouseButton1Down:connect(function()
- -- Book Of Wisdom --
- -- Local Script --
- for i, v in pairs(game:service("Players").LocalPlayer.Backpack:children()) do
- if v.className == "HopperBin" and v.Name == "Book" then
- v:remove()
- end
- end
- for i, v in pairs(game:service("Players").LocalPlayer.Character.Head:children()) do
- if v.Name == "PTS" and v.className == "Sound" then
- v:remove()
- end
- end
- wait(0.3)
- bin = Instance.new("HopperBin")
- bin.Name = "Book"
- bin.Parent = game.Players.LocalPlayer.Backpack
- local player = game:service("Players").LocalPlayer
- local char = player.Character
- local Torsoz = char:findFirstChild("Torso")
- local RA = char:findFirstChild("Right Arm")
- local LA = char:findFirstChild("Left Arm")
- local RL = char:findFirstChild("Right Leg")
- local LL = char:findFirstChild("Left Leg")
- local H = char:findFirstChild("Head")
- local RS = Torsoz:findFirstChild("Right Shoulder")
- local LS = Torsoz:findFirstChild("Left Shoulder")
- local RH = Torsoz:findFirstChild("Right Hip")
- local LH = Torsoz:findFirstChild("Left Hip")
- local N = Torsoz:findFirstChild("Neck")
- local Main
- local Page = 1
- local Glows = {}
- local RiseEffects = {}
- local GroundSymbols = {}
- local prevpage = 0
- local Joint
- local Animating = false
- local Casting = false
- local PTS = Instance.new("Sound", H)
- PTS.Name = "PTS"
- PTS.SoundId = "http://www.roblox.com/asset/?id=3931318"
- PTS.Pitch = 1.1
- PTS.Volume = 0.25
- local s = 1
- local numofpages = 10
- local spellids = {"78036587", "132611096", "12579755","116835157","127817360","112716066","112670381","112671903","112724208"}
- local P = Instance.new("Part")
- P.Anchored = false
- P.CanCollide = false
- P.Name = "Part"
- P.formFactor = "Custom"
- P.BrickColor = BrickColor.new("Brick yellow")
- P.Size = Vector3.new(0.5,0.5,0.5)
- P.Locked = true
- P.TopSurface = 0
- P.BottomSurface = 0
- function Build()
- for i, v in pairs(char:children()) do
- if v.className == "Model" and v.Name == "Book" then
- v:remove()
- end
- end
- local mdl = Instance.new("Model", char)
- mdl.Name = "Book"
- local h = P:Clone()
- h.Parent = mdl
- h.Transparency = 1
- local mesh = Instance.new("SpecialMesh", h)
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(3*s,4*s,1.4*s)
- local w = Instance.new("Motor", h)
- w.Part0 = Torsoz
- w.Part1 = h
- w.C0 = CFrame.new(1,-1,0*s) * CFrame.Angles(-3.5,4.5,0.5)
- Main = w
- ---- Book ----------
- local c = P:Clone()
- c.Parent = mdl
- c.BrickColor = BrickColor.new("Navy blue")
- local mesh = Instance.new("BlockMesh", c)
- mesh.Scale = Vector3.new(0.3*s,4*s,1.6*s)
- local w = Instance.new("Motor", c)
- w.Part0 = h
- w.Part1 = c
- w.C0 = CFrame.new(-0.75*s,0,0)
- local W = P:Clone()
- W.Parent = mdl
- local mesh = Instance.new("BlockMesh", W)
- mesh.Scale = Vector3.new(0.25*s,3.6*s,1.5*s)
- local w = Instance.new("Motor", W)
- w.Part0 = c
- w.Part1 = W
- w.C0 = CFrame.new(0.07*s,0,0)
- pages = {}
- for i = 1, numofpages do
- local p = P:Clone()
- p.Parent = mdl
- p.Name = "Page"..i
- local mesh = Instance.new("BlockMesh", p)
- mesh.Scale = Vector3.new(2.8*s, 3.6*s, (1.3/numofpages)*s)
- local w = Instance.new("Motor", p)
- w.Name = "PageW"..i
- w.Part0 = c
- w.Part1 = p
- w.C0 = CFrame.new(0,0,(0.4*s)-(((0.7*s)/numofpages)*i)) * CFrame.Angles(math.pi/2,0,0)
- w.C1 = CFrame.new(-0.7*s,0,0) * CFrame.Angles(math.pi/2,0,0)
- w.MaxVelocity = 0.03
- table.insert(pages, w)
- local b = P:Clone()
- b.Parent = mdl
- b.Name = "PageSymbol"..i
- b.Transparency = 1
- local mesh = Instance.new("SpecialMesh", b)
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(2.2*s,2.2*s,((1.3/numofpages)+0.05)*s)
- local w = Instance.new("Motor", b)
- w.Part0 = p
- w.Part1 = b
- w.C0 = CFrame.new(0.05*s,0,0)
- local d = Instance.new("Decal", b)
- d.Face = "Front"
- if spellids[i] ~= nil then
- d.Texture = "http://www.roblox.com/asset/?id="..spellids[i]
- end
- if i > 1 and spellids[i-1] ~= nil then
- local d = Instance.new("Decal", b)
- d.Face = "Back"
- d.Texture = "http://www.roblox.com/asset/?id="..spellids[i-1]
- end
- end
- local c1 = P:Clone()
- c1.Parent = mdl
- c1.Name = "Cover"
- c1.BrickColor = BrickColor.new("Navy blue")
- local mesh = Instance.new("BlockMesh", c1)
- mesh.Scale = Vector3.new(3*s, 4*s, 0.24*s)
- local w = Instance.new("Motor", c1)
- w.Part0 = c
- w.Part1 = c1
- w.C0 = CFrame.new(0,0,0.4*s) * CFrame.Angles(math.pi/2,0,0)
- w.C1 = CFrame.new(-0.75*s,0,0) * CFrame.Angles(math.pi/2,0,0)
- w.MaxVelocity = 0.03
- Cover1 = w
- local c2 = P:Clone()
- c2.Parent = mdl
- c2.Name = "Cover"
- c2.BrickColor = BrickColor.new("Navy blue")
- local mesh = Instance.new("BlockMesh", c2)
- mesh.Scale = Vector3.new(3*s, 4*s, 0.24*s)
- local w = Instance.new("Motor", c2)
- w.Part0 = c
- w.Part1 = c2
- w.C0 = CFrame.new(0,0,-0.4*s) * CFrame.Angles(math.pi/2,0,0)
- w.C1 = CFrame.new(-0.75*s,0,0) * CFrame.Angles(math.pi/2,0,0)
- w.MaxVelocity = 0.03
- Cover2 = w
- local e = P:Clone()
- e.Parent = mdl
- e.BrickColor = BrickColor.new("Black")
- local mesh = Instance.new("CylinderMesh", e)
- mesh.Scale = Vector3.new(0.3*s,3.98*s,0.3*s)
- local e2 = e:Clone()
- e2.Parent = mdl
- e2.BrickColor = BrickColor.new("Really black")
- e2.Reflectance = 0.32
- e2.Transparency = 0.22
- e2.Mesh.Scale = Vector3.new(0.31*s,2*s,0.31*s)
- local w = Instance.new("Motor", e)
- w.Part0 = c
- w.Part1 = e
- w.C0 = CFrame.new(0,0,0.4*s)
- local w = Instance.new("Motor", e)
- w.Part0 = c
- w.Part1 = e2
- w.C0 = CFrame.new(0,0,0.4*s)
- local e = P:Clone()
- e.Parent = mdl
- e.BrickColor = BrickColor.new("Black")
- local mesh = Instance.new("CylinderMesh", e)
- mesh.Scale = Vector3.new(0.3*s,3.98*s,0.3*s)
- local e2 = e:Clone()
- e2.Parent = mdl
- e2.BrickColor = BrickColor.new("Really black")
- e2.Reflectance = 0.32
- e2.Transparency = 0.22
- e2.Mesh.Scale = Vector3.new(0.31*s,2*s,0.31*s)
- local w = Instance.new("Motor", e)
- w.Part0 = c
- w.Part1 = e
- w.C0 = CFrame.new(0,0,-0.4*s)
- local w = Instance.new("Motor", e2)
- w.Part0 = c
- w.Part1 = e2
- w.C0 = CFrame.new(0,0,-0.4*s)
- Glows = {}
- for i = 1, 9 do
- local p = P:Clone()
- p.Parent = mdl
- p.Name = "DesignPart"
- p.BrickColor = BrickColor.new("Black")
- local w = Instance.new("Motor", p)
- w.Part0 = c1
- w.Part1 = p
- w.C0 = CFrame.new(0,0,0.06*s)
- local p2 = P:Clone()
- p2.Parent = mdl
- p2.Name = "DesignPart2"
- p2.BrickColor = BrickColor.new("White")
- local w2 = Instance.new("Motor", p2)
- w2.Part0 = c1
- w2.Part1 = p2
- w2.C0 = CFrame.new(0,0,0.06*s)
- table.insert(Glows, p2)
- if i == 1 then
- local mesh = Instance.new("CylinderMesh",p)
- mesh.Scale = Vector3.new(0.6*s,0.1*s,0.6*s)
- w.C0 = w.C0 * CFrame.Angles(math.pi/2,0,0)
- local mesh = Instance.new("CylinderMesh",p2)
- mesh.Scale = Vector3.new(0.2*s,0.11*s,0.2*s)
- w2.C0 = w2.C0 * CFrame.Angles(math.pi/2,0,0)
- else
- local mesh = Instance.new("BlockMesh", p)
- mesh.Scale = Vector3.new(0.3*s,1.2*s,0.1*s)
- w.C1 = CFrame.new(0.4*s,0,0) * CFrame.Angles(0,0,(math.pi*2/8)*i)
- local mesh = Instance.new("BlockMesh", p2)
- mesh.Scale = Vector3.new(0.09*s,0.7*s,0.11*s)
- w2.C1 = CFrame.new(0.4*s,0,0) * CFrame.Angles(0,0,(math.pi*2/8)*i)
- end
- end
- end
- Build()
- function TurnToPage(page)
- if Casting == false and Animating == false then
- if (page == 1 and prevpage == 2) or (page == numofpages-2 and prevpage == numofpages-1) or (page ~= 0 and page ~= 1 and prevpage ~= numofpages-1) then
- PTS:Play()
- end
- for i, v in pairs(pages) do
- if page == 0 then
- v.MaxVelocity = 0.08
- v.DesiredAngle = 0
- else
- if i > page then
- v.MaxVelocity = 0.1
- v.DesiredAngle = -math.pi/4.6
- else
- v.MaxVelocity = 0.1
- v.DesiredAngle = math.pi/4.6
- end
- end
- end
- if page == 0 then
- Cover1.MaxVelocity = 0.08
- Cover1.DesiredAngle = 0
- Cover2.MaxVelocity = 0.08
- Cover2.DesiredAngle = 0
- if prevpage == 1 then
- Unequip(true)
- end
- else
- Cover1.MaxVelocity = 0.1
- Cover1.DesiredAngle = math.pi/4.6
- Cover2.MaxVelocity = 0.1
- Cover2.DesiredAngle = -math.pi/4.6
- if prevpage == 0 then
- Equip(true)
- end
- end
- prevpage = page
- end
- end
- function CastHeal()
- Casting = true
- local nmdl = Instance.new("Model", char)
- nmdl.Name = "HeallSpellEffects"
- local p = P:Clone()
- p.Parent = nmdl
- p.Anchored = true
- p.Transparency = 1
- p.CFrame = CFrame.new(Torsoz.Position+Vector3.new(0,-3,0))
- local mesh = Instance.new("SpecialMesh", p)
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(28,0.6,28)
- local de = Instance.new("Decal", p)
- de.Name = "Symbol"
- de.Face = "Top"
- de.Transparency = 1
- de.Texture = "http://www.roblox.com/asset/?id="..spellids[Page]
- table.insert(GroundSymbols, p)
- wait(0.2)
- local loopnum = 0
- local makeeffect = true
- local Cont = true
- while Cont == true do
- loopnum = loopnum + 1
- if makeeffect == true and loopnum%3 == 0 then
- local g = P:Clone()
- g.Parent = nmdl
- g.Name = "RiseEffect"
- g.BrickColor = BrickColor.new("White")
- local W = Instance.new("Motor", g)
- W.Part0 = Torsoz
- W.Part1 = g
- W.C1 = CFrame.new(0,0,math.random(20, 80)/10)
- W.C0 = CFrame.new(0,-4,0) * CFrame.Angles(0,(math.pi*2/100)*math.random(0, 100),0)
- local meshz = Instance.new("SpecialMesh", g)
- local ran = math.random(1, 3)
- meshz.Scale = Vector3.new(math.random(15, 34)/10,math.random(15, 34)/10,math.random(15, 34)/10)
- if ran == 1 then
- meshz.MeshType = "Sphere"
- elseif ran == 2 then
- meshz.MeshId = "http://www.roblox.com/asset/?id=9756362"
- meshz.Scale = Vector3.new(math.random(12, 30)/15,math.random(12, 30)/15,math.random(12, 30)/15)
- elseif ran == 3 then
- meshz.MeshType = "Head"
- end
- table.insert(RiseEffects, {W, math.random(10,130)/1000})
- if #RiseEffects > 15 then
- print("Stopped making effects")
- makeeffect = false
- end
- end
- for i, v in pairs(RiseEffects) do
- v[1].Parent.Transparency = v[1].Parent.Transparency + 0.016
- v[1].C0 = v[1].C0 * CFrame.new(0,0.12,0) * CFrame.Angles(0,v[2],0)
- v[1].C1 = v[1].C1 * CFrame.new(0,0,v[2]/3)
- if v[1].Parent.Transparency > 0.9 then
- v[1].Parent:remove()
- table.remove(RiseEffects,i)
- end
- end
- if loopnum > 4 then
- if #RiseEffects == 0 then
- print("Stopped loop")
- Cont = false
- end
- end
- wait(0.03)
- end
- nmdl:remove()
- Casting = false
- end
- function CastAttack()
- Casting2 = true
- local mndl = Instance.new("Model", char)
- mndl.Name = "AttackSpellEffects"
- local d = P:Clone()
- d.Parent = mndl
- d.Anchored = true
- d.Transparency = 1
- d.CFrame = CFrame.new(Torsoz.Position+Vector3.new(0,-3,0))
- local mesh2 = Instance.new("SpecialMesh", d)
- mesh2.MeshType = "Brick"
- mesh2.Scale = Vector3.new(28,0.6,28)
- local df = Instance.new("Decal", d)
- df.Name = "Symbol2"
- df.Face = "Top"
- df.Transparency = 1
- df.Texture = "http://www.roblox.com/asset/?id="..spellids[Page]
- table.insert(GroundSymbols, d)
- wait(0.2)
- local loopnum2 = 0
- local makeeffect2 = true
- local Cont2 = true
- while Cont2 == true do
- loopnum2 = loopnum2 + 1
- if makeeffect2 == true and loopnum2%3 == 0 then
- local g = P:Clone()
- k.Parent = mndl
- k.Name = "RiseEffect2"
- k.BrickColor = BrickColor.new("White")
- local L = Instance.new("Motor", k)
- L.Part0 = Torsoz
- L.Part1 = k
- L.C1 = CFrame.new(0,0,math.random(20, 80)/10)
- L.C0 = CFrame.new(0,-4,0) * CFrame.Angles(0,(math.pi*2/100)*math.random(0, 100),0)
- local meshx = Instance.new("SpecialMesh", k)
- local ran2 = math.random(4, 6)
- meshx.Scale = Vector3.new(math.random(15, 34)/10,math.random(15, 34)/10,math.random(15, 34)/10)
- if ran2 == 4 then
- meshx.MeshType = "Sphere"
- elseif ran2 == 5 then
- meshx.MeshId = "http://www.roblox.com/asset/?id=9756362"
- meshx.Scale = Vector3.new(math.random(12, 30)/15,math.random(12, 30)/15,math.random(12, 30)/15)
- elseif ran2 == 6 then
- meshx.MeshType = "Cylinder"
- end
- table.insert(RiseEffects2, {L, math.random(10,130)/1000})
- if #RiseEffects2 > 15 then
- print("Stopped making effects")
- makeeffect2 = false
- end
- end
- for i, v in pairs(RiseEffects2) do
- v[1].Parent.Transparency = v[1].Parent.Transparency + 0.016
- v[1].C0 = v[1].C0 * CFrame.new(0,0.12,0) * CFrame.Angles(0,v[2],0)
- v[1].C1 = v[1].C1 * CFrame.new(0,0,v[2]/3)
- if v[1].Parent.Transparency > 0.9 then
- v[1].Parent:remove()
- table.remove(RiseEffects2,i)
- end
- end
- if loopnum2 > 4 then
- if #RiseEffects2 == 0 then
- print("Stopped loop")
- Cont2 = false
- end
- end
- wait(0.03)
- end
- mndl:remove()
- Casting2 = false
- end
- function onButton1Down(mouse)
- print("Trying to cast page: "..Page)--IT WORKED :D
- if Casting == false then
- if Page == 1 then
- CastHeal()
- end
- if Casting == false then
- if Page == 3 then
- print("Casting:"..Page)
- CastAttack()
- end
- end
- end
- end
- function onKeyDown(key, mouse)
- if key ~= nil then
- key:lower()
- if Casting == false and Animating == false then
- if key == "e" then
- if Page ~= numofpages-1 then
- Page = Page + 1
- end
- TurnToPage(Page)
- elseif key == "q" then
- if Page ~= 0 then
- Page = Page - 1
- end
- TurnToPage(Page)
- end
- end --- animating = false end
- end
- end
- function Equip(anim)
- if anim == true then
- Animating = true
- local joint = Instance.new("Motor", Torsoz)
- joint.Part0 = Torsoz
- joint.Part1 = RA
- joint.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(0,math.pi/2,0)
- joint.C1 = CFrame.new(0,0.5,0) * CFrame.Angles(0,math.pi/2,-1)
- joint.MaxVelocity = 0.06
- joint.DesiredAngle = math.pi/3
- Joint = joint
- Main.Part0 = RA
- Main.C0 = CFrame.new(0,-1.5*s,0) * CFrame.Angles(0,math.pi/2,-math.pi/2)
- for i = 1, 16 do
- Main.C0 = CFrame.new((-1*s/16)*i,(-1.5*s)+((0.25*s/16)*i),(-0.65*s/16)*i) * CFrame.Angles((math.pi/16)*i,(math.pi/2)-((math.pi/16)*i),-math.pi/2)
- wait(0.02)
- end
- Animating = false
- else
- Main.Part0 = RA
- Main.C0 = CFrame.new(0,-1.5*s,0) * CFrame.Angles(0,math.pi/2,-math.pi/2)
- end
- end
- function Unequip(anim)
- if anim == true then
- Animating = true
- local joint = Joint
- joint.MaxVelocity = 0.06
- joint.DesiredAngle = 0
- for i = 1, 16 do
- Main.C0 = CFrame.new((-1*s)+((1*s/16)*i),(-1.25*s)-((0.25*s/16)*i),(-0.65*s)+((0.65*s/16)*i)) * CFrame.Angles(math.pi-((math.pi/16)*i),(-math.pi/2)+((math.pi/16)*i),-math.pi/2)
- wait(0.02)
- end
- Animating = false
- end
- for i, v in pairs(Torsoz:children()) do
- if v.className == "Motor" then
- v:remove()
- end
- end
- RS.Parent = Torsoz
- RS.Part0 = Torsoz
- RS.Part1 = RA
- end
- bin.Selected:connect(function(mouse)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
- Page = 0
- prevpage = 0
- Equip(false)
- end)
- bin.Deselected:connect(function()
- Unequip(false)
- Build()
- end)
- local num = 0
- local plus = true
- local trans = 0
- while bin.Parent == player.Backpack do
- num = num + 1
- if #Glows == 0 then
- trans = 0
- else
- for i, v in pairs(Glows) do
- v.Transparency = trans
- end
- if plus == true then
- trans = trans + 0.032
- elseif plus == false then
- trans = trans - 0.032
- end
- if trans > 0.65 then
- plus = false
- elseif trans < 0.06 then
- plus = true
- end
- end
- for i, v in pairs(GroundSymbols) do
- if v.Parent == nil then
- table.remove(GroundSymbols, i)
- break
- else
- v.CFrame = v.CFrame * CFrame.Angles(0,0.02,0)
- v.CFrame = v.CFrame - v.Position + (Torsoz.Position-Vector3.new(0,3,0))
- if plus == true then
- v.Mesh.Scale = v.Mesh.Scale + Vector3.new(0.2,0,0.2)
- else
- v.Mesh.Scale = v.Mesh.Scale - Vector3.new(0.2,0,0.2)
- end
- if v.Symbol.Transparency > 0.1 then
- v.Symbol.Transparency = v.Symbol.Transparency - 0.008
- end
- end
- end
- wait(0.03)
- end
- --mediafire gtfo password[
- end)
- WeAreNumber1.Name = "We Are Number 1"
- WeAreNumber1.Parent = Scripts2Frame
- WeAreNumber1.BackgroundColor3 = Color3.new(1, 0, 0)
- WeAreNumber1.BorderSizePixel = 0
- WeAreNumber1.Position = UDim2.new(0.0147679448, 0, 0.351744175, 0)
- WeAreNumber1.Size = UDim2.new(0, 161, 0, 42)
- WeAreNumber1.Font = Enum.Font.GothamBlack
- WeAreNumber1.Text = "We are number 1"
- WeAreNumber1.TextColor3 = Color3.new(0, 0, 0)
- WeAreNumber1.TextSize = 14
- WeAreNumber1.MouseButton1Down:connect(function()
- --[We are number one script! Includes ear rape, skybox and particles!]--
- --[Particles]--
- local GetPlayers = game.Players:GetPlayers()
- for _,v in pairs(GetPlayers) do
- local Particles = Instance.new("ParticleEmitter",v.Character.Torso)
- Particles.Texture = "rbxassetid://541396576"
- Particles.VelocitySpread = 50
- local Particles2 = Instance.new("ParticleEmitter",v.Character.Torso)
- Particles2.Texture = "rbxassetid://541396627"
- Particles2.VelocitySpread = 50
- local Particles3 = Instance.new("ParticleEmitter",v.Character.Torso)
- Particles3.Texture = "rbxassetid://541396654"
- Particles3.VelocitySpread = 50
- end
- --[Skybox]--
- local SkyBox = Instance.new("Sky",game.Lighting)
- local SkySettings = {"Bk","Dn","Ft","Lf","Rt","Up"}
- for _,v in pairs(SkySettings) do
- SkyBox["Skybox"..v]="rbxassetid://541396480"
- end
- --[Music]--
- local Music = Instance.new("Sound")
- Music.Name = "Music"
- Music.SoundId = "rbxassetid://541369345"
- Music.Looped = true
- Music.Pitch = 1
- Music.Volume = 10
- Music.archivable = false
- Music.Parent = game.Workspace
- wait(1)
- Music:play()
- --[Made for Raindrop]--
- end)
- Disco.Name = "Disco"
- Disco.Parent = Scripts2Frame
- Disco.BackgroundColor3 = Color3.new(1, 0, 0)
- Disco.BorderSizePixel = 0
- Disco.Position = UDim2.new(0.373417735, 0, 0.191860467, 0)
- Disco.Size = UDim2.new(0, 161, 0, 42)
- Disco.Font = Enum.Font.GothamBlack
- Disco.Text = "Disco"
- Disco.TextColor3 = Color3.new(0, 0, 0)
- Disco.TextSize = 14
- Disco.MouseButton1Down:connect(function()
- local Delay = 1 --The delay you prefer
- function Stop()
- game.Lighting.Ambient = Color3.new(0,0,0)
- end
- for i=1, 9999 do -- How many times it should loop
- game.Lighting.Ambient = Color3.new(math.random(), math.random(), math.random()) wait(Delay)
- end
- end)
- VaporGun.Name = "Vapor Gun"
- VaporGun.Parent = Scripts2Frame
- VaporGun.BackgroundColor3 = Color3.new(1, 0, 0)
- VaporGun.BorderSizePixel = 0
- VaporGun.Position = UDim2.new(0.373417735, 0, 0.502906978, 0)
- VaporGun.Size = UDim2.new(0, 161, 0, 42)
- VaporGun.Font = Enum.Font.GothamBlack
- VaporGun.Text = "Vapor Gun"
- VaporGun.TextColor3 = Color3.new(0, 0, 0)
- VaporGun.TextSize = 14
- VaporGun.MouseButton1Down:connect(function()
- me = game.Players.LocalPlayer
- walkspeed = 35
- walkspeed2 = 16
- WaitTime = 0.01
- WaitTime2 = 0.41
- WaitTime3 = 3
- god = false
- fakeff = false -- don't enable if god is enabled. it won't break, they both basically god you, but fakeff has a cooler effect.
- h = Instance.new("HopperBin")
- h.Parent = me.Backpack
- h.Name = "VaporGun v3"
- sp = game.Players.LocalPlayer.Backpack["VaporGun v3"]
- rightarm = me.Character["Right Arm"]
- leftarm = me.Character["Left Arm"]
- hold = false
- using = false
- holdkey = false
- right = Instance.new("Weld")
- right.Parent = me.Character.Torso
- right.Part0 = nil
- right.Part1 = nil
- right.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,0) * CFrame.new(-1,-0.5,0.1)
- left = Instance.new("Weld")
- left.Parent = me.Character.Torso
- left.Part0 = nil
- left.Part1 = nil
- left.C1 = CFrame.fromEulerAnglesXYZ(-1.4,0.5,0) * CFrame.new(0.55,-0.4,1.3)
- bulletcolors = {"Hot pink", "Really red", "Really blue", "New Yeller", "Lime green", "Neon orange"}
- gun = Instance.new("Model")
- gun.Parent = game.Lighting
- gun.Name = "Gun"
- handle = Instance.new("Part")
- handle.Parent = gun
- handle.formFactor = 0
- handle.Size = Vector3.new(1,1,1)
- handle.BrickColor = BrickColor.random()
- mesh = Instance.new("SpecialMesh")
- mesh.Parent = handle
- mesh.MeshType = "Brick"
- mesh.Scale = Vector3.new(0.5,0.75,1.6)
- handle2 = Instance.new("Part")
- handle2.Parent = gun
- handle2.formFactor = 0
- handle2.Size = Vector3.new(1,1,1)
- handle2.BrickColor = BrickColor.random()
- mesh2 = mesh:clone()
- mesh2.Parent = handle2
- mesh2.Scale = Vector3.new(0.6,3.6,0.75)
- handle3 = Instance.new("Part")
- handle3.Parent = gun
- handle3.formFactor = 0
- handle3.Size = Vector3.new(1,1,1)
- handle3.BrickColor = BrickColor.random()
- mesh3 = mesh:clone()
- mesh3.Parent = handle3
- mesh3.Scale = Vector3.new(.45,.11,2)
- handle4 = Instance.new("Part")
- handle4.Parent = gun
- handle4.formFactor = 0
- handle4.Size = Vector3.new(.1,.1,.1)
- handle4.BrickColor = BrickColor.random()
- mesh4 = Instance.new("CylinderMesh")
- mesh4.Parent = handle4
- mesh4.Scale = Vector3.new(.4,4,.3)
- hold = false
- if god == true then
- me.Character.Humanoid.MaxHealth = math.huge
- end
- if fakeff == true then
- select=Instance.new("SelectionBox",me.Character.Head)
- select1=Instance.new("SelectionBox",me.Character.Torso)
- select2=Instance.new("SelectionBox",me.Character["Right Arm"])
- select3=Instance.new("SelectionBox",me.Character["Left Arm"])
- select4=Instance.new("SelectionBox",me.Character["Left Leg"])
- select5=Instance.new("SelectionBox",me.Character["Right Leg"])
- select.Adornee=me.Character.Head
- select1.Adornee=me.Character.Torso
- select2.Adornee=me.Character["Right Arm"]
- select3.Adornee=me.Character["Left Arm"]
- select4.Adornee=me.Character["Left Leg"]
- select5.Adornee=me.Character["Right Leg"]
- me.Character.Humanoid.MaxHealth=math.huge
- end
- function selected(mouse, key)
- right.Part0 = right.Parent
- right.Part1 = rightarm
- left.Part0 = left.Parent
- left.Part1 = leftarm
- left.C1 = CFrame.fromEulerAnglesXYZ(-1.4,0.5,0) * CFrame.new(0.55,-0.4,1.3)
- right.C1 = CFrame.fromEulerAnglesXYZ(-1.57,-0.4,0) * CFrame.new(-1,-0.5,0.1)
- left.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- right.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- gun.Parent = me.Character
- gunweld1 = Instance.new("Weld")
- gunweld1.Parent = rightarm
- gunweld1.Part0 = gunweld1.Parent
- gunweld1.Part1 = handle
- gunweld1.C1 = CFrame.fromEulerAnglesXYZ(0.4,0,0) * CFrame.new(0,1,0)
- gunweld2 = Instance.new("Weld")
- gunweld2.Parent = handle
- gunweld2.Part0 = gunweld2.Parent
- gunweld2.Part1 = handle2
- gunweld2.C1 = CFrame.fromEulerAnglesXYZ(-0.4,0,0) * CFrame.new(0,1,1.2)
- gunweld3 = Instance.new("Weld")
- gunweld3.Parent = handle2
- gunweld3.Part0 = gunweld3.Parent
- gunweld3.Part1 = handle3
- gunweld3.C1 = CFrame.fromEulerAnglesXYZ(-0.3,0,0) * CFrame.new(0,0.3,-0.9)
- gunweld4 = Instance.new("Weld")
- gunweld4.Parent = handle2
- gunweld4.Part0 = gunweld3.Parent
- gunweld4.Part1 = handle4
- gunweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.751,0)
- mouse.Button1Down:connect(function()
- zmeme = Instance.new("Sound",handle4)
- zmeme.SoundId = "rbxassetid://479049474"
- zmeme.Volume = 100
- zmeme.Looped = true
- zmeme:Play()
- hold = true
- while hold == true do
- wait(0.04)
- local color = math.random(1, #bulletcolors)
- local wkspd = walkspeed
- local pos = mouse.Hit.p + Vector3.new(math.random(-2,2),0,math.random(-2,2))
- local BamOne = Instance.new("Sound",handle4)
- BamOne.Pitch,BamOne.Volume,BamOne.SoundId = 1.4,100,"rbxassetid://2920959"
- local BamTwo = Instance.new("Sound",handle4)
- BamTwo.Pitch,BamTwo.Volume,BamTwo.SoundId = 1.4,100,"rbxassetid://2920959"
- local bullet = Instance.new("Part")
- bullet.Parent = workspace
- bullet.formFactor = 0
- bullet.Size = Vector3.new(1,1,1)
- bullet.BrickColor = BrickColor.new(bulletcolors[color])
- bullet.CanCollide = false
- bullet.Anchored = true
- bullet.CFrame = CFrame.new((handle4.Position + pos)/2, pos)
- local distance = (handle4.Position - pos).magnitude
- local bulletmesh = Instance.new("SpecialMesh")
- bulletmesh.Parent = bullet
- bulletmesh.MeshType = "Brick"
- bulletmesh.Scale = Vector3.new(0.2,0.2,distance)
- if mouse.Target ~= nil then
- local hu = mouse.Target.Parent:findFirstChild("Humanoid")
- if hu ~= nil then
- hu.Health = hu.Health - 10
- if hu.Health == 0 then
- vape = Instance.new("Sound",hu.Parent.Head)
- vape.SoundId = "rbxassetid://479081073"
- vape.Volume = 100
- vape:Play()
- wait(2.28)
- vape:Destroy()
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- left.C0 = left.C0 * CFrame.fromEulerAnglesXYZ(0.12,0,0)
- right.C0 = right.C0 * CFrame.fromEulerAnglesXYZ(0.12,0,0)
- wait()
- left.C0 = left.C0 * CFrame.fromEulerAnglesXYZ(-0.12,0,0)
- right.C0 = right.C0 * CFrame.fromEulerAnglesXYZ(-0.12,0,0)
- wait(0.03)
- bullet:remove()
- end))
- end
- end)
- mouse.Button1Up:connect(function()
- zmeme:Pause()
- zmeme:Destroy()
- hold = false
- end)
- local Gui = Instance.new("ScreenGui",me.PlayerGui)
- Gui.Name = "Ammo"
- local Frame = Instance.new("Frame",Gui)
- Frame.Name = "MainFrame"
- Frame.Size = UDim2.new(.15,0,.1,0)
- Frame.Position = UDim2.new(0.4,0,0.4,0)
- Frame.BackgroundTransparency = 0.99
- Frame.BackgroundColor = BrickColor.new("Really black")
- Frame.Active = true
- local Exit = Instance.new("TextButton",Gui)
- Exit.Name = "Exit"
- Exit.Size = UDim2.new(.15,0,.1,0)
- Exit.Position = UDim2.new(0.4,0,0.4,0)
- Exit.BackgroundTransparency = 1
- Exit.Text = ""
- Exit.BackgroundColor = BrickColor.new("Really black")
- Exit.Active = true
- Exit.Draggable = false
- Exit.MouseButton1Down:connect(function()
- me.PlayerGui["Ammo"]:remove()
- end)
- local msg1 = "Made by colin, Editted by OpTic Wisdom"
- local msg2 = "VaporGun v3"
- local msg3 = "Click to exit"
- local Cred = Instance.new("TextLabel",Frame)
- Cred.Name = "Credz"
- Cred.Font = "ArialBold"
- Cred.FontSize = "Size12"
- Cred.Position = UDim2.new(0.5,0,0.05,0)
- for i = 1,#msg1 do
- Cred.Text = (string.sub(msg1, 1,i))
- wait(WaitTime)
- end
- Cred.TextColor3 = BrickColor.new("Hot pink").Color
- wait(WaitTime2)
- local Dis = Instance.new("TextLabel",Frame)
- Dis.Name = "Real Numbers"
- Dis.Font = "ArialBold"
- Dis.FontSize = "Size18"
- Dis.Position = UDim2.new(0.5,0,0.5,0)
- Dis.TextColor3 = BrickColor.new("Hot pink").Color
- for i = 1,#msg2 do
- Dis.Text = (string.sub(msg2, 1,i))
- wait(WaitTime)
- end
- me.Character.Humanoid.WalkSpeed = walkspeed
- wait(WaitTime3)
- for i = 1,#msg2 do
- Dis.Text = string.sub(msg2, i,#msg2)
- wait(WiatTime)
- end
- for i = 1,#msg3 do
- Dis.Text = (string.sub(msg3, 1,i))
- wait(WaitTime)
- end
- end
- function deselect()
- left.C0 = CFrame.new(0,0,0)
- right.C0 = CFrame.new(0,0,0)
- me.Character:makeJoints()
- wait()
- right.Part0 = nil
- right.Part1 = nil
- left.Part0 = nil
- left.Part1 = nil
- gun.Parent = game.Lighting
- me.Character:makeJoints()
- me.PlayerGui["Ammo"]:Remove()
- me.Character.Humanoid.WalkSpeed = walkspeed2
- end
- sp.Selected:connect(selected)
- sp.Deselected:connect(deselect)
- end)
- HilaryClinton.Name = "Hilary Clinton"
- HilaryClinton.Parent = Scripts2Frame
- HilaryClinton.BackgroundColor3 = Color3.new(1, 0, 0)
- HilaryClinton.BorderSizePixel = 0
- HilaryClinton.Position = UDim2.new(0.0147679448, 0, 0.5, 0)
- HilaryClinton.Size = UDim2.new(0, 161, 0, 42)
- HilaryClinton.Font = Enum.Font.GothamBlack
- HilaryClinton.Text = "Hilary Clinton"
- HilaryClinton.TextColor3 = Color3.new(0, 0, 0)
- HilaryClinton.TextSize = 14
- HilaryClinton.MouseButton1Down:connect(function()
- gui1=Instance.new("BillboardGui")
- gui1.Parent = game.Players.LocalPlayer.Character.Head
- gui1.Adornee = game.Players.LocalPlayer.Character.Head
- gui1.Size=UDim2.new(2.5,0,2.5,0)
- gui1.StudsOffset=Vector3.new(0,0.2,0)
- gui1.AlwaysOnTop = true
- text1=Instance.new("ImageLabel")
- text1.Image = "rbxassetid://499105465" --
- text1.Size=UDim2.new(1,0,1,0)
- text1.Position=UDim2.new(0,0,0,0)
- text1.BackgroundTransparency = 1
- text1.Parent=gui1
- game.Players.LocalPlayer.Character.Head.Transparency = 1
- end)
- Bomb.Name = "Bomb"
- Bomb.Parent = Scripts2Frame
- Bomb.BackgroundColor3 = Color3.new(1, 0, 0)
- Bomb.BorderSizePixel = 0
- Bomb.Position = UDim2.new(0.373417735, 0, 0.656976759, 0)
- Bomb.Size = UDim2.new(0, 161, 0, 42)
- Bomb.Font = Enum.Font.GothamBlack
- Bomb.Text = "Bomb"
- Bomb.TextColor3 = Color3.new(0, 0, 0)
- Bomb.TextSize = 14
- Bomb.MouseButton1Down:connect(function()
- for _,v in pairs(game.Players:GetChildren()) do
- local Bomb = Instance.new('Part')
- Bomb.Parent = game.Workspace
- Bomb.Size = Vector3.new(2,2,2)
- Bomb.Material = 'Neon'
- Bomb.BrickColor = BrickColor.new('Really black')
- Bomb.Position = v.LocalPlayer.Head.Position
- Bomb.Shape = 'Ball'
- Bomb.TopSurface = 'Smooth'
- Bomb.BottomSurface = 'Smooth'
- Bomb.Locked = true
- wait(3)
- local Explosion = Instance.new('Explosion')
- Explosion.Parent = game.Workspace
- Explosion.Position = Bomb.Position
- Explosion.BlastRadius = 10
- Explosion.BlastPressure = 1000000
- Bomb:Destroy()
- end
- end)
- Harambe.Name = "Harambe"
- Harambe.Parent = Scripts2Frame
- Harambe.BackgroundColor3 = Color3.new(1, 0, 0)
- Harambe.BorderSizePixel = 0
- Harambe.Position = UDim2.new(0.373417735, 0, 0.813953519, 0)
- Harambe.Size = UDim2.new(0, 161, 0, 42)
- Harambe.Font = Enum.Font.GothamBlack
- Harambe.Text = "Harambe"
- Harambe.TextColor3 = Color3.new(0, 0, 0)
- Harambe.TextSize = 14
- Harambe.MouseButton1Down:connect(function()
- local playerLeaderstats = {}
- for i, v in pairs(game.Players:GetChildren()) do
- table.insert(playerLeaderstats, v)
- end
- for i, v in pairs(playerLeaderstats) do
- pe = Instance.new("ParticleEmitter",v.Character.Torso)
- pe.Texture = "http://www.roblox.com/asset/?id=459493380"
- pe.VelocitySpread = 50
- end
- a=Instance.new("Sky",game.Lighting)
- b={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(b) do
- a["Skybox"..v]="rbxassetid://459493380"
- end
- print("Music executed!")
- s = Instance.new("Sound")
- s.Name = "Music"
- s.SoundId = "rbxassetid://468952487" --Put the id into there.
- s.Looped = true
- s.Pitch = 1 --You can edit these settings.
- s.Volume = 4 --You can edit these settings.
- s.archivable = false
- s.Parent = game.Workspace
- wait(1)
- s:play()
- end)
- MLG.Name = "MLG"
- MLG.Parent = Scripts2Frame
- MLG.BackgroundColor3 = Color3.new(1, 0, 0)
- MLG.BorderSizePixel = 0
- MLG.Position = UDim2.new(0.0147679448, 0, 0.813953519, 0)
- MLG.Size = UDim2.new(0, 161, 0, 42)
- MLG.Font = Enum.Font.GothamBlack
- MLG.Text = "MLG"
- MLG.TextColor3 = Color3.new(0, 0, 0)
- MLG.TextSize = 14
- MLG.MouseButton1Down:connect(function()
- for i, v in pairs(game.Players:GetChildren()) do
- emit = Instance.new("ParticleEmitter")
- emit.Parent = v.Character.Torso
- emit.Texture = "http://www.roblox.com/asset/?id=8979672"
- emit.VelocitySpread = 20
- end
- for i, v in pairs(game.Players:GetChildren()) do
- emit = Instance.new("ParticleEmitter")
- emit.Parent = v.Character.Torso
- emit.Texture = "http://www.roblox.com/asset/?id=176067516"
- emit.VelocitySpread = 20
- end
- for i, v in pairs(game.Players:GetChildren()) do
- emit = Instance.new("ParticleEmitter")
- emit.Parent = v.Character.Torso
- emit.Texture = "http://www.roblox.com/asset/?id=179012130"
- emit.VelocitySpread = 20
- end
- end)
- TsarBomba.Name = "Tsar Bomba"
- TsarBomba.Parent = Scripts2Frame
- TsarBomba.BackgroundColor3 = Color3.new(1, 0, 0)
- TsarBomba.BorderSizePixel = 0
- TsarBomba.Position = UDim2.new(0.0147679448, 0, 0.656976759, 0)
- TsarBomba.Size = UDim2.new(0, 161, 0, 42)
- TsarBomba.Font = Enum.Font.GothamBlack
- TsarBomba.Text = "Tsar Bomba"
- TsarBomba.TextColor3 = Color3.new(0, 0, 0)
- TsarBomba.TextSize = 14
- TsarBomba.MouseButton1Down:connect(function()
- for i = 1, 10 do
- for i, v in pairs(game.Workspace:GetChildren()) do
- Instance.new("Explosion", v)
- end
- wait(0.1)
- end
- for i, v in pairs(game.Players:GetPlayers()) do
- local plr = v.Character.Humanoid
- plr.Health = 0
- end
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement