Advertisement
SCR1PT_ED1T0R

FE Rainbow Forcefield

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