Advertisement
pz_java

Love Is Blue

Sep 15th, 2017
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.81 KB | None | 0 0
  1.  
  2. local stand = Instance.new("Model",game.Workspace) stand.Name = "Stand"
  3. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  4. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 250
  5. game.Players.LocalPlayer.Character.Humanoid.Health = 250
  6. end
  7. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  8. if v:IsA("BasePart") then
  9. local clon = v:Clone()
  10. clon.Parent = stand
  11. clon.Locked = false
  12. clon.Color = Color3.fromRGB(255,255,255)
  13. clon.Anchored = false
  14. clon.CFrame = CFrame.new(0,0,0)
  15. for _,p in pairs(clon:GetChildren()) do
  16. if p.ClassName ~= "Motor6D" and p.ClassName ~= "SpecialMesh" then
  17. p:remove()
  18. end
  19. end
  20. end
  21. if v.ClassName == "Humanoid" then
  22. local clon = v:Clone()
  23. clon.Parent = stand
  24. end
  25. end
  26. stand.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  27.  
  28.  
  29. stand.Head.Mesh.MeshId = ""
  30.  
  31.  
  32.  
  33. stand.HumanoidRootPart.RootJoint.Part0 = stand.HumanoidRootPart
  34. stand.HumanoidRootPart.RootJoint.Part1 = stand.Torso
  35.  
  36. stand.Torso.Neck.Part0 = stand.Torso
  37. stand.Torso.Neck.Part1 = stand.Head
  38.  
  39. stand.Torso["Right Shoulder"].Part0 = stand.Torso
  40. stand.Torso["Right Shoulder"].Part1 = stand["Right Arm"]
  41.  
  42. stand.Torso["Left Shoulder"].Part0 = stand.Torso
  43. stand.Torso["Left Shoulder"].Part1 = stand["Left Arm"]
  44.  
  45. stand.Torso["Right Hip"].Part0 = stand.Torso
  46. stand.Torso["Right Hip"].Part1 = stand["Right Leg"]
  47.  
  48. stand.Torso["Left Hip"].Part0 = stand.Torso
  49. stand.Torso["Left Hip"].Part1 = stand["Left Leg"]
  50.  
  51. local part = Instance.new("Part",stand["Right Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Right Arm"].CFrame part.Name = "Model"
  52. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1046802053"
  53. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Arm"] weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  54.  
  55. local part = Instance.new("Part",stand["Left Arm"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Left Arm"].CFrame part.Name = "Model"
  56. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1046802053"
  57. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Arm"] weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0),0) weld.Parent = part
  58.  
  59. local part = Instance.new("Part",stand["Right Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Right Leg"].CFrame part.Name = "Model"
  60. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1046814309"
  61. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Right Leg"] weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  62.  
  63. local part = Instance.new("Part",stand["Left Leg"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Left Leg"].CFrame part.Name = "Model"
  64. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1046814309"
  65. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Left Leg"] weld.C0 = CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  66.  
  67. local part = Instance.new("Part",stand["Torso"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Torso"].CFrame part.Name = "Model"
  68. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1047170939"
  69. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Torso"] weld.C0 = CFrame.new(0,-0.05,-0.05)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  70.  
  71. local part = Instance.new("Part",stand["Head"]) part.Size = Vector3.new(0,0,0) part.BrickColor = BrickColor.new("Cyan") part.CanCollide = false part.CFrame = stand["Head"].CFrame part.Name = "Model"
  72. local mesh = Instance.new("SpecialMesh",part) mesh.MeshId = "rbxassetid://1047207057"
  73. local weld = Instance.new("Weld") weld.Part0 = part weld.Part1 = stand["Head"] weld.C0 = CFrame.new(0,-0.1,0)*CFrame.Angles(0,math.rad(180),0) weld.Parent = part
  74.  
  75. cooldown = false
  76. normalTp = true
  77. punchTp = false
  78.  
  79.  
  80. stand.Parent = nil
  81. running = false
  82.  
  83. punchEffects = {}
  84.  
  85. stand.HumanoidRootPart.Anchored = true
  86.  
  87. freezing = {}
  88.  
  89. function stillAnimation()
  90. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(30))
  91. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
  92. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  93. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
  94.  
  95. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  96. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  97. end
  98.  
  99. function punchAnimation()
  100. for i=-30,90,30 do
  101. wait()
  102. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(i/3))
  103. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(0,math.rad(i),math.rad(90))
  104. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  105. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-210))
  106.  
  107. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  108. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  109. end
  110. end
  111. function oraposAnimation()
  112. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(0))
  113. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
  114. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  115. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
  116.  
  117. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  118. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  119. end
  120.  
  121. function skill1Animation()
  122. stand.HumanoidRootPart.RootJoint.C0 = CFrame.new(stand.HumanoidRootPart.RootJoint.C0.p)*CFrame.Angles(math.rad(60),math.rad(180),math.rad(0))
  123. stand.Torso["Right Shoulder"].C0 = CFrame.new(stand.Torso["Right Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(90),0)
  124. stand.Torso["Left Shoulder"].C0 = CFrame.new(stand.Torso["Left Shoulder"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-20),math.rad(-90),0)
  125. stand.Torso["Neck"].C0 = CFrame.new(stand.Torso["Neck"].C0.p)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(-180))
  126.  
  127. stand.Torso["Right Hip"].C0 = CFrame.new(stand.Torso["Right Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(90),0)
  128. stand.Torso["Left Hip"].C0 = CFrame.new(stand.Torso["Left Hip"].C0.p)*CFrame.fromEulerAnglesYXZ(math.rad(-10),math.rad(-90),0)
  129. end
  130.  
  131. oras = {}
  132.  
  133.  
  134. stillAnimation()
  135. function punched(pos)
  136. local part = Instance.new("Part",game.Workspace) part.Anchored = true part.CanCollide = false
  137. local mesh = Instance.new("SpecialMesh",part) mesh.MeshType = Enum.MeshType.Sphere
  138. part.Color = Color3.fromRGB(255,255,255)
  139. part.Material = Enum.Material.Neon
  140. part.Transparency = 0.85
  141. part.Size = Vector3.new(0.05,0.05,0.05)
  142. part.CFrame = CFrame.new(pos)
  143. part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  144. part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  145. part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  146. part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  147. part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  148. part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  149.  
  150. game:GetService("Debris"):AddItem(part,0.5)
  151. table.insert(punchEffects,part)
  152. end
  153.  
  154.  
  155. timerforbubbles = 0
  156.  
  157. local waterball = Instance.new("Part") waterball.Shape = Enum.PartType.Ball
  158. waterball.Color = Color3.fromRGB(4, 175, 236)
  159. waterball.Material = Enum.Material.Granite
  160. waterball.Transparency = 0.5
  161. waterball.Size = Vector3.new(0.75,0.75,0.75)
  162. waterball.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  163. waterball.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  164. waterball.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  165. waterball.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  166. waterball.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  167. waterball.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  168. waterball.Anchored = true
  169. waterball.CanCollide = false
  170. local int = Instance.new("NumberValue",waterball) int.Name = "Timer"
  171. local int = Instance.new("NumberValue",waterball) int.Name = "TimerNeed"
  172. local int = Instance.new("Color3Value",waterball) int.Name = "ColorVal"
  173. local int = Instance.new("NumberValue",waterball) int.Name = "Trans"
  174. local int = Instance.new("NumberValue",waterball) int.Name = "Reflec"
  175. waterballs = {}
  176.  
  177. stand.Humanoid.HealthChanged:connect(function(health)
  178. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  179. if health < 250 then
  180. stand.Humanoid.Health = 250
  181. local quantity = health-250
  182. game.Players.LocalPlayer.Character.Humanoid.Health = game.Players.LocalPlayer.Character.Humanoid.Health+quantity
  183. end
  184. end
  185. end)
  186. game:GetService("RunService").RenderStepped:connect(function()
  187. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  188. for _,ora in pairs(oras) do
  189. if ora:FindFirstChild("Pos") then
  190. ora.Pos.Value = ora.Pos.Value-Vector3.new(0,0,1)
  191. ora.CFrame = stand.Torso.CFrame:toWorldSpace(CFrame.new(ora.Pos.Value))*CFrame.Angles(0,math.rad(270),math.rad(-90))
  192. ora.Model.CFrame = ora.CFrame
  193.  
  194. local exception = {}
  195. for _,child in pairs(game.Workspace:GetChildren()) do
  196. if child ~= game.Players.LocalPlayer.Character then
  197. for _,InChild in pairs(child:GetChildren()) do
  198. if child:FindFirstChild("Humanoid") then
  199. local did = false
  200. for i=1,#exception do
  201. if exception[i] == child then
  202. did = true
  203. end
  204. end
  205. if did == false then
  206. if InChild:IsA("BasePart") then
  207. local pos = ora.CFrame.p
  208. if (pos-InChild.Position).magnitude < 2 then
  209. table.insert(exception,child)
  210. punched(pos)
  211. if not ora:FindFirstChild("LowDamage") then
  212. child.Humanoid.Health = child.Humanoid.Health-0.125
  213. end
  214. if ora:FindFirstChild("LowDamage") then
  215. child.Humanoid.Health = child.Humanoid.Health-0.03
  216. end
  217. end
  218. end
  219. end
  220. end
  221. end
  222. end
  223. end
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232. end
  233. end
  234. for _,ballz in pairs(waterballs) do
  235. if ballz:FindFirstChild("Timer") then
  236. ballz.Timer.Value = ballz.Timer.Value+0.05
  237. if ballz.Timer.Value < ballz.TimerNeed.Value then
  238. ballz.CFrame = ballz.CFrame+Vector3.new(0,0.1,0)
  239. end
  240. if ballz.Timer.Value >= ballz.TimerNeed.Value then
  241. ballz.Anchored = true
  242. ballz.Transparency = 0
  243. ballz.Color = ballz.ColorVal.Value
  244. ballz.Transparency = ballz.Trans.Value
  245. ballz.Reflectance = ballz.Reflec.Value
  246. ballz.CanCollide = true
  247. end
  248.  
  249.  
  250.  
  251. ballz.Touched:connect(function(hit)
  252. if hit.Parent:FindFirstChild("Humanoid") then
  253. if hit.Parent ~= game.Players.LocalPlayer.Character then
  254. local child = hit.Parent
  255. child.Humanoid.Health = child.Humanoid.Health-0.5
  256. if hit.Parent:FindFirstChild("HumanoidRootPart") then
  257. hit.Parent.HumanoidRootPart.Velocity = -hit.Parent.HumanoidRootPart.CFrame.lookVector*30
  258. end
  259. end
  260. end
  261. end)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270. end
  271. end
  272. for i,freeze in pairs(freezing) do
  273. local away = false
  274. for _,child in pairs(freeze:GetChildren()) do
  275. if child:IsA("BasePart") then
  276. if (child.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude <= 20 then
  277. child.Material = Enum.Material.Ice
  278. child.Anchored = true
  279. end
  280. if (child.Position-game.Players.LocalPlayer.Character.HumanoidRootPart.Position).magnitude > 20 then
  281. child.Material = Enum.Material.Plastic
  282. child.Anchored = false
  283. away = true
  284. end
  285. end
  286. end
  287. if away == true then
  288. for _,child in pairs(freeze:GetChildren()) do
  289. if child:IsA("BasePart") then
  290.  
  291. child.Material = Enum.Material.Plastic
  292. child.Anchored = false
  293.  
  294. end
  295. end
  296. table.remove(freezing,i)
  297. end
  298. end
  299.  
  300.  
  301. for _,partt in pairs(punchEffects) do
  302. partt.Size = partt.Size+Vector3.new(0.075,0.075,0.075)
  303. end
  304. if normalTp == true then
  305. stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(2,0.5,3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
  306. end
  307. if punchTp == true then
  308. stand.HumanoidRootPart.CFrame = CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0.5,-3)).p,game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.p+game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector*100000000)
  309. end
  310.  
  311. for _,child in pairs(stand:GetChildren()) do
  312. if child:IsA("BasePart") then
  313. child.CollisionGroupId = 3
  314. child.CanCollide = false
  315. end
  316. end
  317. end
  318. end)
  319. game:GetService("UserInputService").InputBegan:connect(function(key)
  320. if game.Players.LocalPlayer.Name == "TheNeonKaratedKid" or game.Players.LocalPlayer.Name == "Pedrorb03" then
  321. if key.KeyCode == Enum.KeyCode.Q then
  322. if cooldown == false then
  323. if stand.Parent ~= nil then
  324. stand.Parent = nil
  325. else
  326. game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Love Is Blue!",Enum.ChatColor.White)
  327. stand.Parent = game.Players.LocalPlayer.Character
  328. end
  329. end
  330. end
  331. if key.KeyCode == Enum.KeyCode.E then
  332. if cooldown == false then
  333. if stand.Parent ~= nil then
  334. if normalTp == true then
  335. normalTp = false
  336. cooldown = true
  337. punchTp = true
  338.  
  339. punchAnimation()
  340.  
  341. local exception = {}
  342. for i=1,6 do
  343. wait(0.1)
  344.  
  345. for _,child in pairs(game.Workspace:GetChildren()) do
  346. if child ~= game.Players.LocalPlayer.Character then
  347. for _,InChild in pairs(child:GetChildren()) do
  348. if child:FindFirstChild("Humanoid") then
  349. local did = false
  350. for i=1,#exception do
  351. if exception[i] == child then
  352. did = true
  353. end
  354. end
  355. if did == false then
  356. if InChild:IsA("BasePart") then
  357. local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
  358. if (pos-InChild.Position).magnitude < 2 then
  359. table.insert(exception,child)
  360. punched(pos)
  361. child.Humanoid.Health = child.Humanoid.Health-10
  362. end
  363. end
  364. end
  365. end
  366. end
  367. end
  368. end
  369.  
  370. end
  371.  
  372.  
  373.  
  374. stillAnimation()
  375.  
  376. normalTp = true
  377. cooldown = false
  378. punchTp = false
  379. end
  380. end
  381. end
  382. end
  383. if key.KeyCode == Enum.KeyCode.R then
  384. if cooldown == false then
  385. if stand.Parent ~= nil then
  386. if normalTp == true then
  387. normalTp = false
  388. cooldown = true
  389. punchTp = true
  390.  
  391. stand["Right Arm"].Transparency = 1
  392. stand["Right Arm"].Model.Transparency = 1
  393.  
  394. stand["Left Arm"].Transparency = 1
  395. stand["Left Arm"].Model.Transparency = 1
  396. oraposAnimation()
  397.  
  398. for i=1,100 do
  399. wait()
  400. local clon = stand["Right Arm"]:Clone()
  401. clon.Name = "ora"
  402. clon.Parent = game.Workspace
  403. clon.Anchored = true
  404. clon.CanCollide = false
  405. clon.Model.CanCollide = false
  406. clon.Transparency = 0
  407. clon.Model.Transparency = 0
  408. clon.Model.Anchored = true
  409. clon.Material = Enum.Material.SmoothPlastic
  410. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  411. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  412. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  413. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  414. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  415. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  416. game:GetService("Debris"):AddItem(clon,0.1)
  417. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  418. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  419. table.insert(oras,clon)
  420. local clon = stand["Left Arm"]:Clone()
  421. clon.Name = "ora"
  422. clon.Parent = game.Workspace
  423. clon.Anchored = true
  424. clon.CanCollide = false
  425. clon.Model.CanCollide = false
  426. clon.Transparency = 0
  427. clon.Model.Transparency = 0
  428. clon.Model.Anchored = true
  429. clon.Material = Enum.Material.SmoothPlastic
  430. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  431. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  432. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  433. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  434. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  435. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  436. game:GetService("Debris"):AddItem(clon,0.1)
  437. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  438. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  439. table.insert(oras,clon)
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449. end
  450.  
  451. wait(0.3)
  452. oras = {}
  453. stand["Right Arm"].Transparency = 0
  454. stand["Right Arm"].Model.Transparency = 0
  455.  
  456. stand["Left Arm"].Transparency = 0
  457. stand["Left Arm"].Model.Transparency = 0
  458.  
  459. stillAnimation()
  460. normalTp = true
  461. cooldown = false
  462. punchTp = false
  463. end
  464. end
  465. end
  466. end
  467. if key.KeyCode == Enum.KeyCode.Z then
  468. if cooldown == false then
  469. if stand.Parent ~= nil then
  470. if normalTp == true then
  471. normalTp = false
  472. cooldown = true
  473. punchTp = true
  474.  
  475. skill1Animation()
  476.  
  477.  
  478.  
  479.  
  480.  
  481. stand["Right Arm"].Transparency = 1
  482. stand["Right Arm"].Model.Transparency = 1
  483.  
  484. stand["Left Arm"].Transparency = 1
  485. stand["Left Arm"].Model.Transparency = 1
  486.  
  487.  
  488. for i=1,100 do
  489. wait()
  490. local clon = stand["Right Arm"]:Clone()
  491. clon.Name = "ora"
  492. clon.Parent = game.Workspace
  493. clon.Anchored = true
  494. clon.CanCollide = false
  495. clon.Model.CanCollide = false
  496. clon.Transparency = 0
  497. clon.Model.Transparency = 0
  498. clon.Model.Anchored = true
  499. clon.Material = Enum.Material.SmoothPlastic
  500. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  501. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  502. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  503. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  504. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  505. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  506.  
  507.  
  508.  
  509.  
  510.  
  511. game:GetService("Debris"):AddItem(clon,0.15)
  512. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  513. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  514.  
  515. local ins = Instance.new("BoolValue",clon) ins.Name = "LowDamage"
  516. table.insert(oras,clon)
  517.  
  518. local pos = stand.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(math.random(-300,300)/100,-4,-math.random(300,900)/100))
  519.  
  520.  
  521. timerforbubbles = timerforbubbles+1
  522. if timerforbubbles >= 2 then
  523. timerforbubbles = 0
  524. local ray = Ray.new(pos.p+Vector3.new(0,1,0),Vector3.new(0,-2,0))
  525.  
  526. local ignoreList = {game.Players.LocalPlayer.Character}
  527.  
  528. for _, var in pairs(oras) do
  529. table.insert(ignoreList,var)
  530. end
  531. for _, var in pairs(waterballs) do
  532. table.insert(ignoreList,var)
  533. end
  534. for _, var in pairs(punchEffects) do
  535. table.insert(ignoreList,var)
  536. end
  537. local hit,position,normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignoreList)
  538.  
  539. if hit then
  540. local ball = waterball:Clone()
  541. ball.Parent = game.Workspace
  542. ball.CFrame = pos
  543. ball.Material = hit.Material
  544. ball.ColorVal.Value = hit.Color
  545. ball.Trans.Value = hit.Transparency
  546. ball.Reflec.Value = hit.Reflectance
  547.  
  548. ball.TimerNeed.Value = math.random(0,500)/100
  549. game:GetService("Debris"):AddItem(ball,20)
  550. table.insert(waterballs,ball)
  551. end
  552.  
  553. end
  554.  
  555.  
  556.  
  557.  
  558.  
  559. local clon = stand["Left Arm"]:Clone()
  560. clon.Name = "ora"
  561. clon.Parent = game.Workspace
  562. clon.Anchored = true
  563. clon.CanCollide = false
  564. clon.Model.CanCollide = false
  565. clon.Transparency = 0
  566. clon.Model.Transparency = 0
  567. clon.Model.Anchored = true
  568. game:GetService("Debris"):AddItem(clon,0.1)
  569. local ins = Instance.new("Vector3Value",clon) ins.Name = "Pos"
  570. ins.Value = Vector3.new(math.random(-2,2),math.random(-2,2),1)
  571. clon.Material = Enum.Material.SmoothPlastic
  572. clon.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  573. clon.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  574. clon.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  575. clon.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  576. clon.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  577. clon.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  578. table.insert(oras,clon)
  579.  
  580.  
  581.  
  582. end
  583.  
  584. wait(0.3)
  585. oras = {}
  586. stand["Right Arm"].Transparency = 0
  587. stand["Right Arm"].Model.Transparency = 0
  588.  
  589. stand["Left Arm"].Transparency = 0
  590. stand["Left Arm"].Model.Transparency = 0
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602. stillAnimation()
  603.  
  604. normalTp = true
  605. cooldown = false
  606. punchTp = false
  607.  
  608.  
  609. end
  610. end
  611. end
  612. end
  613.  
  614. if key.KeyCode == Enum.KeyCode.X then
  615. if cooldown == false then
  616. if stand.Parent ~= nil then
  617. if normalTp == true then
  618. normalTp = false
  619. cooldown = true
  620. punchTp = true
  621.  
  622. punchAnimation()
  623.  
  624. local exception = {}
  625. for i=1,6 do
  626. wait(0.1)
  627.  
  628.  
  629.  
  630.  
  631. for _,child in pairs(game.Workspace:GetChildren()) do
  632. if child ~= game.Players.LocalPlayer.Character then
  633. if child:IsA("BasePart") then
  634. local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
  635. if (pos-child.Position).magnitude < 2 then
  636.  
  637.  
  638. local instan = Instance.new("Part",game.Workspace)
  639. instan.Size = child.Size
  640. instan.CFrame = child.CFrame
  641. instan.Material = child.Material
  642. instan.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  643. instan.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  644. instan.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  645. instan.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  646. instan.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  647. instan.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  648. instan.Name = "nil"
  649.  
  650. instan.Color = Color3.fromRGB(4, 175, 236)
  651. instan.Transparency = 0.5
  652. instan.CanCollide = false
  653. child:remove()
  654. end
  655. end
  656. for _,Inchild in pairs(child:GetChildren()) do
  657. if Inchild:IsA("BasePart") then
  658. local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
  659. if (pos-Inchild.Position).magnitude < 2 then
  660.  
  661.  
  662. local instan = Instance.new("Part",game.Workspace)
  663. instan.Size = Inchild.Size
  664. instan.Position = Inchild.Position
  665. instan.Material = Inchild.Material
  666. instan.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  667. instan.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  668. instan.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  669. instan.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  670. instan.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  671. instan.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  672. instan.Name = "nil"
  673.  
  674. instan.Color = Color3.fromRGB(4, 175, 236)
  675. instan.Transparency = 0.5
  676. instan.CanCollide = false
  677. Inchild:remove()
  678. end
  679. end
  680. end
  681.  
  682. end
  683.  
  684.  
  685.  
  686. end
  687.  
  688. end
  689.  
  690. stillAnimation()
  691.  
  692. normalTp = true
  693. cooldown = false
  694. punchTp = false
  695. end
  696. end
  697. end
  698. end
  699.  
  700. if key.KeyCode == Enum.KeyCode.C then
  701. if cooldown == false then
  702. if stand.Parent ~= nil then
  703. if normalTp == true then
  704. normalTp = false
  705. cooldown = true
  706. punchTp = true
  707.  
  708. punchAnimation()
  709.  
  710. local exception = {}
  711. for i=1,6 do
  712. wait(0.1)
  713.  
  714.  
  715. for _,child in pairs(game.Workspace:GetChildren()) do
  716. for _,Inchild in pairs(child:GetChildren()) do
  717. if Inchild:IsA("BasePart") then
  718. local pos = stand["Right Arm"].CFrame:toWorldSpace(CFrame.new(0,-1,0)).p
  719. if (pos-Inchild.Position).magnitude < 2 then
  720. if child:FindFirstChild("Humanoid") then
  721.  
  722. table.insert(freezing,child)
  723.  
  724. end
  725. end
  726. end
  727.  
  728. end
  729.  
  730.  
  731.  
  732. end
  733.  
  734.  
  735.  
  736.  
  737. end
  738.  
  739. stillAnimation()
  740.  
  741. normalTp = true
  742. cooldown = false
  743. punchTp = false
  744. end
  745. end
  746. end
  747. end
  748.  
  749.  
  750.  
  751.  
  752.  
  753. end
  754. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement