Advertisement
VoidScriptPlayer

Untitled

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