Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mouse = game.Players.Crystal5241:GetMouse()
- local larm = game.Players.Crystal5241.Character:FindFirstChild("Left Arm")
- local rarm = game.Players.Crystal5241.Character:FindFirstChild("Right Arm")
- local torso = game.Players.Crystal5241.Character.Torso
- local Character = game.Players.Crystal5241.Character
- local char = Character
- local trail = Instance.new("ParticleEmitter",torso)
- trail.Texture = "rbxassetid://296874871"
- trail.LightEmission = 1
- trail.Color = ColorSequence.new(Color3.new(255,255,255))
- trail.Rate = 9999
- trail.Lifetime = NumberRange.new(1.5)
- trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
- trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
- trail.Speed = NumberRange.new(0,0)
- trail.Rotation = NumberRange.new(-500,500)
- trail.RotSpeed = NumberRange.new(-500,500)
- trail.Enabled = false
- local A1 = Instance.new("Attachment",larm)
- A1.Position = Vector3.new(0, 0, 0)
- local A2 = Instance.new("Attachment",torso)
- A2.Position = Vector3.new(0, 0, 0)
- local Trail = Instance.new("Trail",larm)
- Trail.LightEmission = 1
- Trail.FaceCamera = true
- Trail.Texture = ""
- Trail.Attachment0 = A1
- Trail.Attachment1 = A2
- Trail.Lifetime = 2
- Trail.MinLength = 0
- Trail.Transparency = NumberSequence.new(0, 1)
- Trail.Color = ColorSequence.new(Color3.new(0,1,1), BrickColor.new("Royal purple").Color)
- Trail.Enabled = false
- local A3 = Instance.new("Attachment",rarm)
- A3.Position = Vector3.new(0, 0, 0)
- local A4 = Instance.new("Attachment",torso)
- A4.Position = Vector3.new(0, 0, 0)
- local Trail2 = Instance.new("Trail",rarm)
- Trail2.LightEmission = 1
- Trail2.FaceCamera = true
- Trail2.Texture = ""
- Trail2.Attachment0 = A3
- Trail2.Attachment1 = A4
- Trail2.Lifetime = 3
- Trail2.MinLength = 0
- Trail2.Transparency = NumberSequence.new(0, 1)
- Trail2.Color = ColorSequence.new(Color3.new(0,1,1), BrickColor.new("Royal purple").Color)
- Trail2.Enabled = false
- function damageall()
- for _,v in pairs(game.Players:GetChildren()) do
- if v:FindFirstChild('Character') then
- if v.Character:FindFirstChild('udedm8') then
- if v.Character:FindFirstChild('Head') then
- v.Character.Head:Destroy()
- end
- end
- end
- end
- function boom()
- for _,v in pairs(game.Players:GetChildren()) do
- uded = Instance.new("BoolValue", v.Character)
- uded.Name = 'udedm8'
- uded.Value = true
- end
- char.udedm8:Destroy()
- local explosion1 = Instance.new("Part", char)
- explosion1.Size = Vector3.new(20, 20, 20)
- explosion1.Transparency = 0
- explosion1.Material = "Neon"
- explosion1.Anchored = true
- explosion1.CanCollide = false
- explosion1.Shape = "Ball"
- explosion1.CFrame = torso.CFrame
- explosion1.BrickColor = BrickColor.new("Toothpaste")
- local explosion2 = Instance.new("Part", char)
- explosion2.Size = Vector3.new(27, 27, 27)
- explosion2.Transparency = 0.6
- explosion2.Material = "Neon"
- explosion2.Anchored = true
- explosion2.CanCollide = false
- explosion2.Shape = "Ball"
- explosion2.CFrame = torso.CFrame
- explosion2.BrickColor = BrickColor.new("Alder")
- damageall()
- for i = 1, 40 do
- explosion1.Size = explosion1.Size + Vector3.new(1, 1, 1)
- explosion1.Transparency = explosion1.Transparency + 0.025
- explosion2.Size = explosion1.Size + Vector3.new(1, 1, 1)
- explosion2.Transparency = explosion2.Transparency + 0.025
- wait()
- end
- explosion2:Remove()
- explosion1:Remove()
- end
- function fly()
- for i,v in pairs(script.Parent.Parent.Character:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- v.Transparency = 1
- end
- end
- trail.Enabled = true
- Trail.Enabled = true
- Trail2.Enabled = true
- local Bv = Instance.new("BodyVelocity",script.Parent.Parent.Character.HumanoidRootPart)
- Bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- for i = 1,500 do wait()
- script.Parent.Parent.Character.HumanoidRootPart.CFrame = CFrame.new(script.Parent.Parent.Character.HumanoidRootPart.Position,mouse.Hit.p)
- Bv.Velocity = script.Parent.Parent.Character.HumanoidRootPart.CFrame.lookVector*120
- end
- for i,v in pairs(script.Parent.Parent.Character:GetChildren()) do
- if v.ClassName == "Part" or v.ClassName == "MeshPart" then
- if v.Name ~= "HumanoidRootPart" then
- v.Transparency = 0
- end
- end
- end
- trail.Enabled = false
- Trail.Enabled = false
- Trail2.Enabled = false
- Bv:Destroy()
- end
- function OnChatted(msg)
- if msg = "!fly" then
- fly()
- end
- if msg = "!killall" then
- boom()
- end
- end
- char.Parent.Chatted:connect(OnChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement