Bruno972

fire test

Apr 7th, 2018
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1. local Player = game.Players.Bruno973
  2. local Character = Player.Character
  3. RS = Character.Torso["Right Shoulder"]
  4. local Mouse = Player:GetMouse()
  5. MH = Mouse.Hit + Vector3.new(15, 15, 15)
  6. Character.Humanoid.MaxHealth = 5000
  7. Character.Humanoid.Health = 5000
  8.  
  9. k = Instance.new("Sound", Character.Head)
  10. k.SoundId = "rbxassetid://586187912"
  11. k.Volume = 10
  12.  
  13. function onKeyDown(key)
  14. key = key:lower()
  15. if key == "f" then
  16. for i = 1,3 do
  17. RS.C0 = RS.C0*CFrame.Angles(0,0,0.5)
  18. wait()
  19. end
  20. k:Play()
  21. local Fireball = Instance.new("Part", game.Workspace)
  22. Fireball.Name = "Fireball"
  23. game.Debris:AddItem(Fireball, 7)
  24. Fireball.Shape = "Ball"
  25. Fireball.BrickColor = BrickColor.new("Really red")
  26. Fireball.Transparency = 0.7
  27. Fireball.TopSurface = 0
  28. Fireball.Size = Vector3.new(13, 13, 13)
  29. Fireball.BottomSurface = 0
  30. Fireball.CanCollide = false
  31. Fireball.Locked = true
  32. Fireball.CFrame = Character.Torso.CFrame*CFrame.new(0,0,-12)
  33. local BodyVelocity = Instance.new("BodyVelocity", Fireball)
  34. BodyVelocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  35. BodyVelocity.velocity = Mouse.Hit.lookVector*80
  36. function Hurt(Part)
  37. if Part.Parent:FindFirstChild("Humanoid") then
  38. Part.Parent:Remove()
  39. end
  40. end
  41. Fireball.Touched:connect(Hurt)
  42. wait(5)
  43. for i = 1,3 do
  44. RS.C0 = RS.C0*CFrame.Angles(0,0,-0.5)
  45. wait()
  46. end
  47. end
  48. end
  49. Mouse.KeyDown:connect(onKeyDown)
  50. function giant(p, size)
  51. local pchar = p.Character
  52. if pchar then
  53. local function scale(chr,scl)
  54.  
  55. for _,v in pairs(pchar:GetChildren()) do
  56. if v:IsA("Hat") then
  57. v:Clone()
  58. v.Parent = game.Lighting
  59. end
  60. end
  61.  
  62. local Head = chr['Head']
  63. local Torso = chr['Torso']
  64. local LA = chr['Left Arm']
  65. local RA = chr['Right Arm']
  66. local LL = chr['Left Leg']
  67. local RL = chr['Right Leg']
  68. local HRP = chr['HumanoidRootPart']
  69.  
  70. wait(0.1)
  71.  
  72. Head.formFactor = 3
  73. Torso.formFactor = 3
  74. LA.formFactor = 3
  75. RA.formFactor = 3
  76. LL.formFactor = 3
  77. RL.formFactor = 3
  78. HRP.formFactor = 3
  79.  
  80. Head.Size = Vector3.new(scl * 2, scl, scl)
  81. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  82. LA.Size = Vector3.new(scl, scl * 2, scl)
  83. RA.Size = Vector3.new(scl, scl * 2, scl)
  84. LL.Size = Vector3.new(scl, scl * 2, scl)
  85. RL.Size = Vector3.new(scl, scl * 2, scl)
  86. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  87.  
  88. local Motor1 = Instance.new('Motor6D', Torso)
  89. Motor1.Part0 = Torso
  90. Motor1.Part1 = Head
  91. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  92. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  93. Motor1.Name = "Neck"
  94.  
  95. local Motor2 = Instance.new('Motor6D', Torso)
  96. Motor2.Part0 = Torso
  97. Motor2.Part1 = LA
  98. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  99. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  100. Motor2.Name = "Left Shoulder"
  101.  
  102. local Motor3 = Instance.new('Motor6D', Torso)
  103. Motor3.Part0 = Torso
  104. Motor3.Part1 = RA
  105. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  106. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  107. Motor3.Name = "Right Shoulder"
  108.  
  109. local Motor4 = Instance.new('Motor6D', Torso)
  110. Motor4.Part0 = Torso
  111. Motor4.Part1 = LL
  112. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  113. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  114. Motor4.Name = "Left Hip"
  115.  
  116. local Motor5 = Instance.new('Motor6D', Torso)
  117. Motor5.Part0 = Torso
  118. Motor5.Part1 = RL
  119. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  120. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  121. Motor5.Name = "Right Hip"
  122.  
  123. local Motor6 = Instance.new('Motor6D', HRP)
  124. Motor6.Part0 = HRP
  125. Motor6.Part1 = Torso
  126. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  127. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  128.  
  129. end
  130.  
  131. scale(pchar, size)
  132. pchar.Humanoid.WalkSpeed = 15 * size
  133.  
  134. for _,v in pairs(game.Lighting:GetChildren()) do
  135. if v:IsA("Hat") then
  136. v.Parent = pchar
  137. end
  138. end
  139. end
  140. end
  141.  
  142. local plr = game.Players.LocalPlayer
  143. giant(plr,1)
  144.  
  145.  
  146. local csize = 7.6
  147.  
  148. local sgui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  149. local base = Instance.new("Frame", sgui)
  150. base.BackgroundTransparency = 1
  151. base.Size = UDim2.new(0, 110, 0, 200)
  152. base.Position = UDim2.new(1, -120, 1, -180)
  153. local indicator = Instance.new("TextLabel", base)
  154. indicator.Size = UDim2.new(1, 0, 0, 25)
  155. indicator.TextColor3 = Color3.new(1, 1, 1)
  156. indicator.BackgroundTransparency = 0
  157. indicator.FontSize = Enum.FontSize.Size18
  158. indicator.Font = Enum.Font.SourceSans
  159. indicator.Text = "Current Size: 3"
  160. local PlusOne = Instance.new("TextButton", base)
  161. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  162. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  163. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  164. PlusOne.BorderSizePixel = 2
  165. PlusOne.Font = Enum.Font.SourceSansBold
  166. PlusOne.FontSize = Enum.FontSize.Size24
  167. PlusOne.Text = "+0 Size"
  168. local MinusOne = Instance.new("TextButton", base)
  169. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  170. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  171. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  172. MinusOne.Text = "-0 Size"
  173. MinusOne.BorderSizePixel = 2
  174. MinusOne.Font = Enum.Font.SourceSansBold
  175. MinusOne.FontSize = Enum.FontSize.Size24
  176.  
  177. PlusOne.MouseButton1Down:connect(function()
  178. csize = csize + 0
  179. giant(plr, csize)
  180. indicator.Text = "Current Size: "..tostring(csize)
  181. end)
  182.  
  183. MinusOne.MouseButton1Down:connect(function()
  184. csize = csize - 0
  185. giant(plr, csize)
  186. indicator.Text = "Current Size: "..tostring(csize)
  187. end)
Advertisement
Add Comment
Please, Sign In to add comment