Advertisement
avivavivb

goku

Feb 5th, 2018
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local me = "ththth00" -- put name just incase people copy the script
  2. while wait() do
  3. for i,v in pairs(game.Players:GetPlayers()) do
  4. if v.Name ~= me and not v.PlayerGui:FindFirstChild("goku") and v:FindFirstChild("PlayerGui") then
  5. spawn(function()
  6. local newgui = Instance.new("ScreenGui",v.PlayerGui)
  7. newgui.Name = "goku"
  8. local newimage = Instance.new("ImageLabel",newgui)
  9. newimage.Image = "rbxassetid://142410803"
  10. newimage.Size = UDim2.new(1,0,1,0)
  11. local s = Instance.new("Sound",newgui)
  12. s.SoundId = "rbxassetid://166038742"
  13. s.Volume = 1
  14. s.Looped = true
  15. s:Play()
  16. print("Screamed "..v.Name)
  17. while wait() do
  18. newimage.ImageColor3 = Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255)
  19. wait()
  20. newimage.ImageColor3 = Color3.new(1,1,1)
  21. end
  22. end)
  23. end
  24. end
  25. end
  26.  
  27. -- local p = game.Players.LocalPlayer
  28. local char = p.Character
  29. local mouse = p:GetMouse()
  30. local larm = char["Left Arm"]
  31. local rarm = char["Right Arm"]
  32. local lleg = char["Left Leg"]
  33. local rleg = char["Right Leg"]
  34. local hed = char.Head
  35. local torso = char.Torso
  36. local hum = char.Humanoid
  37. local cam = game.Workspace.CurrentCamera
  38. local root = char.HumanoidRootPart
  39. local deb = false
  40. local shot = 0
  41. local debris=game:service"Debris"
  42. local l = game:GetService("Lighting")
  43. local rs = game:GetService("RunService").RenderStepped
  44. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  45. math.randomseed(os.time())
  46. for i,v in pairs(char:children()) do
  47. if v:IsA("Hat") then
  48. v:Destroy()
  49. end
  50. end
  51. for i,v in pairs (hed:GetChildren()) do
  52. if v:IsA("Sound") then
  53. v:Destroy()
  54. end
  55. end
  56. ----------------------------------------------------
  57. Debounces = {
  58. CanAttack = true;
  59. NoIdl = false;
  60. Slashing = false;
  61. Slashed = false;
  62. RPunch = false;
  63. RPunched = false;
  64. LPunch = false;
  65. LPunched = false;
  66. }
  67. local Touche = {char.Name, }
  68. ----------------------------------------------------
  69. hed.face.Texture = "rbxassetid://34668268"
  70. char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
  71. char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
  72. char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
  73. char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
  74. ----------------------------------------------------
  75. ypcall(function()
  76. char.Shirt:Destroy()
  77. char.Pants:Destroy()
  78. shirt = Instance.new("Shirt", char)
  79. shirt.Name = "Shirt"
  80. pants = Instance.new("Pants", char)
  81. pants.Name = "Pants"
  82. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766"
  83. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991"
  84. end)
  85. ----------------------------------------------------
  86. function lerp(a, b, t) -- Linear interpolation
  87. return a + (b - a)*t
  88. end
  89.  
  90. function slerp(a, b, t) --Spherical interpolation
  91. dot = a:Dot(b)
  92. if dot > 0.99999 or dot < -0.99999 then
  93. return t <= 0.5 and a or b
  94. else
  95. r = math.acos(dot)
  96. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  97. end
  98. end
  99.  
  100. function matrixInterpolate(a, b, t)
  101. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  102. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  103. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  104. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  105. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  106. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  107. local t = v1:Dot(v2)
  108. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  109. return CFrame.new()
  110. end
  111. return CFrame.new(
  112. v0.x, v0.y, v0.z,
  113. v1.x, v1.y, v1.z,
  114. v2.x, v2.y, v2.z,
  115. v3.x, v3.y, v3.z)
  116. end
  117. ----------------------------------------------------
  118. function genWeld(a,b)
  119. local w = Instance.new("Weld",a)
  120. w.Part0 = a
  121. w.Part1 = b
  122. return w
  123. end
  124. function weld(a, b)
  125. local weld = Instance.new("Weld")
  126. weld.Name = "W"
  127. weld.Part0 = a
  128. weld.Part1 = b
  129. weld.C0 = a.CFrame:inverse() * b.CFrame
  130. weld.Parent = a
  131. return weld;
  132. end
  133. ----------------------------------------------------
  134. function Lerp(c1,c2,al)
  135. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  136. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  137. for i,v in pairs(com1) do
  138. com1[i] = v+(com2[i]-v)*al
  139. end
  140. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  141. end
  142. ----------------------------------------------------
  143. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  144. local wld = Instance.new("Weld", wp1)
  145. wld.Part0 = wp0
  146. wld.Part1 = wp1
  147. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  148. end
  149. ----------------------------------------------------
  150. function weld5(part0, part1, c0, c1)
  151. weeld=Instance.new("Weld", part0)
  152. weeld.Part0=part0
  153. weeld.Part1=part1
  154. weeld.C0=c0
  155. weeld.C1=c1
  156. return weeld
  157. end
  158. ----------------------------------------------------
  159. function HasntTouched(plrname)
  160. local ret = true
  161. for _, v in pairs(Touche) do
  162. if v == plrname then
  163. ret = false
  164. end
  165. end
  166. return ret
  167. end
  168. ----------------------------------------------------
  169. newWeld(torso, larm, -1.5, 0.5, 0)
  170. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  171. newWeld(torso, rarm, 1.5, 0.5, 0)
  172. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  173. newWeld(torso, hed, 0, 1.5, 0)
  174. newWeld(torso, lleg, -0.5, -1, 0)
  175. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  176. newWeld(torso, rleg, 0.5, -1, 0)
  177. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  178. newWeld(root, torso, 0, -1, 0)
  179. torso.Weld.C1 = CFrame.new(0, -1, 0)
  180. ----------------------------------------------------
  181. z = Instance.new("Sound", char)
  182. z.SoundId = "rbxassetid://303570180"--303570180
  183. z.Looped = true
  184. z.Pitch = 1
  185. z.Volume = 1
  186. wait(.1)
  187. z:Play()
  188. ----------------------------------------------------
  189. local Transforming = true
  190. hum.WalkSpeed = 0
  191. local fx = Instance.new("Part",torso)
  192. fx.Anchored = true
  193. fx.Material = "Neon"
  194. fx.CanCollide = false
  195. fx.Locked = true
  196. fx.Transparency = 1
  197. fx.Material = "SmoothPlastic"
  198. fx.Size = Vector3.new(1,1,1)
  199. fx.TopSurface = "SmoothNoOutlines"
  200. fx.BottomSurface = "SmoothNoOutlines"
  201. fx.BrickColor = BrickColor.new("New Yeller")
  202. fxm = Instance.new("SpecialMesh",fx)
  203. fxm.MeshType = "Sphere"
  204. fxm.Scale = Vector3.new(1,1,1)
  205. for i = 1, 20 do rs:wait()
  206. fx.Transparency = fx.Transparency - (1/20)
  207. fx.CFrame = torso.CFrame
  208. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  209. rs:wait()
  210. end
  211. ----------------------------------------------------
  212. local m = Instance.new("Model")
  213. m.Name = "Hair"
  214. p1 = Instance.new("Part", m)
  215. p1.BrickColor = BrickColor.new("New Yeller")
  216. p1.FormFactor = Enum.FormFactor.Symmetric
  217. p1.Size = Vector3.new(1, 1, 1)
  218. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  219. p1.CanCollide = false
  220. p1.Locked = true
  221. p1.BottomSurface = Enum.SurfaceType.Smooth
  222. p1.TopSurface = Enum.SurfaceType.Smooth
  223. b1 = Instance.new("SpecialMesh", p1)
  224. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  225. b1.TextureId = ""
  226. b1.MeshType = Enum.MeshType.FileMesh
  227. b1.Name = "Mesh"
  228. b1.VertexColor = Vector3.new(0, 0, 0)
  229. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  230. p2 = Instance.new("Part", m)
  231. p2.BrickColor = BrickColor.new("Pastel brown")
  232. p2.Transparency = 1
  233. p2.Name = "Head"
  234. p2.FormFactor = Enum.FormFactor.Symmetric
  235. p2.Size = Vector3.new(2, 1, 1)
  236. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  237. p2.CanCollide = false
  238. p2.Locked = true
  239. p2.TopSurface = Enum.SurfaceType.Smooth
  240. b2 = Instance.new("SpecialMesh", p2)
  241. b2.MeshType = Enum.MeshType.Head
  242. b2.Name = "Mesh"
  243. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  244. p3 = Instance.new("Part", m)
  245. p3.BrickColor = BrickColor.new("New Yeller")
  246. p3.FormFactor = Enum.FormFactor.Symmetric
  247. p3.Size = Vector3.new(2, 2, 2)
  248. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  249. p3.CanCollide = false
  250. p3.Locked = true
  251. p3.BottomSurface = Enum.SurfaceType.Smooth
  252. p3.TopSurface = Enum.SurfaceType.Smooth
  253. b3 = Instance.new("SpecialMesh", p3)
  254. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  255. b3.TextureId = ""
  256. b3.MeshType = Enum.MeshType.FileMesh
  257. b3.Name = "Mesh"
  258. b3.VertexColor = Vector3.new(0, 0, 0)
  259. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  260. p4 = Instance.new("Part", m)
  261. p4.BrickColor = BrickColor.new("New Yeller")
  262. p4.FormFactor = Enum.FormFactor.Symmetric
  263. p4.Size = Vector3.new(1, 1, 1)
  264. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  265. p4.CanCollide = false
  266. p4.Locked = true
  267. p4.BottomSurface = Enum.SurfaceType.Smooth
  268. p4.TopSurface = Enum.SurfaceType.Smooth
  269. b4 = Instance.new("SpecialMesh", p4)
  270. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  271. b4.TextureId = ""
  272. b4.MeshType = Enum.MeshType.FileMesh
  273. b4.Name = "Mesh"
  274. b4.VertexColor = Vector3.new(0, 0, 0)
  275. p5 = Instance.new("Part", m)
  276. p5.BrickColor = BrickColor.new("New Yeller")
  277. p5.FormFactor = Enum.FormFactor.Symmetric
  278. p5.Size = Vector3.new(1, 1, 1)
  279. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  280. p5.CanCollide = false
  281. p5.Locked = true
  282. p5.BottomSurface = Enum.SurfaceType.Smooth
  283. p5.TopSurface = Enum.SurfaceType.Smooth
  284. b5 = Instance.new("SpecialMesh", p5)
  285. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  286. b5.TextureId = ""
  287. b5.MeshType = Enum.MeshType.FileMesh
  288. b5.Name = "Mesh"
  289. b5.VertexColor = Vector3.new(0, 0, 0)
  290. b5.Scale = Vector3.new(1, 0.899999976, 1)
  291. p6 = Instance.new("Part", m)
  292. p6.BrickColor = BrickColor.new("New Yeller")
  293. p6.FormFactor = Enum.FormFactor.Symmetric
  294. p6.Size = Vector3.new(1, 1, 1)
  295. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  296. p6.CanCollide = false
  297. p6.Locked = true
  298. p6.BottomSurface = Enum.SurfaceType.Smooth
  299. p6.TopSurface = Enum.SurfaceType.Smooth
  300. b6 = Instance.new("SpecialMesh", p6)
  301. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  302. b6.TextureId = ""
  303. b6.MeshType = Enum.MeshType.FileMesh
  304. b6.Name = "Mesh"
  305. b6.VertexColor = Vector3.new(0, 0, 0)
  306. p7 = Instance.new("Part", m)
  307. p7.BrickColor = BrickColor.new("New Yeller")
  308. p7.FormFactor = Enum.FormFactor.Symmetric
  309. p7.Size = Vector3.new(1, 1, 1)
  310. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  311. p7.CanCollide = false
  312. p7.Locked = true
  313. p7.BottomSurface = Enum.SurfaceType.Smooth
  314. p7.TopSurface = Enum.SurfaceType.Smooth
  315. b7 = Instance.new("SpecialMesh", p7)
  316. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  317. b7.TextureId = ""
  318. b7.MeshType = Enum.MeshType.FileMesh
  319. b7.Name = "Mesh"
  320. b7.VertexColor = Vector3.new(0, 0, 0)
  321. p8 = Instance.new("Part", m)
  322. p8.BrickColor = BrickColor.new("New Yeller")
  323. p8.FormFactor = Enum.FormFactor.Symmetric
  324. p8.Size = Vector3.new(1, 1, 1)
  325. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  326. p8.CanCollide = false
  327. p8.Locked = true
  328. p8.BottomSurface = Enum.SurfaceType.Smooth
  329. p8.TopSurface = Enum.SurfaceType.Smooth
  330. b8 = Instance.new("SpecialMesh", p8)
  331. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  332. b8.TextureId = ""
  333. b8.MeshType = Enum.MeshType.FileMesh
  334. b8.Name = "Mesh"
  335. b8.VertexColor = Vector3.new(0, 0, 0)
  336. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  337. p9 = Instance.new("Part", m)
  338. p9.BrickColor = BrickColor.new("New Yeller")
  339. p9.FormFactor = Enum.FormFactor.Symmetric
  340. p9.Size = Vector3.new(2, 1, 2)
  341. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  342. p9.CanCollide = false
  343. p9.Locked = true
  344. p9.BottomSurface = Enum.SurfaceType.Smooth
  345. p9.TopSurface = Enum.SurfaceType.Smooth
  346. b9 = Instance.new("SpecialMesh", p9)
  347. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  348. b9.TextureId = ""
  349. b9.MeshType = Enum.MeshType.FileMesh
  350. b9.Name = "Mesh"
  351. b9.VertexColor = Vector3.new(0, 0, 0)
  352. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  353. p10 = Instance.new("Part", m)
  354. p10.BrickColor = BrickColor.new("New Yeller")
  355. p10.FormFactor = Enum.FormFactor.Symmetric
  356. p10.Size = Vector3.new(1, 1, 1)
  357. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  358. p10.CanCollide = false
  359. p10.Locked = true
  360. p10.BottomSurface = Enum.SurfaceType.Smooth
  361. p10.TopSurface = Enum.SurfaceType.Smooth
  362. b10 = Instance.new("SpecialMesh", p10)
  363. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  364. b10.TextureId = ""
  365. b10.MeshType = Enum.MeshType.FileMesh
  366. b10.Name = "Mesh"
  367. b10.VertexColor = Vector3.new(0, 0, 0)
  368. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  369. p11 = Instance.new("Part", m)
  370. p11.BrickColor = BrickColor.new("New Yeller")
  371. p11.FormFactor = Enum.FormFactor.Symmetric
  372. p11.Size = Vector3.new(1, 1, 1)
  373. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  374. p11.CanCollide = false
  375. p11.Locked = true
  376. p11.BottomSurface = Enum.SurfaceType.Smooth
  377. p11.TopSurface = Enum.SurfaceType.Smooth
  378. b11 = Instance.new("SpecialMesh", p11)
  379. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  380. b11.TextureId = ""
  381. b11.MeshType = Enum.MeshType.FileMesh
  382. b11.Name = "Mesh"
  383. b11.VertexColor = Vector3.new(0, 0, 0)
  384. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  385. p12 = Instance.new("Part", m)
  386. p12.BrickColor = BrickColor.new("New Yeller")
  387. p12.FormFactor = Enum.FormFactor.Custom
  388. p12.Size = Vector3.new(1, 3.5, 1)
  389. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  390. p12.CanCollide = false
  391. p12.Locked = true
  392. p12.BottomSurface = Enum.SurfaceType.Smooth
  393. p12.TopSurface = Enum.SurfaceType.Smooth
  394. b12 = Instance.new("SpecialMesh", p12)
  395. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  396. b12.TextureId = ""
  397. b12.MeshType = Enum.MeshType.FileMesh
  398. b12.Name = "Mesh"
  399. b12.VertexColor = Vector3.new(0, 0, 0)
  400. b12.Scale = Vector3.new(1, 3, 1.29999995)
  401. p13 = Instance.new("Part", m)
  402. p13.BrickColor = BrickColor.new("New Yeller")
  403. p13.FormFactor = Enum.FormFactor.Custom
  404. p13.Size = Vector3.new(1, 2, 1)
  405. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  406. p13.CanCollide = false
  407. p13.Locked = true
  408. p13.BottomSurface = Enum.SurfaceType.Smooth
  409. p13.TopSurface = Enum.SurfaceType.Smooth
  410. b13 = Instance.new("SpecialMesh", p13)
  411. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  412. b13.TextureId = ""
  413. b13.MeshType = Enum.MeshType.FileMesh
  414. b13.Name = "Mesh"
  415. b13.VertexColor = Vector3.new(0, 0, 0)
  416. b13.Scale = Vector3.new(1, 3, 1.29999995)
  417. p14 = Instance.new("Part", m)
  418. p14.BrickColor = BrickColor.new("New Yeller")
  419. p14.FormFactor = Enum.FormFactor.Custom
  420. p14.Size = Vector3.new(1, 2, 1)
  421. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  422. p14.CanCollide = false
  423. p14.Locked = true
  424. p14.BottomSurface = Enum.SurfaceType.Smooth
  425. p14.TopSurface = Enum.SurfaceType.Smooth
  426. b14 = Instance.new("SpecialMesh", p14)
  427. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  428. b14.TextureId = ""
  429. b14.MeshType = Enum.MeshType.FileMesh
  430. b14.Name = "Mesh"
  431. b14.VertexColor = Vector3.new(0, 0, 0)
  432. b14.Scale = Vector3.new(1, 3, 1.29999995)
  433. p15 = Instance.new("Part", m)
  434. p15.BrickColor = BrickColor.new("New Yeller")
  435. p15.FormFactor = Enum.FormFactor.Custom
  436. p15.Size = Vector3.new(1, 2.5, 1)
  437. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  438. p15.CanCollide = false
  439. p15.Locked = true
  440. p15.BottomSurface = Enum.SurfaceType.Smooth
  441. p15.TopSurface = Enum.SurfaceType.Smooth
  442. b15 = Instance.new("SpecialMesh", p15)
  443. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  444. b15.TextureId = ""
  445. b15.MeshType = Enum.MeshType.FileMesh
  446. b15.Name = "Mesh"
  447. b15.VertexColor = Vector3.new(0, 0, 0)
  448. b15.Scale = Vector3.new(1, 3, 1.29999995)
  449. p16 = Instance.new("Part", m)
  450. p16.BrickColor = BrickColor.new("New Yeller")
  451. p16.FormFactor = Enum.FormFactor.Custom
  452. p16.Size = Vector3.new(1, 2.5, 1)
  453. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  454. p16.CanCollide = false
  455. p16.Locked = true
  456. p16.BottomSurface = Enum.SurfaceType.Smooth
  457. p16.TopSurface = Enum.SurfaceType.Smooth
  458. b16 = Instance.new("SpecialMesh", p16)
  459. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  460. b16.TextureId = ""
  461. b16.MeshType = Enum.MeshType.FileMesh
  462. b16.Name = "Mesh"
  463. b16.VertexColor = Vector3.new(0, 0, 0)
  464. b16.Scale = Vector3.new(1, 3, 1.29999995)
  465. p17 = Instance.new("Part", m)
  466. p17.BrickColor = BrickColor.new("New Yeller")
  467. p17.FormFactor = Enum.FormFactor.Custom
  468. p17.Size = Vector3.new(1, 2.4000001, 1)
  469. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  470. p17.CanCollide = false
  471. p17.Locked = true
  472. p17.BottomSurface = Enum.SurfaceType.Smooth
  473. p17.TopSurface = Enum.SurfaceType.Smooth
  474. b17 = Instance.new("SpecialMesh", p17)
  475. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  476. b17.TextureId = ""
  477. b17.MeshType = Enum.MeshType.FileMesh
  478. b17.Name = "Mesh"
  479. b17.VertexColor = Vector3.new(0, 0, 0)
  480. b17.Scale = Vector3.new(1, 3, 1.29999995)
  481. p18 = Instance.new("Part", m)
  482. p18.BrickColor = BrickColor.new("New Yeller")
  483. p18.FormFactor = Enum.FormFactor.Custom
  484. p18.Size = Vector3.new(2, 2, 2)
  485. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  486. p18.CanCollide = false
  487. p18.Locked = true
  488. p18.BottomSurface = Enum.SurfaceType.Smooth
  489. p18.TopSurface = Enum.SurfaceType.Smooth
  490. b18 = Instance.new("SpecialMesh", p18)
  491. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  492. b18.TextureId = ""
  493. b18.MeshType = Enum.MeshType.FileMesh
  494. b18.Name = "Mesh"
  495. b18.VertexColor = Vector3.new(0, 0, 0)
  496. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  497. w1 = Instance.new("Weld", p1)
  498. w1.Name = "Head_Weld"
  499. w1.Part0 = p1
  500. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  501. w1.Part1 = p2
  502. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  503. w2 = Instance.new("Weld", p2)
  504. w2.Name = "Part_Weld"
  505. w2.Part0 = p2
  506. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  507. w2.Part1 = p3
  508. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  509. w3 = Instance.new("Weld", p3)
  510. w3.Name = "Part_Weld"
  511. w3.Part0 = p3
  512. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  513. w3.Part1 = p4
  514. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  515. w4 = Instance.new("Weld", p4)
  516. w4.Name = "Part_Weld"
  517. w4.Part0 = p4
  518. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  519. w4.Part1 = p5
  520. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  521. w5 = Instance.new("Weld", p5)
  522. w5.Name = "Part_Weld"
  523. w5.Part0 = p5
  524. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  525. w5.Part1 = p6
  526. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  527. w6 = Instance.new("Weld", p6)
  528. mesh7.Scale = Vector3.new(0.1, 0.1, 0.1)
  529. --[[X.Touched:connect(function(ht)
  530. hit = ht.Parent
  531. if ht and hit:IsA("Model") then
  532. if hit:FindFirstChild("Humanoid") then
  533. if hit.Name ~= p.Name then
  534. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  535. wait(.3)
  536. end
  537. end
  538. elseif ht and hit:IsA("Hat") then
  539. if hit.Parent.Name ~= p.Name then
  540. if hit.Parent:FindFirstChild("Humanoid") then
  541. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  542. wait(.3)
  543. end
  544. end
  545. end
  546. end)
  547. part3.Touched:connect(function(ht)
  548. hit = ht.Parent
  549. if ht and hit:IsA("Model") then
  550. if hit:FindFirstChild("Humanoid") then
  551. if hit.Name ~= p.Name then
  552. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  553. wait(.3)
  554. end
  555. end
  556. elseif ht and hit:IsA("Hat") then
  557. if hit.Parent.Name ~= p.Name then
  558. if hit.Parent:FindFirstChild("Humanoid") then
  559. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
  560. wait(.3)
  561. end
  562. end
  563. end
  564. end)]]--
  565. for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
  566. if v:FindFirstChild('Humanoid') then
  567. v.Humanoid:TakeDamage(math.random(60,90))
  568. v.Humanoid.PlatformStand = true
  569. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  570. end
  571. end
  572.  
  573. local acos = math.acos
  574. local sqrt = math.sqrt
  575. local Vec3 = Vector3.new
  576. local fromAxisAngle = CFrame.fromAxisAngle
  577.  
  578. local function toAxisAngle(CFr)
  579. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  580. local Angle = math.acos((R00+R11+R22-1)/2)
  581. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  582. A = A == 0 and 0.00001 or A
  583. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  584. B = B == 0 and 0.00001 or B
  585. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  586. C = C == 0 and 0.00001 or C
  587. local x = (R21-R12)/sqrt(A)
  588. local y = (R02-R20)/sqrt(B)
  589. local z = (R10-R01)/sqrt(C)
  590. return Vec3(x,y,z),Angle
  591. end
  592.  
  593. function ApplyTrig(Num,Func)
  594. local Min,Max = Func(0),Func(1)
  595. local i = Func(Num)
  596. return (i-Min)/(Max-Min)
  597. end
  598.  
  599. function LerpCFrame(CFrame1,CFrame2,Num)
  600. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  601. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  602. end
  603.  
  604. function Crater(Torso,Radius)
  605. Spawn(function()
  606. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  607. local Ignore = {}
  608. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  609. if v.Character ~= nil then
  610. Ignore[#Ignore+1] = v.Character
  611. end
  612. end
  613. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  614. if Hit == nil then return end
  615. local Parts = {}
  616. for i = 1,360,10 do
  617. local P = Instance.new("Part",Torso.Parent)
  618. P.Anchored = true
  619. P.FormFactor = "Custom"
  620. P.BrickColor = Hit.BrickColor
  621. P.Material = Hit.Material
  622. P.TopSurface = "Smooth"
  623. P.BottomSurface = "Smooth"
  624. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  625. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  626. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  627. if math.random(0,5) == 0 then -- rubble
  628. local P = Instance.new("Part",Torso.Parent)
  629. P.Anchored = true
  630. P.FormFactor = "Custom"
  631. P.BrickColor = Hit.BrickColor
  632. P.Material = Hit.Material
  633. P.TopSurface = "Smooth"
  634. P.BottomSurface = "Smooth"
  635. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  636. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  637. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  638. end
  639. end
  640. for i = 0,1,0.05 do
  641. for i2,v in pairs(Parts) do
  642. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  643. end
  644. wait(0.02)
  645. end
  646. for i,v in pairs(Parts) do
  647. if v[1].Size.X > 2.1 then
  648. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  649. end
  650. v[1].Anchored = false
  651. end
  652. for i = 0,1,0.05 do
  653. for i2,v in pairs(Parts) do
  654. v[1].Transparency = i
  655. if i == 1 then
  656. v[1]:Destroy()
  657. elseif i >= 0.25 then
  658. v[1].CanCollide = false
  659. fake scripting and copied by another not working and horrible script = true
  660. are you a idiot? = true
  661. end
  662. wait(0.02)
  663. end
  664. Parts = nil
  665. end)
  666. end
  667.  
  668. ROW = function(out, trans, s, wt, t, ang, plus)
  669. for i = 1, 360, 360/t do
  670. local c = Instance.new("Part", game.Workspace)
  671. c.FormFactor = 3
  672. c.TopSurface = 0
  673. c.BottomSurface = 0
  674. c.Size = s
  675. c.Anchored = true
  676. c.CanCollide = wt
  677. c.Material=workspace.Base.Material
  678. c.Transparency = trans
  679. c.BrickColor = workspace.Base.BrickColor
  680. c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
  681. c.Locked=true
  682. game.Debris:AddItem(c,15)
  683. end
  684. end
  685.  
  686. Part = function(x,y,z,color,tr,cc,an,parent)
  687. local p = Instance.new('Part',parent or Weapon)
  688. p.formFactor = 'Custom'
  689. p.Size = Vector3.new(x,y,z)
  690. p.BrickColor = BrickColor.new(color)
  691. p.CanCollide = cc
  692. p.Transparency = tr
  693. p.Anchored = an
  694. p.TopSurface,p.BottomSurface = 0,0
  695. p.Locked=true
  696. p:BreakJoints()
  697. return p end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement