Advertisement
Robloxian_Scripter

Untitled

Mar 27th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.21 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88.  
  89. plr = owner
  90. chr = plr.Character or plr.CharacterAdded:wait()
  91. fire = Instance.new("Fire")
  92. shield = Instance.new('Part')
  93. shield.FormFactor = "Custom"
  94. shield.Size = Vector3.new(.2,.2,.2)
  95. shield.BottomSurface = "Smooth"
  96. shield.TopSurface = "Smooth"
  97. shield.Anchored = true
  98. shield.CanCollide = false
  99. shield.BrickColor = BrickColor.new(0,0,0)
  100. shield.Transparency = .5
  101. mesh = Instance.new("SpecialMesh",shield)
  102. mesh.MeshType = "Sphere"
  103. tele = Instance.new("Part")
  104. tele.Anchored = true
  105. tele.Transparency = .5
  106. tele.CanCollide = false
  107. cil = Instance.new("CylinderMesh",tele)
  108. tele.BrickColor = BrickColor.new(1,1,1)
  109. tele.Size = Vector3.new(5,1,5)
  110. box = Instance.new("Part")
  111. box.Transparency = .5
  112. box.Anchored = true
  113. box.CanCollide = false
  114. box.FormFactor = Enum.FormFactor.Custom
  115. box.Size = Vector3.new(.2,.2,.2)
  116. box.TopSurface = Enum.SurfaceType.Smooth
  117. box.BottomSurface = Enum.SurfaceType.Smooth
  118.  
  119. mouse.KeyDown:connect(function(key)
  120. if key == 'f'then
  121. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  122. local clone = fire:Clone()
  123. clone.Parent = chr["Right Arm"]
  124. clone.Color = Color3.new(1,1,1)
  125. clone.SecondaryColor = clone.Color
  126. wait(2)
  127. clone:Destroy()
  128. local target = mouse.Target
  129. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  130. victim.Character.Torso.Anchored = true
  131. while true do
  132. game:GetService('RunService').Stepped:wait()
  133. victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0)
  134. end
  135. end
  136. elseif key == '' then
  137. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  138. local clone = fire:Clone()
  139. clone.Parent = chr["Right Arm"]
  140. clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1)
  141. clone.SecondaryColor = clone.Color
  142. wait(2)
  143. clone:Destroy()
  144. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  145. local children = victim.Character:GetChildren()
  146. victim.Character.Humanoid.WalkSpeed = 0
  147. victim.Character.Torso.Anchored = true
  148. for i,v in pairs(children) do
  149. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  150. v.Anchored = true
  151. v.CanCollide = false
  152. for i = 0,1,.1 do
  153. wait()
  154. v.Transparency = i
  155. end
  156. end
  157. end
  158. end
  159. elseif key == 'c' then
  160. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  161. local clone = fire:Clone()
  162. clone.Parent = chr["Right Arm"]
  163. clone.Color = Color3.new(1,0,0)
  164. clone.SecondaryColor = clone.Color
  165. wait(2)
  166. clone:Destroy()
  167. local explosion = Instance.new('Explosion',workspace)
  168. explosion.Position = mouse.Target.Position
  169. end
  170. elseif key == 'q' then
  171. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  172. local clone = fire:Clone()
  173. clone.Parent = chr["Right Arm"]
  174. clone.Color = Color3.new(0,1,0)
  175. clone.SecondaryColor = clone.Color
  176. wait(2)
  177. clone:Destroy()
  178. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  179. local children = victim.Character:GetChildren()
  180. victim.Character.Humanoid.WalkSpeed = 0
  181. victim.Character.Torso.Anchored = true
  182. for i,v in pairs(children) do
  183. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  184. wait(.25)
  185. v.BrickColor = BrickColor.Green()
  186. v.CanCollide = false
  187. v.Parent = workspace
  188. v.Anchored = false
  189. end
  190. end
  191. end
  192. elseif key == 'r' then
  193. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  194. local clone = fire:Clone()
  195. clone.Parent = chr["Right Arm"]
  196. clone.Color = Color3.new(0,0,0)
  197. clone.SecondaryColor = clone.Color
  198. wait(2)
  199. clone:Destroy()
  200. local ball = shield:Clone()
  201. ball.Parent = workspace
  202.  
  203. ball.Touched:connect(function(p)
  204. if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then
  205. p:Destroy()
  206. end
  207. end)
  208.  
  209. while ball.Size.Y < 26 do
  210. game:GetService('RunService').Stepped:wait()
  211. ball.Size = ball.Size + Vector3.new(.25,.25,.25)
  212. ball.CFrame = chr.Torso.CFrame
  213. end
  214. for i = .5,1,.05 do
  215. game:GetService('RunService').Stepped:wait()
  216. ball.Transparency = i
  217. end
  218. ball:Destroy()
  219. end
  220. elseif key == 't' then
  221. local dis = shield:Clone()
  222. local telep = tele:Clone()
  223. telep.Parent = workspace
  224. dis.Parent = workspace
  225. dis.BrickColor = BrickColor.new(1,1,1)
  226. for i = 1,25 do
  227. game:GetService('RunService').Stepped:wait()
  228. dis.Size = dis.Size + Vector3.new(.35,.35,.35)
  229. dis.CFrame = chr.Torso.CFrame
  230. telep.Size = telep.Size + Vector3.new(0,5,0)
  231. telep.CFrame = chr.Torso.CFrame
  232. end
  233. for i = .5,1,.05 do
  234. game:GetService('RunService').Stepped:wait()
  235. dis.Transparency = i
  236. telep.Transparency = i
  237. dis.CFrame = chr.Torso.CFrame
  238. telep.CFrame = chr.Torso.CFrame
  239. end
  240. dis:Destroy()
  241. telep:Destroy()
  242. chr:SetPrimaryPartCFrame(mouse.Hit+Vector3.new(0,20,0))
  243. elseif
  244. key == 'g' then
  245. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  246. local target = mouse.Target
  247. local clone = fire:Clone()
  248. clone.Parent = chr["Right Arm"]
  249. clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  250. clone.SecondaryColor = clone.Color
  251. wait(2)
  252. clone:Destroy()
  253. local boxB = box:Clone()
  254. boxB.Parent = target
  255. boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1))
  256. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character
  257. victim.Humanoid.WalkSpeed = 0
  258. for i = .2,10,.2 do
  259. game:GetService('RunService').Stepped:wait()
  260. boxB.Size = Vector3.new(i,i,i)
  261. boxB.CFrame = victim.Torso.CFrame
  262. end
  263. for i = .5,1,.025 do
  264. game:GetService('RunService').Stepped:wait()
  265. boxB.Transparency = i
  266. end
  267. wait()
  268. boxB:Destroy()
  269. local children = victim:GetChildren()
  270. for i,v in pairs(children) do
  271. clone = fire:Clone()
  272. clone.Parent = v
  273. clone.Color = Color3.new(1,0,0)
  274. victim.Humanoid.Health = victim.Humanoid.Health - 10
  275. if v.ClassName == "Part" then
  276. v.BrickColor = BrickColor.Red()
  277. end
  278. end
  279. end
  280. elseif key == 'h' then
  281. local clone = fire:Clone()
  282. clone.Parent = chr["Right Arm"]
  283. clone.Color = Color3.new(1,1,1)
  284. clone.SecondaryColor = clone.Color
  285. wait(.5)
  286. clone:Destroy()
  287. local sphere = shield:Clone()
  288. sphere.Parent = workspace
  289. sphere.Touched:connect(function(p)
  290. local debounce = false
  291. local h = p.Parent:FindFirstChild("Humanoid")
  292. if h and h.Parent.Name ~= plr.Name and debounce == false then
  293. debounce = true
  294. local dis = shield:Clone()
  295. local telep = tele:Clone()
  296. telep.Parent = workspace
  297. dis.Parent = workspace
  298. dis.BrickColor = BrickColor.new(1,1,1)
  299. for i = 1,25 do
  300. game:GetService('RunService').Stepped:wait()
  301. dis.Size = dis.Size + Vector3.new(.35,.35,.35)
  302. dis.CFrame = h.Parent.Torso.CFrame
  303. telep.Size = telep.Size + Vector3.new(0,5,0)
  304. telep.CFrame = h.Parent.Torso.CFrame
  305. end
  306. for i = .5,1,.05 do
  307. game:GetService('RunService').Stepped:wait()
  308. dis.Transparency = i
  309. telep.Transparency = i
  310. dis.CFrame = h.Parent.Torso.CFrame
  311. telep.CFrame = h.Parent.Torso.CFrame
  312. end
  313. dis:Destroy()
  314. telep:Destroy()
  315. h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50)))
  316. wait(5)
  317. debounce = false
  318. end
  319. end)
  320. for i = .2,25,.5 do
  321. game:GetService('RunService').Stepped:wait()
  322. sphere.Size = Vector3.new(i,i,i)
  323. sphere.CFrame = chr.Torso.CFrame
  324. end
  325. for i = .5,1,.05 do
  326. game:GetService('RunService').Stepped:wait()
  327. sphere.Transparency = i
  328. end
  329. sphere:Destroy()
  330. elseif key == 'j' and mouse.Target.ClassName == "Part" then
  331. local target = mouse.Target
  332. local sword = tele:Clone()
  333. sword.FormFactor = "Custom"
  334. sword.BrickColor = BrickColor.new(0,0,0)
  335. sword.Parent = workspace
  336. sword.Size = Vector3.new(.2,.2,.2)
  337. local swordB = sword:Clone()
  338. swordB.Parent = workspace
  339. for i = 1,5,.2 do
  340. game:GetService('RunService').Stepped:wait()
  341. sword.Size = Vector3.new(.2,i,.2)
  342. sword.CFrame = chr["Right Arm"].CFrame
  343. swordB.Size = Vector3.new(.2,i,.2)
  344. swordB.CFrame = chr["Left Arm"].CFrame
  345. end
  346. for i = 1,30 do
  347. game:GetService('RunService').Stepped:wait()
  348. swordB.CFrame = chr["Left Arm"].CFrame
  349. sword.CFrame = chr["Right Arm"].CFrame
  350. end
  351. local swordC = sword:Clone()
  352. swordC.Parent = workspace
  353. sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  354. for i = 3,7,.5 do
  355. game:GetService('RunService').Stepped:wait()
  356. sword.Size = Vector3.new(.2,i,.2)
  357. sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  358. swordB.CFrame = chr["Left Arm"].CFrame
  359. swordC.CFrame = chr["Right Arm"].CFrame
  360. end
  361. for i = 10,0,-.2 do
  362. game:GetService('RunService').Stepped:wait()
  363. sword.Rotation = Vector3.new(0,0,0)
  364. sword.CFrame = target.CFrame + Vector3.new(0,i,0)
  365. sword.Rotation = Vector3.new(0,0,0)
  366. swordB.CFrame = chr["Left Arm"].CFrame
  367. swordC.CFrame = chr["Right Arm"].CFrame
  368. end
  369. if target.Parent.ClassName == "Hat" then
  370. target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15
  371. else
  372. target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35
  373. end
  374. for i = .5,1,.05 do
  375. game:GetService('RunService').Stepped:wait()
  376. sword.Transparency = i
  377. swordB.Transparency = i
  378. swordC.Transparency = i
  379. end
  380. sword:Destroy()
  381. swordB:Destroy()
  382. swordC:Destroy()
  383. elseif key == 'k' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then
  384. local target = mouse.Target
  385. local children = target.Parent:GetChildren()
  386. for i,v in pairs(children) do
  387. v.BrickColor = BrickColor.new(1,0,0)
  388. local clone = fire:Clone()
  389. clone.Parent = v
  390. clone.Color = Color3.new(1,0,0)
  391. wait(.25)
  392. v:Destroy()
  393. end
  394. elseif key == 'x' and mouse.Target.ClassName == "Part" then
  395. local t = mouse.Target.Transparency
  396. for i = t,0.7,.02 do
  397. game:GetService('RunService').Stepped:wait()
  398. mouse.Target.Transparency = i
  399. end
  400. mouse.Target:Destroy()
  401. elseif key == 'z' then
  402. local part = Instance.new("Part",workspace)
  403. part.CFrame = CFrame.new(50,50,50)
  404. local bv = Instance.new("BodyVelocity",part)
  405. Instance.new("CFrameValue",part)
  406. local rotate = Instance.new("BodyAngularVelocity",part)
  407. rotate.AngularVelocity = Vector3.new(math.random(3.5,7.5),math.random(3.5,7.5),math.random(3.5,7.5))
  408. local cvalue = part:WaitForChild("Value")
  409. part.Touched:connect(function(p)
  410. if p.Name == "Part" or p.Name == "Head" then
  411. for i = 0,1,.05 do
  412. game:GetService('RunService').Stepped:wait()
  413. part.Transparency = i
  414. p.Transparency = i
  415. end
  416. p:Destroy()
  417. part:Destroy()
  418. elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  419. cvalue.Value = part.CFrame
  420. part.Anchored = true
  421. for i = 10,25,.5 do
  422. game:GetService('RunService').Stepped:wait()
  423. part.Size = Vector3.new(i,i,i)
  424. part.CFrame = cvalue.Value
  425. end
  426. for i = 0,1.,.05 do
  427. game:GetService('RunService').Stepped:wait()
  428. part.Transparency = i
  429. end
  430. part:Destroy()
  431. end
  432. end)
  433. part.Parent = chr
  434. part.BrickColor = BrickColor.new(193,1,1)
  435. part.Material = "Slate"
  436. part.Anchored = false
  437. part.CanCollide = false
  438. part.Name = "bomb"
  439. part.FormFactor = "Custom"
  440. part.Size = Vector3.new(.2,.2,.2)
  441. part.BottomSurface = "Smooth"
  442. part.TopSurface = "Smooth"
  443. local sbox = Instance.new("SelectionBox",part)
  444. sbox.Adornee = part
  445. sbox.Color3 = Color3.new(0,0,0)
  446. sbox.LineThickness = 0.005
  447. sbox.Transparency = .75
  448. sbox.SurfaceColor3 = Color3.new(0,0,0)
  449. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge,math.huge)
  450. for i = 1,9 do
  451. wait()
  452. local clone = part:Clone()
  453. Instance.new("CFrameValue",clone)
  454. local rotateB = Instance.new("BodyAngularVelocity",part)
  455. rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
  456. clone.CFrame = CFrame.new(100,100,100)
  457. local cvalueB = clone:WaitForChild("Value")
  458. wait()
  459. clone.Parent = chr
  460. clone.Name = "bomb"
  461. clone.Touched:connect(function(p)
  462. if p.Name == "Part" or p.Name == "Head" then
  463. for i = 0,1,.05 do
  464. game:GetService('RunService').Stepped:wait()
  465. clone.Transparency = i
  466. p.Transparency = i
  467. end
  468. p:Destroy()
  469. clone:Destroy()
  470. elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  471. cvalueB.Value = clone.CFrame
  472. clone.Anchored = true
  473. for i = 10,25,.5 do
  474. game:GetService('RunService').Stepped:wait()
  475. clone.Size = Vector3.new(i,i,i)
  476. clone.CFrame = cvalueB.Value
  477. end
  478. for i = 0,1.,.05 do
  479. game:GetService('RunService').Stepped:wait()
  480. clone.Transparency = i
  481. end
  482. clone:Destroy()
  483. end
  484. end)
  485. end
  486. local children = chr:GetChildren()
  487. for i,v in pairs(children) do
  488. if v.Name == "bomb" then
  489. for i = .2,10,.5 do
  490. game:GetService('RunService').Stepped:wait()
  491. v.Size = Vector3.new(i,i,i)
  492. v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0)
  493. end
  494. local bvB = v:WaitForChild("BodyVelocity")
  495. bvB.Velocity = mouse.Hit.lookVector*200
  496. end
  497. end
  498. elseif key == 'e' then
  499. local kill = Instance.new("Part")
  500. local bv = Instance.new("BodyVelocity",kill)
  501. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  502. local rotate = Instance.new("BodyAngularVelocity",kill)
  503. rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20))
  504. kill.CFrame = CFrame.new(50,50,50)
  505. kill.Touched:connect(function(p)
  506. if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then
  507. p.Parent.Humanoid.Health = 0
  508. p:Destroy()
  509. for i = 1,10 do
  510. game:GetService('RunService').Stepped:wait()
  511. kill.Size = kill.Size - Vector3.new(.2,.2,.2)
  512. kill.Transparency = kill.Transparency - .1
  513. end
  514. end
  515. end)
  516. kill.BrickColor = BrickColor.new(0,0,0)
  517. kill.Material = "Slate"
  518. kill.Anchored = false
  519. kill.CanCollide = false
  520. kill.FormFactor = "Custom"
  521. kill.Size = Vector3.new(1,1,1)
  522. kill.TopSurface = "Smooth"
  523. kill.BottomSurface = "Smooth"
  524. wait()
  525. local sbox = Instance.new("SelectionBox",kill)
  526. sbox.Adornee = kill
  527. sbox.Color3 = Color3.new(1,1,1)
  528. sbox.LineThickness = .010
  529. sbox.Transparency = .5
  530. kill.Parent = workspace
  531. kill.CFrame = chr.Head.CFrame
  532. wait()
  533. kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100
  534. kill.ChildAdded:connect(function(c)
  535. for i = 0,1,.2 do
  536. game:GetService('RunService').Stepped:wait()
  537. c.Transparency = i
  538. c.SelectionBox.Transparency = i
  539. end
  540. c:Destroy()
  541. end)
  542. while kill.Transparency == 0 do
  543. wait(.09)
  544. local clone = kill:Clone()
  545. clone.Anchored = true
  546. clone.Parent = kill
  547. clone.CFrame = kill.CFrame
  548. end
  549. end
  550. end)
  551. --=<=Abilitys above=>=--
  552. ew = function(Object, Parent, Name, Data)
  553. local Object = Instance.new(Object)
  554. for Index, Value in pairs(Data or {}) do
  555. Object[Index] = Value
  556. end
  557. Object.Parent = Parent
  558. Object.Name = Name
  559. return Object
  560. end
  561.  
  562. local Player = owner
  563. repeat wait(1) until Player.Character
  564. local Character = Player.Character
  565. Character.Animate.Disabled = true
  566. local la = Character:FindFirstChild("Left Arm")
  567. local ra = Character:FindFirstChild("Right Arm")
  568. local ll = Character:FindFirstChild("Left Leg")
  569. local rl = Character:FindFirstChild("Right Leg")
  570. local Torso = Character:FindFirstChild("Torso")
  571. z = Instance.new("Sound", Torso)
  572. z.SoundId = "rbxassetid://182096702" -- Put Music ID Here.
  573. z.Looped = true
  574. z.Volume = 10
  575. wait(.1)
  576. z:Play()
  577. local Humanoid = Character:findFirstChild("Humanoid")
  578. Character.Animate.Disabled = true
  579. Character.Sound:Destroy()
  580. Humanoid.Animator:Destroy()
  581.  
  582. local LimbAccess = {LA=true,RA=true,LL=true,RL=true,RJ=true,NJ=true,Weapon=true}
  583. local State = "Lounge"
  584. local Active = true
  585. local Mode = "Staff"
  586. function Lerp(a,b,i) -- A = First pos, B = Second Pos, i = Speed
  587. return a:lerp(b,i)
  588. end
  589. Left_Arm = Instance.new("Weld",Torso)
  590. Left_Arm.Part0 = Torso
  591. Left_Arm.Part1 = la
  592. Left_Arm.Name = "LeftArmJ"
  593. Left_Arm.C0 = CFrame.new(-1.5,0.5,0)
  594. Left_Arm.C1 = CFrame.new(0,0.5,0)
  595. Right_Arm = Instance.new("Weld",Torso)
  596. Right_Arm.Part0 = Torso
  597. Right_Arm.Part1 = ra
  598. Right_Arm.Name = "RightArmJ"
  599. Right_Arm.C0 = CFrame.new(1.5,0.5,0)
  600. Right_Arm.C1 = CFrame.new(0,0.5,0)
  601. Left_Leg = Instance.new("Weld",Torso)
  602. Left_Leg.Part0 = Torso
  603. Left_Leg.Part1 = ll
  604. Left_Leg.Name = "LeftLegJ"
  605. Left_Leg.C0 = CFrame.new(-0.5,-1,0)
  606. Left_Leg.C1 = CFrame.new(0,1,0)
  607. Right_Leg = Instance.new("Weld",Torso)
  608. Right_Leg.Name = "RightLegJ"
  609. Right_Leg.Part0 = Torso
  610. Right_Leg.Part1 = rl
  611. Right_Leg.C0 = CFrame.new(0.5,-1,0)
  612. Right_Leg.C1 = CFrame.new(0,1,0)
  613. Staffw = Instance.new("Weld",Torso)
  614. Staffw.Part0 = Torso
  615. Staffw.Part1 = Handle
  616. Staffw.Name = "StaffJoint"
  617.  
  618. local RootJoint = Instance.new("Weld",Character["HumanoidRootPart"])
  619. RootJoint.Name = "RootJ"
  620. RootJoint.Part0 = Character["HumanoidRootPart"]
  621. RootJoint.Part1 = Torso
  622.  
  623. local NeckJ = Instance.new("Weld",Torso)
  624. NeckJ.Name = "NeckJ"
  625. NeckJ.Part0 = Torso
  626. NeckJ.Part1 = Character.Head
  627. NeckJ.C1 = CFrame.new(0,-1.5,0)
  628.  
  629. function Change()
  630.  
  631. end
  632. _G.MoveCheck1 = false
  633. _G.SatanState = false
  634.  
  635. function SpellBinder(SpellID)
  636. if _G.MoveCheck1 == false then
  637. _G.MoveCheck1 = true
  638. if _G.SatanState == false then
  639. _G.SatanState = true
  640.  
  641. ID = 357442018
  642. _G.SpellBindStuff = 0
  643. _G.SpellBind = game:GetObjects("rbxassetid://437368177")[1]
  644. _G.SpellBind.Decal.Texture = "rbxassetid://" .. SpellID
  645. _G.SpellBind.Decal1.Texture = "rbxassetid://" .. SpellID
  646. _G.SpellBind.Parent = owner
  647. _G.SpellBind.CFrame = owner
  648. _G.SpellBind.CFrame = owner
  649. _G.SpellBind.ParticleEmitter.Color = ColorSequence.new(Color3.new(255,0,0))
  650. _G.SpellBind.ParticleEmitter.Size = NumberSequence.new(5)
  651.  
  652. _G.UnsealEnforca = game:GetService("RunService").Stepped:connect(function()
  653. _G.SpellBind.CFrame = owner
  654. _G.SpellBind.CFrame = owner
  655. _G.SpellBindStuff = _G.SpellBindStuff + 0.012
  656. end)
  657.  
  658.  
  659. for i = 1, 117 do
  660. _G.SpellBind.Size = _G.SpellBind.Size + Vector3.new(0.50,0,0.50)
  661. wait(0.07)
  662. end
  663.  
  664.  
  665. wait(0.1)
  666.  
  667. _G.chatcustom("You shall not pass!", "Really red", game.Players.owner)
  668. _G.MoveCheck1 = false
  669. else
  670. _G.MoveCheck1 = true
  671. wait(0.6)
  672.  
  673. for i = 1, 117 do
  674. _G.SpellBind.Size = _G.SpellBind.Size - Vector3.new(0.50,0,0.50)
  675. wait(0.07)
  676. end
  677.  
  678.  
  679. _G.UnsealEnforca:disconnect()
  680. _G.SpellBind.Parent = _G.newParent
  681. wait(0.1)
  682. _G.SatanState = false
  683. _G.MoveCheck1 = false
  684. end
  685. end
  686. end
  687.  
  688.  
  689.  
  690. _G.ConnectionAgent = Mouse.KeyDown:connect(function(key)
  691. if key == "q" and State == "Flying" and Active == true then
  692. State = "Lounge"
  693. Humanoid.WalkSpeed = 30
  694. elseif key == "q" and State == "Lounge" and Active == true then
  695. State = "Flying"
  696. Humanoid.WalkSpeed = 20
  697. elseif key == "q" and State == "Battle" and Active == true then
  698. State = "Flying"
  699. Humanoid.WalkSpeed = 50
  700. elseif key == "e" and State == "Battle" and Active == true then
  701. SpellBinder(375165574)
  702. elseif key == "e" and Active == true then
  703. --[[
  704. Humanoid.WalkSpeed = 0
  705. State = "Changing"
  706. Mode = "Changing"
  707. Active = false
  708. Change()
  709. --]]
  710. end
  711. end)
  712.  
  713. Player.Character.Humanoid.Died:connect(function()
  714. _G.ConnectionAgent:disconnect()
  715. end)
  716.  
  717. angle = 0
  718. angle2 = 0
  719. angle3 = 0
  720. anglespeed = 2
  721. anglespeed2 = 1
  722. anglespeed3 = .4
  723. game:GetService("RunService").Stepped:connect(function()
  724. angle = ((angle % 100) + anglespeed/10)
  725. angle2 = ((angle2 % 100) + anglespeed2/10)
  726. angle3 = ((angle3 % 100) + anglespeed3/10) --it'll go from 0 to 100 and repeat in a loop. basically it will get to its destination and back --ok
  727. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Flying" then -- idle
  728. if not Humanoid.WalkSpeed == 50 then
  729. Humanoid.WalkSpeed = 50
  730. end
  731. if LimbAccess.RJ then
  732. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  733. end
  734. if LimbAccess.LA then
  735. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(0)+math.sin(angle3)*.06),.1)
  736. end
  737. if LimbAccess.NJ then
  738. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  739. end
  740. if LimbAccess.RA then
  741. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  742. end
  743. if LimbAccess.LL then
  744. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  745. end
  746. if LimbAccess.RL then
  747. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  748. end
  749. if LimbAccess.Weapon then
  750. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  751. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  752. end
  753. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Flying" then -- walk
  754. if LimbAccess.RJ then
  755. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(90),0),.2)
  756. end
  757. if LimbAccess.LA then
  758. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.2,0.35,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(7)+math.sin(angle3)*.06),.1)
  759. end
  760. if LimbAccess.NJ then
  761. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(-45)+(math.sin(-angle3)*.04),0),.25)
  762. end
  763. if LimbAccess.RA then
  764. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-25)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-5)+math.sin(angle3)*.06),.1)
  765. end
  766. if LimbAccess.LL then
  767. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(35)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  768. end
  769. if LimbAccess.RL then
  770. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(45)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  771. end
  772. if LimbAccess.Weapon then
  773. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-1,0),.2)
  774. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,-.4)*CFrame.Angles(math.rad(180),math.rad(180),0),.2)
  775. end
  776. end
  777. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Lounge" then -- idle
  778. if not Humanoid.WalkSpeed == 30 then
  779. Humanoid.WalkSpeed = 30
  780. end
  781. if LimbAccess.RJ then
  782. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,0,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  783. end
  784. if LimbAccess.LA then
  785. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-3)+math.sin(angle3)*.06),.1)
  786. end
  787. if LimbAccess.NJ then
  788. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  789. end
  790. if LimbAccess.RA then
  791. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(3)),.1)
  792. end
  793. if LimbAccess.LL then
  794. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  795. end
  796. if LimbAccess.RL then
  797. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(15)+math.sin(angle3)*-.02),.1)
  798. end
  799. if LimbAccess.Weapon then
  800. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  801. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  802. end
  803. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Lounge" then -- walk
  804. if LimbAccess.RJ then
  805. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  806. end
  807. if LimbAccess.LA then
  808. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(5)+math.sin(angle3)*.06,0+math.sin(angle3)*.06,math.rad(-23)+math.sin(angle3)*.06),.1)
  809. end
  810. if LimbAccess.NJ then
  811. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  812. end
  813. if LimbAccess.RA then
  814. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(5)+(math.sin(angle3)*.1),math.rad(0),math.rad(23)),.1)
  815. end
  816. if LimbAccess.LL then
  817. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.6,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  818. end
  819. if LimbAccess.RL then
  820. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  821. end
  822. if LimbAccess.Weapon then
  823. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,0,.5),.2)
  824. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,0,0)*CFrame.Angles(math.rad(180),math.rad(180),math.rad(-45)),.2)
  825. end
  826. end
  827. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Battle" then -- idle
  828. if not Humanoid.WalkSpeed == 20 then
  829. Humanoid.WalkSpeed = 20
  830. end
  831. if LimbAccess.RJ then
  832. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  833. end
  834. if LimbAccess.LA then
  835. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  836. end
  837. if LimbAccess.NJ then
  838. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  839. end
  840. if LimbAccess.RA then
  841. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.5,-.7)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  842. end
  843. if LimbAccess.LL then
  844. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,-1,0)*CFrame.Angles(0,0,math.rad(-5)+math.sin(angle3)*.02),.1)
  845. end
  846. if LimbAccess.RL then
  847. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,-1,0)*CFrame.Angles(0,0,math.rad(5)+math.sin(angle3)*-.02),.1)
  848. end
  849. if LimbAccess.Weapon then
  850. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(0,-.5,-1),.2)
  851. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.6,0)*CFrame.Angles(math.rad(90),math.rad(180),math.rad(-90)),.2)
  852. end
  853. elseif Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude > 2 and State == "Battle" then -- walk
  854. if LimbAccess.RJ then
  855. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.2,.5+math.sin(angle2)*.1,0)*CFrame.Angles(0,math.rad(0),0),.2)
  856. end
  857. if LimbAccess.LA then
  858. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-.9,0.6,-.8)*CFrame.Angles(math.rad(5),math.rad(-135),math.rad(-90)),.1)
  859. end
  860. if LimbAccess.NJ then
  861. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.sin(-angle3)*.04,math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  862. end
  863. if LimbAccess.RA then
  864. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.1,0.4,-.3)*CFrame.Angles(math.rad(5),math.rad(135),math.rad(90)),.1)
  865. end
  866. if LimbAccess.LL then
  867. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-0.5,(math.sin(angle3)*.1)-.7,-.2)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(-5)),.1)
  868. end
  869. if LimbAccess.RL then
  870. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(0.5,(math.sin(angle3)*.1)-.7,-.1)*CFrame.Angles(math.rad(-15)+(math.sin(angle3)*.1),0,math.rad(5)),.1)
  871. end
  872. if LimbAccess.Weapon then
  873. Staffw.C0 = Lerp(Staffw.C0,CFrame.new(.4,.5,-1),.2)
  874. Staffw.C1 = Lerp(Staffw.C1,CFrame.new(0,.1,0)*CFrame.Angles(math.rad(135),math.rad(120),math.rad(-135)),.2)
  875. end
  876. end
  877. if Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z).magnitude < 2 and State == "Changing" then -- idle
  878. if LimbAccess.RJ then
  879. RootJoint.C0 = Lerp(RootJoint.C0,CFrame.new(-.5,.5+math.sin(angle2)*.1,0)*CFrame.Angles(math.sin(angle3)*.02,math.rad(0),0),.2)
  880. end
  881. if LimbAccess.LA then
  882. Left_Arm.C0 = Lerp(Left_Arm.C0,CFrame.new(-1.3,0.51,-.7)*CFrame.Angles(math.rad(5),math.rad(-165),math.rad(-90)),.1)
  883. end
  884. if LimbAccess.NJ then
  885. NeckJ.C0 = Lerp(NeckJ.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-10),math.rad(0)+(math.sin(-angle3)*.04),0),.25)
  886. end
  887. if LimbAccess.RA then
  888. Right_Arm.C0 = Lerp(Right_Arm.C0,CFrame.new(1.3,0.49,-.7)*CFrame.Angles(math.rad(5),math.rad(165),math.rad(90)),.1)
  889. end
  890. if LimbAccess.LL then
  891. Left_Leg.C0 = Lerp(Left_Leg.C0,CFrame.new(-1,-1,-.4)*CFrame.Angles(0,math.rad(25),math.rad(75)),.1)
  892. end
  893. if LimbAccess.RL then
  894. Right_Leg.C0 = Lerp(Right_Leg.C0,CFrame.new(1,-1,-.4)*CFrame.Angles(0,math.rad(-25),math.rad(-75)),.1)
  895. end
  896. end
  897. end)
  898.  
  899. Player = owner
  900. Cha = Player.Character
  901. rarm=Cha["Right Arm"]
  902. larm=Cha["Left Arm"]
  903. rar=Cha["Right Leg"]
  904. lar=Cha["Left Leg"]
  905.  
  906. Handle = Instance.new("Part",Cha)
  907. Handle.TopSurface = "Smooth"
  908. Handle.BottomSurface = "Smooth"
  909. Handle.Size = Vector3.new(1,1,1)
  910. Handle.CanCollide = false
  911. Handle.Transparency = 0
  912. Handle.BrickColor = BrickColor.new("Crimson")
  913. HandleMesh = Instance.new("SpecialMesh", Handle)
  914. HandleMesh.MeshType = "Brick"
  915. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  916. HandleWeld = Instance.new("Weld",Cha)
  917. HandleWeld.Part0 = rarm
  918. HandleWeld.Part1 = Handle
  919. HandleWeld.C1 = CFrame.new(0, 0.4, 0)
  920.  
  921.  
  922. Hand = Instance.new("Part",Cha)
  923. Hand.TopSurface = "Smooth"
  924. Hand.BottomSurface = "Smooth"
  925. Hand.Size = Vector3.new(1,1,1)
  926. Hand.CanCollide = false
  927. Hand.Transparency = 0
  928. Hand.BrickColor = BrickColor.new("Royal purple")
  929. HandMesh = Instance.new("SpecialMesh", Hand)
  930. HandMesh.MeshType = "Brick"
  931. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  932. HandWeld = Instance.new("Weld",Cha)
  933. HandWeld.Part0 = rarm
  934. HandWeld.Part1 = Hand
  935. HandWeld.C1 = CFrame.new(0, 0.4, 0)
  936.  
  937. Handle = Instance.new("Part",Cha)
  938. Handle.TopSurface = "Smooth"
  939. Handle.BottomSurface = "Smooth"
  940. Handle.Size = Vector3.new(1,1,1)
  941. Handle.CanCollide = false
  942. Handle.Transparency = 0
  943. Handle.BrickColor = BrickColor.new("Crimson")
  944. HandleMesh = Instance.new("SpecialMesh", Handle)
  945. HandleMesh.MeshType = "Brick"
  946. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  947. HandleWeld = Instance.new("Weld",Cha)
  948. HandleWeld.Part0 = larm
  949. HandleWeld.Part1 = Handle
  950. HandleWeld.C1 = CFrame.new(0, 0.4, 0)
  951.  
  952.  
  953. Hand = Instance.new("Part",Cha)
  954. Hand.TopSurface = "Smooth"
  955. Hand.BottomSurface = "Smooth"
  956. Hand.Size = Vector3.new(1,1,1)
  957. Hand.CanCollide = false
  958. Hand.Transparency = 0
  959. Hand.BrickColor = BrickColor.new("Royal purple")
  960. HandMesh = Instance.new("SpecialMesh", Hand)
  961. HandMesh.MeshType = "Brick"
  962. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  963. HandWeld = Instance.new("Weld",Cha)
  964. HandWeld.Part0 = larm
  965. HandWeld.Part1 = Hand
  966. HandWeld.C1 = CFrame.new(0, 0.4, 0)
  967.  
  968. Handle = Instance.new("Part",Cha)
  969. Handle.TopSurface = "Smooth"
  970. Handle.BottomSurface = "Smooth"
  971. Handle.Size = Vector3.new(1,1,1)
  972. Handle.CanCollide = false
  973. Handle.Transparency = 0
  974. Handle.BrickColor = BrickColor.new("Crimson")
  975. HandleMesh = Instance.new("SpecialMesh", Handle)
  976. HandleMesh.MeshType = "Brick"
  977. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  978. HandleWeld = Instance.new("Weld",Cha)
  979. HandleWeld.Part0 = larm
  980. HandleWeld.Part1 = Handle
  981. HandleWeld.C1 = CFrame.new(0, 0.2, 0)
  982.  
  983.  
  984. Hand = Instance.new("Part",Cha)
  985. Hand.TopSurface = "Smooth"
  986. Hand.BottomSurface = "Smooth"
  987. Hand.Size = Vector3.new(1,1,1)
  988. Hand.CanCollide = false
  989. Hand.Transparency = 0
  990. Hand.BrickColor = BrickColor.new("Bright green")
  991. HandMesh = Instance.new("SpecialMesh", Hand)
  992. HandMesh.MeshType = "Brick"
  993. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  994. HandWeld = Instance.new("Weld",Cha)
  995. HandWeld.Part0 = larm
  996. HandWeld.Part1 = Hand
  997. HandWeld.C1 = CFrame.new(0, 0.2, 0)
  998.  
  999. Handle = Instance.new("Part",Cha)
  1000. Handle.TopSurface = "Smooth"
  1001. Handle.BottomSurface = "Smooth"
  1002. Handle.Size = Vector3.new(1,1,1)
  1003. Handle.CanCollide = false
  1004. Handle.Transparency = 0
  1005. Handle.BrickColor = BrickColor.new("Crimson")
  1006. HandleMesh = Instance.new("SpecialMesh", Handle)
  1007. HandleMesh.MeshType = "Brick"
  1008. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  1009. HandleWeld = Instance.new("Weld",Cha)
  1010. HandleWeld.Part0 = rarm
  1011. HandleWeld.Part1 = Handle
  1012. HandleWeld.C1 = CFrame.new(0, 0.2, 0)
  1013.  
  1014.  
  1015. Hand = Instance.new("Part",Cha)
  1016. Hand.TopSurface = "Smooth"
  1017. Hand.BottomSurface = "Smooth"
  1018. Hand.Size = Vector3.new(1,1,1)
  1019. Hand.CanCollide = false
  1020. Hand.Transparency = 0
  1021. Hand.BrickColor = BrickColor.new("Bright green")
  1022. HandMesh = Instance.new("SpecialMesh", Hand)
  1023. HandMesh.MeshType = "Brick"
  1024. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  1025. HandWeld = Instance.new("Weld",Cha)
  1026. HandWeld.Part0 = rarm
  1027. HandWeld.Part1 = Hand
  1028. HandWeld.C1 = CFrame.new(0, 0.2, 0)
  1029.  
  1030. Handle = Instance.new("Part",Cha)
  1031. Handle.TopSurface = "Smooth"
  1032. Handle.BottomSurface = "Smooth"
  1033. Handle.Size = Vector3.new(1,1,1)
  1034. Handle.CanCollide = false
  1035. Handle.Transparency = 0
  1036. Handle.BrickColor = BrickColor.new("Crimson")
  1037. HandleMesh = Instance.new("SpecialMesh", Handle)
  1038. HandleMesh.MeshType = "Brick"
  1039. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  1040. HandleWeld = Instance.new("Weld",Cha)
  1041. HandleWeld.Part0 = rarm
  1042. HandleWeld.Part1 = Handle
  1043. HandleWeld.C1 = CFrame.new(0, 0.6, 0)
  1044.  
  1045.  
  1046. Hand = Instance.new("Part",Cha)
  1047. Hand.TopSurface = "Smooth"
  1048. Hand.BottomSurface = "Smooth"
  1049. Hand.Size = Vector3.new(1,1,1)
  1050. Hand.CanCollide = false
  1051. Hand.Transparency = 0
  1052. Hand.BrickColor = BrickColor.new("Bright green")
  1053. HandMesh = Instance.new("SpecialMesh", Hand)
  1054. HandMesh.MeshType = "Brick"
  1055. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  1056. HandWeld = Instance.new("Weld",Cha)
  1057. HandWeld.Part0 = rarm
  1058. HandWeld.Part1 = Hand
  1059. HandWeld.C1 = CFrame.new(0, 0.6, 0)
  1060.  
  1061. Handle = Instance.new("Part",Cha)
  1062. Handle.TopSurface = "Smooth"
  1063. Handle.BottomSurface = "Smooth"
  1064. Handle.Size = Vector3.new(1,1,1)
  1065. Handle.CanCollide = false
  1066. Handle.Transparency = 0
  1067. Handle.BrickColor = BrickColor.new("Crimson")
  1068. HandleMesh = Instance.new("SpecialMesh", Handle)
  1069. HandleMesh.MeshType = "Brick"
  1070. HandleMesh.Scale = Vector3.new(1.01,0.5,1.01)
  1071. HandleWeld = Instance.new("Weld",Cha)
  1072. HandleWeld.Part0 = larm
  1073. HandleWeld.Part1 = Handle
  1074. HandleWeld.C1 = CFrame.new(0, 0.6, 0)
  1075.  
  1076.  
  1077. Hand = Instance.new("Part",Cha)
  1078. Hand.TopSurface = "Smooth"
  1079. Hand.BottomSurface = "Smooth"
  1080. Hand.Size = Vector3.new(1,1,1)
  1081. Hand.CanCollide = false
  1082. Hand.Transparency = 0
  1083. Hand.BrickColor = BrickColor.new("Bright green")
  1084. HandMesh = Instance.new("SpecialMesh", Hand)
  1085. HandMesh.MeshType = "Brick"
  1086. HandMesh.Scale = Vector3.new(1.02,0.1,1.02)
  1087. HandWeld = Instance.new("Weld",Cha)
  1088. HandWeld.Part0 = larm
  1089. HandWeld.Part1 = Hand
  1090. HandWeld.C1 = CFrame.new(0, 0.6, 0)
  1091.  
  1092. wait(0.1)
  1093.  
  1094. rs = game:GetService'RunService'
  1095. plrs = game:GetService'Players'
  1096. lp = owner
  1097. c = lp.Character
  1098. root = lp.Character.HumanoidRootPart
  1099. human = c.Humanoid
  1100. FPS = 0
  1101. inf = 0
  1102. opos1 = Vector3.new(1)
  1103. opos2 = Vector3.new(2)
  1104. opos3 = Vector3.new(3)
  1105. waves = Instance.new("Model", c)
  1106. res = Instance.new("Model", c)
  1107.  
  1108. local function b()
  1109. local t=tick();
  1110. local l=t%1*3;
  1111. local t=.5*math.pi*(l%1);
  1112. if l<0.5 then
  1113. return Color3.new(47,0,32);
  1114. elseif l<2 then
  1115. return Color3.new(193,0,0);
  1116. else
  1117. return Color3.new(0,10,0);
  1118. end;
  1119. end;
  1120. speedParts = function()
  1121. for i = 1, 4 do
  1122. local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2)
  1123. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  1124. local opos
  1125. if i == 1 then
  1126. opos = opos1
  1127. elseif i == 2 then
  1128. opos = opos2
  1129. else
  1130. opos = opos3
  1131. end
  1132. if human.MoveDirection ~= Vector3.new(7, 8, 9) then
  1133. local e
  1134. if #res:children() <= 3 then
  1135. e = Instance.new("Part")
  1136. else
  1137. e = res:FindFirstChild("Tail")
  1138. end
  1139. e.Parent = waves
  1140. e.Anchored = true
  1141. e.CanCollide = false
  1142. e.Transparency = 0
  1143. e.Material = "Slate"
  1144. e.Name = "Tail"
  1145. e.Color = b(); --Color = a();
  1146. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  1147. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 4, 2)
  1148. end
  1149. if i == 1 then
  1150. opos1 = CFramepos
  1151. elseif i == 2 then
  1152. opos2 = CFramepos
  1153. else
  1154. opos3 = CFramepos
  1155. end
  1156. end
  1157. end
  1158.  
  1159. rs.Stepped:connect(function()
  1160. FPS = 1 / rs.Stepped:wait()
  1161. for i, v in pairs (waves:children()) do
  1162. v.Transparency = v.Transparency + .05 / (FPS / 60)
  1163. if v.Transparency >= .98 then
  1164. v.Transparency = 1
  1165. v.Parent = res
  1166. end
  1167. end
  1168. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  1169. speedParts()
  1170. end)
  1171.  
  1172. local p = owner
  1173. local char = p.Character
  1174. local size = 15
  1175. part = function()
  1176.  
  1177. local a = Instance.new("Part", script)
  1178. a.Anchored = true
  1179. a.CanCollide = true
  1180. a.CFrame = char.Torso.CFrame
  1181. a.Size = Vector3.new(size, 0.2, 0.2)
  1182. a.Transparency = 5
  1183. return a
  1184. end
  1185.  
  1186. part2 = function()
  1187.  
  1188. local a = Instance.new("Part", script)
  1189. a.Anchored = true
  1190. a.CanCollide = true
  1191. a.CFrame = char.Torso.CFrame
  1192. a.Size = Vector3.new(0.2, size, 0.2)
  1193. a.Transparency = 5
  1194. return a
  1195. end
  1196.  
  1197. part3 = function()
  1198.  
  1199. local a = Instance.new("Part", script)
  1200. a.Anchored = true
  1201. a.CanCollide = false
  1202. a.Size = Vector3.new(size, size, 1)
  1203. a.Transparency = 5
  1204. a.Material = "Neon"
  1205. a.BrickColor = BrickColor.new("Really black")
  1206. local b = Instance.new("BlockMesh", a)
  1207. b.Scale = Vector3.new(1, 1, 0)
  1208. return a
  1209. end
  1210.  
  1211. local replicating = false
  1212. local root, a, b, c, d, a2, b2, c2, d2, aa, bb, cc, dd, z, x, c, v, b, n = nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil
  1213. replicate = function()
  1214.  
  1215. replicating = true
  1216. script:ClearAllChildren()
  1217. root = part()
  1218. root.Transparency = 5
  1219. root.Size = Vector3.new(0.2, 0.2, 0.2)
  1220. root.CanCollide = false
  1221. a = part()
  1222. b = part()
  1223. c = part()
  1224. d = part()
  1225. a2 = part()
  1226. b2 = part()
  1227. c2 = part()
  1228. d2 = part()
  1229. aa = part2()
  1230. bb = part2()
  1231. cc = part2()
  1232. dd = part2()
  1233. z = part3()
  1234. x = part3()
  1235. c = part3()
  1236. v = part3()
  1237. b = part3()
  1238. n = part3()
  1239. replicating = false
  1240. end
  1241.  
  1242. script.ChildRemoved:connect(function(a)
  1243.  
  1244. if a.ClassName == "Part" and replicating == false then
  1245. replicate()
  1246. end
  1247. end
  1248. )
  1249. replicate()
  1250. local tick = 0
  1251. CreateRegion3FromLocAndSize = function(Position, Size)
  1252.  
  1253. local SizeOffset = Size / 2
  1254. local Point1 = Position - SizeOffset
  1255. local Point2 = Position + SizeOffset
  1256. return Region3.new(Point1, Point2)
  1257. end
  1258.  
  1259. local set = false
  1260. local whitelist = {""}
  1261. p.Chatted:connect(function(ms)
  1262.  
  1263. if ms:sub(1, 5) == "size-" then
  1264. size = tonumber(ms:sub(6))
  1265. replicate()
  1266. else
  1267. if ms:sub(1, 4) == "set-" then
  1268. set = true
  1269. z.CanCollide = false
  1270. x.CanCollide = false
  1271. c.CanCollide = false
  1272. v.CanCollide = false
  1273. b.CanCollide = false
  1274. n.CanCollide = false
  1275. else
  1276. if ms:sub(1, 6) == "unset-" then
  1277. set = false
  1278. z.CanCollide = false
  1279. x.CanCollide = false
  1280. c.CanCollide = false
  1281. v.CanCollide = false
  1282. b.CanCollide = false
  1283. n.CanCollide = false
  1284. else
  1285. if ms:sub(1, 10) == "whitelist-" then
  1286. table.insert(whitelist, ms:sub(11))
  1287. else
  1288. if ms:sub(1, 12) == "unwhitelist-" then
  1289. for i,v in pairs(whitelist) do
  1290. if ms:sub(13) == v then
  1291. table.remove(whitelist, i)
  1292. break
  1293. end
  1294. end
  1295. end
  1296. end
  1297. end
  1298. end
  1299. end
  1300. end
  1301. )
  1302. local magicpos = nil
  1303. game:GetService("RunService").Heartbeat:connect(function()
  1304.  
  1305. pcall(function()
  1306.  
  1307. local void = char:GetChildren()
  1308. for _,pl in pairs(whitelist) do
  1309. if game.Players:FindFirstChild(pl) ~= nil and game.Players:FindFirstChild(pl).Character ~= nil then
  1310. for i,v in pairs(game.Players[pl].Character:GetChildren()) do
  1311. table.insert(void, v)
  1312. end
  1313. end
  1314. end
  1315. for i,v in pairs(game.Players:GetPlayers()) do
  1316. if v.Character:isDescendantOf(char) and not v.Name == "FangxWulf" then
  1317. v:LoadCharacter()
  1318. end
  1319. end
  1320. char.Humanoid.Health = math.huge
  1321. tick = tick + 0.01
  1322. if not set then
  1323. root.CFrame = root.CFrame:lerp(CFrame.new(char.Torso.CFrame.p) * CFrame.Angles(math.sin(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2), math.cos(tick) * 100 / 30 / (size / 2)), 0.1)
  1324. magicpos = char.Torso.CFrame
  1325. else
  1326. root.CFrame = root.CFrame:lerp(CFrame.new(magicpos.p) * CFrame.Angles(0, 0, 0), 0.05)
  1327. end
  1328. local reg = CreateRegion3FromLocAndSize(root.CFrame.p, Vector3.new(size, size, size))
  1329. for i,v in pairs(game.Workspace:FindPartsInRegion3WithIgnoreList(reg, void, 100)) do
  1330. if v.Name ~= "Base" then
  1331. v:Destroy()
  1332. end
  1333. end
  1334. a.CFrame = root.CFrame * CFrame.new(size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  1335. b.CFrame = root.CFrame * CFrame.new(-size / 2, size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  1336. c.CFrame = root.CFrame * CFrame.new(0, size / 2, size / 2)
  1337. d.CFrame = root.CFrame * CFrame.new(0, size / 2, -size / 2)
  1338. a2.CFrame = root.CFrame * CFrame.new(size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  1339. b2.CFrame = root.CFrame * CFrame.new(-size / 2, -size / 2, 0) * CFrame.Angles(0, math.rad(90), 0)
  1340. c2.CFrame = root.CFrame * CFrame.new(0, -size / 2, size / 2)
  1341. d2.CFrame = root.CFrame * CFrame.new(0, -size / 2, -size / 2)
  1342. aa.CFrame = root.CFrame * CFrame.new(size / 2, 0, size / 2)
  1343. bb.CFrame = root.CFrame * CFrame.new(-size / 2, 0, size / 2)
  1344. cc.CFrame = root.CFrame * CFrame.new(-size / 2, 0, -size / 2)
  1345. dd.CFrame = root.CFrame * CFrame.new(size / 2, 0, -size / 2)
  1346. z.CFrame = root.CFrame * CFrame.new(size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  1347. x.CFrame = root.CFrame * CFrame.new(-size / 2, 0, 0) * CFrame.Angles(0, math.rad(90), 0)
  1348. c.CFrame = root.CFrame * CFrame.new(0, 0, size / 2) * CFrame.Angles(0, 0, math.rad(90))
  1349. v.CFrame = root.CFrame * CFrame.new(0, 0, -size / 2) * CFrame.Angles(0, 0, math.rad(90))
  1350. b.CFrame = root.CFrame * CFrame.new(0, size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1351. n.CFrame = root.CFrame * CFrame.new(0, -size / 2, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1352. end
  1353. )
  1354. end
  1355. )
  1356.  
  1357.  
  1358. ----------------------------------------------------
  1359. Debounces = {
  1360. CanAttack = true;
  1361. NoIdl = false;
  1362. Slashing = false;
  1363. Slashed = false;
  1364. RPunch = false;
  1365. RPunched = false;
  1366. LPunch = false;
  1367. LPunched = false;
  1368. }
  1369. local Touche = {char.Name, }
  1370. ----------------------------------------------------
  1371. hed.face.Texture = ""
  1372. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  1373. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  1374. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  1375. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  1376. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  1377. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  1378. ----------------------------------------------------
  1379. ypcall(function()
  1380. char.Shirt:Destroy()
  1381. char.Pants:Destroy()
  1382. shirt = Instance.new("Shirt", char)
  1383. shirt.Name = "Shirt"
  1384. pants = Instance.new("Pants", char)
  1385. pants.Name = "Pants"
  1386. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  1387. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  1388. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement