Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.87 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. plr = game.Players.LocalPlayer
  88. chr = plr.Character or plr.CharacterAdded:wait()
  89. mouse = plr:GetMouse()
  90. fire = Instance.new("Fire")
  91. shield = Instance.new('Part')
  92. shield.FormFactor = "Custom"
  93. shield.Size = Vector3.new(.2,.2,.2)
  94. shield.BottomSurface = "Smooth"
  95. shield.TopSurface = "Smooth"
  96. shield.Anchored = true
  97. shield.CanCollide = false
  98. shield.BrickColor = BrickColor.new(0,0,0)
  99. shield.Transparency = .5
  100. mesh = Instance.new("SpecialMesh",shield)
  101. mesh.MeshType = "Sphere"
  102. tele = Instance.new("Part")
  103. tele.Anchored = true
  104. tele.Transparency = .5
  105. tele.CanCollide = false
  106. cil = Instance.new("CylinderMesh",tele)
  107. tele.BrickColor = BrickColor.new(1,1,1)
  108. tele.Size = Vector3.new(5,1,5)
  109. box = Instance.new("Part")
  110. box.Transparency = .5
  111. box.Anchored = true
  112. box.CanCollide = false
  113. box.FormFactor = Enum.FormFactor.Custom
  114. box.Size = Vector3.new(.2,.2,.2)
  115. box.TopSurface = Enum.SurfaceType.Smooth
  116. box.BottomSurface = Enum.SurfaceType.Smooth
  117.  
  118. mouse.KeyDown:connect(function(key)
  119. if key == 'f'then
  120. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  121. local clone = fire:Clone()
  122. clone.Parent = chr["Right Arm"]
  123. clone.Color = Color3.new(1,1,1)
  124. clone.SecondaryColor = clone.Color
  125. wait(2)
  126. clone:Destroy()
  127. local target = mouse.Target
  128. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  129. victim.Character.Torso.Anchored = true
  130. while true do
  131. game:GetService('RunService').RenderStepped:wait()
  132. victim.Character.HumanoidRootPart.CFrame = victim.Character.HumanoidRootPart.CFrame + Vector3.new(0,.1,0)
  133. end
  134. end
  135. elseif key == '' then
  136. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  137. local clone = fire:Clone()
  138. clone.Parent = chr["Right Arm"]
  139. clone.Color = Color3.new(0.3333333333333333,0.6666666666666667,1)
  140. clone.SecondaryColor = clone.Color
  141. wait(2)
  142. clone:Destroy()
  143. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  144. local children = victim.Character:GetChildren()
  145. victim.Character.Humanoid.WalkSpeed = 0
  146. victim.Character.Torso.Anchored = true
  147. for i,v in pairs(children) do
  148. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  149. v.Anchored = true
  150. v.CanCollide = false
  151. for i = 0,1,.1 do
  152. wait()
  153. v.Transparency = i
  154. end
  155. end
  156. end
  157. end
  158. elseif key == 'c' then
  159. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  160. local clone = fire:Clone()
  161. clone.Parent = chr["Right Arm"]
  162. clone.Color = Color3.new(1,0,0)
  163. clone.SecondaryColor = clone.Color
  164. wait(2)
  165. clone:Destroy()
  166. local explosion = Instance.new('Explosion',workspace)
  167. explosion.Position = mouse.Target.Position
  168. end
  169. elseif key == 'q' then
  170. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  171. local clone = fire:Clone()
  172. clone.Parent = chr["Right Arm"]
  173. clone.Color = Color3.new(0,1,0)
  174. clone.SecondaryColor = clone.Color
  175. wait(2)
  176. clone:Destroy()
  177. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
  178. local children = victim.Character:GetChildren()
  179. victim.Character.Humanoid.WalkSpeed = 0
  180. victim.Character.Torso.Anchored = true
  181. for i,v in pairs(children) do
  182. if v.ClassName == "Part" and v.Name ~= "HumanoidRootPart" then
  183. wait(.25)
  184. v.BrickColor = BrickColor.Green()
  185. v.CanCollide = false
  186. v.Parent = workspace
  187. v.Anchored = false
  188. end
  189. end
  190. end
  191. elseif key == 'r' then
  192. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  193. local clone = fire:Clone()
  194. clone.Parent = chr["Right Arm"]
  195. clone.Color = Color3.new(0,0,0)
  196. clone.SecondaryColor = clone.Color
  197. wait(2)
  198. clone:Destroy()
  199. local ball = shield:Clone()
  200. ball.Parent = workspace
  201.  
  202. ball.Touched:connect(function(p)
  203. if p.Name ~= "Base" and p.Parent ~=chr or p.Name ~= "Base" and p.Parent.Parent ~= chr then
  204. p:Destroy()
  205. end
  206. end)
  207.  
  208. while ball.Size.Y < 26 do
  209. game:GetService('RunService').RenderStepped:wait()
  210. ball.Size = ball.Size + Vector3.new(.25,.25,.25)
  211. ball.CFrame = chr.Torso.CFrame
  212. end
  213. for i = .5,1,.05 do
  214. game:GetService('RunService').RenderStepped:wait()
  215. ball.Transparency = i
  216. end
  217. ball:Destroy()
  218. end
  219. elseif key == 't' then
  220. local dis = shield:Clone()
  221. local telep = tele:Clone()
  222. telep.Parent = workspace
  223. dis.Parent = workspace
  224. dis.BrickColor = BrickColor.new(1,1,1)
  225. for i = 1,25 do
  226. game:GetService('RunService').RenderStepped:wait()
  227. dis.Size = dis.Size + Vector3.new(.35,.35,.35)
  228. dis.CFrame = chr.Torso.CFrame
  229. telep.Size = telep.Size + Vector3.new(0,5,0)
  230. telep.CFrame = chr.Torso.CFrame
  231. end
  232. for i = .5,1,.05 do
  233. game:GetService('RunService').RenderStepped:wait()
  234. dis.Transparency = i
  235. telep.Transparency = i
  236. dis.CFrame = chr.Torso.CFrame
  237. telep.CFrame = chr.Torso.CFrame
  238. end
  239. dis:Destroy()
  240. telep:Destroy()
  241. chr:SetPrimaryPartCFrame(mouse.Hit+Vector3.new(0,20,0))
  242. elseif
  243. key == 'g' then
  244. if mouse.Target.Name == "Torso" or mouse.Target.Name == "Head" or mouse.Target.ClassName == "Part" then
  245. local target = mouse.Target
  246. local clone = fire:Clone()
  247. clone.Parent = chr["Right Arm"]
  248. clone.Color = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
  249. clone.SecondaryColor = clone.Color
  250. wait(2)
  251. clone:Destroy()
  252. local boxB = box:Clone()
  253. boxB.Parent = target
  254. boxB.BrickColor = BrickColor.new(math.random(0,1),math.random(0,1),math.random(0,1))
  255. local victim = game.Players:GetPlayerFromCharacter(mouse.Target.Parent).Character
  256. victim.Humanoid.WalkSpeed = 0
  257. for i = .2,10,.2 do
  258. game:GetService('RunService').RenderStepped:wait()
  259. boxB.Size = Vector3.new(i,i,i)
  260. boxB.CFrame = victim.Torso.CFrame
  261. end
  262. for i = .5,1,.025 do
  263. game:GetService('RunService').RenderStepped:wait()
  264. boxB.Transparency = i
  265. end
  266. wait()
  267. boxB:Destroy()
  268. local children = victim:GetChildren()
  269. for i,v in pairs(children) do
  270. clone = fire:Clone()
  271. clone.Parent = v
  272. clone.Color = Color3.new(1,0,0)
  273. victim.Humanoid.Health = victim.Humanoid.Health - 10
  274. if v.ClassName == "Part" then
  275. v.BrickColor = BrickColor.Red()
  276. end
  277. end
  278. end
  279. elseif key == 'h' then
  280. local clone = fire:Clone()
  281. clone.Parent = chr["Right Arm"]
  282. clone.Color = Color3.new(1,1,1)
  283. clone.SecondaryColor = clone.Color
  284. wait(.5)
  285. clone:Destroy()
  286. local sphere = shield:Clone()
  287. sphere.Parent = workspace
  288. sphere.Touched:connect(function(p)
  289. local debounce = false
  290. local h = p.Parent:FindFirstChild("Humanoid")
  291. if h and h.Parent.Name ~= plr.Name and debounce == false then
  292. debounce = true
  293. local dis = shield:Clone()
  294. local telep = tele:Clone()
  295. telep.Parent = workspace
  296. dis.Parent = workspace
  297. dis.BrickColor = BrickColor.new(1,1,1)
  298. for i = 1,25 do
  299. game:GetService('RunService').RenderStepped:wait()
  300. dis.Size = dis.Size + Vector3.new(.35,.35,.35)
  301. dis.CFrame = h.Parent.Torso.CFrame
  302. telep.Size = telep.Size + Vector3.new(0,5,0)
  303. telep.CFrame = h.Parent.Torso.CFrame
  304. end
  305. for i = .5,1,.05 do
  306. game:GetService('RunService').RenderStepped:wait()
  307. dis.Transparency = i
  308. telep.Transparency = i
  309. dis.CFrame = h.Parent.Torso.CFrame
  310. telep.CFrame = h.Parent.Torso.CFrame
  311. end
  312. dis:Destroy()
  313. telep:Destroy()
  314. h.Parent:MoveTo(h.Parent.PrimaryPart.Position + Vector3.new(math.random(-50,50),20,math.random(-50,50)))
  315. wait(5)
  316. debounce = false
  317. end
  318. end)
  319. for i = .2,25,.5 do
  320. game:GetService('RunService').RenderStepped:wait()
  321. sphere.Size = Vector3.new(i,i,i)
  322. sphere.CFrame = chr.Torso.CFrame
  323. end
  324. for i = .5,1,.05 do
  325. game:GetService('RunService').RenderStepped:wait()
  326. sphere.Transparency = i
  327. end
  328. sphere:Destroy()
  329. elseif key == 'j' and mouse.Target.ClassName == "Part" then
  330. local target = mouse.Target
  331. local sword = tele:Clone()
  332. sword.FormFactor = "Custom"
  333. sword.BrickColor = BrickColor.new(0,0,0)
  334. sword.Parent = workspace
  335. sword.Size = Vector3.new(.2,.2,.2)
  336. local swordB = sword:Clone()
  337. swordB.Parent = workspace
  338. for i = 1,5,.2 do
  339. game:GetService('RunService').RenderStepped:wait()
  340. sword.Size = Vector3.new(.2,i,.2)
  341. sword.CFrame = chr["Right Arm"].CFrame
  342. swordB.Size = Vector3.new(.2,i,.2)
  343. swordB.CFrame = chr["Left Arm"].CFrame
  344. end
  345. for i = 1,30 do
  346. game:GetService('RunService').RenderStepped:wait()
  347. swordB.CFrame = chr["Left Arm"].CFrame
  348. sword.CFrame = chr["Right Arm"].CFrame
  349. end
  350. local swordC = sword:Clone()
  351. swordC.Parent = workspace
  352. sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  353. for i = 3,7,.5 do
  354. game:GetService('RunService').RenderStepped:wait()
  355. sword.Size = Vector3.new(.2,i,.2)
  356. sword.CFrame = target.CFrame + Vector3.new(0,10,0)
  357. swordB.CFrame = chr["Left Arm"].CFrame
  358. swordC.CFrame = chr["Right Arm"].CFrame
  359. end
  360. for i = 10,0,-.2 do
  361. game:GetService('RunService').RenderStepped:wait()
  362. sword.Rotation = Vector3.new(0,0,0)
  363. sword.CFrame = target.CFrame + Vector3.new(0,i,0)
  364. sword.Rotation = Vector3.new(0,0,0)
  365. swordB.CFrame = chr["Left Arm"].CFrame
  366. swordC.CFrame = chr["Right Arm"].CFrame
  367. end
  368. if target.Parent.ClassName == "Hat" then
  369. target.Parent.Parent.Humanoid.Health = target.Parent.Parent.Humanoid.Health - 15
  370. else
  371. target.Parent.Humanoid.Health = target.Parent.Humanoid.Health - 35
  372. end
  373. for i = .5,1,.05 do
  374. game:GetService('RunService').RenderStepped:wait()
  375. sword.Transparency = i
  376. swordB.Transparency = i
  377. swordC.Transparency = i
  378. end
  379. sword:Destroy()
  380. swordB:Destroy()
  381. swordC:Destroy()
  382. elseif key == 'k' and mouse.Target and mouse.Target.Parent.ClassName == "Model" and mouse.Target.ClassName == "Part" then
  383. local target = mouse.Target
  384. local children = target.Parent:GetChildren()
  385. for i,v in pairs(children) do
  386. v.BrickColor = BrickColor.new(1,0,0)
  387. local clone = fire:Clone()
  388. clone.Parent = v
  389. clone.Color = Color3.new(1,0,0)
  390. wait(.25)
  391. v:Destroy()
  392. end
  393. elseif key == 'x' and mouse.Target.ClassName == "Part" then
  394. local t = mouse.Target.Transparency
  395. for i = t,0.7,.02 do
  396. game:GetService('RunService').RenderStepped:wait()
  397. mouse.Target.Transparency = i
  398. end
  399. mouse.Target:Destroy()
  400. elseif key == 'z' then
  401. local part = Instance.new("Part",workspace)
  402. part.CFrame = CFrame.new(50,50,50)
  403. local bv = Instance.new("BodyVelocity",part)
  404. Instance.new("CFrameValue",part)
  405. local rotate = Instance.new("BodyAngularVelocity",part)
  406. rotate.AngularVelocity = Vector3.new(math.random(3.5,7.5),math.random(3.5,7.5),math.random(3.5,7.5))
  407. local cvalue = part:WaitForChild("Value")
  408. part.Touched:connect(function(p)
  409. if p.Name == "Part" or p.Name == "Head" then
  410. for i = 0,1,.05 do
  411. game:GetService('RunService').RenderStepped:wait()
  412. part.Transparency = i
  413. p.Transparency = i
  414. end
  415. p:Destroy()
  416. part:Destroy()
  417. elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  418. cvalue.Value = part.CFrame
  419. part.Anchored = true
  420. for i = 10,25,.5 do
  421. game:GetService('RunService').RenderStepped:wait()
  422. part.Size = Vector3.new(i,i,i)
  423. part.CFrame = cvalue.Value
  424. end
  425. for i = 0,1.,.05 do
  426. game:GetService('RunService').RenderStepped:wait()
  427. part.Transparency = i
  428. end
  429. part:Destroy()
  430. end
  431. end)
  432. part.Parent = chr
  433. part.BrickColor = BrickColor.new(193,1,1)
  434. part.Material = "Slate"
  435. part.Anchored = false
  436. part.CanCollide = false
  437. part.Name = "bomb"
  438. part.FormFactor = "Custom"
  439. part.Size = Vector3.new(.2,.2,.2)
  440. part.BottomSurface = "Smooth"
  441. part.TopSurface = "Smooth"
  442. local sbox = Instance.new("SelectionBox",part)
  443. sbox.Adornee = part
  444. sbox.Color3 = Color3.new(0,0,0)
  445. sbox.LineThickness = 0.005
  446. sbox.Transparency = .75
  447. sbox.SurfaceColor3 = Color3.new(0,0,0)
  448. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge,math.huge)
  449. for i = 1,9 do
  450. wait()
  451. local clone = part:Clone()
  452. Instance.new("CFrameValue",clone)
  453. local rotateB = Instance.new("BodyAngularVelocity",part)
  454. rotateB.AngularVelocity = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
  455. clone.CFrame = CFrame.new(100,100,100)
  456. local cvalueB = clone:WaitForChild("Value")
  457. wait()
  458. clone.Parent = chr
  459. clone.Name = "bomb"
  460. clone.Touched:connect(function(p)
  461. if p.Name == "Part" or p.Name == "Head" then
  462. for i = 0,1,.05 do
  463. game:GetService('RunService').RenderStepped:wait()
  464. clone.Transparency = i
  465. p.Transparency = i
  466. end
  467. p:Destroy()
  468. clone:Destroy()
  469. elseif p.Name == "Baseplate" or p.Name == "Base" or p.Name == "BasePlate" then
  470. cvalueB.Value = clone.CFrame
  471. clone.Anchored = true
  472. for i = 10,25,.5 do
  473. game:GetService('RunService').RenderStepped:wait()
  474. clone.Size = Vector3.new(i,i,i)
  475. clone.CFrame = cvalueB.Value
  476. end
  477. for i = 0,1.,.05 do
  478. game:GetService('RunService').RenderStepped:wait()
  479. clone.Transparency = i
  480. end
  481. clone:Destroy()
  482. end
  483. end)
  484. end
  485. local children = chr:GetChildren()
  486. for i,v in pairs(children) do
  487. if v.Name == "bomb" then
  488. for i = .2,10,.5 do
  489. game:GetService('RunService').RenderStepped:wait()
  490. v.Size = Vector3.new(i,i,i)
  491. v.CFrame = chr.Torso.CFrame * CFrame.Angles(math.random(),math.pi,math.random()) + Vector3.new(0,20,0)
  492. end
  493. local bvB = v:WaitForChild("BodyVelocity")
  494. bvB.Velocity = mouse.Hit.lookVector*200
  495. end
  496. end
  497. elseif key == 'e' then
  498. local kill = Instance.new("Part")
  499. local bv = Instance.new("BodyVelocity",kill)
  500. bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  501. local rotate = Instance.new("BodyAngularVelocity",kill)
  502. rotate.AngularVelocity = Vector3.new(math.random(10,20),math.random(10,20),math.random(10,20))
  503. kill.CFrame = CFrame.new(50,50,50)
  504. kill.Touched:connect(function(p)
  505. if p.Name == "Head" and p.Parent ~= chr or p.Name == "Torso" and p.Parent ~= chr then
  506. p.Parent.Humanoid.Health = 0
  507. p:Destroy()
  508. for i = 1,10 do
  509. game:GetService('RunService').RenderStepped:wait()
  510. kill.Size = kill.Size - Vector3.new(.2,.2,.2)
  511. kill.Transparency = kill.Transparency - .1
  512. end
  513. end
  514. end)
  515. kill.BrickColor = BrickColor.new(0,0,0)
  516. kill.Material = "Slate"
  517. kill.Anchored = false
  518. kill.CanCollide = false
  519. kill.FormFactor = "Custom"
  520. kill.Size = Vector3.new(1,1,1)
  521. kill.TopSurface = "Smooth"
  522. kill.BottomSurface = "Smooth"
  523. wait()
  524. local sbox = Instance.new("SelectionBox",kill)
  525. sbox.Adornee = kill
  526. sbox.Color3 = Color3.new(1,1,1)
  527. sbox.LineThickness = .010
  528. sbox.Transparency = .5
  529. kill.Parent = workspace
  530. kill.CFrame = chr.Head.CFrame
  531. wait()
  532. kill.BodyVelocity.Velocity = mouse.Hit.lookVector*100
  533. kill.ChildAdded:connect(function(c)
  534. for i = 0,1,.2 do
  535. game:GetService('RunService').RenderStepped:wait()
  536. c.Transparency = i
  537. c.SelectionBox.Transparency = i
  538. end
  539. c:Destroy()
  540. end)
  541. while kill.Transparency == 0 do
  542. wait(.09)
  543. local clone = kill:Clone()
  544. clone.Anchored = true
  545. clone.Parent = kill
  546. clone.CFrame = kill.CFrame
  547. end
  548. end
  549. end)
  550. --=<=Abilitys above=>=--
  551. ew = function(Object, Parent, Name, Data)
  552. local Object = Instance.new(Object)
  553. for Index, Value in pairs(Data or {}) do
  554. Object[Index] = Value
  555. end
  556. Object.Parent = Parent
  557. Object.Name = Name
  558. return Object
  559. end
  560.  
  561. local Player = game:GetService("Players").LocalPlayer
  562. repeat wait(1) until Player.Character
  563. local Character = Player.Character
  564. Character.Animate.Disabled = true
  565. local la = Character:FindFirstChild("Left Arm")
  566. local ra = Character:FindFirstChild("Right Arm")
  567. local ll = Character:FindFirstChild("Left Leg")
  568. local rl = Character:FindFirstChild("Right Leg")
  569. local Torso = Character:FindFirstChild("Torso")
  570. z = Instance.new("Sound", Torso)
  571. z.SoundId = "rbxassetid://182096702" -- Put Music ID Here.
  572. z.Looped = true
  573. z.Volume = 10
  574. wait(.1)
  575. z:Play()
  576. local Humanoid = Character:findFirstChild("Humanoid")
  577. local Mouse = Player:GetMouse()
  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 = game.Players.LocalPlayer.Character
  647. _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame - game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35
  648. _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,0,0)
  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").RenderStepped:connect(function()
  653. _G.SpellBind.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 35
  654. _G.SpellBind.CFrame = CFrame.new(_G.SpellBind.Position, game.Players.LocalPlayer.Character.Torso.Position)* CFrame.Angles(1.6,_G.SpellBindStuff,0)
  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.LocalPlayer)
  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 = game:GetService("Players").LocalPlayer
  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 = plrs.LocalPlayer
  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.RenderStepped:connect(function()
  1160. FPS = 1 / rs.RenderStepped: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 = game.Players.LocalPlayer
  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. --=<=Skin=>=--
  1357. Player=game:GetService('Players').LocalPlayer
  1358. local p = game.Players.LocalPlayer
  1359. local char = p.Character
  1360. local mouse = p:GetMouse()
  1361. local larm = char["Left Arm"]
  1362. local rarm = char["Right Arm"]
  1363. local lleg = char["Left Leg"]
  1364. local rleg = char["Right Leg"]
  1365. local hed = char.Head
  1366. local torso = char.Torso
  1367. local hum = char.Humanoid
  1368. local cam = game.Workspace.CurrentCamera
  1369. local root = char.HumanoidRootPart
  1370. local deb = false
  1371. local shot = 0
  1372. local debris=game:service"Debris"
  1373. local l = game:GetService("Lighting")
  1374. local rs = game:GetService("RunService").RenderStepped
  1375. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1376. math.randomseed(os.time())
  1377. for i,v in pairs(char:children()) do
  1378. if v:IsA("Hat") then
  1379. v:Destroy()
  1380. end
  1381. end
  1382. for i,v in pairs (hed:GetChildren()) do
  1383. if v:IsA("Sound") then
  1384. v:Destroy()
  1385. end
  1386. end
  1387. ----------------------------------------------------
  1388. Debounces = {
  1389. CanAttack = true;
  1390. NoIdl = false;
  1391. Slashing = false;
  1392. Slashed = false;
  1393. RPunch = false;
  1394. RPunched = false;
  1395. LPunch = false;
  1396. LPunched = false;
  1397. }
  1398. local Touche = {char.Name, }
  1399. ----------------------------------------------------
  1400. hed.face.Texture = ""
  1401. char["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  1402. char["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  1403. char["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  1404. char["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  1405. char["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  1406. char["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  1407. ----------------------------------------------------
  1408. ypcall(function()
  1409. char.Shirt:Destroy()
  1410. char.Pants:Destroy()
  1411. shirt = Instance.new("Shirt", char)
  1412. shirt.Name = "Shirt"
  1413. pants = Instance.new("Pants", char)
  1414. pants.Name = "Pants"
  1415. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  1416. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  1417. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement