Advertisement
Guest User

frwtgryregre

a guest
Jan 1st, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.96 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. --Final Gladiator, Edit by Anarchy#8267, Remove Credits and I'll find you
  87.  
  88. print'test testy testie'
  89.  
  90. plr = game.Players.LocalPlayer
  91. char = plr.Character
  92. hum = char.Humanoid
  93. local cam = game.Workspace.CurrentCamera
  94. t = char.Torso
  95. h = char.Head
  96. ra = char["Right Arm"]
  97. la = char["Left Arm"]
  98. rl = char["Right Leg"]
  99. ll = char["Left Leg"]
  100. tors = char.Torso
  101. lleg = char["Left Leg"]
  102. root = char.HumanoidRootPart
  103. hed = char.Head
  104. rleg = char["Right Leg"]
  105. rarm = char["Right Arm"]
  106. larm = char["Left Arm"]
  107. vt = Vector3.new
  108. bc = BrickColor.new
  109. br = BrickColor.random
  110. it = Instance.new
  111. cf = CFrame.new
  112.  
  113. --rh3.Transparency = 0
  114.  
  115. --//Reaper\\--
  116. local Orbd = Instance.new("Part", char)
  117. Orbd.Name = "Orbd"
  118. Orbd.Shape = Enum.PartType.Ball
  119. Orbd.CanCollide = false
  120. Orbd.BrickColor = BrickColor.new("Maroon")
  121. Orbd.Transparency = 0
  122. Orbd.Material = "Neon"
  123. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  124. Orbd.TopSurface = Enum.SurfaceType.Smooth
  125. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  126.  
  127. local Weld = Instance.new("Weld", Orbd)
  128. Weld.Part0 = char.Head
  129. Weld.Part1 = Orbd
  130. Weld.C1 = CFrame.new(-0.26, -0.24, 0.55)
  131.  
  132. --------------------------------------------------------
  133. local Orbvc = Instance.new("Part", char)
  134. Orbvc.Name = "Orbvc"
  135. Orbvc.Shape = Enum.PartType.Ball
  136. Orbvc.CanCollide = false
  137. Orbvc.BrickColor = BrickColor.new("Really red")
  138. Orbvc.Transparency = 0
  139. Orbvc.Material = "Neon"
  140. Orbvc.Size = Vector3.new(0.3, 0.3, 0.3)
  141. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  142. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  143.  
  144. local Weld = Instance.new("Weld", Orbvc)
  145. Weld.Part0 = char.Head
  146. Weld.Part1 = Orbvc
  147. Weld.C1 = CFrame.new(0.26, -0.24, 0.55)
  148.  
  149. local Mask = Instance.new("Part", char)
  150. Mask.Name = "Mask"
  151. Mask.CanCollide = false
  152. Mask.BrickColor = BrickColor.new("Black")
  153. Mask.Transparency = 0
  154. Mask.Material = "Plastic"
  155. Mask.Size = Vector3.new(0.1, 0.1, 0.1)
  156. Mask.TopSurface = Enum.SurfaceType.Smooth
  157. Mask.BottomSurface = Enum.SurfaceType.Smooth
  158.  
  159. local Weld = Instance.new("Weld", Mask)
  160. Weld.Part0 = char.Head
  161. Weld.Part1 = Mask
  162. Weld.C1 = CFrame.new(0, -0.1, 0.8)
  163.  
  164. local M1 = Instance.new("SpecialMesh")
  165. M1.Parent = Mask
  166. M1.MeshId = "http://www.roblox.com/asset/?id=62679079"
  167. M1.Scale = Vector3.new( 1, 1, 2)
  168. ----------------------------------------------------------
  169. local Hood = Instance.new("Part", char)
  170. Hood.Name = "Hood"
  171. Hood.CanCollide = false
  172. Hood.BrickColor = BrickColor.new("Brown")
  173. Hood.Transparency = 0
  174. Hood.Material = "Plastic"
  175. Hood.Size = Vector3.new(0.1, 0.1, 0.1)
  176. Hood.TopSurface = Enum.SurfaceType.Smooth
  177. Hood.BottomSurface = Enum.SurfaceType.Smooth
  178.  
  179. local Weld = Instance.new("Weld", Hood)
  180. Weld.Part0 = char.Head
  181. Weld.Part1 = Hood
  182. Weld.C1 = CFrame.new(0, -0.2, 0)
  183.  
  184. local M2 = Instance.new("SpecialMesh")
  185. M2.Parent = Hood
  186. M2.MeshId = "http://www.roblox.com/asset/?id=83499032"
  187. M2.Scale = Vector3.new( 1, 1.2, 1.1)
  188.  
  189. CV="Really red"
  190.  
  191. local txt = Instance.new("BillboardGui", char)
  192. txt.Adornee = char .Head
  193. txt.Name = "_status"
  194. txt.Size = UDim2.new(2, 0, 1.2, 0)
  195. txt.StudsOffset = Vector3.new(-9, 8, 0)
  196. local text = Instance.new("TextLabel", txt)
  197. text.Size = UDim2.new(10, 0, 7, 0)
  198. text.FontSize = "Size24"
  199. text.TextScaled = true
  200. text.TextTransparency = 0
  201. text.BackgroundTransparency = 1
  202. text.TextTransparency = 0
  203. text.TextStrokeTransparency = 0
  204. text.Font = "Antique"
  205. text.TextStrokeColor3 = Color3.new(0,0,0)
  206.  
  207. v=Instance.new("Part")
  208. v.Name = "ColorBrick"
  209. v.Parent=plr.Character
  210. v.FormFactor="Symmetric"
  211. v.Anchored=true
  212. v.CanCollide=false
  213. v.BottomSurface="Smooth"
  214. v.TopSurface="Smooth"
  215. v.Size=Vector3.new(10,5,3)
  216. v.Transparency=1
  217. v.CFrame=char.Torso.CFrame
  218. v.BrickColor=BrickColor.new(CV)
  219. v.Transparency=1
  220. text.TextColor3 = Color3.new(255,0,0)
  221. v.Shape="Block"
  222. text.Text = "Soviet Officer..."
  223.  
  224. local s = Instance.new("Sound",char)
  225. s.SoundId = "http://www.roblox.com/asset/?id=415880409"
  226. s.Pitch = 0.98
  227. s.Volume = math.huge
  228. s.Looped = false
  229. wait(0.1)
  230. s:play()
  231.  
  232. local s2 = Instance.new("Sound",char)
  233. s2.SoundId = "http://www.roblox.com/asset/?id=320815294"
  234. s2.Pitch = 1
  235. s2.Volume = math.huge
  236. s2.Looped = true
  237. wait(0.1)
  238. s2:play()
  239.  
  240.  
  241. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  242. local NEWMESH = IT(MESH)
  243. if MESH == "SpecialMesh" then
  244. NEWMESH.MeshType = MESHTYPE
  245. if MESHID ~= "nil" and MESHID ~= "" then
  246. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  247. end
  248. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  249. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  250. end
  251. end
  252. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  253. NEWMESH.Scale = SCALE
  254. NEWMESH.Parent = PARENT
  255. return NEWMESH
  256. end
  257.  
  258. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  259. local NEWPART = IT("Part")
  260. NEWPART.formFactor = FORMFACTOR
  261. NEWPART.Reflectance = REFLECTANCE
  262. NEWPART.Transparency = TRANSPARENCY
  263. NEWPART.CanCollide = false
  264. NEWPART.Locked = true
  265. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  266. NEWPART.Name = NAME
  267. NEWPART.Size = SIZE
  268. NEWPART.Position = Torso.Position
  269. NEWPART.Material = MATERIAL
  270. NEWPART:BreakJoints()
  271. NEWPART.Parent = PARENT
  272. return NEWPART
  273. end
  274.  
  275.  
  276. function EndTheWorldBaby() --World End
  277. s2:Stop()
  278. local moosick2 = Instance.new("Sound",Character)
  279. moosick2.SoundId = "rbxassetid://320815294" --music
  280. --751746850, 741908765
  281. moosick2.Looped = true
  282. moosick2.Pitch = 1
  283. moosick2.Volume = 666
  284. moosick2:Play()
  285.  
  286. Mask.Transparency = 1
  287. Orbvc.Transparency = 1
  288. Orbd.Transparency = 1
  289.  
  290. IT = Instance.new
  291. CF = CFrame.new
  292. VT = Vector3.new
  293. RAD = math.rad
  294. C3 = Color3.new
  295. UD2 = UDim2.new
  296. BRICKC = BrickColor.new
  297. ANGLES = CFrame.Angles
  298. EULER = CFrame.fromEulerAnglesXYZ
  299. COS = math.cos
  300. ACOS = math.acos
  301. SIN = math.sin
  302. ASIN = math.asin
  303. ABS = math.abs
  304. MRANDOM = math.random
  305. FLOOR = math.floor
  306.  
  307.  
  308. local EyeSizes={
  309. NumberSequenceKeypoint.new(0,0.65,0),
  310. NumberSequenceKeypoint.new(0.5,0.7,0),
  311. NumberSequenceKeypoint.new(1,0,0)
  312. }
  313. local EyeTrans={
  314. NumberSequenceKeypoint.new(0,0,0),
  315. NumberSequenceKeypoint.new(0.5,0,0),
  316. NumberSequenceKeypoint.new(1,1,0)
  317. }
  318. local PE22=Instance.new("ParticleEmitter", la)
  319. PE22.LightEmission=.9
  320. PE22.Color = ColorSequence.new(BRICKC("Maroon").Color,BRICKC("Really red").Color)
  321. PE22.Size=NumberSequence.new(EyeSizes)
  322. PE22.Transparency=NumberSequence.new(EyeTrans)
  323. PE22.Lifetime=NumberRange.new(0.35)
  324. PE22.Rotation=NumberRange.new(0,360)
  325. PE22.Rate=999
  326. PE22.VelocitySpread = 10000
  327. PE22.Acceleration = Vector3.new(0,25,0)
  328. PE22.ZOffset = 0.5
  329. PE22.Drag = 0
  330. PE22.Speed = NumberRange.new(0,0,0)
  331. PE22.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  332. PE22.Name = "PE22"
  333. PE22.Enabled = true
  334. PE22.LockedToPart = true
  335.  
  336. local EyeSizes={
  337. NumberSequenceKeypoint.new(0,0.65,0),
  338. NumberSequenceKeypoint.new(0.5,0.7,0),
  339. NumberSequenceKeypoint.new(1,0,0)
  340. }
  341. local EyeTrans={
  342. NumberSequenceKeypoint.new(0,0,0),
  343. NumberSequenceKeypoint.new(0.5,0,0),
  344. NumberSequenceKeypoint.new(1,1,0)
  345. }
  346. local PE2=Instance.new("ParticleEmitter", ra)
  347. PE2.LightEmission=.9
  348. PE2.Color = ColorSequence.new(BRICKC("Maroon").Color,BRICKC("Really red").Color)
  349. PE2.Size=NumberSequence.new(EyeSizes)
  350. PE2.Transparency=NumberSequence.new(EyeTrans)
  351. PE2.Lifetime=NumberRange.new(0.35)
  352. PE2.Rotation=NumberRange.new(0,360)
  353. PE2.Rate=999
  354. PE2.VelocitySpread = 10000
  355. PE2.Acceleration = Vector3.new(0,25,0)
  356. PE2.ZOffset = 0.5
  357. PE2.Drag = 0
  358. PE2.Speed = NumberRange.new(0,0,0)
  359. PE2.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  360. PE2.Name = "PE2"
  361. PE2.Enabled = true
  362. PE2.LockedToPart = true
  363.  
  364.  
  365. local EyeSizes={
  366. NumberSequenceKeypoint.new(0,0.65,0),
  367. NumberSequenceKeypoint.new(0.5,0.7,0),
  368. NumberSequenceKeypoint.new(1,0,0)
  369. }
  370. local EyeTrans={
  371. NumberSequenceKeypoint.new(0,0,0),
  372. NumberSequenceKeypoint.new(0.5,0,0),
  373. NumberSequenceKeypoint.new(1,1,0)
  374. }
  375. local PE3=Instance.new("ParticleEmitter", ll)
  376. PE3.LightEmission=.9
  377. PE3.Color = ColorSequence.new(BRICKC("Maroon").Color,BRICKC("Really red").Color)
  378. PE3.Size=NumberSequence.new(EyeSizes)
  379. PE3.Transparency=NumberSequence.new(EyeTrans)
  380. PE3.Lifetime=NumberRange.new(0.35)
  381. PE3.Rotation=NumberRange.new(0,360)
  382. PE3.Rate=999
  383. PE3.VelocitySpread = 10000
  384. PE3.Acceleration = Vector3.new(0,25,0)
  385. PE3.ZOffset = 0.5
  386. PE3.Drag = 0
  387. PE3.Speed = NumberRange.new(0,0,0)
  388. PE3.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  389. PE3.Name = "PE3"
  390. PE3.Enabled = true
  391. PE3.LockedToPart = true
  392.  
  393. local EyeSizes={
  394. NumberSequenceKeypoint.new(0,0.65,0),
  395. NumberSequenceKeypoint.new(0.5,0.7,0),
  396. NumberSequenceKeypoint.new(1,0,0)
  397. }
  398. local EyeTrans={
  399. NumberSequenceKeypoint.new(0,0,0),
  400. NumberSequenceKeypoint.new(0.5,0,0),
  401. NumberSequenceKeypoint.new(1,1,0)
  402. }
  403. local PE4=Instance.new("ParticleEmitter", rl)
  404. PE4.LightEmission=.9
  405. PE4.Color = ColorSequence.new(BRICKC("Maroon").Color,BRICKC("Really red").Color)
  406. PE4.Size=NumberSequence.new(EyeSizes)
  407. PE4.Transparency=NumberSequence.new(EyeTrans)
  408. PE4.Lifetime=NumberRange.new(0.35)
  409. PE4.Rotation=NumberRange.new(0,360)
  410. PE4.Rate=999
  411. PE4.VelocitySpread = 10000
  412. PE4.Acceleration = Vector3.new(0,25,0)
  413. PE4.ZOffset = 0.5
  414. PE4.Drag = 0
  415. PE4.Speed = NumberRange.new(0,0,0)
  416. PE4.Texture="rbxasset://textures/particles/explosion01_implosion_main.dds"
  417. PE4.Name = "PE4"
  418. PE4.Enabled = true
  419. PE4.LockedToPart = true
  420.  
  421.  
  422. Reaper2 = Instance.new("Model")
  423. Reaper2.Parent = plr.Character
  424. Reaper2.Name = "Reaper2"
  425. rh2 = Instance.new("Part")
  426. rh2.Parent = Reaper2
  427. rh2.Locked = true
  428. rh2.CanCollide = false
  429. mesh2 = Instance.new("SpecialMesh")
  430. rh2.formFactor = "Symmetric"
  431. mesh2.MeshType = "FileMesh"
  432. mesh2.MeshId = "http://www.roblox.com/asset/?id=74220237"
  433. mesh2.TextureId = "http://www.roblox.com/asset/?id=74220223"
  434. mesh2.Parent = rh2
  435. local weld2 = Instance.new("Weld")
  436. weld2.Parent = rh2
  437. rh2.Transparency = 0
  438. weld2.Part0 = rh2
  439. weld2.Part1 = plr.Character.Head
  440. weld2.C0 = CFrame.new(-0, 0.4, 0.04)*CFrame.Angles(0, 0, 0)
  441.  
  442. Head.face.Texture = "http://www.roblox.com/asset/?id=1181097155" --Head.face
  443.  
  444. Reaper4 = Instance.new("Model")
  445. Reaper4.Parent = Character
  446. Reaper4.Name = "Reaper4"
  447. rh4 = Instance.new("Part")
  448. rh4.Parent = Reaper4
  449. --[[rh4.BrickColor = BrickColor.new("Royal purple")]]--
  450. rh4.Locked = true
  451. rh4.CanCollide = false
  452. mesh4 = Instance.new("SpecialMesh")
  453. rh4.formFactor = "Symmetric"
  454. mesh4.MeshType = "FileMesh"
  455. mesh4.MeshId = "http://www.roblox.com/asset/?id=362013001"
  456. mesh4.TextureId = "http://www.roblox.com/asset/?id=362013075"
  457. mesh4.Parent = rh4
  458. local weld4 = Instance.new("Weld")
  459. weld4.Parent = rh4
  460. rh4.Transparency = 0
  461. weld4.Part0 = rh4
  462. weld4.Part1 = Character.Head
  463. weld4.C0 = CFrame.new(0, -0.5, -0.03)*CFrame.Angles(0, 0, 0)
  464. end
  465.  
  466. local m = Instance.new("Model",char)
  467. m.Name = "GaunletModel"
  468.  
  469. local maincolor = BrickColor.new("Really red")
  470. local maincolor2 = BrickColor.new("Really black")
  471.  
  472. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  473. local p = Instance.new("Part")
  474. p.Parent = parent
  475. p.Size = Vector3.new(1,1,1)
  476. p.Transparency = transparency
  477. p.Reflectance = reflectance
  478. p.CanCollide = false
  479. p.BrickColor = brickcolor
  480. p.Material = material
  481. return p
  482. end
  483.  
  484. for i,v in pairs(char:children()) do
  485. if v:IsA("Hat") then
  486. v:Destroy()
  487. end
  488. end
  489. for i,v in pairs(char:children()) do
  490. if v:IsA("Accessory") then
  491. v:Destroy()
  492. end
  493. end
  494. for i,v in pairs(char:children()) do
  495. if v:IsA("Hair") then
  496. v:Destroy()
  497. end
  498. end
  499.  
  500. function CreateMesh(parent,meshtype,x1,y1,z1)
  501. local mesh = Instance.new("SpecialMesh",parent)
  502. mesh.MeshType = meshtype
  503. mesh.Scale = Vector3.new(x1,y1,z1)
  504. return mesh
  505. end
  506.  
  507. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  508. local mesh = Instance.new("SpecialMesh",parent)
  509. mesh.MeshType = "SpecialMesh"
  510. mesh.MeshId = meshid
  511. mesh.Scale = Vector3.new(x1,y1,z1)
  512. return mesh
  513. end
  514.  
  515. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  516. local mesh = Instance.new("SpecialMesh",parent)
  517. mesh.MeshType = "FileMesh"
  518. mesh.MeshId = meshid
  519. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  520. mesh.Scale = Vector3.new(x1,y1,z1)
  521. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  522. return mesh
  523. end
  524.  
  525. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  526. local weld = Instance.new("Weld")
  527. weld.Parent = parent
  528. weld.Part0 = part0
  529. weld.Part1 = part1
  530. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  531. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  532. return weld
  533. end
  534.  
  535. local llegw = CreatePart(m,1,1,"SmoothPlastic",maincolor2)
  536. CreateWeld(llegw,lleg,llegw,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  537. local rlegw = CreatePart(m,1,1,"SmoothPlastic",maincolor2)
  538. CreateWeld(rlegw,rleg,rlegw,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  539.  
  540. local sorb = CreatePart(m,1,1,"SmoothPlastic",maincolor2)
  541. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  542. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",maincolor2)
  543. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  544.  
  545. ---- Right arm
  546. local handle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  547. CreateMesh(handle,"Brick",1.05,1.5,1.05)
  548. CreateWeld(handle,rarm,handle,0,-0.265,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  549. local lowhandle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  550. CreateMesh(lowhandle,"Brick",1.025,0.3,1.025)
  551. CreateWeld(lowhandle,rarm,lowhandle,0,0.865,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  552. local lowhandleo = CreatePart(m,0,0,"Neon",maincolor)
  553. CreateMesh(lowhandleo,"Brick",1.02,0.3,1.02)
  554. CreateWeld(lowhandleo,rarm,lowhandleo,0,0.835,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  555. local handleg = CreatePart(m,0,0,"Neon",maincolor)
  556. CreateMesh(handleg,"Brick",1.025,1.5,1.025)
  557. CreateWeld(handleg,handle,handleg,0,0.1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  558. local handleo = CreatePart(m,0,0,"Neon",maincolor)
  559. CreateMesh(handleo,"Brick",0.5,0.85,1.085)
  560. CreateWeld(handleo,handle,handleo,-0.315,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  561. local handleo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  562. CreateMesh(handleo2,"Brick",0.5,0.8,1.09)
  563. CreateWeld(handleo2,handle,handleo2,-0.3175,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  564. local zi = CreatePart(m,0,0,"Neon",maincolor)
  565. CreateMesh(zi,"Brick",0.025,1.525,1.1)
  566. CreateWeld(zi,handle,zi,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  567.  
  568. local to = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  569. CreateMesh(to,"Brick",0.5,1.5,0.5)
  570. CreateWeld(to,handle,to,0,-0.05,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  571. local tl = CreatePart(m,0,0,"Neon",maincolor)
  572. CreateMesh(tl,"Brick",0.6,1.45,0.6)
  573. CreateWeld(tl,handle,tl,0,-0.05,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  574.  
  575. local zo = CreatePart(m,0,0,"Neon",maincolor)
  576. CreateMesh(zo,"Brick",0.565,0.025,1.1)
  577. CreateWeld(zo,handle,zo,-0.275,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  578. local zoa = CreatePart(m,0,0,"Neon",maincolor)
  579. CreateMesh(zoa,"Brick",0.565,0.025,1.1)
  580. CreateWeld(zoa,handle,zoa,-0.275,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  581. local zob = CreatePart(m,0,0,"Neon",maincolor)
  582. CreateMesh(zob,"Brick",0.565,0.025,1.1)
  583. CreateWeld(zob,handle,zob,-0.275,0.7,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  584. local zz = CreatePart(m,0,0,"Neon",maincolor)
  585. CreateMesh(zz,"Brick",0.3,0.3,0.3)
  586. CreateWeld(zz,zoa,zz,-0.15,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  587. local zzo = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  588. CreateMesh(zzo,"Brick",0.315,0.275,0.275)
  589. CreateWeld(zzo,zz,zzo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  590.  
  591. local li = CreatePart(m,0,0,"Neon",maincolor)
  592. CreateMesh(li,"Brick",0.275,0.825,0.025)
  593. CreateWeld(li,handleo,li,-0.125,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  594.  
  595. local li1 = CreatePart(m,0,0,"Neon",maincolor)
  596. CreateMesh(li1,"Brick",0.275,0.825,0.025)
  597. CreateWeld(li1,handleo,li1,-0.125,0,0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  598. local li2 = CreatePart(m,0,0,"Neon",maincolor)
  599. CreateMesh(li2,"Brick",0.275,0.825,0.025)
  600. CreateWeld(li2,handleo,li2,-0.125,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  601.  
  602. local di = CreatePart(m,0,0,"Neon",maincolor)
  603. CreateMesh(di,"Brick",0.3,0.3,0.3)
  604. CreateWeld(di,handleo,di,-0.125,0,0,math.rad(45),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  605.  
  606. local di1 = CreatePart(m,0,0,"Neon",maincolor)
  607. CreateMesh(di1,"Brick",0.3,0.15,0.15)
  608. CreateWeld(di1,di,di1,0,0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  609. local di2 = CreatePart(m,0,0,"Neon",maincolor)
  610. CreateMesh(di2,"Brick",0.3,0.15,0.15)
  611. CreateWeld(di2,di,di2,0,0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  612. local di3 = CreatePart(m,0,0,"Neon",maincolor)
  613. CreateMesh(di3,"Brick",0.3,0.15,0.15)
  614. CreateWeld(di3,di,di3,0,-0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  615. local di4 = CreatePart(m,0,0,"Neon",maincolor)
  616. CreateMesh(di4,"Brick",0.3,0.15,0.15)
  617. CreateWeld(di4,di,di4,0,-0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  618. local dio = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  619. CreateMesh(dio,"Brick",0.325,0.275,0.275)
  620. CreateWeld(dio,di,dio,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  621. local dio1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  622. CreateMesh(dio1,"Brick",0.325,0.125,0.125)
  623. CreateWeld(dio1,di1,dio1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  624. local dio2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  625. CreateMesh(dio2,"Brick",0.325,0.125,0.125)
  626. CreateWeld(dio2,di2,dio2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  627. local dio3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  628. CreateMesh(dio3,"Brick",0.325,0.125,0.125)
  629. CreateWeld(dio3,di3,dio3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  630. local dio4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  631. CreateMesh(dio4,"Brick",0.325,0.125,0.125)
  632. CreateWeld(dio4,di4,dio4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  633.  
  634. local sq1 = CreatePart(m,0,0,"Neon",maincolor)
  635. CreateMesh(sq1,"Brick",0.3,0.125,0.125)
  636. CreateWeld(sq1,handleo,sq1,-0.125,0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  637. local sq2 = CreatePart(m,0,0,"Neon",maincolor)
  638. CreateMesh(sq2,"Brick",0.3,0.125,0.125)
  639. CreateWeld(sq2,handleo,sq2,-0.125,-0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  640. local sq3 = CreatePart(m,0,0,"Neon",maincolor)
  641. CreateMesh(sq3,"Brick",0.3,0.125,0.125)
  642. CreateWeld(sq3,handleo,sq3,-0.125,0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  643. local sq4 = CreatePart(m,0,0,"Neon",maincolor)
  644. CreateMesh(sq4,"Brick",0.3,0.125,0.125)
  645. CreateWeld(sq4,handleo,sq4,-0.125,-0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  646.  
  647. local sqo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  648. CreateMesh(sqo1,"Brick",0.3115,0.1115,0.1115)
  649. CreateWeld(sqo1,sq1,sqo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  650. local sqo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  651. CreateMesh(sqo2,"Brick",0.3115,0.1115,0.1115)
  652. CreateWeld(sqo2,sq2,sqo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  653. local sqo3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  654. CreateMesh(sqo3,"Brick",0.3115,0.1115,0.1115)
  655. CreateWeld(sqo3,sq3,sqo3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  656. local sqo4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  657. CreateMesh(sqo4,"Brick",0.3115,0.1115,0.1115)
  658. CreateWeld(sqo4,sq4,sqo4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  659.  
  660. local locl = CreatePart(m,0,0,"Neon",maincolor)
  661. CreateMesh(locl,"Brick",0.1,0.1,0.1)
  662. CreateWeld(locl,handle,locl,0,0,0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  663.  
  664. local dil = CreatePart(m,0,0,"Neon",maincolor)
  665. CreateMesh(dil,"Brick",0.45,0.45,0.3)
  666. CreateWeld(dil,locl,dil,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  667.  
  668. local dil1 = CreatePart(m,0,0,"Neon",maincolor)
  669. CreateMesh(dil1,"Brick",0.225,0.225,0.3)
  670. CreateWeld(dil1,dil,dil1,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  671. local dil2 = CreatePart(m,0,0,"Neon",maincolor)
  672. CreateMesh(dil2,"Brick",0.225,0.225,0.3)
  673. CreateWeld(dil2,dil,dil2,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  674.  
  675. local dilo = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  676. CreateMesh(dilo,"Brick",0.375,0.375,0.315)
  677. CreateWeld(dilo,dil,dilo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  678. local dilo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  679. CreateMesh(dilo1,"Brick",0.175,0.175,0.315)
  680. CreateWeld(dilo1,dil1,dilo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  681. local dilo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  682. CreateMesh(dilo2,"Brick",0.175,0.175,0.315)
  683. CreateWeld(dilo2,dil2,dilo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  684.  
  685. local locr = CreatePart(m,0,0,"Neon",maincolor)
  686. CreateMesh(locr,"Brick",0.1,0.1,0.1)
  687. CreateWeld(locr,handle,locr,0,0,-0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  688.  
  689. local dir = CreatePart(m,0,0,"Neon",maincolor)
  690. CreateMesh(dir,"Brick",0.45,0.45,0.3)
  691. CreateWeld(dir,locr,dir,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  692.  
  693. local dir1 = CreatePart(m,0,0,"Neon",maincolor)
  694. CreateMesh(dir1,"Brick",0.225,0.225,0.3)
  695. CreateWeld(dir1,dir,dir1,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  696. local dir2 = CreatePart(m,0,0,"Neon",maincolor)
  697. CreateMesh(dir2,"Brick",0.225,0.225,0.3)
  698. CreateWeld(dir2,dir,dir2,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  699.  
  700. local diro = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  701. CreateMesh(diro,"Brick",0.375,0.375,0.315)
  702. CreateWeld(diro,dir,diro,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  703. local diro1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  704. CreateMesh(diro1,"Brick",0.175,0.175,0.315)
  705. CreateWeld(diro1,dir1,diro1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  706. local diro2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  707. CreateMesh(diro2,"Brick",0.175,0.175,0.315)
  708. CreateWeld(diro2,dir2,diro2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  709.  
  710. ---- Left arm
  711. local handle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  712. CreateMesh(handle,"Brick",1.05,1.5,1.05)
  713. CreateWeld(handle,larm,handle,0,-0.265,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  714. local lowhandle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  715. CreateMesh(lowhandle,"Brick",1.025,0.3,1.025)
  716. CreateWeld(lowhandle,larm,lowhandle,0,0.865,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  717. local lowhandleo = CreatePart(m,0,0,"Neon",maincolor)
  718. CreateMesh(lowhandleo,"Brick",1.02,0.3,1.02)
  719. CreateWeld(lowhandleo,larm,lowhandleo,0,0.835,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  720. local handleg = CreatePart(m,0,0,"Neon",maincolor)
  721. CreateMesh(handleg,"Brick",1.025,1.5,1.025)
  722. CreateWeld(handleg,handle,handleg,0,0.1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  723. local handleo = CreatePart(m,0,0,"Neon",maincolor)
  724. CreateMesh(handleo,"Brick",0.5,0.85,1.085)
  725. CreateWeld(handleo,handle,handleo,0.315,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  726. local handleo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  727. CreateMesh(handleo2,"Brick",0.5,0.8,1.09)
  728. CreateWeld(handleo2,handle,handleo2,0.3175,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  729. local zi = CreatePart(m,0,0,"Neon",maincolor)
  730. CreateMesh(zi,"Brick",0.025,1.525,1.1)
  731. CreateWeld(zi,handle,zi,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  732.  
  733. local to = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  734. CreateMesh(to,"Brick",0.5,1.5,0.5)
  735. CreateWeld(to,handle,to,0,-0.05,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  736. local tl = CreatePart(m,0,0,"Neon",maincolor)
  737. CreateMesh(tl,"Brick",0.6,1.45,0.6)
  738. CreateWeld(tl,handle,tl,0,-0.05,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  739.  
  740. local zo = CreatePart(m,0,0,"Neon",maincolor)
  741. CreateMesh(zo,"Brick",0.565,0.025,1.1)
  742. CreateWeld(zo,handle,zo,0.275,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  743. local zoa = CreatePart(m,0,0,"Neon",maincolor)
  744. CreateMesh(zoa,"Brick",0.565,0.025,1.1)
  745. CreateWeld(zoa,handle,zoa,0.275,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  746. local zob = CreatePart(m,0,0,"Neon",maincolor)
  747. CreateMesh(zob,"Brick",0.565,0.025,1.1)
  748. CreateWeld(zob,handle,zob,0.275,0.7,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  749. local zz = CreatePart(m,0,0,"Neon",maincolor)
  750. CreateMesh(zz,"Brick",0.3,0.3,0.3)
  751. CreateWeld(zz,zoa,zz,0.15,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  752. local zzo = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  753. CreateMesh(zzo,"Brick",0.315,0.275,0.275)
  754. CreateWeld(zzo,zz,zzo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  755.  
  756. local li = CreatePart(m,0,0,"Neon",maincolor)
  757. CreateMesh(li,"Brick",0.275,0.825,0.025)
  758. CreateWeld(li,handleo,li,0.125,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  759.  
  760. local li1 = CreatePart(m,0,0,"Neon",maincolor)
  761. CreateMesh(li1,"Brick",0.275,0.825,0.025)
  762. CreateWeld(li1,handleo,li1,0.125,0,0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  763. local li2 = CreatePart(m,0,0,"Neon",maincolor)
  764. CreateMesh(li2,"Brick",0.275,0.825,0.025)
  765. CreateWeld(li2,handleo,li2,0.125,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  766.  
  767. local di = CreatePart(m,0,0,"Neon",maincolor)
  768. CreateMesh(di,"Brick",0.3,0.3,0.3)
  769. CreateWeld(di,handleo,di,0.125,0,0,math.rad(45),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  770.  
  771. local di1 = CreatePart(m,0,0,"Neon",maincolor)
  772. CreateMesh(di1,"Brick",0.3,0.15,0.15)
  773. CreateWeld(di1,di,di1,0,0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  774. local di2 = CreatePart(m,0,0,"Neon",maincolor)
  775. CreateMesh(di2,"Brick",0.3,0.15,0.15)
  776. CreateWeld(di2,di,di2,0,0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  777. local di3 = CreatePart(m,0,0,"Neon",maincolor)
  778. CreateMesh(di3,"Brick",0.3,0.15,0.15)
  779. CreateWeld(di3,di,di3,0,-0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  780. local di4 = CreatePart(m,0,0,"Neon",maincolor)
  781. CreateMesh(di4,"Brick",0.3,0.15,0.15)
  782. CreateWeld(di4,di,di4,0,-0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  783. local dio = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  784. CreateMesh(dio,"Brick",0.325,0.275,0.275)
  785. CreateWeld(dio,di,dio,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  786. local dio1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  787. CreateMesh(dio1,"Brick",0.325,0.125,0.125)
  788. CreateWeld(dio1,di1,dio1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  789. local dio2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  790. CreateMesh(dio2,"Brick",0.325,0.125,0.125)
  791. CreateWeld(dio2,di2,dio2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  792. local dio3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  793. CreateMesh(dio3,"Brick",0.325,0.125,0.125)
  794. CreateWeld(dio3,di3,dio3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  795. local dio4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  796. CreateMesh(dio4,"Brick",0.325,0.125,0.125)
  797. CreateWeld(dio4,di4,dio4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  798.  
  799. local sq1 = CreatePart(m,0,0,"Neon",maincolor)
  800. CreateMesh(sq1,"Brick",0.3,0.125,0.125)
  801. CreateWeld(sq1,handleo,sq1,0.125,0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802. local sq2 = CreatePart(m,0,0,"Neon",maincolor)
  803. CreateMesh(sq2,"Brick",0.3,0.125,0.125)
  804. CreateWeld(sq2,handleo,sq2,0.125,-0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. local sq3 = CreatePart(m,0,0,"Neon",maincolor)
  806. CreateMesh(sq3,"Brick",0.3,0.125,0.125)
  807. CreateWeld(sq3,handleo,sq3,0.125,0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  808. local sq4 = CreatePart(m,0,0,"Neon",maincolor)
  809. CreateMesh(sq4,"Brick",0.3,0.125,0.125)
  810. CreateWeld(sq4,handleo,sq4,0.125,-0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811.  
  812. local sqo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  813. CreateMesh(sqo1,"Brick",0.3115,0.1115,0.1115)
  814. CreateWeld(sqo1,sq1,sqo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  815. local sqo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  816. CreateMesh(sqo2,"Brick",0.3115,0.1115,0.1115)
  817. CreateWeld(sqo2,sq2,sqo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  818. local sqo3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  819. CreateMesh(sqo3,"Brick",0.3115,0.1115,0.1115)
  820. CreateWeld(sqo3,sq3,sqo3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  821. local sqo4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  822. CreateMesh(sqo4,"Brick",0.3115,0.1115,0.1115)
  823. CreateWeld(sqo4,sq4,sqo4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824.  
  825. local locl = CreatePart(m,0,0,"Neon",maincolor)
  826. CreateMesh(locl,"Brick",0.1,0.1,0.1)
  827. CreateWeld(locl,handle,locl,0,0,0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  828.  
  829. local dil = CreatePart(m,0,0,"Neon",maincolor)
  830. CreateMesh(dil,"Brick",0.45,0.45,0.3)
  831. CreateWeld(dil,locl,dil,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  832.  
  833. local dil1 = CreatePart(m,0,0,"Neon",maincolor)
  834. CreateMesh(dil1,"Brick",0.225,0.225,0.3)
  835. CreateWeld(dil1,dil,dil1,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  836. local dil2 = CreatePart(m,0,0,"Neon",maincolor)
  837. CreateMesh(dil2,"Brick",0.225,0.225,0.3)
  838. CreateWeld(dil2,dil,dil2,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  839.  
  840. local dilo = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  841. CreateMesh(dilo,"Brick",0.375,0.375,0.315)
  842. CreateWeld(dilo,dil,dilo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  843. local dilo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  844. CreateMesh(dilo1,"Brick",0.175,0.175,0.315)
  845. CreateWeld(dilo1,dil1,dilo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  846. local dilo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  847. CreateMesh(dilo2,"Brick",0.175,0.175,0.315)
  848. CreateWeld(dilo2,dil2,dilo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  849.  
  850. local locr = CreatePart(m,0,0,"Neon",maincolor)
  851. CreateMesh(locr,"Brick",0.1,0.1,0.1)
  852. CreateWeld(locr,handle,locr,0,0,-0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  853.  
  854. local dir = CreatePart(m,0,0,"Neon",maincolor)
  855. CreateMesh(dir,"Brick",0.45,0.45,0.3)
  856. CreateWeld(dir,locr,dir,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857.  
  858. local dir1 = CreatePart(m,0,0,"Neon",maincolor)
  859. CreateMesh(dir1,"Brick",0.225,0.225,0.3)
  860. CreateWeld(dir1,dir,dir1,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  861. local dir2 = CreatePart(m,0,0,"Neon",maincolor)
  862. CreateMesh(dir2,"Brick",0.225,0.225,0.3)
  863. CreateWeld(dir2,dir,dir2,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  864.  
  865. local diro = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  866. CreateMesh(diro,"Brick",0.375,0.375,0.315)
  867. CreateWeld(diro,dir,diro,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  868. local diro1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  869. CreateMesh(diro1,"Brick",0.175,0.175,0.315)
  870. CreateWeld(diro1,dir1,diro1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871. local diro2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  872. CreateMesh(diro2,"Brick",0.175,0.175,0.315)
  873. CreateWeld(diro2,dir2,diro2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  874.  
  875. Player=game:GetService("Players").LocalPlayer
  876. Character=Player.Character
  877. PlayerGui=Player.PlayerGui
  878. Backpack=Player.Backpack
  879. Torso=Character.Torso
  880. Head=Character.Head
  881. Humanoid=Character.Humanoid
  882. m=Instance.new('Model',Character)
  883. LeftArm=Character["Left Arm"]
  884. LeftLeg=Character["Left Leg"]
  885. RightArm=Character["Right Arm"]
  886. RightLeg=Character["Right Leg"]
  887. LS=Torso["Left Shoulder"]
  888. LH=Torso["Left Hip"]
  889. RS=Torso["Right Shoulder"]
  890. RH=Torso["Right Hip"]
  891. Face = Head.face
  892. Neck=Torso.Neck
  893. it=Instance.new
  894. attacktype=1
  895. vt=Vector3.new
  896. cf=CFrame.new
  897. euler=CFrame.fromEulerAnglesXYZ
  898. angles=CFrame.Angles
  899. cloaked=false
  900. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  901. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  902. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  903. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  904. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  905. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  906. RootPart=Character.HumanoidRootPart
  907. RootJoint=RootPart.RootJoint
  908. RootCF=euler(-1.57,0,3.14)
  909. attack = false
  910. attackdebounce = false
  911. deb=false
  912. equipped=true
  913. hand=false
  914. MMouse=nil
  915. combo=0
  916. mana=0
  917. trispeed=.2
  918. attackmode='none'
  919. local idle=0
  920. local Anim="Idle"
  921. local Effects={}
  922. local gun=false
  923. local shoot=false
  924. local sine = 0
  925. local change = 1
  926. player=nil
  927.  
  928. mouse=Player:GetMouse()
  929. --save shoulders
  930. RSH, LSH=nil, nil
  931. --welds
  932. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  933. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  934. LH=Torso["Left Hip"]
  935. RH=Torso["Right Hip"]
  936. TorsoColor=Torso.BrickColor
  937. function NoOutline(Part)
  938. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  939. end
  940. player=Player
  941. ch=Character
  942. RSH=ch.Torso["Right Shoulder"]
  943. LSH=ch.Torso["Left Shoulder"]
  944. --
  945. RSH.Parent=nil
  946. LSH.Parent=nil
  947. --
  948. RW.Name="Right Shoulder"
  949. RW.Part0=ch.Torso
  950. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  951. RW.C1=cf(0, 0.5, 0)
  952. RW.Part1=ch["Right Arm"]
  953. RW.Parent=ch.Torso
  954. --
  955. LW.Name="Left Shoulder"
  956. LW.Part0=ch.Torso
  957. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  958. LW.C1=cf(0, 0.5, 0)
  959. LW.Part1=ch["Left Arm"]
  960. LW.Parent=ch.Torso
  961.  
  962. local Stats=Instance.new("BoolValue")
  963. Stats.Name="Stats"
  964. Stats.Parent=Character
  965. local Atk=Instance.new("NumberValue")
  966. Atk.Name="Damage"
  967. Atk.Parent=Stats
  968. Atk.Value=1
  969. local Def=Instance.new("NumberValue")
  970. Def.Name="Defense"
  971. Def.Parent=Stats
  972. Def.Value=1
  973. local Speed=Instance.new("NumberValue")
  974. Speed.Name="Speed"
  975. Speed.Parent=Stats
  976. Speed.Value=1
  977. local Mvmt=Instance.new("NumberValue")
  978. Mvmt.Name="Movement"
  979. Mvmt.Parent=Stats
  980. Mvmt.Value=1
  981.  
  982. local donum=0
  983.  
  984.  
  985. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  986. local fp=it("Part")
  987. fp.formFactor=formfactor
  988. fp.Parent=parent
  989. fp.Reflectance=reflectance
  990. fp.Transparency=transparency
  991. fp.CanCollide=false
  992. fp.Locked=true
  993. fp.BrickColor=brickcolor
  994. fp.Name=name
  995. fp.Size=size
  996. fp.Position=Torso.Position
  997. NoOutline(fp)
  998. fp.Material="SmoothPlastic"
  999. fp:BreakJoints()
  1000. return fp
  1001. end
  1002.  
  1003. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1004. local mesh=it(Mesh)
  1005. mesh.Parent=part
  1006. if Mesh=="SpecialMesh" then
  1007. mesh.MeshType=meshtype
  1008. if meshid~="nil" then
  1009. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1010. end
  1011. end
  1012. mesh.Offset=offset
  1013. mesh.Scale=scale
  1014. return mesh
  1015. end
  1016.  
  1017. function weld(parent,part0,part1,c0)
  1018. local weld=it("Weld")
  1019. weld.Parent=parent
  1020. weld.Part0=part0
  1021. weld.Part1=part1
  1022. weld.C0=c0
  1023. return weld
  1024. end
  1025.  
  1026. local Color1=Torso.BrickColor
  1027.  
  1028. local bodvel=Instance.new("BodyVelocity")
  1029. local bg=Instance.new("BodyGyro")
  1030.  
  1031. function swait(num)
  1032. if num==0 or num==nil then
  1033. game:service'RunService'.Stepped:wait(0)
  1034. else
  1035. for i=0,num do
  1036. game:service'RunService'.Stepped:wait(0)
  1037. end
  1038. end
  1039. end
  1040. p = game.Players.LocalPlayer
  1041. char = p.Character
  1042. local char = p.Character
  1043. torso = char.Torso
  1044. neck = char.Torso.Neck
  1045. hum = char.Humanoid
  1046.  
  1047. so = function(id,par,vol,pit)
  1048. coroutine.resume(coroutine.create(function()
  1049. local sou = Instance.new("Sound",par or workspace)
  1050. sou.Volume=vol
  1051. sou.Pitch=pit or 1
  1052. sou.SoundId=id
  1053. swait()
  1054. sou:play()
  1055. game:GetService("Debris"):AddItem(sou,6)
  1056. end))
  1057. end
  1058.  
  1059. function clerp(a,b,t)
  1060. local qa = {QuaternionFromCFrame(a)}
  1061. local qb = {QuaternionFromCFrame(b)}
  1062. local ax, ay, az = a.x, a.y, a.z
  1063. local bx, by, bz = b.x, b.y, b.z
  1064. local _t = 1-t
  1065. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1066. end
  1067.  
  1068. function QuaternionFromCFrame(cf)
  1069. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1070. local trace = m00 + m11 + m22
  1071. if trace > 0 then
  1072. local s = math.sqrt(1 + trace)
  1073. local recip = 0.5/s
  1074. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1075. else
  1076. local i = 0
  1077. if m11 > m00 then
  1078. i = 1
  1079. end
  1080. if m22 > (i == 0 and m00 or m11) then
  1081. i = 2
  1082. end
  1083. if i == 0 then
  1084. local s = math.sqrt(m00-m11-m22+1)
  1085. local recip = 0.5/s
  1086. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1087. elseif i == 1 then
  1088. local s = math.sqrt(m11-m22-m00+1)
  1089. local recip = 0.5/s
  1090. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1091. elseif i == 2 then
  1092. local s = math.sqrt(m22-m00-m11+1)
  1093. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1094. end
  1095. end
  1096. end
  1097.  
  1098. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1099. local xs, ys, zs = x + x, y + y, z + z
  1100. local wx, wy, wz = w*xs, w*ys, w*zs
  1101. local xx = x*xs
  1102. local xy = x*ys
  1103. local xz = x*zs
  1104. local yy = y*ys
  1105. local yz = y*zs
  1106. local zz = z*zs
  1107. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1108. end
  1109.  
  1110. function QuaternionSlerp(a, b, t)
  1111. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1112. local startInterp, finishInterp;
  1113. if cosTheta >= 0.0001 then
  1114. if (1 - cosTheta) > 0.0001 then
  1115. local theta = math.acos(cosTheta)
  1116. local invSinTheta = 1/math.sin(theta)
  1117. startInterp = math.sin((1-t)*theta)*invSinTheta
  1118. finishInterp = math.sin(t*theta)*invSinTheta
  1119. else
  1120. startInterp = 1-t
  1121. finishInterp = t
  1122. end
  1123. else
  1124. if (1+cosTheta) > 0.0001 then
  1125. local theta = math.acos(-cosTheta)
  1126. local invSinTheta = 1/math.sin(theta)
  1127. startInterp = math.sin((t-1)*theta)*invSinTheta
  1128. finishInterp = math.sin(t*theta)*invSinTheta
  1129. else
  1130. startInterp = t-1
  1131. finishInterp = t
  1132. end
  1133. end
  1134. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1135. end
  1136.  
  1137. local function CFrameFromTopBack(at, top, back)
  1138. local right = top:Cross(back)
  1139. return CFrame.new(at.x, at.y, at.z,
  1140. right.x, top.x, back.x,
  1141. right.y, top.y, back.y,
  1142. right.z, top.z, back.z)
  1143. end
  1144.  
  1145. function Triangle(a, b, c)
  1146. local edg1 = (c-a):Dot((b-a).unit)
  1147. local edg2 = (a-b):Dot((c-b).unit)
  1148. local edg3 = (b-c):Dot((a-c).unit)
  1149. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1150. a, b, c = a, b, c
  1151. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1152. a, b, c = b, c, a
  1153. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1154. a, b, c = c, a, b
  1155. else
  1156. assert(false, "unreachable")
  1157. end
  1158.  
  1159.  
  1160.  
  1161. local len1 = (c-a):Dot((b-a).unit)
  1162. local len2 = (b-a).magnitude - len1
  1163. local width = (a + (b-a).unit*len1 - c).magnitude
  1164.  
  1165. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1166.  
  1167. local list = {}
  1168.  
  1169. if len1 > 0.01 then
  1170. local w1 = Instance.new('WedgePart', m)
  1171. game:GetService("Debris"):AddItem(w1,5)
  1172. w1.Material = "SmoothPlastic"
  1173. w1.FormFactor = 'Custom'
  1174. w1.BrickColor = BrickColor.new("Really red")
  1175. w1.Transparency = 0
  1176. w1.Reflectance = 0
  1177. w1.Material = "SmoothPlastic"
  1178. w1.CanCollide = false
  1179. local l1 = Instance.new("PointLight",w1)
  1180. l1.Color = Color3.new(170,0,0)
  1181. NoOutline(w1)
  1182. local sz = Vector3.new(0.2, width, len1)
  1183. w1.Size = sz
  1184. local sp = Instance.new("SpecialMesh",w1)
  1185. sp.MeshType = "Wedge"
  1186. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1187. w1:BreakJoints()
  1188. w1.Anchored = true
  1189. w1.Parent = workspace
  1190. w1.Transparency = 0.7
  1191. table.insert(Effects,{w1,"Disappear",.01})
  1192. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1193. table.insert(list,w1)
  1194. end
  1195.  
  1196. if len2 > 0.01 then
  1197. local w2 = Instance.new('WedgePart', m)
  1198. game:GetService("Debris"):AddItem(w2,5)
  1199. w2.Material = "SmoothPlastic"
  1200. w2.FormFactor = 'Custom'
  1201. w2.BrickColor = BrickColor.new("Really red")
  1202. w2.Transparency = 0
  1203. w2.Reflectance = 0
  1204. w2.Material = "SmoothPlastic"
  1205. w2.CanCollide = false
  1206. local l2 = Instance.new("PointLight",w2)
  1207. l2.Color = Color3.new(170,0,0)
  1208. NoOutline(w2)
  1209. local sz = Vector3.new(0.2, width, len2)
  1210. w2.Size = sz
  1211. local sp = Instance.new("SpecialMesh",w2)
  1212. sp.MeshType = "Wedge"
  1213. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1214. w2:BreakJoints()
  1215. w2.Anchored = true
  1216. w2.Parent = workspace
  1217. w2.Transparency = 0.7
  1218. table.insert(Effects,{w2,"Disappear",.01})
  1219. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1220. table.insert(list,w2)
  1221. end
  1222. return unpack(list)
  1223. end
  1224.  
  1225.  
  1226. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1227. if hit.Parent==nil then
  1228. return
  1229. end
  1230. h=hit.Parent:FindFirstChild("Humanoid")
  1231. for _,v in pairs(hit.Parent:children()) do
  1232. if v:IsA("Humanoid") then
  1233. h=v
  1234. end
  1235. end
  1236. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1237. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1238. end
  1239. if hit.Parent.className=="Hat" then
  1240. hit=hit.Parent.Parent:findFirstChild("Head")
  1241. end
  1242. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1243. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1244. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1245. return
  1246. end]]
  1247. -- hs(hit,1.2)
  1248. c=Instance.new("ObjectValue")
  1249. c.Name="creator"
  1250. c.Value=game:service("Players").LocalPlayer
  1251. c.Parent=h
  1252. game:GetService("Debris"):AddItem(c,.5)
  1253. Damage=math.random(minim,maxim)
  1254. -- h:TakeDamage(Damage)
  1255. blocked=false
  1256. block=hit.Parent:findFirstChild("Block")
  1257. if block~=nil then
  1258. print(block.className)
  1259. if block.className=="NumberValue" then
  1260. if block.Value>0 then
  1261. blocked=true
  1262. if decreaseblock==nil then
  1263. block.Value=block.Value-1
  1264. end
  1265. end
  1266. end
  1267. if block.className=="IntValue" then
  1268. if block.Value>0 then
  1269. blocked=true
  1270. if decreaseblock~=nil then
  1271. block.Value=block.Value-1
  1272. end
  1273. end
  1274. end
  1275. end
  1276. if blocked==false then
  1277. -- h:TakeDamage(Damage)
  1278. h.Health=h.Health-Damage
  1279. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red"))
  1280. else
  1281. h.Health=h.Health-(Damage/2)
  1282. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1283. end
  1284. if Type=="Knockdown" then
  1285. hum=hit.Parent.Humanoid
  1286. hum.PlatformStand=true
  1287. coroutine.resume(coroutine.create(function(HHumanoid)
  1288. swait(1)
  1289. HHumanoid.PlatformStand=false
  1290. end),hum)
  1291. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1292. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1293. local bodvol=Instance.new("BodyVelocity")
  1294. bodvol.velocity=angle*knockback
  1295. bodvol.P=5000
  1296. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1297. bodvol.Parent=hit
  1298. rl=Instance.new("BodyAngularVelocity")
  1299. rl.P=3000
  1300. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1301. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1302. rl.Parent=hit
  1303. game:GetService("Debris"):AddItem(bodvol,.5)
  1304. game:GetService("Debris"):AddItem(rl,.5)
  1305. elseif Type=="Normal" then
  1306. vp=Instance.new("BodyVelocity")
  1307. vp.P=500
  1308. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1309. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1310. if KnockbackType==1 then
  1311. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1312. elseif KnockbackType==2 then
  1313. vp.velocity=Property.CFrame.lookVector*knockback
  1314. end
  1315. if knockback>0 then
  1316. vp.Parent=hit.Parent.Torso
  1317. end
  1318. game:GetService("Debris"):AddItem(vp,.5)
  1319. elseif Type=="Up" then
  1320. local bodyVelocity=Instance.new("BodyVelocity")
  1321. bodyVelocity.velocity=vt(0,60,0)
  1322. bodyVelocity.P=5000
  1323. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1324. bodyVelocity.Parent=hit
  1325. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1326. rl=Instance.new("BodyAngularVelocity")
  1327. rl.P=3000
  1328. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1329. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1330. rl.Parent=hit
  1331. game:GetService("Debris"):AddItem(rl,.5)
  1332. elseif Type=="Snare" then
  1333. bp=Instance.new("BodyPosition")
  1334. bp.P=2000
  1335. bp.D=100
  1336. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1337. bp.position=hit.Parent.Torso.Position
  1338. bp.Parent=hit.Parent.Torso
  1339. game:GetService("Debris"):AddItem(bp,1)
  1340. elseif Type=="Target" then
  1341. if Targetting==false then
  1342. ZTarget=hit.Parent.Torso
  1343. coroutine.resume(coroutine.create(function(Part)
  1344. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1345. swait(5)
  1346. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1347. end),ZTarget)
  1348. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1349. targetgui=Instance.new("BillboardGui")
  1350. targetgui.Parent=ZTarget
  1351. targetgui.Size=UDim2.new(10,100,10,100)
  1352. targ=Instance.new("ImageLabel")
  1353. targ.Parent=targetgui
  1354. targ.BackgroundTransparency=1
  1355. targ.Image="rbxassetid://4834067"
  1356. targ.Size=UDim2.new(1,0,1,0)
  1357. cam.CameraType="Scriptable"
  1358. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1359. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1360. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1361. Targetting=true
  1362. RocketTarget=ZTarget
  1363. for i=1,Property do
  1364. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1365. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1366. swait()
  1367. end
  1368. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1369. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1370. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1371. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1372. end
  1373. Targetting=false
  1374. RocketTarget=nil
  1375. targetgui.Parent=nil
  1376. cam.CameraType="Custom"
  1377. end
  1378. end
  1379. debounce=Instance.new("BoolValue")
  1380. debounce.Name="DebounceHit"
  1381. debounce.Parent=hit.Parent
  1382. debounce.Value=true
  1383. game:GetService("Debris"):AddItem(debounce,Delay)
  1384. c=Instance.new("ObjectValue")
  1385. c.Name="creator"
  1386. c.Value=Player
  1387. c.Parent=h
  1388. game:GetService("Debris"):AddItem(c,.5)
  1389. CRIT=false
  1390. hitDeb=true
  1391. AttackPos=6
  1392. end
  1393. end
  1394.  
  1395. Reaper3 = Instance.new("Model")
  1396. Reaper3.Parent = plr.Character
  1397. Reaper3.Name = "Reaper3"
  1398. rh3 = Instance.new("Part")
  1399. rh3.Parent = Reaper3
  1400. rh3.Locked = true
  1401. rh3.CanCollide = false
  1402. mesh3 = Instance.new("SpecialMesh")
  1403. rh3.formFactor = "Symmetric"
  1404. mesh3.MeshType = "FileMesh"
  1405. mesh3.MeshId = "http://www.roblox.com/asset/?id=15123905"
  1406. mesh3.TextureId = "http://www.roblox.com/asset/?id=15123875"
  1407. mesh3.Parent = rh3
  1408. local weld3 = Instance.new("Weld")
  1409. weld3.Parent = rh3
  1410. rh3.Transparency = 0
  1411. weld3.Part0 = rh3
  1412. weld3.Part1 = p.Character.Head
  1413. weld3.C0 = CFrame.new(-0, -0.6, 0)*CFrame.Angles(0, 0, 0)
  1414.  
  1415. showDamage=function(Char,Dealt,du,Color)
  1416. m=Instance.new("Model")
  1417. m.Name=tostring(Dealt)
  1418. h=Instance.new("Humanoid")
  1419. h.Health=0
  1420. h.MaxHealth=0
  1421. h.Parent=m
  1422. c=Instance.new("Part")
  1423. c.Transparency=0
  1424. c.BrickColor=Color
  1425. c.Transparency = 1
  1426. c.Name="Head"
  1427. c.TopSurface=0
  1428. c.BottomSurface=0
  1429. c.formFactor="Plate"
  1430. c.Size=Vector3.new(1,.4,1)
  1431.  
  1432. local txt = Instance.new("BillboardGui", c)
  1433. txt.Adornee = c
  1434. txt.Name = "_status"
  1435. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1436. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1437. local text = Instance.new("TextLabel", txt)
  1438. text.Size = UDim2.new(10, 0, 7, 0)
  1439. text.FontSize = "Size12"
  1440. text.TextScaled = true
  1441. text.TextTransparency = 0.5
  1442. text.BackgroundTransparency = 1
  1443. text.TextTransparency = 0.5
  1444. text.TextStrokeTransparency = 0.5
  1445. text.Font = "SciFi"
  1446. text.TextStrokeColor3 = Color3.new(0,0,0)
  1447. v=Instance.new("Part")
  1448. v.Name = "ColorBrick"
  1449. v.Parent=c
  1450. v.FormFactor="Symmetric"
  1451. v.Anchored=true
  1452. v.CanCollide=false
  1453. v.BottomSurface="Smooth"
  1454. v.TopSurface="Smooth"
  1455. v.Size=Vector3.new(10,5,3)
  1456. v.Transparency=1
  1457. v.CFrame=c.CFrame
  1458. v.BrickColor=BrickColor.random()
  1459. v.Transparency=1
  1460. text.TextColor3 = maincolor.Color
  1461. v.Shape="Block"
  1462. text.Text = tostring(Dealt)
  1463. ms=Instance.new("CylinderMesh")
  1464. ms.Scale=Vector3.new(.8,.8,.8)
  1465. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  1466. local dam = Instance.new("Sound",c)
  1467. local rndm=math.random(1,#hitsounds)
  1468. local r=rndm
  1469. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  1470. dam.Volume = 1.25
  1471. dam.Pitch = 1
  1472. dam:Play()
  1473. if CRIT==true then
  1474. ms.Scale=Vector3.new(1,1.25,1)
  1475. end
  1476. ms.Parent=c
  1477. c.Reflectance=0
  1478. Instance.new("BodyGyro").Parent=c
  1479. c.Parent=m
  1480. if Char:findFirstChild("Head")~=nil then
  1481. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1482. elseif Char.Parent:findFirstChild("Head")~=nil then
  1483. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1484. end
  1485. f=Instance.new("BodyPosition")
  1486. f.P=2000
  1487. f.D=100
  1488. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1489. f.position=c.Position+Vector3.new(0,3,0)
  1490. f.Parent=c
  1491. game:GetService("Debris"):AddItem(m,.5+du)
  1492. c.CanCollide=false
  1493. m.Parent=workspace
  1494. c.CanCollide=false
  1495. end
  1496.  
  1497. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1498. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1499. end
  1500.  
  1501. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1502. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1503. prt.Anchored=true
  1504. prt.CFrame=cframe
  1505. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1506. --http://www.roblox.com/asset/?id=4770560
  1507. game:GetService("Debris"):AddItem(prt,2)
  1508. CF=prt.CFrame
  1509. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1510. for i=0,1,0.2 do
  1511. wait()
  1512. Part.CFrame=CF*cf(0,0,-0.4)
  1513. end
  1514. for i=0,1,delay do
  1515. wait()
  1516. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1517. Mesh.Scale=Mesh.Scale
  1518. end
  1519. for i=0,1,0.1 do
  1520. wait()
  1521. Part.Transparency=i
  1522. end
  1523. Part.Parent=nil
  1524. end),prt,msh,CF)
  1525. end
  1526.  
  1527. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1528. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1529. prt.Anchored=true
  1530. prt.Material = "Neon"
  1531. prt.CFrame=cframe
  1532. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1533. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1534. game:GetService("Debris"):AddItem(prt,5)
  1535. coroutine.resume(coroutine.create(function(Part,Mesh)
  1536. for i=0,1,delay do
  1537. swait()
  1538. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1539. Part.Transparency=i
  1540. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1541. end
  1542. Part.Parent=nil
  1543. end),prt,msh)
  1544. end
  1545.  
  1546. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1547. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1548. prt.Anchored=true
  1549. prt.Material = "Neon"
  1550. prt.CFrame=cframe
  1551. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1552. game:GetService("Debris"):AddItem(prt,5)
  1553. coroutine.resume(coroutine.create(function(Part,Mesh)
  1554. local rtype = rottype
  1555. for i=0,1,delay do
  1556. swait()
  1557. if rtype == 1 then
  1558. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1559. elseif rtype == 2 then
  1560. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1561. end
  1562. Part.Transparency=i
  1563. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1564. end
  1565. Part.Parent=nil
  1566. end),prt,msh)
  1567. end
  1568.  
  1569. char.Shirt:Destroy() ---SHIRT SCRIPT HERE PANTS TOO!
  1570. char.Pants:Destroy()
  1571. shirt = Instance.new("Shirt", char)
  1572. shirt.Name = "Shirt"
  1573. pants = Instance.new("Pants", char)
  1574. pants.Name = "Pants"
  1575. char.Shirt.ShirtTemplate = "rbxassetid://817333972"
  1576. char.Pants.PantsTemplate = "rbxassetid://817451408"
  1577.  
  1578. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1579. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1580. prt.Anchored=true
  1581. prt.CFrame=cframe
  1582. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1583. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1584. game:GetService("Debris"):AddItem(prt,5)
  1585. coroutine.resume(coroutine.create(function(Part,Mesh)
  1586. for i=0,1,delay do
  1587. wait()
  1588. Part.Transparency=i
  1589. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1590. end
  1591. Part.Parent=nil
  1592. end),prt,msh)
  1593. end
  1594.  
  1595. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1596. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1597. prt.Anchored=false
  1598. prt.CFrame=cframe
  1599. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1600. local wld=weld(prt,prt,Parent,cframe)
  1601. game:GetService("Debris"):AddItem(prt,5)
  1602. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1603. for i=0,1,delay do
  1604. wait()
  1605. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1606. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1607. Part.Transparency=i
  1608. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1609. end
  1610. Part.Parent=nil
  1611. end),prt,msh,wld)
  1612. end
  1613.  
  1614. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1615. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1616. prt.Anchored=false
  1617. prt.CFrame=cframe
  1618. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1619. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1620. game:GetService("Debris"):AddItem(prt,5)
  1621. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1622. for i=0,1,delay do
  1623. wait()
  1624. Weld.C0=euler(i*20,0,0)
  1625. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1626. Part.Transparency=i
  1627. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1628. end
  1629. Part.Parent=nil
  1630. end),prt,msh,wld)
  1631. end
  1632.  
  1633. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1634. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1635. prt.Anchored=true
  1636. prt.CFrame=cframe
  1637. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1638. game:GetService("Debris"):AddItem(prt,2)
  1639. coroutine.resume(coroutine.create(function(Part,Mesh)
  1640. for i=0,1,delay do
  1641. wait()
  1642. Part.CFrame=Part.CFrame
  1643. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1644. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1645. prt2.Anchored=true
  1646. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1647. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1648. game:GetService("Debris"):AddItem(prt2,2)
  1649. coroutine.resume(coroutine.create(function(Part,Mesh)
  1650. for i=0,1,0.1 do
  1651. wait()
  1652. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1653. end
  1654. Part.Parent=nil
  1655. end),prt2,msh2)
  1656. end
  1657. for i=0,1,delay*2 do
  1658. wait()
  1659. Part.CFrame=Part.CFrame
  1660. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1661. end
  1662. Part.Parent=nil
  1663. end),prt,msh)
  1664. end
  1665.  
  1666. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1667. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1668. prt.Anchored=true
  1669. prt.CFrame=cframe
  1670. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1671. game:GetService("Debris"):AddItem(prt,2)
  1672. coroutine.resume(coroutine.create(function(Part,Mesh)
  1673. for i=0,1,delay do
  1674. wait()
  1675. Part.CFrame=Part.CFrame
  1676. Part.Transparency=i
  1677. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1678. end
  1679. Part.Parent=nil
  1680. end),prt,msh)
  1681. end
  1682.  
  1683. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1684. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1685. prt.Anchored=true
  1686. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1687. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1688. game:GetService("Debris"):AddItem(prt,2)
  1689. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1690. CF=Part.CFrame
  1691. Numbb=0
  1692. randnumb=math.random()/10
  1693. rand1=math.random()/10
  1694. for i=0,1,rand1 do
  1695. wait()
  1696. CF=CF*cf(0,math.random()/2,0)
  1697. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1698. Part.CFrame=CF*euler(Numbb,0,0)
  1699. Part.Transparency=i
  1700. Numbb=Numbb+randnumb
  1701. end
  1702. Part.Parent=nil
  1703. end),prt,CF,Numbb,randnumb)
  1704. end
  1705.  
  1706. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1707. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1708. prt.Anchored=true
  1709. prt.CFrame=cframe
  1710. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1711. game:GetService("Debris"):AddItem(prt,5)
  1712. coroutine.resume(coroutine.create(function(Part,Mesh)
  1713. for i=0,1,delay do
  1714. wait()
  1715. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1716. Part.Transparency=i
  1717. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1718. end
  1719. Part.Parent=nil
  1720. end),prt,msh)
  1721. end
  1722.  
  1723. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1724. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1725. prt.Anchored=true
  1726. prt.CFrame=cframe
  1727. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1728. game:GetService("Debris"):AddItem(prt,2)
  1729. coroutine.resume(coroutine.create(function(Part,Mesh)
  1730. for i=0,1,delay do
  1731. wait()
  1732. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1733. Part.Transparency=i
  1734. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1735. end
  1736. Part.Parent=nil
  1737. end),prt,msh)
  1738. end
  1739.  
  1740. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1741. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1742. prt.Anchored=true
  1743. prt.CFrame=cframe*cf(x,y,z)
  1744. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1745. game:GetService("Debris"):AddItem(prt,5)
  1746. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1747. local num=math.random()
  1748. local num2=math.random(-3,2)+math.random()
  1749. local numm=0
  1750. for i=0,1,delay*2 do
  1751. swait()
  1752. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1753. Part.Transparency=i
  1754. numm=numm+0.01
  1755. end
  1756. Part.Parent=nil
  1757. Mesh.Parent=nil
  1758. end),prt,msh,x,y,z)
  1759. end
  1760.  
  1761. function dmgstart(dmg,what)
  1762. hitcon = what.Touched:connect(function(hit)
  1763. local hum = hit.Parent:FindFirstChild("Humanoid")
  1764. if hum and not hum:IsDescendantOf(Character) then
  1765. hum:TakeDamage(dmg)
  1766. end
  1767. end)
  1768. end
  1769.  
  1770. function dmgstop()
  1771. hitcon:disconnect()
  1772. end
  1773.  
  1774. function Cloak()
  1775. Face.Parent=nil
  1776. cloaked=true
  1777. for _,v in pairs(Torso.Parent:children()) do
  1778. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1779. coroutine.resume(coroutine.create(function()
  1780. for i=0,1,0.2 do
  1781. wait()
  1782. v.Transparency=i
  1783. end
  1784. v.Transparency=1
  1785. end))
  1786. end
  1787. if v.className=="Hat" then
  1788. hatp=v.Handle
  1789. coroutine.resume(coroutine.create(function(derp)
  1790. for i=0,1,0.2 do
  1791. wait()
  1792. derp.Transparency=i
  1793. end
  1794. derp.Transparency=1
  1795. end),hatp)
  1796. end
  1797. end
  1798. for _,v in pairs(m:children()) do
  1799. if v.className=="Part" then
  1800. coroutine.resume(coroutine.create(function()
  1801. for i=0,1,0.2 do
  1802. wait()
  1803. v.Transparency=i
  1804. end
  1805. v.Transparency=1
  1806. end))
  1807. end
  1808. end
  1809. end
  1810.  
  1811. function UnCloak()
  1812. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1813. Face.Parent=Head
  1814. cloaked=false
  1815. for _,v in pairs(Torso.Parent:children()) do
  1816. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1817. coroutine.resume(coroutine.create(function()
  1818. for i=0,1,0.1 do
  1819. wait()
  1820. v.Transparency=v.Transparency-0.1
  1821. end
  1822. v.Transparency=0
  1823. end))
  1824. end
  1825. if v.className=="Hat" then
  1826. hatp=v.Handle
  1827. coroutine.resume(coroutine.create(function(derp)
  1828. for i=0,1,0.1 do
  1829. wait()
  1830. derp.Transparency=derp.Transparency-0.1
  1831. end
  1832. derp.Transparency=0
  1833. end),hatp)
  1834. end
  1835. end
  1836. for _,v in pairs(m:children()) do
  1837. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1838. coroutine.resume(coroutine.create(function()
  1839. for i=0,1,0.1 do
  1840. wait()
  1841. v.Transparency=v.Transparency-0.1
  1842. end
  1843. v.Transparency=0
  1844. end))
  1845. v.Transparency=0
  1846. end
  1847. end
  1848. end
  1849.  
  1850. function laser()
  1851. attack = true
  1852. so("rbxassetid://588738544",sorb,1,1)
  1853. for i = 0,2,0.1 do
  1854. swait()
  1855. MagicBlock(maincolor,sorb.CFrame,1,1,1,0.25,0.25,0.25,0.1)
  1856. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1857. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(40)),.3)
  1858. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1859. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1860. end
  1861. local a = Instance.new("Part",Character)
  1862. a.BrickColor = maincolor
  1863. a.Name = "Lazer"
  1864. a.Anchored = true
  1865. a.Material = "Neon"
  1866. a.CanCollide = false
  1867. local hitbox = Instance.new("Part",char)
  1868. hitbox.Size = Vector3.new(5,5,5)
  1869. hitbox.CFrame = mouse.hit
  1870. hitbox.Anchored = true
  1871. hitbox.Transparency = 1
  1872. hitbox.CanCollide = false
  1873. local ray = Ray.new(
  1874. sorb.CFrame.p, -- origin
  1875. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1876. )
  1877. local ignore = Character
  1878. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1879. if hit then
  1880. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1881.  
  1882. if not humanoid then
  1883. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1884. end
  1885. if humanoid then
  1886. if humanoid.Parent:IsA"Model" then
  1887. Damagefunc(hit,10,15,math.random(10,20),"Normal",RootPart,.2,1)
  1888. end
  1889. end
  1890. end
  1891. a.BottomSurface = 10
  1892. a.TopSurface = 10
  1893. local distance = (sorb.CFrame.p - position).magnitude
  1894. a.Size = Vector3.new(1, 1, distance)
  1895. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  1896. game:GetService("Debris"):AddItem(a, 10)
  1897. game:GetService("Debris"):AddItem(hitbox, 1)
  1898. local newmesh = Instance.new("BlockMesh",a)
  1899. so("rbxassetid://553712898",sorb,1,2)
  1900. so("rbxassetid://553712898",sorb,0.5,1.5)
  1901. so("rbxassetid://588737825",sorb,0.05,1)
  1902. MagicBlock(maincolor,sorb.CFrame,1,1,1,1.5,1.25,1.25,0.15)
  1903. MagicBlock(maincolor,mouse.Hit,1,1,1,0.5,0.5,0.5,0.05)
  1904. MagicBlock(maincolor,mouse.Hit,1,1,1,1.5,1.5,1.5,0.15)
  1905. for i = 0, 19*2 do
  1906. newmesh.Scale = newmesh.Scale + Vector3.new(-0.05/2,-0.05/2,0)
  1907. a.Transparency = a.Transparency + 0.05/2
  1908. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1909. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(40)),.3)
  1910. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1911. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  1912. swait()
  1913. end
  1914. attack = false
  1915. end
  1916.  
  1917. function weaklaser1()
  1918. attack = true
  1919. for i = 0,1,0.1 do
  1920. swait()
  1921. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1922. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1923. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1924. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  1925. end
  1926. local a = Instance.new("Part",Character)
  1927. a.BrickColor = maincolor
  1928. a.Name = "Lazer"
  1929. a.Anchored = true
  1930. a.Material = "Neon"
  1931. a.CanCollide = false
  1932. local hitbox = Instance.new("Part",char)
  1933. hitbox.Size = Vector3.new(5,5,5)
  1934. hitbox.CFrame = mouse.hit
  1935. hitbox.Anchored = true
  1936. hitbox.Transparency = 1
  1937. hitbox.CanCollide = false
  1938. local ray = Ray.new(
  1939. sorb.CFrame.p, -- origin
  1940. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  1941. )
  1942. local ignore = Character
  1943. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1944. if hit then
  1945. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1946.  
  1947. if not humanoid then
  1948. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  1949. end
  1950. if humanoid then
  1951. if humanoid.Parent:IsA"Model" then
  1952. Damagefunc(hit,5,8,math.random(10,20),"Normal",RootPart,.2,1)
  1953. end
  1954. end
  1955. end
  1956. a.BottomSurface = 10
  1957. a.TopSurface = 10
  1958. local distance = (sorb.CFrame.p - position).magnitude
  1959. a.Size = Vector3.new(0.85, 0.85, distance)
  1960. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  1961. game:GetService("Debris"):AddItem(a, 10)
  1962. game:GetService("Debris"):AddItem(hitbox, 1)
  1963. local newmesh = Instance.new("BlockMesh",a)
  1964. so("rbxassetid://553712898",sorb,1,2.5)
  1965. so("rbxassetid://553712898",sorb,1,2)
  1966. MagicBlock(maincolor,sorb.CFrame,1,1,1,1.5,1.25,1.25,0.15)
  1967. MagicBlock(maincolor,mouse.Hit,1,1,1,0.5,0.5,0.5,0.05)
  1968. attack = false
  1969. for i = 0, 19 do
  1970. newmesh.Scale = newmesh.Scale + Vector3.new(-0.05,-0.05,0)
  1971. a.Transparency = a.Transparency + 0.05
  1972. swait()
  1973. end
  1974. end
  1975.  
  1976. function weaklaser2()
  1977. attack = true
  1978. for i = 0,1,0.1 do
  1979. swait()
  1980. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1981. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  1982. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  1983. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1984. end
  1985. local a = Instance.new("Part",Character)
  1986. a.BrickColor = maincolor
  1987. a.Name = "Lazer"
  1988. a.Anchored = true
  1989. a.Material = "Neon"
  1990. a.CanCollide = false
  1991. local hitbox = Instance.new("Part",char)
  1992. hitbox.Size = Vector3.new(5,5,5)
  1993. hitbox.CFrame = mouse.hit
  1994. hitbox.Anchored = true
  1995. hitbox.Transparency = 1
  1996. hitbox.CanCollide = false
  1997. local ray = Ray.new(
  1998. sorb2.CFrame.p, -- origin
  1999. (mouse.Hit.p - sorb2.CFrame.p).unit * 500 -- direction
  2000. )
  2001. local ignore = Character
  2002. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2003. if hit then
  2004. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2005.  
  2006. if not humanoid then
  2007. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2008. end
  2009. if humanoid then
  2010. if humanoid.Parent:IsA"Model" then
  2011. Damagefunc(hit,5,8,math.random(10,20),"Normal",RootPart,.2,1)
  2012. end
  2013. end
  2014. end
  2015. a.BottomSurface = 10
  2016. a.TopSurface = 10
  2017. local distance = (sorb2.CFrame.p - position).magnitude
  2018. a.Size = Vector3.new(0.85, 0.85, distance)
  2019. a.CFrame = CFrame.new(sorb2.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  2020. game:GetService("Debris"):AddItem(a, 10)
  2021. game:GetService("Debris"):AddItem(hitbox, 1)
  2022. local newmesh = Instance.new("BlockMesh",a)
  2023. so("rbxassetid://553712898",sorb2,1,2.5)
  2024. so("rbxassetid://553712898",sorb2,1,2)
  2025. MagicBlock(maincolor,sorb2.CFrame,1,1,1,1.5,1.25,1.25,0.15)
  2026. MagicBlock(maincolor,mouse.Hit,1,1,1,0.5,0.5,0.5,0.05)
  2027. attack = false
  2028. for i = 0, 19 do
  2029. newmesh.Scale = newmesh.Scale + Vector3.new(-0.05,-0.05,0)
  2030. a.Transparency = a.Transparency + 0.05
  2031. swait()
  2032. end
  2033. end
  2034.  
  2035. local smeshmoveenabled = false
  2036.  
  2037. function groundwave()
  2038. attack = true
  2039. smeshmoveenabled = true
  2040. so("rbxassetid://255679384",sorb2,2,0.98)
  2041. for i = 0,10,0.1 do
  2042. swait()
  2043. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2044. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2045. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(-25 + 5 * math.cos(sine / 32))),.1)
  2046. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(25 + 5 * math.cos(sine / 32))),.1)
  2047. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1.75 + 0.15 * math.cos(sine / 25))* angles(math.rad(-50),math.rad(0),math.rad(-90)),.1)
  2048. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(45),math.rad(0),math.rad(90)),.1)
  2049. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(90)), 0.1)
  2050. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.1)
  2051. end
  2052. MagicBlockSteady(maincolor,char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*5,66,66,1,-1,-1,-0.025,0.1,1)
  2053. MagicBlockSteady(maincolor,char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*5,66,66,1,-1,-1,-0.025,0.1,2)
  2054. for i = 0,2,0.1 do
  2055. swait()
  2056. MagicBlock(maincolor,sorb2.CFrame,1,1,1,0.5,0.5,0.5,0.1)
  2057. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2058. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2059. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(-25 + 5 * math.cos(sine / 32))),.3)
  2060. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(25 + 5 * math.cos(sine / 32))),.3)
  2061. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1 + 0.15 * math.cos(sine / 25))* angles(math.rad(70),math.rad(0),math.rad(-90)),.3)
  2062. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(45),math.rad(0),math.rad(90)),.3)
  2063. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(120)), 0.3)
  2064. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2065. end
  2066. attack = false
  2067. smeshmoveenabled = false
  2068. so("rbxassetid://233091205",sorb2,2.25,0.95)
  2069. MagicBlockSteady(maincolor,char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*5,66,66,1,-1,-1,-0.025,0.025,1)
  2070. MagicBlockSteady(maincolor,char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*5,66,66,1,-1,-1,-0.025,0.025,2)
  2071. for i = 0, 9 do
  2072. MagicBlock(maincolor,char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*5,1,1,1,-0.025,10,-0.025,0.065)
  2073. end
  2074. local faceam = 5
  2075. for i = 0, 9 do
  2076. faceam = faceam + 10
  2077. local hitbox = Instance.new("Part",char)
  2078. so("rbxassetid://233091205",hitbox,1,2)
  2079. hitbox.Size = Vector3.new(15,15,15)
  2080. hitbox.Material = "Neon"
  2081. hitbox.BrickColor = maincolor
  2082. hitbox.CFrame = char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*faceam
  2083. hitbox.Anchored = true
  2084. hitbox.Transparency = 1
  2085. hitbox.CanCollide = false
  2086. MagicBlockSteady(maincolor,hitbox.CFrame + hitbox.CFrame.lookVector,25,25,25,15,15,-4.5,0.15,math.random(1,2))
  2087. MagicBlockSteady(maincolor,hitbox.CFrame + hitbox.CFrame.lookVector,25,25,25,1.5,1.5,0,0.05,math.random(1,2))
  2088. game:GetService("Debris"):AddItem(hitbox, 1)
  2089. hitbox.Touched:connect(function(hit)
  2090. Damagefunc(hit,10,11,math.random(10,20),"Normal",RootPart,.2,1)
  2091. end)
  2092. wait(0.1)
  2093. end
  2094. end
  2095.  
  2096. function smesh()
  2097. attack = true
  2098. smeshmoveenabled = true
  2099. hum.WalkSpeed = 8
  2100. so("rbxassetid://255679384",sorb2,2,0.98)
  2101. for i = 0,10,0.1 do
  2102. swait()
  2103. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2104. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2105. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(-25 + 5 * math.cos(sine / 32))),.1)
  2106. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(25 + 5 * math.cos(sine / 32))),.1)
  2107. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1.75 + 0.15 * math.cos(sine / 25))* angles(math.rad(-50),math.rad(0),math.rad(-50)),.1)
  2108. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(45),math.rad(0),math.rad(50)),.1)
  2109. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(15)), 0.1)
  2110. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.1)
  2111. end
  2112. for i = 0,2,0.1 do
  2113. swait()
  2114. MagicBlock(maincolor,sorb2.CFrame,1,1,1,0.5,0.5,0.5,0.1)
  2115. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2116. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2117. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(50),math.rad(-25 + 5 * math.cos(sine / 32))),.3)
  2118. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(90),math.rad(25 + 5 * math.cos(sine / 32))),.3)
  2119. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1 + 0.15 * math.cos(sine / 25))* angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
  2120. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(35),math.rad(0),math.rad(80)),.3)
  2121. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-15), math.rad(0), math.rad(35)), 0.3)
  2122. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-170)), 0.3)
  2123. end
  2124. so("rbxassetid://165969964",sorb2,1.5,0.98)
  2125. local hitbox = Instance.new("Part",char)
  2126. hitbox.Size = Vector3.new(20,20,20)
  2127. hitbox.Material = "Neon"
  2128. hitbox.BrickColor = maincolor
  2129. hitbox.CFrame = sorb2.CFrame
  2130. hitbox.Anchored = true
  2131. hitbox.Transparency = 1
  2132. hitbox.CanCollide = false
  2133. game:GetService("Debris"):AddItem(hitbox, 1)
  2134. hitbox.Touched:connect(function(hit)
  2135. Damagefunc(hit,9,18,math.random(10,20),"Normal",RootPart,.2,1)
  2136. end)
  2137. MagicBlock(maincolor,sorb2.CFrame,5,5,5,1.25,1.25,1.25,0.015)
  2138. MagicBlock(maincolor,sorb2.CFrame,5,5,5,1.5,1.5,1.5,0.025)
  2139. MagicBlock(maincolor,sorb2.CFrame,10,10,10,5.5,5.5,5.5,0.15)
  2140. for i = 0, 9 do
  2141. MagicBlock(maincolor,sorb2.CFrame,1,1,1,-0.025,10,-0.025,0.065)
  2142. end
  2143. hum.WalkSpeed = 16
  2144. smeshmoveenabled = false
  2145. attack = false
  2146. end
  2147.  
  2148. local begonemoveenabled = false
  2149.  
  2150. function BEGONETHOT()
  2151. smeshmoveenabled = true
  2152. begonemoveenabled = true
  2153. hum.WalkSpeed = 8
  2154. so("rbxassetid://854345294",sorb2,2.5,1)
  2155. wait(2)
  2156. attack = true
  2157. for i = 0,8,0.1 do
  2158. swait()
  2159. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2160. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2161. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-30)),.1)
  2162. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(30)),.1)
  2163. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,5 + 0.15 * math.cos(sine / 25))* angles(math.rad(-50),math.rad(0),math.rad(0)),.1)
  2164. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  2165. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(-130)), 0.1)
  2166. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(130)), 0.1)
  2167. end
  2168. for i = 0,2,0.1 do
  2169. swait()
  2170. MagicBlock(maincolor,sorb2.CFrame,1,1,1,2.5,2.5,2.5,0.1)
  2171. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2172. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2173. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-30)),.3)
  2174. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(30)),.3)
  2175. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1 + 0.15 * math.cos(sine / 25))* angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  2176. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2177. RW.C0 = clerp(RW.C0, CFrame.new(1, 1, -0.5) * angles(math.rad(0), math.rad(10), math.rad(-130)), 0.3)
  2178. LW.C0 = clerp(LW.C0, CFrame.new(-1, 1, -0.5) * angles(math.rad(0), math.rad(10), math.rad(130)), 0.3)
  2179. end
  2180. so("rbxassetid://165969964",sorb2,3.5,0.98)
  2181. local hitbox = Instance.new("Part",char)
  2182. hitbox.Size = Vector3.new(75,75,75)
  2183. hitbox.Material = "Neon"
  2184. hitbox.BrickColor = maincolor
  2185. hitbox.CFrame = sorb2.CFrame
  2186. hitbox.Anchored = true
  2187. hitbox.Transparency = 1
  2188. hitbox.CanCollide = false
  2189. game:GetService("Debris"):AddItem(hitbox, 1)
  2190. hitbox.Touched:connect(function(hit)
  2191. Damagefunc(hit,888,1337,math.random(10,20),"Normal",RootPart,.2,1)
  2192. end)
  2193. MagicBlock(maincolor,sorb2.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  2194. MagicBlock(maincolor,sorb2.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  2195. MagicBlock(maincolor,sorb2.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
  2196. for i = 0, 9 do
  2197. MagicBlock(maincolor,sorb2.CFrame,1*2.5,1*2.5,1*2.5,-0.025*2.5,10*2.5,-0.025*2.5,0.065)
  2198. end
  2199. hum.WalkSpeed = 16
  2200. begonemoveenabled = false
  2201. smeshmoveenabled = false
  2202. attack = false
  2203. end
  2204.  
  2205. function doomsdaylaser()
  2206. attack = true
  2207. for i = 0,1,0.1 do
  2208. swait()
  2209. MagicBlock(maincolor,sorb.CFrame,1,1,1,0.25,0.25,0.25,0.1)
  2210. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2211. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  2212. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  2213. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  2214. end
  2215. local a = Instance.new("Part",Character)
  2216. a.BrickColor = maincolor
  2217. a.Name = "Lazer"
  2218. a.Anchored = true
  2219. a.Transparency = 1
  2220. a.Material = "Neon"
  2221. a.CanCollide = false
  2222. local hitbox = Instance.new("Part",char)
  2223. hitbox.Size = Vector3.new(10,10,10)
  2224. hitbox.Material = "Neon"
  2225. hitbox.BrickColor = maincolor
  2226. hitbox.CFrame = sorb.CFrame + Vector3.new(0,6.25,0)
  2227. hitbox.Anchored = true
  2228. hitbox.Transparency = 1
  2229. hitbox.CanCollide = false
  2230. local hmesh = CreateMesh(hitbox,"Sphere",1,1,1)
  2231. so("rbxassetid://136007472",sorb,1,0.7)
  2232. for i = 0, 19 do
  2233. swait()
  2234. hitbox.CFrame = sorb.CFrame + Vector3.new(0,6.25,0)
  2235. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2236. MagicBlock(maincolor,hitbox.CFrame,10,10,10,1.15,1.15,1.15,0.15)
  2237. hitbox.Transparency = hitbox.Transparency - 0.05
  2238. end
  2239. for i = 0, 49 do
  2240. swait()
  2241. hitbox.CFrame = sorb.CFrame + Vector3.new(0,6.25,0)
  2242. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2243. end
  2244. a.Transparency = 0
  2245. local ray = Ray.new(
  2246. hitbox.CFrame.p, -- origin
  2247. (mouse.Hit.p - hitbox.CFrame.p).unit * 500 -- direction
  2248. )
  2249. local ignore = Character
  2250. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2251. if hit then
  2252. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2253.  
  2254. if not humanoid then
  2255. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2256. end
  2257. if humanoid then
  2258. if humanoid.Parent:IsA"Model" then
  2259. Damagefunc(hit,25,35,math.random(10,20),"Normal",RootPart,.2,1)
  2260. end
  2261. end
  2262. end
  2263. a.BottomSurface = 10
  2264. a.TopSurface = 10
  2265. local distance = (sorb.CFrame.p - position).magnitude
  2266. a.Size = Vector3.new(1, 1, distance)
  2267. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  2268. game:GetService("Debris"):AddItem(a, 15)
  2269. game:GetService("Debris"):AddItem(hitbox, 15)
  2270. local newmesh = Instance.new("BlockMesh",a)
  2271. so("rbxassetid://553712898",sorb,3.5,1)
  2272. so("rbxassetid://553712898",sorb,0.5,0.5)
  2273. so("rbxassetid://588737825",sorb,2.75,1)
  2274. MagicBlock(maincolor,sorb.CFrame,1,1,1,5,5,5,0.15)
  2275. MagicBlock(maincolor,mouse.Hit,1,1,1,2.5,2.5,2.5,0.05)
  2276. MagicBlock(maincolor,mouse.Hit,1,1,1,1.5,1.5,1.5,0.15)
  2277. local beamscale = 1.5
  2278. local sizemax = 1*10
  2279. for i = 0, 99 do
  2280. hitbox.CFrame = sorb.CFrame + Vector3.new(0,6.25,0)
  2281. sizemax = sizemax - 0.01*10
  2282. beamscale = beamscale - 0.01
  2283. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2284. so("rbxassetid://553712898",sorb,0.5,2.5)
  2285. ray = Ray.new(
  2286. hitbox.CFrame.p, -- origin
  2287. (mouse.Hit.p - hitbox.CFrame.p).unit * 2000 -- direction
  2288. )
  2289. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2290. distance = (hitbox.CFrame.p - position).magnitude
  2291. if hit then
  2292. local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  2293.  
  2294. if not humanoid then
  2295. humanoid = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  2296. end
  2297. if humanoid then
  2298. if humanoid.Parent:IsA"Model" then
  2299. Damagefunc(hit,15,17,math.random(10,20),"Normal",RootPart,.2,1)
  2300. end
  2301. end
  2302. end
  2303. a.Size = Vector3.new(5, 5, distance)
  2304. hmesh.Scale = hmesh.Scale - Vector3.new(0.01,0.01,0.01)
  2305. a.CFrame = CFrame.new(hitbox.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  2306. newmesh.Scale = newmesh.Scale + Vector3.new(-0.01,-0.01,0)
  2307. MagicBlock(maincolor,mouse.Hit,sizemax,sizemax,sizemax,beamscale,beamscale,beamscale,0.05)
  2308. swait()
  2309. end
  2310. attack = false
  2311. end
  2312. local attacktype = 0
  2313. mouse.Button1Down:connect(function()
  2314. if attack == false and attacktype == 0 and begonemoveenabled == false then
  2315. attacktype = 1
  2316. weaklaser1()
  2317. elseif attack == false and attacktype == 1 and begonemoveenabled == false then
  2318. attacktype = 0
  2319. weaklaser2()
  2320. end
  2321. end)
  2322.  
  2323. mouse.KeyDown:connect(function(k)
  2324. if k == "z" and attack == false and begonemoveenabled == false then
  2325. laser()
  2326. end
  2327. if k == "x" and attack == false and begonemoveenabled == false then
  2328. groundwave()
  2329. end
  2330. if k == "g" and attack == false and begonemoveenabled == false then
  2331. EndTheWorldBaby()
  2332. end
  2333. if k == "c" and attack == false and begonemoveenabled == false then
  2334. smesh()
  2335. end
  2336. if k == "v" and attack == false and begonemoveenabled == false then
  2337. doomsdaylaser()
  2338. end
  2339. if k == "p" and attack == false and begonemoveenabled == false then
  2340. BEGONETHOT()
  2341. end
  2342. end)
  2343.  
  2344. Humanoid.Animator.Parent = nil
  2345.  
  2346. attack = true
  2347. hum.WalkSpeed = 0
  2348. hum.MaxHealth = math.huge
  2349. hum.Health = math.huge
  2350. for i = 0,10,0.05 do
  2351. swait()
  2352. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2353. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2354. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-30)),.025)
  2355. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(30)),.025)
  2356. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(-30),math.rad(0),math.rad(0)),.025)
  2357. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.025)
  2358. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(-130)), 0.025)
  2359. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(0), math.rad(10), math.rad(130)), 0.025)
  2360. end
  2361. MagicBlock(maincolor,t.CFrame,10,10,10,1.5,1.5,1.5,0.025)
  2362. MagicBlock(maincolor,t.CFrame,10,10,10,2,2,2,0.015)
  2363. MagicBlock(maincolor,t.CFrame,10,10,10,1.75,1.75,1.75,0.05)
  2364. MagicBlock(maincolor,t.CFrame,10,10,10,2,2,2,0.076)
  2365. so("rbxassetid://588737825",t,0.5,1)
  2366. so("rbxassetid://588737825",t,0.5,1)
  2367. so("rbxassetid://588698460",t,1,0.5)
  2368. so("rbxassetid://440794203",t,1,1)
  2369. so("rbxassetid://553712898",t,1,0.85)
  2370. so("rbxassetid://553712898",t,1.5,0.5)
  2371. so("rbxassetid://553712898",t,1.5,0.25)
  2372. so("rbxassetid://553712898",t,1.5,0.15)
  2373. for i = 0,10,0.05 do
  2374. swait()
  2375. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2376. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2377. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.125)
  2378. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.025)
  2379. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))* angles(math.rad(20),math.rad(0),math.rad(0)),.125)
  2380. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.125)
  2381. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(85)), 0.125)
  2382. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(-85)), 0.125)
  2383. end
  2384. attack = false
  2385. hum.WalkSpeed = 16
  2386. hum.MaxHealth = 250
  2387. hum.Health = 250
  2388.  
  2389. idleanim=.4
  2390. while true do
  2391. swait()
  2392. sine = sine + change
  2393. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2394. local velderp=RootPart.Velocity.y
  2395. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2396. if equipped==true or equipped==false then
  2397. if attack==false then
  2398. idle=idle+1
  2399. else
  2400. idle=0
  2401. end
  2402. if idle>=500 then
  2403. if attack==false then
  2404. --Sheath()
  2405. end
  2406. end
  2407. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2408. Anim="Jump"
  2409. if attack==false then
  2410. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2411. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2412. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2413. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2414. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2415. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2416. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2417. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  2418. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  2419. end
  2420. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2421. Anim="Fall"
  2422. if attack==false then
  2423. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2424. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2426. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2427. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2428. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2429. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2430. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  2431. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  2432. end
  2433. elseif torvel<1 and hitfloor~=nil then
  2434. Anim="Idle"
  2435. if smeshmoveenabled == false then
  2436. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(20),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  2437. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(20),math.rad(0 + 5 * math.cos(sine / 32))),.3)
  2438. MagicBlock(maincolor,llegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2439. MagicBlock(maincolor,rlegw.CFrame,0.5,0.5,0.5,0.25,0.25,0.25,0.15)
  2440. end
  2441. if attack==false then
  2442. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(-5),math.rad(-35)),.3)
  2443. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(5),math.rad(35)),.3)
  2444. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(12.5 + 2.5 * math.cos(sine / 24))),.3)
  2445. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(0),math.rad(-12.5 - 2.5 * math.cos(sine / 32))),.3)
  2446. end
  2447. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2448. Anim="Walk"
  2449. if smeshmoveenabled == false then
  2450. RH.C0=clerp(RH.C0,cf(1,-1,-0.25)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-5 + 5 * math.cos(sine / 32))),.3)
  2451. LH.C0=clerp(LH.C0,cf(-1,-0.25,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-5 + 5 * math.cos(sine / 32))),.3)
  2452. MagicBlock(maincolor,llegw.CFrame,1,1,1,0.25,0.25,0.25,0.5)
  2453. MagicBlock(maincolor,rlegw.CFrame,1,1,1,0.25,0.25,0.25,0.5)
  2454. MagicBlock(maincolor,llegw.CFrame,1,1,1,-0.05,-0.05,-0.05,0.15)
  2455. MagicBlock(maincolor,rlegw.CFrame,1,1,1,-0.05,-0.05,-0.05,0.15)
  2456. end
  2457. if attack==false then
  2458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.15 * math.cos(sine / 25))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  2459. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2460. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-35),math.rad(0),math.rad(12.5 + 2.5 * math.cos(sine / 24))),.3)
  2461. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-35),math.rad(0),math.rad(-12.5 - 2.5 * math.cos(sine / 32))),.3)
  2462. end
  2463. elseif torvel>=22 and hitfloor~=nil then
  2464. Anim="Run"
  2465. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2466. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  2467. if attack==false then
  2468. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  2469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2470. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  2471. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  2472. end
  2473. end
  2474. end
  2475. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement