Advertisement
Guest User

rainbow forcefield testing

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