REDPlays

LSSJ Broly Transformation

Jun 15th, 2018
1,548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.76 KB | None | 0 0
  1. script:WaitForChild("Transform")
  2. local Player = game.Players.LocalPlayer
  3. local Character = Player.Character
  4. local UserInput = game:GetService("UserInputService")
  5. transform = true
  6. Form = script.Transform
  7.  
  8.  
  9. UserInput.InputBegan:connect(function(Key)
  10.     if Key.KeyCode == Enum.KeyCode.E and transform == true then
  11.         transform = false
  12.         print("AHHHGGG")
  13.        
  14.         local Anim = Character:FindFirstChild("Humanoid"):LoadAnimation(Form)
  15.         Anim:Play()
  16.        
  17.         local Particle = Instance.new("ParticleEmitter")
  18.         Particle.Color = ColorSequence.new(Color3.fromRGB(50,190,11))
  19.         Particle.LightEmission = 1
  20.         Particle.Size = NumberSequence.new(9,9)
  21.         Particle.LockedToPart = true
  22.         Particle.Texture = "rbxassetid://347730682"
  23.         Particle.Transparency = NumberSequence.new(0.8,0.8)
  24.         Particle.Lifetime = NumberRange.new(1,1)
  25.         Particle.Rate = 20
  26.         Particle.Speed = NumberRange.new(0,0)
  27.         Particle.Parent = Character.LowerTorso
  28.        
  29.         local Depth = Character.Humanoid.BodyDepthScale
  30.         Depth.Value = Depth.Value * 1.5
  31.        
  32.         local Height = Character.Humanoid.BodyHeightScale
  33.         Height.Value = Height.Value * 1.5
  34.        
  35.         local Proportion = Character.Humanoid.BodyProportionScale
  36.         Proportion.Value = Proportion.Value * 1.5
  37.        
  38.         local Width = Character.Humanoid.BodyWidthScale
  39.         Width.Value = Width.Value * 1.5
  40.        
  41.         local Head = Character.Humanoid.HeadScale
  42.         Head.Value = Head.Value * 1.5
  43.        
  44.         local Beam1 = Instance.new("Part")
  45.         Beam1.Shape = "Cylinder"
  46.         Beam1.Material = "Neon"
  47.         Beam1.BrickColor = BrickColor.new("Shamrock")
  48.         Beam1.CFrame = Character:FindFirstChild("UpperTorso").CFrame
  49.         Beam1.Anchored = true
  50.         Beam1.Size = Vector3.new(25,.5,.5)
  51.         Beam1.CanCollide = false
  52.         Beam1.Parent = Character:FindFirstChild("UpperTorso")
  53.        
  54.         local Beam2 = Instance.new("Part")
  55.         Beam2.Shape = "Cylinder"
  56.         Beam2.Material = "Neon"
  57.         Beam2.BrickColor = BrickColor.new("Shamrock")
  58.         Beam2.CFrame = Character:FindFirstChild("UpperTorso").CFrame
  59.         Beam2.Anchored = true
  60.         Beam2.Size = Vector3.new(25,.5,.5)
  61.         Beam2.CanCollide = false
  62.         Beam2.Parent = Character:FindFirstChild("UpperTorso")
  63.        
  64.         local Beam3 = Instance.new("Part")
  65.         Beam3.Shape = "Cylinder"
  66.         Beam3.Material = "Neon"
  67.         Beam3.BrickColor = BrickColor.new("Shamrock")
  68.         Beam3.CFrame = Character:FindFirstChild("UpperTorso").CFrame
  69.         Beam3.Anchored = true
  70.         Beam3.Size = Vector3.new(25,.5,.5)
  71.         Beam3.CanCollide = false
  72.         Beam3.Parent = Character:FindFirstChild("UpperTorso")
  73.        
  74.         local Beam4 = Instance.new("Part")
  75.         Beam4.Shape = "Cylinder"
  76.         Beam4.Material = "Neon"
  77.         Beam4.BrickColor = BrickColor.new("Shamrock")
  78.         Beam4.CFrame = Character:FindFirstChild("UpperTorso").CFrame
  79.         Beam4.Anchored = true
  80.         Beam4.Size = Vector3.new(25,.5,.5)
  81.         Beam4.CanCollide = false
  82.         Beam4.Parent = Character:FindFirstChild("UpperTorso")
  83.        
  84.         local Ball = Instance.new("Part")
  85.         Ball.Shape = "Ball"
  86.         Ball.Size = Vector3.new(1,1,1)
  87.         Ball.Transparency = .2
  88.         Ball.CanCollide = false
  89.         Ball.Anchored = true
  90.         Ball.BrickColor = BrickColor.new("Shamrock")
  91.         Ball.CFrame = Character:FindFirstChild("UpperTorso").CFrame
  92.         Ball.Material = "Neon"
  93.         Ball.Parent = Character:FindFirstChild("UpperTorso")
  94.        
  95.         for i=0,50,1 do
  96.             Beam1.Orientation = Beam1.Orientation + Vector3.new(math.random(1,360),math.random(1,360),math.random(1,360))
  97.             Beam2.Orientation = Beam1.Orientation + Vector3.new(math.random(1,360),math.random(1,360),math.random(1,360))
  98.             Beam3.Orientation = Beam1.Orientation + Vector3.new(math.random(1,360),math.random(1,360),math.random(1,360))
  99.             Beam4.Orientation = Beam1.Orientation + Vector3.new(math.random(1,360),math.random(1,360),math.random(1,360))
  100.             Ball.Size = Ball.Size + Vector3.new(.5,.5,.5)
  101.             wait()
  102.         end
  103.         Beam1:Destroy()
  104.         Beam2:Destroy()
  105.         Beam3:Destroy()
  106.         Beam4:Destroy()
  107.         Ball:Destroy()
  108.     end
  109. end)
Advertisement
Add Comment
Please, Sign In to add comment