djroese

Untitled

Mar 10th, 2018
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.04 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13. local deb = false
  14. local shot = 0
  15. local debris=game:service"Debris"
  16. local l = game:GetService("Lighting")
  17. local rs = game:GetService("RunService").RenderStepped
  18. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  19. math.randomseed(os.time())
  20. for i,v in pairs(char:children()) do
  21. if v:IsA("Hat") then
  22. v:Destroy()
  23. end
  24. end
  25. for i,v in pairs (hed:GetChildren()) do
  26. if v:IsA("Sound") then
  27. v:Destroy()
  28. end
  29. end
  30. ----------------------------------------------------
  31. Debounces = {
  32. CanAttack = true;
  33. NoIdl = false;
  34. Slashing = false;
  35. Slashed = false;
  36. RPunch = false;
  37. RPunched = false;
  38. LPunch = false;
  39. LPunched = false;
  40. }
  41. local Touche = {char.Name, }
  42. ----------------------------------------------------
  43. hed.face.Texture = "rbxassetid://33395282"
  44. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  45. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  46. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  47. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  48. ----------------------------------------------------
  49. ypcall(function()
  50. char.Shirt:Destroy()
  51. char.Pants:Destroy()
  52. shirt = Instance.new("Shirt", char)
  53. shirt.Name = "Shirt"
  54. pants = Instance.new("Pants", char)
  55. pants.Name = "Pants"
  56. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=513620832"
  57. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=513621366"
  58. end)
  59. ----------------------------------------------------
  60. LoudVolume = false
  61. Submerged = false
  62. Music = true
  63. script.Name = "GOKU"
  64. Player = game.Players.LocalPlayer
  65. c = game.Players.LocalPlayer.Character
  66. Head = c.Head
  67. anim = c.Humanoid.Animator
  68. Humanoid = c:findFirstChild("Humanoid")
  69. Humanoid.Name = "InfiniteBeing"
  70. b23 = Instance.new("BoolValue", c)
  71. b23.Name = "InfiniteHuman"
  72. rage = false
  73. p = game.Players.LocalPlayer
  74. Music = false
  75. local Effects = {}
  76. attack = false
  77. local attacking = false
  78. vt = Vector3.new
  79. bc = BrickColor.new
  80. br = BrickColor.random
  81. it = Instance.new
  82. cf = CFrame.new
  83. euler = CFrame.fromEulerAnglesXYZ
  84. angles = CFrame.Angles
  85. matr = math.random
  86. mouse = Player:GetMouse()
  87. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  88. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  89. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  90. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  91. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  92. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  93. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  94. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  95. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  96. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  97. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  98. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  99. RS = c.Torso:FindFirstChild("Right Shoulder")
  100. LS = c.Torso:FindFirstChild("Left Shoulder")
  101. RH = c.Torso:FindFirstChild("Right Hip")
  102. LH = c.Torso:FindFirstChild("Left Hip")
  103. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  104. N = c.Torso:FindFirstChild("Neck")
  105. cf = CFrame.new
  106. ang = CFrame.Angles
  107. rd = math.rad
  108. rd2 = math.random
  109. function swait(num)
  110. if num == 0 or num == nil then
  111. game:service("RunService").Heartbeat:wait(0)
  112. else
  113. for i = 0, num do
  114. game:service("RunService").Heartbeat:wait(0)
  115. end
  116. end
  117. end
  118. function lerpz(joint, prop, cfrmz, alp)
  119. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  120. end
  121. function resetlerp()
  122. RJ.C0 = RJC0
  123. RJ.C1 = RJC1
  124. N.C0 = NC0
  125. N.C1 = NC1
  126. RS.C0 = RSC0
  127. RS.C1 = RSC1
  128. LS.C0 = LSC0
  129. LS.C1 = LSC1
  130. RH.C0 = RHC0
  131. RH.C1 = RHC1
  132. LH.C0 = LHC0
  133. LH.C1 = LHC1
  134. end
  135. for _, c in pairs(c:children()) do
  136. if c.className == "Accessory" then
  137. c.Parent = nil
  138. end
  139. end
  140. local S2 = Instance.new("Sound", c.HumanoidRootPart)
  141. S2.SoundId = ""
  142. S2.Volume = 0
  143. S2.Looped = true
  144. local P = Instance.new("Part", c)
  145. P.CanCollide = false
  146. P.Size = Vector3.new(0.2, 0.2, 0.2)
  147. P.BrickColor = BrickColor.new("Really black")
  148. local M = Instance.new("SpecialMesh", P)
  149. M.MeshId = "rbxassetid://884095858"
  150. M.Scale = Vector3.new(0.04, 0.04, 0.04)
  151. M.Offset = Vector3.new(-0.225, 0.65, -0.1)
  152. local W = Instance.new("Weld", c.Head)
  153. W.Part0 = c.Head
  154. W.Part1 = P
  155. W.C0 = CFrame.Angles(0, math.rad(180), 0)
  156. trazx = Instance.new("ParticleEmitter")
  157. function New(Object, Parent, Name, Data)
  158. local Object = Instance.new(Object)
  159. for Index, Value in pairs(Data or {}) do
  160. Object[Index] = Value
  161. end
  162. Object.Parent = Parent
  163. Object.Name = Name
  164. return Object
  165. end
  166. Form = "None"
  167. function SSJB()
  168. if Form == "None" then
  169. Form = "SSJB"
  170. hed.face.Texture = "rbxassetid://439123785"
  171. attack = true
  172. anim.Parent = nil
  173. for i = 1, 35 do
  174. swait()
  175. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  176. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(0)), 0.3)
  177. lerpz(RS, "C0", RSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(140)), 0.3)
  178. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  179. lerpz(LS, "C0", LSC0 * cf(0, 0, -0.5) * ang(rd(-45), rd(0), rd(-140)), 0.3)
  180. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  181. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(-25)), 0.3)
  182. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  183. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-15), rd(0), rd(25)), 0.3)
  184. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  185. end
  186. local S = Instance.new("Sound", c.HumanoidRootPart)
  187. S.SoundId = "rbxassetid://263260463"
  188. S.Volume = 1
  189. S:Play()
  190. local S2 = Instance.new("Sound", c.HumanoidRootPart)
  191. S2.SoundId = "rbxassetid://600060450"
  192. S2.Looped = true
  193. S2:Play()
  194. for i = 1, 15 do
  195. swait()
  196. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  197. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  198. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-5), rd(5), rd(45)), 0.5)
  199. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  200. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-5), rd(-5), rd(-45)), 0.5)
  201. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  202. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-10), rd(10)), 0.5)
  203. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  204. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(10), rd(-10)), 0.5)
  205. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  206. end
  207. for i, v in pairs(c:children()) do
  208. if v.ClassName == "Part" then
  209. local tra = trazx:clone()
  210. tra.Parent = v
  211. tra.LightEmission = 1
  212. tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1))
  213. tra.Rate = 15
  214. tra.Rotation = NumberRange.new(-5, 5)
  215. tra.Lifetime = NumberRange.new(1.5, 2)
  216. tra.Size = NumberSequence.new({
  217. NumberSequenceKeypoint.new(0, 0.1, 0),
  218. NumberSequenceKeypoint.new(1, 0, 0)
  219. })
  220. tra.Transparency = NumberSequence.new({
  221. NumberSequenceKeypoint.new(0, 1, 0),
  222. NumberSequenceKeypoint.new(0.135, 0, 0),
  223. NumberSequenceKeypoint.new(0.875, 0, 0),
  224. NumberSequenceKeypoint.new(1, 1, 0)
  225. })
  226. tra.Speed = NumberRange.new(0.5)
  227. tra.VelocitySpread = 360
  228. tra.VelocityInheritance = 0.5
  229. tra.ZOffset = 2
  230. tra.Acceleration = Vector3.new(0, 2.5, 0)
  231. end
  232. end
  233. local tra = trazx:clone()
  234. tra.Parent = c.HumanoidRootPart
  235. tra.Texture = "rbxassetid://347730682"
  236. tra.LightEmission = 0.8
  237. tra.Color = ColorSequence.new(Color3.new(0, 0.6666666666666666, 1))
  238. tra.Rate = 250
  239. tra.Rotation = NumberRange.new(-5, 5)
  240. tra.Lifetime = NumberRange.new(0.75)
  241. tra.Size = NumberSequence.new({
  242. NumberSequenceKeypoint.new(0, 4.81, 0.875),
  243. NumberSequenceKeypoint.new(1, 2.13, 0.875)
  244. })
  245. tra.Transparency = NumberSequence.new({
  246. NumberSequenceKeypoint.new(0, 1, 0),
  247. NumberSequenceKeypoint.new(0.0399, 0.85, 0),
  248. NumberSequenceKeypoint.new(0.394, 0.9, 0),
  249. NumberSequenceKeypoint.new(0.699, 1, 0),
  250. NumberSequenceKeypoint.new(1, 1, 0)
  251. })
  252. tra.Speed = NumberRange.new(15)
  253. tra.VelocitySpread = 360
  254. tra.VelocityInheritance = 0.5
  255. tra.ZOffset = 3.5
  256. tra.Acceleration = Vector3.new(0, 25, 0)
  257. for i = 1, 25 do
  258. for i = 1, 3 do
  259. swait()
  260. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.4) * ang(rd(12), rd(0), rd(0)), 0.5)
  261. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  262. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(50)), 0.5)
  263. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  264. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-50)), 0.5)
  265. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  266. lerpz(RH, "C0", RHC0 * cf(0.35, 0.35, 0.05) * ang(rd(0), rd(-12), rd(12)), 0.5)
  267. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  268. lerpz(LH, "C0", LHC0 * cf(-0.35, 0.35, 0.05) * ang(rd(0), rd(12), rd(-12)), 0.5)
  269. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  270. end
  271. for i = 1, 3 do
  272. swait()
  273. lerpz(RJ, "C0", RJC0 * cf(0, 0, -0.35) * ang(rd(10), rd(0), rd(0)), 0.5)
  274. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(35), rd(0), rd(0)), 0.5)
  275. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(-15), rd(5), rd(45)), 0.5)
  276. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  277. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-15), rd(-5), rd(-45)
Add Comment
Please, Sign In to add comment