Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script.Parent = game.Players.LocalPlayer.PlayerScripts
- wait(1)
- p = script.Parent.Parent
- m = p:GetMouse()
- char = p.Character
- torso = char:WaitForChild("Torso")
- arm = char:FindFirstChild("Right Arm")
- arm2 = char:FindFirstChild("Left Arm")
- enabled = false
- humanoid = char.Humanoid
- Animation = Instance.new("Animation",script)
- Animation.AnimationId = "rbxassetid://348469232"
- Animation2 = Instance.new("Animation",script)
- Animation2.AnimationId = "rbxassetid://348411036"
- PlaySlash = humanoid:LoadAnimation(Animation)
- PlaySlash2 = humanoid:LoadAnimation(Animation2)
- Sunn = false
- m.KeyDown:connect(function(key)
- if key == "q" and not enabled and not Sunn then
- enabled = true
- Sunn = true
- game:GetService("Chat"):Chat(char.Head,"Burst open and mix!")
- local Sun = Instance.new("Part",char)
- Sun.BrickColor = BrickColor.new("Gold")
- Sun.Transparency = 0.3
- Sun.Material = "Neon"
- Sun.Name = "SUN"
- Sun.Anchored = false
- Sun.CanCollide = false
- Sun.BottomSurface = "Smooth"
- Sun.TopSurface = "Smooth"
- Sun.Shape = "Ball"
- local Ok = Instance.new("ParticleEmitter",Sun)
- Ok.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(255,238,28))
- Ok.Texture = "rbxassetid://348465658"
- Ok.Transparency = NumberSequence.new(0.7)
- Ok.Lifetime = NumberRange.new(.5)
- Ok.VelocitySpread = 360
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- --Get the CFrame of b relative to a.
- weld.C0 = a.CFrame:inverse() * b.CFrame*CFrame.new(0,-2,0)
- --Return the reference to the weld so that you can change it later.
- return weld
- end
- local weld = weldBetween(arm, Sun)
- wait(.5)
- PlaySlash:Play()
- wait(.2)
- weld:remove()
- Sun.Anchored = true
- for i = 1,10 do
- Sun.CFrame = Sun.CFrame * CFrame.new(0,15,-15)
- wait()
- end
- wait(1)
- for i = 1,10 do
- Sun.Size = Sun.Size + Vector3.new(10,10,10)
- Sun.ParticleEmitter.Size = NumberSequence.new(5,100)
- Sun.ParticleEmitter.Rate = 500
- Sun.ParticleEmitter.Speed = NumberRange.new(10)
- Sun.ParticleEmitter.LightEmission = 1
- wait()
- end
- wait(2)
- game:GetService("Chat"):Chat(char.Head,"RA THE SUN GOD!")
- wait(2)
- game:GetService("Chat"):Chat(char.Head,"Share your power! HA!")
- enabled = false
- end
- if key == "e" and not enabled and Sunn then
- enabled = true
- Sunn = false
- PlaySlash:Play()
- arm.Touched:connect(function(hit)
- local Sun = char.SUN
- if hit.Parent.Name ~= char.Name then
- local Fly = Instance.new("BodyPosition",hit.Parent:WaitForChild("Torso"))
- Fly.position = Sun.Position
- Fly.maxForce = Vector3.new(5000,5000,5000)
- wait(5)
- for i = 1,10 do
- Sun.Size = Sun.Size - Vector3.new(10,10,10)
- Sun.ParticleEmitter.Size = NumberSequence.new(5)
- Sun.ParticleEmitter.Rate = 40
- Sun.ParticleEmitter.Speed = NumberRange.new(5)
- Sun.ParticleEmitter.LightEmission = 0
- wait()
- end
- wait(2)
- local efff = Instance.new("Part", hit.Parent)
- for i = 1,5 do
- eff = efff:Clone()
- eff.Transparency = .5
- eff.Parent = hit.Parent
- eff.Anchored = true
- eff.CanCollide = false
- eff.CFrame = hit.Parent.Torso.CFrame
- eff.Size = Vector3.new(5,1,5)
- local me = Instance.new("SpecialMesh", eff)
- me.MeshType = "FileMesh"
- me.MeshId = "http://www.roblox.com/asset/?id=20329976"
- for i = 1,10 do
- game:GetService("RunService").Stepped:wait()
- me.Scale = me.Scale + Vector3.new(15,6,15)
- end
- hit.Parent:WaitForChild("Humanoid").Health = hit.Parent:WaitForChild("Humanoid").Health - 5
- wait()
- game:GetService("Debris"):AddItem(eff,1)
- end
- wait(1)
- for i = 1,10 do
- Sun.Size = Sun.Size + Vector3.new(10,10,10)
- wait()
- end
- wait(1)
- Sun:remove()
- Fly:remove()
- end
- end)
- end
- if key == "t" and not enabled then
- enabled = true
- local Sun = char.SUN
- local S1 = Sun:clone()
- local S2 = Sun:clone()
- local S3 = Sun:clone()
- local S4 = Sun:clone()
- S1.Parent = Sun
- S2.Parent = Sun
- S3.Parent = Sun
- S4.Parent = Sun
- Sun.Transparency = 1
- Sun.ParticleEmitter:remove()
- S1.CFrame = Sun.CFrame *CFrame.new(0,0,-55)
- S2.CFrame = Sun.CFrame *CFrame.new(0,0,55)
- S3.CFrame = Sun.CFrame *CFrame.new(55,0,0)
- S4.CFrame = Sun.CFrame *CFrame.new(-55,0,0)
- for i = 1,10 do
- S1.Size = S1.Size - Vector3.new(5,5,5)
- S2.Size = S2.Size - Vector3.new(5,5,5)
- S3.Size = S3.Size - Vector3.new(5,5,5)
- S4.Size = S4.Size - Vector3.new(5,5,5)
- wait()
- end
- wait(2)
- S1.Anchored = false
- local Fly = Instance.new("BodyPosition",S1)
- Fly.position = m.Hit.p
- Fly.maxForce = Vector3.new(500000000,500000000,500000000)
- S1.Touched:connect(function(hit)
- if hit.Parent.Name ~= p.Name and hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
- for i = 1,10 do
- wait()
- S1.Size = S1.Size + Vector3.new(1,1,1)
- S1.Transparency = S1.Transparency + .1
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end
- end)
- wait(1)
- S1:remove()
- S2.Anchored = false
- local Fly = Instance.new("BodyPosition",S2)
- Fly.position = m.Hit.p
- Fly.maxForce = Vector3.new(500000000,500000000,500000000)
- S2.Touched:connect(function(hit)
- if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
- for i = 1,10 do
- wait()
- S2.Size = S2.Size + Vector3.new(1,1,1)
- S2.Transparency = S2.Transparency + .1
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end
- end)
- wait(1)
- S2:remove()
- S3.Anchored = false
- local Fly = Instance.new("BodyPosition",S3)
- Fly.position = m.Hit.p
- Fly.maxForce = Vector3.new(500000000,500000000,500000000)
- S3.Touched:connect(function(hit)
- if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
- for i = 1,10 do
- wait()
- S3.Size = S3.Size + Vector3.new(1,1,1)
- S3.Transparency = S3.Transparency + .1
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end
- end)
- wait(1)
- S3:remove()
- S4.Anchored = false
- local Fly = Instance.new("BodyPosition",S4)
- Fly.position = m.Hit.p
- Fly.maxForce = Vector3.new(500000000,500000000,500000000)
- S4.Touched:connect(function(hit)
- if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
- for i = 1,10 do
- wait()
- S4.Size = S4.Size + Vector3.new(1,1,1)
- S4.Transparency = S4.Transparency + .1
- hit.Parent.Humanoid:TakeDamage(50)
- end
- end
- end)
- wait(1)
- S4:remove()
- end
- end)
Add Comment
Please, Sign In to add comment