Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // This Code Was Writed By Allvideo
- local Player = game:GetService("Players")
- local TweenService = game:GetService("TweenService")
- local ServerStorage = game:GetService("ServerStorage")
- local Blue = ServerStorage:FindFirstChild("Blue")
- local Red = ServerStorage:FindFirstChild("Red")
- local Purple = ServerStorage:FindFirstChild("Purple")
- local Debounce = false
- function MakeTween(Part,Destination,Delay)
- local info = TweenInfo.new(Delay,Enum.EasingStyle.Linear,Enum.EasingDirection.In,0,false,0)
- local create = TweenService:Create(Part,info,{CFrame = Destination})
- create:Play()
- return create
- end
- script.Parent.Activated:connect(function()
- if not Debounce then
- Debounce = true
- local char = script.Parent.Parent
- local LocalPlayer = Player:GetPlayerFromCharacter(char)
- local Humanoid = char:FindFirstChild("Humanoid")
- local launched = false
- if char and Red and Blue and Purple and Humanoid then
- Humanoid.WalkSpeed = 0
- Humanoid.JumpPower = 0
- Humanoid.AutoRotate = false
- wait(2)
- local RedClone = Red:Clone()
- RedClone.Parent = char
- RedClone.Anchored = true
- RedClone.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(5,0,-2)
- wait(4)
- local BlueClone = Blue:Clone()
- BlueClone.Parent = char
- BlueClone.Anchored = true
- BlueClone.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(-5,0,-2)
- wait(2)
- local RedTween = MakeTween(RedClone,char.HumanoidRootPart.CFrame * CFrame.new(0,1,-5),3)
- local BlueTween = MakeTween(BlueClone,char.HumanoidRootPart.CFrame * CFrame.new(0,1,-5),3)
- RedTween.Completed:connect(function()
- BlueClone:Destroy()
- RedClone:Destroy()
- Humanoid.AutoRotate = true
- local PurpleClone = Purple:Clone()
- PurpleClone.Parent = char
- PurpleClone.Anchored = true
- game:GetService("Debris"):AddItem(PurpleClone,20)
- while true do
- if not launched then
- PurpleClone.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,1,-5)
- else
- PurpleClone.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= char then
- hit.Parent.Humanoid.Health = 0
- end
- end)
- PurpleClone.Anchored = false
- local BodyPosition = Instance.new("BodyPosition",PurpleClone)
- BodyPosition.MaxForce = Vector3.new(199999,199999,199999)
- BodyPosition.D = 1000
- BodyPosition.P = 5
- BodyPosition.Position = char.HumanoidRootPart.CFrame.LookVector * 99999
- break
- end
- wait()
- end
- end)
- wait(5)
- launched = true
- end
- Humanoid.WalkSpeed = 16
- Humanoid.JumpPower = 50
- Humanoid.AutoRotate = true
- for i = 1,20 do
- script.Parent.Name = 20 - i
- wait(1)
- end
- Debounce = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement