Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Variables--
- local p = game.Players.LocalPlayer
- local c = p.Character
- local m = p:GetMouse()
- local tor = c:WaitForChild("Torso")
- local h = c:WaitForChild("Head")
- local rl = c:WaitForChild("Right Leg")
- local ll = c:WaitForChild("Left Leg")
- local ra = c:WaitForChild("Right Arm")
- local rl = c:WaitForChild("Left Leg")
- local hum = c:WaitForChild("Humanoid")
- local gui = p.PlayerGui
- --end--
- --Coroutines--
- --local chain = coroutine.create(function(Torso,num)
- -- local pw = Instance.new("MeshPart")
- -- for o=1, num do
- -- if Torso.Parent==nil then
- -- return
- -- end
- -- pw.Parent = Torso
- -- local cr = math.random(1,2)
- -- if cr == 1 then
- -- pw.BrickColor = BrickColor.new("Really blue")
- -- else
- -- pw.BrickColor = BrickColor.new("Magenta")
- -- end
- -- pw.Anchored = true
- -- pw.CanCollide = false
- -- pw.CFrame = Torso.CFrame
- --
- -- wait()
- --
- -- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)CFrame.Angles(0,math.random(-100,100)/100,0) wait() end part.Parent=nil end),pw,Vector3.new(0,0,0))
- --end
- --
- --pw:remove()
- --end)
- DCCO3=function(Torso,ti)
- for o=1, ti do
- if Torso.Parent==nil then
- return
- end
- p2=Instance.new("MeshPart")
- p2.MeshID = "rbxassetid://436916654"
- p2.Name="Blast2"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- local cr = math.random(1,2)
- if cr == 1 then
- p2.BrickColor = BrickColor.new("Really blue")
- else
- p2.BrickColor = BrickColor.new("Magenta")
- end
- p2.Size=Vector3.new(1,1,1)
- p2.formFactor="Symmetric"
- p2.CFrame=Torso.CFrame
- p2.Parent=Torso
- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-10,10), math.random(0,0), math.random(0,0)) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
- wait(.025)
- end
- end
- DCCO5=function(part,Torso,ti)
- for o=1, ti do
- if Torso.Parent==nil then
- return
- end
- local pw = Instance.new("MeshPart")
- pw.Parent = Torso
- local cr = math.random(1,2)
- if cr == 1 then
- pw.BrickColor = BrickColor.new("Really blue")
- else
- pw.BrickColor = BrickColor.new("Magenta")
- end
- pw.Anchored = true
- pw.CanCollide = false
- pw.CFrame = Torso.CFrame
- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.Transparency=loll*.20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(0,0), math.random(-100,100)/100, math.random(0,0)) wait() end part.Parent=nil end),pw,Vector3.new(0,0,0))
- wait(.025)
- end
- end
- --end--
- p.Chatted:connect(function(msg)
- if msg:sub(1,28) == "remember what you did to me?" then
- print'Activated'
- coroutine.resume(coroutine.create(DCCO3),tor,20)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment