Advertisement
pakin2549

Untitled

Mar 17th, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.06 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  5.  
  6. local plr = owner
  7. local sine = 0
  8. local change = 1
  9. local val = 0
  10. local idle = 0
  11. local donum = 0
  12. local donum2 = 0
  13. local char = plr.Character
  14. local mouse = plr:GetMouse()
  15. local torso = char.Torso
  16. local rs = torso["Right Shoulder"]
  17. local ls = torso["Left Shoulder"]
  18. local rh = torso["Right Hip"]
  19. local lh = torso["Left Hip"]
  20. local rj = char.HumanoidRootPart.RootJoint
  21. local neck = torso.Neck
  22. local animpose = "Idle"
  23. local attacking = false
  24. local cananim = true
  25. local rage = false
  26. local shield = nil
  27. local deb = false
  28. local sprint = false
  29. local RAC = char.Torso:WaitForChild("Right Shoulder")
  30. local LAC = char.Torso:WaitForChild("Left Shoulder")
  31. local RA = char:FindFirstChild("Right Arm")
  32. local LA = char:FindFirstChild("Left Arm")
  33. local Torso = char.Torso
  34. local Head = char.Head
  35. local RL = char:FindFirstChild("Right Leg")
  36. local LL = char:FindFirstChild("Left Leg")
  37. local Root = char.HumanoidRootPart
  38. local Humanoid = char.Humanoid
  39. local canrage = true
  40. local legs = false
  41. local powers = false
  42. local bc = char:WaitForChild("Body Colors")
  43. local multiplier = 1
  44. local lac = char["Body Colors"].LeftArmColor
  45. local rac = char["Body Colors"].RightArmColor
  46. local rlc = char["Body Colors"].RightArmColor
  47. local llc = char["Body Colors"].LeftLegColor
  48. local hc = char["Body Colors"].HeadColor
  49. local tc = char["Body Colors"].TorsoColor
  50. local humanoid = char:FindFirstChildOfClass("Humanoid")
  51. local huge = Vector3.new(math.huge,math.huge,math.huge)
  52. local mobs = Instance.new("Sound", Torso)
  53. mobs.SoundId = "rbxassetid://237963663"
  54. mobs.Looped = true
  55. mobs.Volume = 3
  56. mobs:Play()
  57. local naeeym2 = Instance.new("BillboardGui",char)
  58. naeeym2.AlwaysOnTop = true
  59. naeeym2.Size = UDim2.new(5,35,2,35)
  60. naeeym2.StudsOffset = Vector3.new(0,3,0)
  61. naeeym2.Adornee = char.Head
  62. naeeym2.Name = "Name"
  63. local tecks2 = Instance.new("TextLabel",naeeym2)
  64. tecks2.BackgroundTransparency = 1
  65. tecks2.TextScaled = true
  66. tecks2.BorderSizePixel = 0
  67. tecks2.Text = "Pokemon Master"
  68. tecks2.Font = "Code"
  69. tecks2.TextSize = 35
  70. tecks2.TextTransparency = 0
  71. tecks2.TextStrokeTransparency = 1
  72. tecks2.TextColor3 = Color3.new(22,29,50)
  73. tecks2.Size = UDim2.new(1,0,0.5,0)
  74. tecks2.Parent = naeeym2
  75. Player = owner
  76. Character = Player.Character
  77. PlayerGui = Player.PlayerGui
  78. Backpack = Player.Backpack
  79. Torso = Character.Torso
  80. Head = Character.Head
  81. Humanoid = Character.Humanoid
  82. LeftArm = Character["Left Arm"]
  83. LeftLeg = Character["Left Leg"]
  84. RightArm = Character["Right Arm"]
  85. RightLeg = Character["Right Leg"]
  86. Character = Player.Character
  87. PlayerGui = Player.PlayerGui
  88. Backpack = Player.Backpack
  89. Torso = Character.Torso
  90. Head = Character.Head
  91. Humanoid = Character.Humanoid
  92. LS = Torso["Left Shoulder"]
  93. LH = Torso["Left Hip"]
  94. RS = Torso["Right Shoulder"]
  95. RH = Torso["Right Hip"]
  96. Neck = Torso.Neck
  97. attacktype = 1
  98. vt = Vector3.new
  99. cf = CFrame.new
  100. euler = CFrame.fromEulerAnglesXYZ
  101. angles = CFrame.Angles
  102. necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  103. necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  104. LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  105. LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  106. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  107. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  108. RootPart = Character.HumanoidRootPart
  109. RootJoint = RootPart.RootJoint
  110. RootCF = euler(-1.57, 0, 3.14)
  111. attack = false
  112. equipped = true
  113. local Anim = "Idle"
  114. local Effects = {}
  115. mouse = Player:GetMouse()
  116. RSH, LSH = nil, nil
  117. LH = Torso["Left Hip"]
  118. RH = Torso["Right Hip"]
  119. RSH = Torso["Right Shoulder"]
  120. LSH = Torso["Left Shoulder"]
  121. local RbxUtility = LoadLibrary("RbxUtility")
  122. local Create = RbxUtility.Create
  123. RW = Create("Weld"){
  124. Name = "Right Shoulder",
  125. Part0 = Torso ,
  126. C0 = cf(1.5, 0.5, 0),
  127. C1 = cf(0, 0.5, 0),
  128. Part1 = RightArm ,
  129. Parent = Torso ,
  130. }
  131. function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  132. local fp = Create("Part"){
  133. formFactor = formfactor,
  134. Parent = parent,
  135. Reflectance = reflectance,
  136. Transparency = transparency,
  137. CanCollide = false,
  138. Locked = true,
  139. BrickColor = BrickColor.new(tostring(brickcolor)),
  140. Name = name,
  141. Size = size,
  142. Position = Character.Torso.Position,
  143. Material = material,
  144. }
  145. nooutline(fp)
  146. return fp
  147. end
  148. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  149. local Msh = Create(Mesh){
  150. Parent = part,
  151. Offset = offset,
  152. Scale = scale,
  153. }
  154. if Mesh == "SpecialMesh" then
  155. Msh.MeshType = meshtype
  156. Msh.MeshId = meshid
  157. end
  158. return Msh
  159. end
  160.  
  161. LW = Create("Weld"){
  162. Name = "Left Shoulder",
  163. Part0 = Torso ,
  164. C0 = cf(-1.5, 0.5, 0),
  165. C1 = cf(0, 0.5, 0) ,
  166. Part1 = LeftArm ,
  167. Parent = Torso ,
  168. }
  169. function clerp(a, b, t)
  170. return a:lerp(b, t)
  171. end
  172. function swait(t)
  173. if t == nil or t == 0 then
  174. game:service('RunService').Stepped:wait(0)
  175. return true
  176. else
  177. for i = 0, t do
  178. game:service('RunService').Stepped:wait(0)
  179. end
  180. return true
  181. end
  182. end
  183. function legsonly()
  184. spawn(function()
  185. for i = 0, 10 do
  186. wait(0.001)
  187. if attacking then break end
  188. end
  189. if not attacking then
  190. legs = false
  191. end
  192. end)
  193. end
  194. function swait(t)
  195. if t == nil or t == 0 then
  196. game:service('RunService').Stepped:wait(0)
  197. return true
  198. else
  199. for i = 0, t do
  200. game:service('RunService').Stepped:wait(0)
  201. end
  202. return true
  203. end
  204. end
  205.  
  206. function replacejoint(name)
  207. local j = torso:FindFirstChild(name)
  208. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  209. if j then
  210. if true then
  211. local new = Instance.new("Weld")
  212. new.Part0 = j.Part0
  213. j.Part0 = nil
  214. new.Name = j.Name.." Replacement"
  215. new.Parent = j.Parent
  216. new.Part1 = j.Part1
  217. new.C0 = j.C0
  218. new.C1 = j.C1
  219. return new
  220. end
  221. end
  222. end
  223. function rayCast(Pos, Dir, Max, Ignore)
  224. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  225. end
  226. function removejoint(name)
  227. local j = torso:FindFirstChild(name.." Replacement")
  228. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  229. if j then
  230. local p0 = j.Part0
  231. local c0 = j.C0
  232. local c1 = j.C1
  233. j:Destroy()
  234. local new = p0:FindFirstChild(name)
  235. local ac0 = new.C0
  236. local ac1 = new.C1
  237. new.Part0 = p0
  238. new.C0 = c0
  239. new.C1 = c1
  240. spawn(function()
  241. for i = 0, 1, 0.1 do
  242. new.C0 = new.C0:Lerp(ac0, 0.7)
  243. new.C1 = new.C1:lerp(ac1, 0.7)
  244. wait()
  245. end
  246. end)
  247. end
  248. end
  249. function fixalljoints()
  250. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  251. removejoint(v)
  252. end
  253. end
  254. function getnewjoints()
  255. local rs = replacejoint("Right Shoulder")
  256. local ls = replacejoint("Left Shoulder")
  257. local rh = replacejoint("Right Hip")
  258. local lh = replacejoint("Left Hip")
  259. local neck = replacejoint("Neck")
  260. local rj = replacejoint("RootJoint")
  261. return rs,ls,rh,lh,neck,rj
  262. end
  263. function weld(parent, part0, part1, c0, c1)
  264. local Weld = Create("Weld"){
  265. Parent = parent,
  266. Part0 = part0,
  267. Part1 = part1,
  268. C0 = c0,
  269. C1 = c1,
  270. }
  271. return Weld
  272. end
  273. local gay = false
  274.  
  275. basll = Instance.new("Part")
  276. Decal1 = Instance.new("Decal")
  277. Decal2 = Instance.new("Decal")
  278. Decal3 = Instance.new("Decal")
  279. Decal4 = Instance.new("Decal")
  280. Decal5 = Instance.new("Decal")
  281. Decal6 = Instance.new("Decal")
  282. Decal7 = Instance.new("Decal")
  283. basll.Name = "Handle"
  284. basll.Parent = Torso
  285. basll.Color = Color3.new(0.94902, 0.952941, 0.952941)
  286. basll.Transparency = 1
  287. basll.Size = Vector3.new(1, 1, 1)
  288. basll.BottomSurface = Enum.SurfaceType.Smooth
  289. basll.BrickColor = BrickColor.new("White")
  290. basll.TopSurface = Enum.SurfaceType.Smooth
  291. basll.brickColor = BrickColor.new("White")
  292. basll.Shape = Enum.PartType.Ball
  293. Decal1.Parent = basll
  294. Decal1.Texture = "http://www.roblox.com/asset/?id=28106051"
  295. Decal2.Parent = basll
  296. Decal2.Texture = "http://www.roblox.com/asset/?id=28106111"
  297. Decal2.Face = Enum.NormalId.Top
  298. Decal3.Parent = basll
  299. Decal3.Texture = "http://www.roblox.com/asset/?id=28106493"
  300. Decal3.Face = Enum.NormalId.Left
  301. Decal4.Parent = basll
  302. Decal4.Texture = "http://www.roblox.com/asset/?id=28106493"
  303. Decal4.Face = Enum.NormalId.Back
  304. Decal5.Parent = basll
  305. Decal5.Texture = "http://www.roblox.com/asset/?id=28106708"
  306. Decal5.Face = Enum.NormalId.Bottom
  307. Decal6.Parent = basll
  308. Decal6.Texture = "http://www.roblox.com/asset/?id=25770051"
  309. Decal6.Face = Enum.NormalId.Bottom
  310. Decal7.Parent = basll
  311. Decal7.Texture = "http://www.roblox.com/asset/?id=28106493"
  312. Decal7.Face = Enum.NormalId.Right
  313. basll.Parent = Torso
  314. local weld = Instance.new("Weld")
  315. weld.Part0 = basll
  316. weld.Part1 = RA
  317. weld.C1 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90),0,math.rad(180))
  318. weld.Parent = basll
  319. mouse.KeyDown:connect(function(key)
  320. if key == "q" then
  321. local rs,ls,rh,lh,neck,rj = getnewjoints()
  322. for i = 0, 2, 0.1 do
  323. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.305212736, 0.156434491, -0.9393484, -0.048340939, 0.987688541, 0.148778111, 0.951057434, 0, 0.309017241), 0.2)
  324. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.00729153398, -0.104904592, 0.994455755, -0.104274213, -0.989144921, -0.103580341, 0.994524956, -0.102940485, -0.0181511845), 0.2)
  325. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0270539615, 0.100966766, -0.994522035, -0.257401317, 0.960634768, 0.104528472, 0.96592617, 0.258819103, 0), 0.2)
  326. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.00911026634, -0.0866784006, 0.996195018, -0.10413079, 0.990738153, 0.0871557668, -0.994522691, -0.104528546, 0), 0.2)
  327. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  328. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.970296144, -0.241921961, 0, 0, 0, 1, -0.241921961, 0.970296144, 0), 0.2)
  329. swait()
  330. end
  331. swait(15)
  332. for a = 0, 2, 0.1 do
  333. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0172375813, 0.156434491, -0.987539232, 0.0027301528, 0.987688541, 0.156410769, 0.999848783, 0, -0.0174524169), 0.2)
  334. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0183038525, 0.103552699, 0.994455755, 0.340473503, 0.934539497, -0.103580341, -0.940082133, 0.340481132, -0.0181511845), 0.2)
  335. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.0357508697, 0.0982247144, -0.994522035, 0.34014678, 0.934545875, 0.104528472, 0.93969363, -0.342020512, 0), 0.2)
  336. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0298090633, -0.0818997845, 0.996195018, 0.340719104, 0.936117887, 0.0871557668, -0.939694166, 0.342020661, 0), 0.2)
  337. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  338. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.992546976, 0.12186949, 0, 0, 0, 1, 0.12186949, 0.992546976, 0), 0.2)
  339. summon = true
  340. if a == 0.5 then
  341. for i = 0, 2, 0.1 do
  342. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  343. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  344. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2)
  345. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  346. swait()
  347. end
  348. basll.CanCollide = true
  349. weld:Destroy()
  350. basll.CFrame = CFrame.new(basll.CFrame.p, mouse.Hit.p)
  351. local bv = Instance.new("BodyVelocity")
  352. bv.MaxForce = huge
  353. bv.Velocity = Root.CFrame.lookVector*100
  354. bv.Parent = basll
  355. print("work")
  356. game.Debris:AddItem(bv, 0.3)
  357. local ready = false
  358. wait()
  359. basll.Touched:connect(function(hit)
  360. if hit.Parent:FindFirstChildOfClass("Part") then
  361. if ready == false then
  362. basll.CanCollide = true
  363. basll.Anchored = true
  364. local SongDriver1 = Instance.new("Sound")
  365. SongDriver1.Parent = basll
  366. SongDriver1.SoundId = "rbxassetid://134872897"
  367. SongDriver1.Volume = 2
  368. SongDriver1:Play()
  369. ready = true
  370.  
  371. fixalljoints()
  372.  
  373. local player = owner
  374. local Cha = player.Character
  375. local mouse = player:GetMouse()
  376. local henshine = false
  377. local RAC = Cha.Torso:WaitForChild("Right Shoulder")
  378. local LAC = Cha.Torso:WaitForChild("Left Shoulder")
  379. local RA = Cha:FindFirstChild("Right Arm")
  380. local LA = Cha:FindFirstChild("Left Arm")
  381. local Torso = Cha.Torso
  382. local Head = Cha.Head
  383. local Root = Cha.HumanoidRootPart
  384. local RL = Cha:FindFirstChild("Right Leg")
  385. local LL = Cha:FindFirstChild("Left Leg")
  386. local Humanoid = Cha.Humanoid
  387. local chat = game:GetService("Chat")
  388.  
  389.  
  390. local SongDriver12 = Instance.new("Sound")
  391. SongDriver12.Parent = Cha.Torso
  392. SongDriver12.SoundId = "rbxassetid://305568662"
  393. SongDriver12.Volume = 2
  394. SongDriver12:Play()
  395.  
  396. local ll3part2 = Instance.new("Part")
  397. ll3part2.Parent = Torso
  398. ll3part2.Name = "Kyogre"
  399. ll3part2.BrickColor = BrickColor.new("Pearl")
  400. ll3part2.CanCollide = false
  401. ll3part2.Size = Vector3.new(8.16, 6.69, 0.05)
  402. ll3part2.Anchored = true
  403. ll3part2.Locked = true
  404. ll3part2.Transparency = 1
  405. local Decal71 = Instance.new("Decal")
  406. Decal71.Parent = ll3part2
  407. Decal71.Face = Enum.NormalId.Front
  408. local Decal712 = Instance.new("Decal")
  409. Decal712.Parent = ll3part2
  410. Decal712.Name = "De"
  411. Decal712.Face = Enum.NormalId.Back
  412.  
  413. ll3part2.Position = basll.Position + Vector3.new(0,3,0)
  414.  
  415. wait(1)
  416.  
  417. game:GetService('RunService').Stepped:Connect(function()
  418. ll3part2.CFrame = Root.CFrame*CFrame.new(6,3,3)
  419. end)
  420.  
  421. mouse.KeyDown:connect(function(key)
  422. if key == "z" then
  423. local sed = Instance.new("Sound")
  424. sed.Parent = ll3part2
  425. sed.SoundId = "rbxassetid://305568662"
  426. sed.Volume = 2
  427. sed:Play()
  428. chat:Chat(player.Character.Head, "Kyogre Water Blast!")
  429. local rs,ls,rh,lh,neck,rj = getnewjoints()
  430. for i = 0, 2, 0.1 do
  431. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  432. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  433. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2)
  434. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  435. swait()
  436. end
  437.  
  438. local fus = Instance.new("Part")
  439. fus.Size = Vector3.new(2, 2, 2)
  440. fus.Anchored = false
  441. fus.Name = "damage"
  442. fus.CanCollide = false
  443. fus.BrickColor = BrickColor.new("Bright blue")
  444. fus.Transparency = 1
  445. fus.CFrame = ll3part2.CFrame*CFrame.new(0,-2,0)
  446. ParticleEmitter0 = Instance.new("ParticleEmitter")
  447. ParticleEmitter0.Name = "1"
  448. ParticleEmitter0.Parent = fus
  449. ParticleEmitter0.Speed = NumberRange.new(0, 0)
  450. ParticleEmitter0.Rotation = NumberRange.new(-180, 180)
  451. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.917647, 1, 1),Color3.new(0.917647, 1, 1))
  452. ParticleEmitter0.LightEmission = 0.20000000298023
  453. ParticleEmitter0.LightInfluence = 0.050000000745058
  454. ParticleEmitter0.Texture = "rbxassetid://387288028"
  455. ParticleEmitter0.Transparency = NumberSequence.new(0.70624995231628,0.41874998807907,1)
  456. ParticleEmitter0.ZOffset = 1
  457. ParticleEmitter0.Size = NumberSequence.new(3,3)
  458. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  459. ParticleEmitter0.Rate = 82
  460. ParticleEmitter0.RotSpeed = NumberRange.new(-180, 180)
  461. ParticleEmitter0.SpreadAngle = Vector2.new(6, 6)
  462. ParticleEmitter0.VelocitySpread = 6
  463.  
  464.  
  465. local mesh = Instance.new("SpecialMesh")
  466. mesh.MeshType = "FileMesh"
  467. mesh.MeshId = "rbxassetid://430736398"
  468. mesh.Parent = fus
  469.  
  470. local bp = Instance.new("BodyVelocity")
  471. bp.maxForce = Vector3.new(math.huge, math.huge,math.huge)
  472. bp.Velocity = ll3part2.CFrame.lookVector*150
  473. bp.Parent = fus
  474.  
  475. fus.Parent = Torso
  476.  
  477. coroutine.resume(coroutine.create(function()
  478. wait(0.4)
  479. for i = 1, 5 do
  480. wait(0.01)
  481. fus.Size = fus.Size + Vector3.new(1, 1, 1)
  482. end
  483. wait(3)
  484. fus.Transparency = 0
  485. fus:remove()
  486. fixalljoints()
  487. end))
  488. local canattack = true --you had this as a Instance before, you can just do it as variable
  489. Torso:FindFirstChild("damage").Touched:Connect(function(user) --event
  490. local humanoid2 = user.Parent:FindFirstChild("Humanoid")--checks if there is a humanoid in p
  491. if canattack == true and humanoid2 then --if canattack is false and there is a humanoid
  492.  
  493. canattack = false--sets canattack to false
  494.  
  495. humanoid2:TakeDamage(42)
  496. wait(0.3)
  497. canattack = true
  498.  
  499. end
  500.  
  501. end)
  502.  
  503. end
  504. end)
  505.  
  506.  
  507.  
  508. mouse.KeyDown:connect(function(key)
  509. if key == "v" then
  510.  
  511. chat:Chat(owner.Character.Head, "Kyogre Rain Fall!")
  512.  
  513. Model0 = Instance.new("Model")
  514. Part1 = Instance.new("Part")
  515. ParticleEmitter2 = Instance.new("ParticleEmitter")
  516. Part3 = Instance.new("Part")
  517. ParticleEmitter4 = Instance.new("ParticleEmitter")
  518. Part5 = Instance.new("Part")
  519. ParticleEmitter6 = Instance.new("ParticleEmitter")
  520. Part7 = Instance.new("Part")
  521. ParticleEmitter8 = Instance.new("ParticleEmitter")
  522. Part9 = Instance.new("Part")
  523. ParticleEmitter10 = Instance.new("ParticleEmitter")
  524. Part11 = Instance.new("Part")
  525. ParticleEmitter12 = Instance.new("ParticleEmitter")
  526. Sky13 = Instance.new("Sky")
  527. Model0.Name = "Cloud"
  528. Model0.Parent = workspace
  529. Part1.Parent = Model0
  530. Part1.CFrame = CFrame.new(125.963196, 113.600372, 201.838348, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  531. Part1.Orientation = Vector3.new(1.13999999, 90, 180)
  532. Part1.Position = Vector3.new(125.963196, 113.600372, 201.838348)
  533. Part1.Rotation = Vector3.new(90, 88.8600006, 90)
  534. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  535. Part1.Transparency = 1
  536. Part1.Size = Vector3.new(218.93515, 64.9928284, 225.207718)
  537. Part1.Anchored = true
  538. Part1.BrickColor = BrickColor.new("Black")
  539. Part1.Material = Enum.Material.Slate
  540. Part1.brickColor = BrickColor.new("Black")
  541. Part1.FormFactor = Enum.FormFactor.Symmetric
  542. Part1.formFactor = Enum.FormFactor.Symmetric
  543. ParticleEmitter2.Parent = Part1
  544. ParticleEmitter2.Speed = NumberRange.new(0, 0)
  545. ParticleEmitter2.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  546. ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=241876428"
  547. ParticleEmitter2.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  548. ParticleEmitter2.Size = NumberSequence.new(2,2)
  549. ParticleEmitter2.Acceleration = Vector3.new(0, -50, 0)
  550. ParticleEmitter2.Lifetime = NumberRange.new(2.5, 2.5)
  551. ParticleEmitter2.Rate = 500
  552. ParticleEmitter2.SpreadAngle = Vector2.new(10, 10)
  553. ParticleEmitter2.VelocitySpread = 10
  554. Part3.Parent = Model0
  555. Part3.CFrame = CFrame.new(-95.7134705, 99.3041534, 210.907654, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  556. Part3.Orientation = Vector3.new(1.13999999, 90, 180)
  557. Part3.Position = Vector3.new(-95.7134705, 99.3041534, 210.907654)
  558. Part3.Rotation = Vector3.new(90, 88.8600006, 90)
  559. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  560. Part3.Transparency = 1
  561. Part3.Size = Vector3.new(237.072693, 43.8323746, 383.911102)
  562. Part3.Anchored = true
  563. Part3.BrickColor = BrickColor.new("Black")
  564. Part3.Material = Enum.Material.Slate
  565. Part3.brickColor = BrickColor.new("Black")
  566. Part3.FormFactor = Enum.FormFactor.Symmetric
  567. Part3.formFactor = Enum.FormFactor.Symmetric
  568. ParticleEmitter4.Parent = Part3
  569. ParticleEmitter4.Speed = NumberRange.new(0, 0)
  570. ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  571. ParticleEmitter4.Texture = "http://www.roblox.com/asset/?id=241876428"
  572. ParticleEmitter4.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  573. ParticleEmitter4.Size = NumberSequence.new(2,2)
  574. ParticleEmitter4.Acceleration = Vector3.new(0, -50, 0)
  575. ParticleEmitter4.Lifetime = NumberRange.new(2.5, 2.5)
  576. ParticleEmitter4.Rate = 500
  577. ParticleEmitter4.SpreadAngle = Vector2.new(10, 10)
  578. ParticleEmitter4.VelocitySpread = 10
  579. Part5.Parent = Model0
  580. Part5.CFrame = CFrame.new(126.45311, 117.118408, 67.3167725, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  581. Part5.Orientation = Vector3.new(1.13999999, 90, 180)
  582. Part5.Position = Vector3.new(126.45311, 117.118408, 67.3167725)
  583. Part5.Rotation = Vector3.new(90, 88.8600006, 90)
  584. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  585. Part5.Transparency = 1
  586. Part5.Size = Vector3.new(237.072693, 43.8323746, 308.338043)
  587. Part5.Anchored = true
  588. Part5.BrickColor = BrickColor.new("Black")
  589. Part5.Material = Enum.Material.Slate
  590. Part5.brickColor = BrickColor.new("Black")
  591. Part5.FormFactor = Enum.FormFactor.Symmetric
  592. Part5.formFactor = Enum.FormFactor.Symmetric
  593. ParticleEmitter6.Parent = Part5
  594. ParticleEmitter6.Speed = NumberRange.new(0, 0)
  595. ParticleEmitter6.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  596. ParticleEmitter6.Texture = "http://www.roblox.com/asset/?id=241876428"
  597. ParticleEmitter6.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  598. ParticleEmitter6.Size = NumberSequence.new(2,2)
  599. ParticleEmitter6.Acceleration = Vector3.new(0, -50, 0)
  600. ParticleEmitter6.Lifetime = NumberRange.new(2.5, 2.5)
  601. ParticleEmitter6.Rate = 500
  602. ParticleEmitter6.SpreadAngle = Vector2.new(10, 10)
  603. ParticleEmitter6.VelocitySpread = 10
  604. Part7.Parent = Model0
  605. Part7.CFrame = CFrame.new(-159.202057, 115.269096, -46.7988205, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  606. Part7.Orientation = Vector3.new(1.13999999, 90, 180)
  607. Part7.Position = Vector3.new(-159.202057, 115.269096, -46.7988205)
  608. Part7.Rotation = Vector3.new(90, 88.8600006, 90)
  609. Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  610. Part7.Transparency = 1
  611. Part7.Size = Vector3.new(323.225922, 43.8323746, 317.40686)
  612. Part7.Anchored = true
  613. Part7.BrickColor = BrickColor.new("Black")
  614. Part7.Material = Enum.Material.Slate
  615. Part7.brickColor = BrickColor.new("Black")
  616. Part7.FormFactor = Enum.FormFactor.Symmetric
  617. Part7.formFactor = Enum.FormFactor.Symmetric
  618. ParticleEmitter8.Parent = Part7
  619. ParticleEmitter8.Speed = NumberRange.new(0, 0)
  620. ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  621. ParticleEmitter8.Texture = "http://www.roblox.com/asset/?id=241876428"
  622. ParticleEmitter8.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  623. ParticleEmitter8.Size = NumberSequence.new(2,2)
  624. ParticleEmitter8.Acceleration = Vector3.new(0, -50, 0)
  625. ParticleEmitter8.Lifetime = NumberRange.new(2.5, 2.5)
  626. ParticleEmitter8.Rate = 500
  627. ParticleEmitter8.SpreadAngle = Vector2.new(10, 10)
  628. ParticleEmitter8.VelocitySpread = 10
  629. Part9.Parent = Model0
  630. Part9.CFrame = CFrame.new(90.9316101, 97.3010101, -103.478722, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  631. Part9.Orientation = Vector3.new(1.13999999, 90, 180)
  632. Part9.Position = Vector3.new(90.9316101, 97.3010101, -103.478722)
  633. Part9.Rotation = Vector3.new(90, 88.8600006, 90)
  634. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  635. Part9.Transparency = 1
  636. Part9.Size = Vector3.new(185.682999, 43.8323746, 324.964172)
  637. Part9.Anchored = true
  638. Part9.BrickColor = BrickColor.new("Black")
  639. Part9.Material = Enum.Material.Slate
  640. Part9.brickColor = BrickColor.new("Black")
  641. Part9.FormFactor = Enum.FormFactor.Symmetric
  642. Part9.formFactor = Enum.FormFactor.Symmetric
  643. ParticleEmitter10.Parent = Part9
  644. ParticleEmitter10.Speed = NumberRange.new(0, 0)
  645. ParticleEmitter10.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  646. ParticleEmitter10.Texture = "http://www.roblox.com/asset/?id=241876428"
  647. ParticleEmitter10.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  648. ParticleEmitter10.Size = NumberSequence.new(2,2)
  649. ParticleEmitter10.Acceleration = Vector3.new(0, -50, 0)
  650. ParticleEmitter10.Lifetime = NumberRange.new(2.5, 2.5)
  651. ParticleEmitter10.Rate = 500
  652. ParticleEmitter10.SpreadAngle = Vector2.new(10, 10)
  653. ParticleEmitter10.VelocitySpread = 10
  654. Part11.Parent = Model0
  655. Part11.CFrame = CFrame.new(-38.2844696, 80.5067139, -219.858307, -2.12383497e-08, -0.0199206024, 0.999801159, 3.28179709e-07, -0.999801159, -0.0199207217, 0.99999994, 3.22424484e-07, 3.42798785e-08)
  656. Part11.Orientation = Vector3.new(1.13999999, 90, 180)
  657. Part11.Position = Vector3.new(-38.2844696, 80.5067139, -219.858307)
  658. Part11.Rotation = Vector3.new(90, 88.8600006, 90)
  659. Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  660. Part11.Transparency = 1
  661. Part11.Size = Vector3.new(88.9494781, 43.8323746, 317.40686)
  662. Part11.Anchored = true
  663. Part11.BrickColor = BrickColor.new("Black")
  664. Part11.Material = Enum.Material.Slate
  665. Part11.brickColor = BrickColor.new("Black")
  666. Part11.FormFactor = Enum.FormFactor.Symmetric
  667. Part11.formFactor = Enum.FormFactor.Symmetric
  668. ParticleEmitter12.Parent = Part11
  669. ParticleEmitter12.Speed = NumberRange.new(0, 0)
  670. ParticleEmitter12.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0.666667, 1, 1))
  671. ParticleEmitter12.Texture = "http://www.roblox.com/asset/?id=241876428"
  672. ParticleEmitter12.Transparency = NumberSequence.new(0.84375,0.41874998807907,0.63125002384186,0.44374996423721,0.60000002384186)
  673. ParticleEmitter12.Size = NumberSequence.new(2,2)
  674. ParticleEmitter12.Acceleration = Vector3.new(0, -50, 0)
  675. ParticleEmitter12.Lifetime = NumberRange.new(2.5, 2.5)
  676. ParticleEmitter12.Rate = 500
  677. ParticleEmitter12.SpreadAngle = Vector2.new(10, 10)
  678. ParticleEmitter12.VelocitySpread = 10
  679. Sky13.Parent = game.Lighting
  680. Sky13.CelestialBodiesShown = false
  681. Sky13.SkyboxBk = "rbxassetid://246480323"
  682. Sky13.SkyboxDn = "rbxassetid://246480523"
  683. Sky13.SkyboxFt = "rbxassetid://246480105"
  684. Sky13.SkyboxLf = "rbxassetid://246480549"
  685. Sky13.SkyboxRt = "rbxassetid://246480565"
  686. Sky13.SkyboxUp = "rbxassetid://246480504"
  687. end
  688. end)
  689.  
  690. mouse.KeyDown:connect(function(key)
  691. if key == "x" then
  692.  
  693. chat:Chat(owner.Character.Head, "Kyogre Water Charge!!")
  694. local rs,ls,rh,lh,neck,rj = getnewjoints()
  695. for i = 0, 2, 0.1 do
  696. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.104528472, -0.994522035, 0, 0.994522035, 0.104528472, 1, 0, 0), 0.2)
  697. rs.C0 = rs.C0:Lerp(CFrame.new(1.54167628, 0.0454798974, 0, -0.482965499, -0.871292651, -0.087155737, -0.0422539636, -0.0762281716, 0.996195912, -0.874620378, 0.484809875, 0), 0.2)
  698. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.500000656, -0.866026223, 0, -1.61309954e-009, 9.31323796e-010, 1.00000024, -0.866026342, 0.500000715, -1.86264515e-009), 0.2)
  699. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.469472021, 0.882948279, 0, 0, 0, 1, 0.882948279, 0.469472021, 0), 0.2)
  700. swait()
  701. end
  702. Part0 = Instance.new("Part")
  703. ParticleEmitter1 = Instance.new("ParticleEmitter")
  704. Part0.Parent = ll3part2
  705. Part0.CFrame = CFrame.new(-11.383276, 3.62347698, 80.1322327, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  706. Part0.Position = Vector3.new(-11.383276, 3.62347698, 80.1322327)
  707. Part0.Transparency = 1
  708. Part0.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  709. Part0.Anchored = true
  710. local charge = true
  711. game:GetService('RunService').Stepped:Connect(function()
  712. if charge == true then
  713. Part0.CFrame = ll3part2.CFrame*CFrame.new(0,0,-10)
  714. end
  715. end)
  716. local sed1 = Instance.new("Sound")
  717. sed1.Parent = ll3part2
  718. sed1.SoundId = "rbxassetid://1289851900"
  719. sed1.Volume = 5
  720. sed1:Play()
  721. Part0.Material = Enum.Material.SmoothPlastic
  722. Part0.FormFactor = Enum.FormFactor.Symmetric
  723. Part0.formFactor = Enum.FormFactor.Symmetric
  724. ParticleEmitter1.Parent = Part0
  725. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  726. ParticleEmitter1.Texture = "http://www.roblox.com/asset/?id=266550445"
  727. ParticleEmitter1.Transparency = NumberSequence.new(0.62777775526047,0.02777773141861,1,1)
  728. ParticleEmitter1.Size = NumberSequence.new(6.6875,0,0)
  729. ParticleEmitter1.Rate = 10
  730. wait(7)
  731. fixalljoints()
  732. charge = false
  733. local fus2 = Instance.new("Part")
  734. fus2.Size = Vector3.new(5, 5, 5)
  735. fus2.Anchored = false
  736. fus2.Name = "damage2"
  737. fus2.CanCollide = false
  738. fus2.BrickColor = BrickColor.new("Bright blue")
  739. fus2.Transparency = 1
  740. fus2.CFrame = ll3part2.CFrame*CFrame.new(0,-2,0)
  741. fus2.Parent = Torso
  742. ParticleEmitter12 = Instance.new("ParticleEmitter")
  743. ParticleEmitter12.Name = "1"
  744. ParticleEmitter12.Parent = fus2
  745. ParticleEmitter12.Speed = NumberRange.new(0, 0)
  746. ParticleEmitter12.Rotation = NumberRange.new(-180, 180)
  747. ParticleEmitter12.Color = ColorSequence.new(Color3.new(0.917647, 1, 1),Color3.new(0.917647, 1, 1))
  748. ParticleEmitter12.LightEmission = 0.20000000298023
  749. ParticleEmitter12.LightInfluence = 0.050000000745058
  750. ParticleEmitter12.Texture = "rbxassetid://387288028"
  751. ParticleEmitter12.Transparency = NumberSequence.new(0.70624995231628,0.41874998807907,1)
  752. ParticleEmitter12.ZOffset = 1
  753. ParticleEmitter12.Size = NumberSequence.new(5,5)
  754. ParticleEmitter12.Lifetime = NumberRange.new(1, 1)
  755. ParticleEmitter12.Rate = 82
  756. ParticleEmitter12.RotSpeed = NumberRange.new(-180, 180)
  757. ParticleEmitter12.SpreadAngle = Vector2.new(6, 6)
  758. ParticleEmitter12.VelocitySpread = 6
  759.  
  760. local bp = Instance.new("BodyVelocity")
  761. bp.maxForce = Vector3.new(math.huge, math.huge,math.huge)
  762. bp.Velocity = ll3part2.CFrame.lookVector*150
  763. bp.Parent = fus2
  764. local canattack2 = true --you had this as a Instance before, you can just do it as variable
  765. Torso:FindFirstChild("damage2").Touched:Connect(function(pe) --event
  766. local humanoid3 = pe.Parent:FindFirstChild("Humanoid")--checks if there is a humanoid in p
  767. if canattack2 == true and humanoid3 then --if canattack is false and there is a humanoid
  768.  
  769. canattack2 = false--sets canattack to false
  770.  
  771. humanoid3:TakeDamage(100)
  772. wait(0.3)
  773. canattack2 = true
  774.  
  775. end
  776.  
  777. end)
  778.  
  779. wait(3)
  780. Part0:Destroy()
  781. fus2:Destroy()
  782. end
  783. end)
  784.  
  785.  
  786. mouse.KeyDown:connect(function(key)
  787. if key == "c" then
  788. chat:Chat(owner.Character.Head, "Kyogre Ice Beam!!")
  789. Part02 = Instance.new("Part")
  790. ParticleEmitter145 = Instance.new("ParticleEmitter")
  791. Part02.Parent = Torso
  792. Part02.Name = "Ice"
  793. Part02.Anchored = true
  794. local skilklse = true
  795. game:GetService('RunService').Stepped:Connect(function()
  796. if skilklse == true then
  797. Part02.CFrame = ll3part2.CFrame*CFrame.new(0,-4,-25)
  798. end
  799. end)
  800. Part02.Transparency = 1
  801. Part02.Size = Vector3.new(2.87999988, 1, 39.0000153)
  802. Part02.BottomSurface = Enum.SurfaceType.Smooth
  803. Part02.TopSurface = Enum.SurfaceType.Smooth
  804. ParticleEmitter145.Parent = Part02
  805. ParticleEmitter145.Speed = NumberRange.new(20, 20)
  806. ParticleEmitter145.Rotation = NumberRange.new(-150, 150)
  807. ParticleEmitter145.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0.811765, 1, 0.952941))
  808. ParticleEmitter145.LightEmission = 0.30000001192093
  809. ParticleEmitter145.LightInfluence = 1
  810. ParticleEmitter145.Texture = "rbxassetid://2119427041"
  811. ParticleEmitter145.Transparency = NumberSequence.new(0.60000002384186,0.60000002384186)
  812. ParticleEmitter145.Size = NumberSequence.new(3,3)
  813. ParticleEmitter145.EmissionDirection = Enum.NormalId.Front
  814. ParticleEmitter145.Lifetime = NumberRange.new(1, 2)
  815. ParticleEmitter145.LockedToPart = true
  816. ParticleEmitter145.Rate = 500
  817. ParticleEmitter145.RotSpeed = NumberRange.new(1, 1)
  818. local canattack2 = true --you had this as a Instance before, you can just do it as variable
  819. Torso:FindFirstChild("Ice").Touched:Connect(function(pe) --event
  820. local humanoid3 = pe.Parent:FindFirstChild("Humanoid")--checks if there is a humanoid in p
  821. if canattack2 == true and humanoid3 then --if canattack is false and there is a humanoid
  822.  
  823. canattack2 = false--sets canattack to false
  824.  
  825. pe.Parent.HumanoidRootPart.Anchored = true
  826. local LeftL = pe.Parent:FindFirstChild("Left Leg")
  827. local RightL = pe.Parent:FindFirstChild("Right Leg")
  828. local RightA = pe.Parent:FindFirstChild("Right Arm")
  829. local LeftA = pe.Parent:FindFirstChild("Left Arm")
  830. local Faktorso = pe.Parent.Torso
  831. local Fakhead = pe.Parent.Head
  832. LeftA.Anchored = true
  833. RightL.Anchored = true
  834. LeftL.Anchored = true
  835. RightA.Anchored = true
  836. local Part04 = Instance.new("Part")
  837. Part04.Parent = pe.Parent.Head
  838. Part04.CFrame = Faktorso.CFrame*CFrame.new(0,-1,0)
  839. Part04.Color = Color3.new(0.321569, 0.486275, 0.682353)
  840. Part04.Transparency = 0.10000000149012
  841. Part04.Size = Vector3.new(4.68000031, 6.51000071, 4.94000053)
  842. Part04.BottomSurface = Enum.SurfaceType.Smooth
  843. Part04.BrickColor = BrickColor.new("Steel blue")
  844. Part04.Material = Enum.Material.Ice
  845. Part04.Anchored = true
  846. Part04.TopSurface = Enum.SurfaceType.Smooth
  847. Part04.brickColor = BrickColor.new("Steel blue")
  848. wait(5)
  849. LeftA.Anchored = false
  850. RightL.Anchored = false
  851. LeftL.Anchored = false
  852. RightA.Anchored = false
  853. Part04:Destroy()
  854. pe.Parent.HumanoidRootPart.Anchored = false
  855. skilklse = false
  856. Part02:Destroy()
  857. end
  858.  
  859. end)
  860. end
  861. end)
  862.  
  863. wait(2)
  864. basll:Destroy()
  865. end
  866. end
  867. end)
  868. end
  869.  
  870. end
  871. end
  872. end)
  873.  
  874. while true do wait()
  875. if Torso:FindFirstChild("Kyogre") then
  876. local Decal31 = Torso:FindFirstChild("Kyogre").Decal
  877. local Decal712 = Torso:FindFirstChild("Kyogre").De
  878. wait(0.03)
  879. Decal712.Texture = "http://www.roblox.com/asset/?id=3669576942"
  880. Decal31.Texture = "http://www.roblox.com/asset/?id=3667945757"
  881. wait(0.03)
  882. Decal712.Texture = "http://www.roblox.com/asset/?id=3669577447"
  883. Decal31.Texture = "http://www.roblox.com/asset/?id=3667946634"
  884. wait(0.03)
  885. Decal31.Texture = "http://www.roblox.com/asset/?id=3667947488"
  886. Decal712.Texture = "http://www.roblox.com/asset/?id=3669577872"
  887. wait(0.03)
  888. Decal31.Texture = "http://www.roblox.com/asset/?id=3667949427"
  889. Decal712.Texture = "http://www.roblox.com/asset/?id=3669578353"
  890. wait(0.03)
  891. Decal31.Texture = "http://www.roblox.com/asset/?id=3667951303"
  892. Decal712.Texture = "http://www.roblox.com/asset/?id=3669578812"
  893. wait(0.03)
  894. Decal31.Texture = "http://www.roblox.com/asset/?id=3667952330"
  895. Decal712.Texture = "http://www.roblox.com/asset/?id=3669579323"
  896. wait(0.03)
  897. Decal31.Texture = "http://www.roblox.com/asset/?id=3667978862"
  898. Decal712.Texture = "http://www.roblox.com/asset/?id=3669579705"
  899. wait(0.03)
  900. Decal31.Texture = "http://www.roblox.com/asset/?id=3667979327"
  901. Decal712.Texture = "http://www.roblox.com/asset/?id=3669580143"
  902. wait(0.03)
  903. Decal31.Texture = "http://www.roblox.com/asset/?id=3667979737"
  904. Decal712.Texture = "http://www.roblox.com/asset/?id=3669580442"
  905. wait(0.03)
  906. Decal31.Texture = "http://www.roblox.com/asset/?id=3667980122"
  907. Decal712.Texture = "http://www.roblox.com/asset/?id=3669580442"
  908. wait(0.03)
  909. Decal31.Texture = "http://www.roblox.com/asset/?id=3667980517"
  910. Decal712.Texture = "http://www.roblox.com/asset/?id=3669581634"
  911. wait(0.03)
  912. Decal31.Texture = "http://www.roblox.com/asset/?id=3667980933"
  913. Decal712.Texture = "http://www.roblox.com/asset/?id=3669581634"
  914. wait(0.03)
  915. Decal31.Texture = "http://www.roblox.com/asset/?id=3667981356"
  916. Decal712.Texture = "http://www.roblox.com/asset/?id=3669581634"
  917. wait(0.03)
  918. Decal31.Texture = "http://www.roblox.com/asset/?id=3667981777"
  919. Decal712.Texture = "http://www.roblox.com/asset/?id=3669582256"
  920. wait(0.03)
  921. Decal31.Texture = "http://www.roblox.com/asset/?id=3667982167"
  922. Decal712.Texture = "http://www.roblox.com/asset/?id=3669583535"
  923. wait(0.03)
  924. Decal31.Texture = "http://www.roblox.com/asset/?id=3667982623"
  925. Decal712.Texture = "http://www.roblox.com/asset/?id=3669584058"
  926. wait(0.03)
  927. Decal31.Texture = "http://www.roblox.com/asset/?id=3667982975"
  928. Decal712.Texture = "http://www.roblox.com/asset/?id=3669584524"
  929. wait(0.03)
  930. Decal31.Texture = "http://www.roblox.com/asset/?id=3667983293"
  931. Decal712.Texture = "http://www.roblox.com/asset/?id=3669585114"
  932. wait(0.03)
  933. Decal31.Texture = "http://www.roblox.com/asset/?id=3667983590"
  934. Decal712.Texture = "http://www.roblox.com/asset/?id=3669585519"
  935. wait(0.03)
  936. Decal31.Texture = "http://www.roblox.com/asset/?id=3667984958"
  937. Decal712.Texture = "http://www.roblox.com/asset/?id=3669585932"
  938. wait(0.03)
  939. Decal31.Texture = "http://www.roblox.com/asset/?id=3667985504"
  940. Decal712.Texture = "http://www.roblox.com/asset/?id=3669586410"
  941. wait(0.03)
  942. Decal31.Texture = "http://www.roblox.com/asset/?id=3667985931"
  943. Decal712.Texture = "http://www.roblox.com/asset/?id=3669587079"
  944. wait(0.03)
  945. Decal31.Texture = "http://www.roblox.com/asset/?id=3667986519"
  946. Decal712.Texture = "http://www.roblox.com/asset/?id=3669587079"
  947. wait(0.03)
  948. Decal31.Texture = "http://www.roblox.com/asset/?id=3667986945"
  949. Decal712.Texture = "http://www.roblox.com/asset/?id=3669587712"
  950. wait(0.03)
  951. Decal31.Texture = "http://www.roblox.com/asset/?id=3667987665"
  952. Decal712.Texture = "http://www.roblox.com/asset/?id=3669588348"
  953. wait(0.03)
  954. Decal31.Texture = "http://www.roblox.com/asset/?id=3667988351"
  955. Decal712.Texture = "http://www.roblox.com/asset/?id=3669588735"
  956. wait(0.03)
  957. Decal31.Texture = "http://www.roblox.com/asset/?id=3667989044"
  958. Decal712.Texture = "http://www.roblox.com/asset/?id=3669589232"
  959. wait(0.03)
  960. Decal31.Texture = "http://www.roblox.com/asset/?id=3667989617"
  961. Decal712.Texture = "http://www.roblox.com/asset/?id=3669589739"
  962. wait(0.03)
  963. Decal31.Texture = "http://www.roblox.com/asset/?id=3667990258"
  964. Decal712.Texture = "http://www.roblox.com/asset/?id=3669590378"
  965. wait(0.03)
  966. Decal31.Texture = "http://www.roblox.com/asset/?id=3667990747"
  967. Decal712.Texture = "http://www.roblox.com/asset/?id=3669590897"
  968. wait(0.03)
  969. Decal31.Texture = "http://www.roblox.com/asset/?id=3667991287"
  970. Decal712.Texture = "http://www.roblox.com/asset/?id=3669591447"
  971. wait(0.03)
  972. Decal31.Texture = "http://www.roblox.com/asset/?id=3667991810"
  973. Decal712.Texture = "http://www.roblox.com/asset/?id=3669591912"
  974. wait(0.03)
  975. Decal31.Texture = "http://www.roblox.com/asset/?id=3667992274"
  976. Decal712.Texture = "http://www.roblox.com/asset/?id=3669592702"
  977. wait(0.03)
  978. Decal31.Texture = "http://www.roblox.com/asset/?id=3667992738"
  979. Decal712.Texture = "http://www.roblox.com/asset/?id=3669593541"
  980. wait(0.03)
  981. Decal31.Texture = "http://www.roblox.com/asset/?id=3667993317"
  982. Decal712.Texture = "http://www.roblox.com/asset/?id=3669595045"
  983. wait(0.03)
  984. Decal31.Texture = "http://www.roblox.com/asset/?id=3667993835"
  985. Decal712.Texture = "http://www.roblox.com/asset/?id=3669595608"
  986. wait(0.03)
  987. Decal31.Texture = "http://www.roblox.com/asset/?id=3667994369"
  988. Decal712.Texture = "http://www.roblox.com/asset/?id=3669596188"
  989. wait(0.03)
  990. Decal31.Texture = "http://www.roblox.com/asset/?id=3667995043"
  991. Decal712.Texture = "http://www.roblox.com/asset/?id=3669596812"
  992. wait(0.03)
  993. Decal31.Texture = "http://www.roblox.com/asset/?id=3667995470"
  994. Decal712.Texture = "http://www.roblox.com/asset/?id=3669597313"
  995. wait(0.03)
  996. Decal31.Texture = "http://www.roblox.com/asset/?id=3667996116"
  997. Decal712.Texture = "http://www.roblox.com/asset/?id=3669597884"
  998. wait(0.03)
  999. Decal31.Texture = "http://www.roblox.com/asset/?id=3667996835"
  1000. Decal712.Texture = "http://www.roblox.com/asset/?id=3669598502"
  1001. wait(0.03)
  1002. Decal31.Texture = "http://www.roblox.com/asset/?id=3667997317"
  1003. Decal712.Texture = "http://www.roblox.com/asset/?id=3669599372"
  1004. wait(0.03)
  1005. Decal31.Texture = "http://www.roblox.com/asset/?id=3667997853"
  1006. Decal712.Texture = "http://www.roblox.com/asset/?id=3669600117"
  1007. wait(0.03)
  1008. Decal31.Texture = "http://www.roblox.com/asset/?id=3667998344"
  1009. Decal712.Texture = "http://www.roblox.com/asset/?id=3669600826"
  1010. wait(0.03)
  1011. Decal31.Texture = "http://www.roblox.com/asset/?id=3667999061"
  1012. Decal712.Texture = "http://www.roblox.com/asset/?id=3669601316"
  1013. wait(0.03)
  1014. Decal31.Texture = "http://www.roblox.com/asset/?id=3667999615"
  1015. Decal712.Texture = "http://www.roblox.com/asset/?id=3669601828"
  1016. wait(0.03)
  1017. Decal31.Texture = "http://www.roblox.com/asset/?id=3668000244"
  1018. Decal712.Texture = "http://www.roblox.com/asset/?id=3669602361"
  1019. wait(0.03)
  1020. Decal31.Texture = "http://www.roblox.com/asset/?id=3668000965"
  1021. Decal712.Texture = "http://www.roblox.com/asset/?id=3669603597"
  1022. wait(0.03)
  1023. Decal31.Texture = "http://www.roblox.com/asset/?id=3668001504"
  1024. Decal712.Texture = "http://www.roblox.com/asset/?id=3669604224"
  1025. wait(0.03)
  1026. Decal31.Texture = "http://www.roblox.com/asset/?id=3668005353"
  1027. wait(0.03)
  1028. Decal31.Texture = "http://www.roblox.com/asset/?id=3668005946"
  1029. Decal712.Texture = "http://www.roblox.com/asset/?id=3669604729"
  1030. wait(0.03)
  1031. Decal31.Texture = "http://www.roblox.com/asset/?id=3668006638"
  1032. Decal712.Texture = "http://www.roblox.com/asset/?id=3669605381"
  1033. wait(0.03)
  1034. Decal31.Texture = "http://www.roblox.com/asset/?id=3668007462"
  1035. Decal712.Texture = "http://www.roblox.com/asset/?id=3669605982"
  1036. wait(0.03)
  1037. Decal31.Texture = "http://www.roblox.com/asset/?id=3668008033"
  1038. Decal712.Texture = "http://www.roblox.com/asset/?id=3669605982"
  1039. wait(0.03)
  1040. Decal31.Texture = "http://www.roblox.com/asset/?id=3668008556"
  1041. Decal712.Texture = "http://www.roblox.com/asset/?id=3669607384"
  1042. wait(0.03)
  1043. Decal31.Texture = "http://www.roblox.com/asset/?id=3668011615"
  1044. Decal712.Texture = "http://www.roblox.com/asset/?id=3669607384"
  1045. wait(0.03)
  1046. Decal31.Texture = "http://www.roblox.com/asset/?id=3668012488"
  1047. Decal712.Texture = "http://www.roblox.com/asset/?id=3669608116"
  1048. wait(0.03)
  1049. Decal31.Texture = "http://www.roblox.com/asset/?id=3668013361"
  1050. Decal712.Texture = "http://www.roblox.com/asset/?id=3669609006"
  1051. wait(0.03)
  1052. Decal31.Texture = "http://www.roblox.com/asset/?id=3668014140"
  1053. Decal712.Texture = "http://www.roblox.com/asset/?id=3669609789"
  1054. wait(0.03)
  1055. Decal31.Texture = "http://www.roblox.com/asset/?id=3668014755"
  1056. Decal712.Texture = "http://www.roblox.com/asset/?id=3669610439"
  1057. wait(0.03)
  1058. Decal31.Texture = "http://www.roblox.com/asset/?id=3668015312"
  1059. Decal712.Texture = "http://www.roblox.com/asset/?id=3669611055"
  1060. wait(0.03)
  1061. Decal31.Texture = "http://www.roblox.com/asset/?id=3668015939"
  1062. Decal712.Texture = "http://www.roblox.com/asset/?id=3669611669"
  1063. wait(0.03)
  1064. Decal31.Texture = "http://www.roblox.com/asset/?id=3668016643"
  1065. Decal712.Texture = "http://www.roblox.com/asset/?id=3669612173"
  1066. wait(0.03)
  1067. Decal31.Texture = "http://www.roblox.com/asset/?id=3668017486"
  1068. Decal712.Texture = "http://www.roblox.com/asset/?id=3669612734"
  1069. wait(0.03)
  1070. Decal31.Texture = "http://www.roblox.com/asset/?id=3668019384"
  1071. Decal712.Texture = "http://www.roblox.com/asset/?id=3669613489"
  1072. wait(0.03)
  1073. Decal31.Texture = "http://www.roblox.com/asset/?id=3668020069"
  1074. wait(0.03)
  1075. Decal712.Texture = "http://www.roblox.com/asset/?id=3669614133"
  1076. Decal712.Texture = "http://www.roblox.com/asset/?id=3669617589"
  1077. wait(0.03)
  1078. Decal712.Texture = "http://www.roblox.com/asset/?id=3669618275"
  1079. wait(0.03)
  1080. Decal712.Texture = "http://www.roblox.com/asset/?id=3669619024"
  1081. wait(0.03)
  1082. Decal712.Texture = "http://www.roblox.com/asset/?id=3669619682"
  1083. end
  1084. spawn(function()
  1085.  
  1086. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1087. velderp = RootPart.Velocity.y
  1088. hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1089. swait()
  1090. if torvel < 1 and hitfloor ~= nil then
  1091. Anim = "Idle"
  1092. change = 1
  1093. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  1094. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(30)), .3)
  1095. RW.C0 = clerp(RW.C0, CFrame.new(.8, 0.5, -.7) * angles(math.rad(85), math.rad(0), math.rad(-70)), 0.3)
  1096. LW.C0 = clerp(LW.C0, CFrame.new(-.8, 0.5, -.3) * angles(math.rad(70), math.rad(0), math.rad(70)), 0.3)
  1097. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1098. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  1099.  
  1100. elseif torvel > 2 and hitfloor ~= nil then
  1101. Anim = "Walk"
  1102. change = 1
  1103. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .3)
  1104. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(0)), .3)
  1105. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40) * math.cos(sine / 7), math.rad(0), math.rad(5)), 0.3)
  1106. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40) * math.cos(sine / 7), math.rad(0), math.rad(-5)), 0.3)
  1107. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2), math.rad(0), math.rad(0)), .3)
  1108. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2), math.rad(0), math.rad(0)), .3)
  1109. end
  1110.  
  1111. end)
  1112.  
  1113. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement