Advertisement
Guest User

Untitled

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