Advertisement
uor

tailed

uor
Feb 16th, 2020
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
  6. print("FE Compatibility 1000hack")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151. for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  152. if v:IsA("BasePart") then
  153. Instance.new("Fire", v)
  154. v.BrickColor = BrickColor.new("Really black")
  155. v.Material = Enum.Material.Granite
  156. end
  157. end
  158. local Heads = {}
  159. local hells = Instance.new("Sound", workspace)
  160. hells.Looped = true
  161. hells.Volume = 10
  162. local TS = game:GetService("TweenService")
  163. local Mouse = game.Players.LocalPlayer:GetMouse()
  164. local Shoot = Instance.new("Tool", game.Players.owner.Backpack)
  165. Shoot.RequiresHandle = false
  166. local FireEnabled = false
  167. hells.SoundId = "rbxassetid://718185960"
  168. hells.TimePosition = 10
  169. hells.Playing = true
  170. Instance.new("ColorCorrectionEffect", game.Lighting).TintColor = Color3.new(1,0,0)
  171. Instance.new("PointLight", game.Players.owner.Character.Torso).Brightness = 234234
  172. local x = Instance.new("BloomEffect", game.Lighting)
  173. x.Intensity = 1
  174. x.Threshold = 0.8
  175. x.Size = 56
  176.  
  177. function CreateRay(Point_A, Point_B)
  178. local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
  179. local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.owner.Character)
  180. local Dist = (Point_A - Pos).Magnitude
  181. local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
  182.  
  183. return CFrame, Dist, Part
  184. end
  185.  
  186. game.Lighting.Brightness = 0
  187. game.Lighting.GlobalShadows = false
  188. game.Players.owner.Character.Shirt:Remove()
  189. game.Players.owner.Character.Pants:Remove()
  190. local player = game:GetService("Players").owner
  191. repeat
  192. wait()
  193. until player.Character
  194. local char = player.Character
  195. local torso = char:WaitForChild("Torso")
  196. local mouse = player:GetMouse()
  197. local color = BrickColor.new("Really black")
  198. local material = "Neon"
  199. local trans = 0.5
  200. local debounce = false
  201. for u,c in pairs(player.Character:GetChildren()) do
  202. if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then
  203. c.Handle.BrickColor = BrickColor.new("Really black")
  204. c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  205. end
  206. end
  207. blast = function()
  208.  
  209. local b = Instance.new("Part", workspace)
  210. game.Debris:AddItem(b, 2)
  211. b.Size = Vector3.new(5, 5, 5)
  212. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  213. b.TopSurface = "Smooth"
  214. b.BottomSurface = "Smooth"
  215. b.CanCollide = false
  216. b.BrickColor = color
  217. b.Transparency = trans
  218. b.Material = material
  219. local v = Instance.new("BodyVelocity", b)
  220. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  221. v.Velocity = torso.CFrame.lookVector * 50
  222. r = Instance.new("BodyAngularVelocity", b)
  223. r.AngularVelocity = Vector3.new(25, 25, 25)
  224. b.Touched:connect(function(hit)
  225.  
  226. p = hit.Parent
  227. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  228. b:Remove()
  229. p.Humanoid:TakeDamage(35)
  230. end
  231. end)
  232. end
  233.  
  234. death = function()
  235.  
  236. local b = Instance.new("Part", workspace)
  237. game.Debris:AddItem(b, 2)
  238. b.Size = Vector3.new(5, 5, 5)
  239. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  240. b.TopSurface = "Smooth"
  241. b.BottomSurface = "Smooth"
  242. b.CanCollide = false
  243. b.BrickColor = color
  244. b.Transparency = trans
  245. b.Material = material
  246. local v = Instance.new("BodyVelocity", b)
  247. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  248. v.Velocity = torso.CFrame.lookVector * 50
  249. r = Instance.new("BodyAngularVelocity", b)
  250. r.AngularVelocity = Vector3.new(25, 25, 25)
  251. b.Touched:connect(function(hit)
  252.  
  253. p = hit
  254. if p and p.Name ~= "Base" and p.Name ~= player.Name then
  255. p:Remove()
  256. end
  257. end
  258. )
  259. end
  260.  
  261. wall = function()
  262.  
  263. local b = Instance.new("Part", workspace)
  264. game.Debris:AddItem(b, 5)
  265. b.Size = Vector3.new(1, 1, 1)
  266. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  267. b.TopSurface = "Smooth"
  268. b.BottomSurface = "Smooth"
  269. b.CanCollide = false
  270. b.Anchored = true
  271. b.BrickColor = color
  272. b.Transparency = trans
  273. b.Material = material
  274. for i = 1, 50 do
  275. wait()
  276. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  277. b.Size = b.Size + Vector3.new(0.5, 0.5, 0)
  278. end
  279. b.CanCollide = true
  280. b.Touched:connect(function(hit)
  281.  
  282. p = hit.Parent
  283. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  284. p.Humanoid:TakeDamage(5)
  285. end
  286. end
  287. )
  288. end
  289.  
  290. fade = function()
  291.  
  292. for i,v in pairs(char:GetChildren()) do
  293. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  294. v.Transparency = 0.5
  295. end
  296. end
  297. for i,v in pairs(char:GetChildren()) do
  298. if v.className == "Hat" then
  299. v.Handle.Transparency = 0.5
  300. end
  301. end
  302. end
  303.  
  304. unfade = function()
  305.  
  306. for i,v in pairs(char:GetChildren()) do
  307. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  308. v.Transparency = 0
  309. end
  310. end
  311. for i,v in pairs(char:GetChildren()) do
  312. if v.className == "Hat" then
  313. v.Handle.Transparency = 0
  314. end
  315. end
  316. end
  317.  
  318. dash = function(x)
  319.  
  320. b = Instance.new("Part", workspace)
  321. game.Debris:AddItem(b, 0.7)
  322. b.Size = Vector3.new(3, 3, 3)
  323. b.BrickColor = color
  324. b.Material = material
  325. b.CanCollide = false
  326. b.CFrame = torso.CFrame * x
  327. t = Instance.new("BodyVelocity", b)
  328. r = Instance.new("BodyAngularVelocity", b)
  329. r.AngularVelocity = Vector3.new(15, 15, 15)
  330. for i = 1, 5 do
  331. wait()
  332. b.Transparency = b.Transparency + 0.1
  333. torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1)
  334. end
  335. end
  336.  
  337. mouse.KeyDown:connect(function(key)
  338.  
  339. if key == "v" then
  340. holding = true
  341. fade()
  342. while holding and wait(0.01) do
  343. dash(CFrame.new(2, 1, 0))
  344. dash(CFrame.new(-2, -1, 1))
  345. dash(CFrame.new(0, 1, 3))
  346. end
  347. end
  348. end
  349. )
  350. mouse.KeyUp:connect(function(key)
  351.  
  352. if key == "v" then
  353. unfade()
  354. holding = false
  355. end
  356. end
  357. )
  358. mouse.KeyDown:connect(function(key)
  359.  
  360. if key == "e" and debounce == false then
  361. debounce = true
  362. blast()
  363. wait(0.5)
  364. debounce = false
  365. end
  366. end
  367. )
  368. mouse.KeyDown:connect(function(key)
  369.  
  370. if key == "q" and debounce == false then
  371. debounce = true
  372. wall()
  373. wait(0.5)
  374. debounce = false
  375. end
  376. end
  377. )
  378. mouse.KeyDown:connect(function(key)
  379.  
  380. if key == "t" and debounce == false then
  381. debounce = true
  382. death()
  383. wait(0.5)
  384. debounce = false
  385. end
  386. end
  387. )
  388.  
  389. local player = game.Players.owner
  390. repeat wait() until player.Character;
  391. local rs = game:GetService("RunService").RenderStepped
  392. local char = player.Character
  393. local HRP = char.HumanoidRootPart
  394. local Head = char.Head
  395. local tents = {}
  396. function getValue(p, x)
  397. return p[2] + 0.5 * x*(p[3] - p[1] + x*(2.0*p[1] - 5.0*p[2] + 4.0*p[3] - p[4] + x*(3.0*(p[2] - p[3]) + p[4] - p[1])))
  398. end
  399. function getV3Cubic(tabl,perc)
  400. local x,y,z = {},{},{}
  401. if perc >= 2 then
  402. perc = perc %1
  403. for i = 3, 6 do
  404. table.insert(x,tabl[i].x)
  405. table.insert(y,tabl[i].y)
  406. table.insert(z,tabl[i].z)
  407. end
  408. elseif perc >= 1 then
  409. perc = perc %1
  410. for i = 2, 5 do
  411. table.insert(x,tabl[i].x)
  412. table.insert(y,tabl[i].y)
  413. table.insert(z,tabl[i].z)
  414. end
  415. else
  416. for i = 1, 4 do
  417. table.insert(x,tabl[i].x)
  418. table.insert(y,tabl[i].y)
  419. table.insert(z,tabl[i].z)
  420. end
  421. end
  422. local X,Y,Z = getValue(x,perc),getValue(y,perc),getValue(z,perc)
  423. return Vector3.new(X,Y,Z)
  424. end
  425. local rainbow = {"Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red","Really red"}
  426. local rainbowCount = 1
  427. local isRainbow = true
  428. for i = 0, 8 do
  429. local m = Instance.new("Model",char)
  430. m.Name = "Tentac00l"
  431. local parts = {}
  432. local lastpart = Head
  433. local defC0
  434. rainbowCount = 1
  435. for j = 0, 8 do
  436. local sizex = 0.25 - 0.2 * (j/8)
  437. local sizey = (15/8) - (9/8) * (j/8)
  438. local p = Instance.new("Part")
  439. p.Size = Vector3.new(0.2,0.2,0.2)
  440. p.BrickColor = BrickColor.new("Really black")
  441. p.TopSurface = 0
  442. p.Locked = true
  443. p.BottomSurface = 0
  444. p.CanCollide = false
  445. p.Material = "SmoothPlastic"
  446. p.TopSurface = 0
  447. p.BottomSurface = 0
  448. local mesh = Instance.new("CylinderMesh",p)
  449. mesh.Name = "CyMesh"
  450. mesh.Scale = Vector3.new(sizex,sizey,sizex) *5
  451. p.Parent = m
  452. local p2 = p:Clone()
  453. p2.Parent = m
  454. p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075,0.001,0.075) * 5
  455. p2.Material = "Neon"
  456. p2.Locked = true
  457. if isRainbow then
  458. p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount]))
  459. else
  460. p2.BrickColor = BrickColor.new(j%2 == 1 and "Toothpaste" or "Electric blue")
  461. end
  462. rainbowCount = rainbowCount + 1
  463. p2.Transparency = 0.35
  464. local w2 = Instance.new("Weld",p)
  465. w2.Parent = p2
  466. w2.Part0 = p
  467. w2.Part1 = p2
  468. local w = Instance.new("Weld",p)
  469. w.Parent = p
  470. w.Part0 = lastpart
  471. w.Part1 = p
  472. if j == 0 then
  473. w.C0 = CFrame.Angles(0,math.rad(-10 + 200 * i/4),math.rad(-30 + (i%2==0 and 96 or 70))) * CFrame.new(0,0.6,0)
  474. w.C1 = CFrame.new(0,-0.125,0)
  475. defC0 = w.C0
  476. else
  477. w.C0 = CFrame.new(0,lastpart.CyMesh.Scale.y/10,0)
  478. w.C1 = CFrame.new(0,-sizey/2,0)
  479. if mesh.Scale == Vector3.new(0.25, 3.75, 0.25) then
  480. mesh:Remove()
  481. local mesh2 = Instance.new("SpecialMesh",p2)
  482. mesh2.Scale = Vector3.new(1,1,1)
  483. mesh2.MeshType = Enum.MeshType.FileMesh
  484. mesh2.MeshId = "rbxassetid://36869983"
  485. p2.Name = "Last"
  486. table.insert(Heads, p2)
  487. end
  488. end
  489. table.insert(parts,{p,w,p2})
  490. lastpart = p
  491. rs:wait()
  492. end
  493. local randoms = {Vector3.new(0,0,0),
  494. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  495. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  496. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  497. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  498. Vector3.new(math.random(-35,35)/100,math.random(-35,35)/100,math.random(-35,35)/100),
  499. }
  500. table.insert(tents,{0,randoms,parts,defC0})
  501. end
  502. player.Chatted:connect(function(msg)
  503. if string.sub(msg:lower(),1,4) == "col/" then
  504. for i, v in pairs(tents) do
  505. for j, o in pairs(v[3]) do
  506. o[3].BrickColor = BrickColor.new(string.sub(msg,5))
  507. end
  508. end
  509. elseif string.sub(msg:lower(),1,7) == "/e col/" then
  510. for i, v in pairs(tents) do
  511. for j, o in pairs(v[3]) do
  512. o[3].BrickColor = BrickColor.new(string.sub(msg,8))
  513. end
  514. end
  515. end
  516. end)
  517. rs:connect(function()
  518. for i, v in pairs(tents) do
  519. v[1] = v[1] %200 + 1
  520. if v[1] == 1 then
  521. v[2][1] = v[2][2]
  522. v[2][2] = v[2][3]
  523. v[2][3] = v[2][4]
  524. v[2][4] = v[2][5]
  525. v[2][5] = v[2][6]
  526. v[2][6] = Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100);
  527. end
  528. local p0 = v[2][1]
  529. local p1 = v[2][2]
  530. local p2 = v[2][3]
  531. local p3 = v[2][4]
  532. local p4 = v[2][5]
  533. local p5 = v[2][6]
  534. local arr = {p0,p1,p2,p3,p4,p5}
  535. local dir = i%2 == 0 and 1 or -1
  536. for j, V in pairs(v[3]) do
  537. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  538. local off = getV3Cubic(arr,(v[1] + 340*(j/#v[3]))/200)
  539. V[3].Transparency = 0.12 + val * 0.65
  540. if j == 1 then
  541. V[2].C0 = v[4] * CFrame.Angles(off.x*2,off.y*2,off.z*2)
  542. else
  543. V[2].C0 = CFrame.new(0,V[2].C0.y,0) * CFrame.Angles(off.x*2 * (1 + 0.75 * (j/#v[3])),off.y*2 * (1 + 0.75 * (j/#v[3])),off.z*2 * (1 + 0.75 * (j/#v[3])))
  544. end
  545. end
  546. end
  547. end)
  548.  
  549. -- params : ...
  550.  
  551. Model = Instance.new("Model", game.Workspace)
  552. Model.Name = "ShadowFigs"
  553. Model.ChildAdded:connect(function(Child)
  554.  
  555. wait(0.2)
  556. if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then
  557. local Light = Instance.new("PointLight", workspace)
  558. Light.Color = Color3.new(1, 1, 1)
  559. Light.Range = 10
  560. Light.Brightness = 2
  561. Light.Shadows = true
  562. Light:Remove()
  563. for t = 1, 5 do
  564. wait(0.1)
  565. for i = 1, #Child:GetChildren() do
  566. Child:GetChildren()[i].Transparency = t / 10 + 0.5
  567. end
  568. end
  569. Child:remove()
  570. end
  571. end
  572. )
  573. Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"}
  574. repeat
  575. wait()
  576. until game.Players.owner
  577. Plr = game.Players.owner
  578. PlrChildren = Plr:GetChildren()
  579. Plr.Character.Humanoid.WalkSpeed = 16
  580. for i = 1, #PlrChildren do
  581. print(PlrChildren[i])
  582. end
  583.  
  584. Mouse.Button1Down:Connect(function()
  585. FireEnabled = true
  586. end)
  587.  
  588. Mouse.Button1Up:Connect(function()
  589. FireEnabled = false
  590. end)
  591.  
  592. while wait() do
  593. if FireEnabled == true then
  594. for i, v in pairs(Heads) do
  595. rs:wait()
  596. coroutine.resume(coroutine.create(function()
  597. local CF, D, Hit = CreateRay(v.CFrame.p, Mouse.Hit.p)
  598. if Hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  599. Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(5)
  600. end
  601. local Fire = Instance.new("Part", workspace)
  602. local Laser = Instance.new("Part", workspace)
  603. Laser.Anchored = true
  604. Laser.CanCollide = false
  605. Laser.Locked = true
  606. Instance.new("PointLight", Laser).Brightness = 23423
  607. Laser.BrickColor = BrickColor.new("Really red")
  608. Laser.Material = "Neon"
  609. Laser.Size = Vector3.new(0.2, 0.2, D)
  610. Laser.CFrame = CF
  611. wait()
  612. Laser:Remove()
  613. end))
  614. coroutine.resume(coroutine.create(function()
  615. local Fire = Instance.new("Part", workspace)
  616. Fire.Size = Vector3.new(0.05, 0.05, 0.05)
  617. Fire.Transparency = 0
  618. Fire.Anchored = true
  619. Fire.CanCollide = false
  620. Fire.CFrame = Mouse.Hit
  621. Instance.new("PointLight", Fire)
  622. Instance.new("Fire", Fire)
  623. wait(1)
  624. Fire:Remove()
  625. end))
  626. end
  627. end
  628. end
  629.  
  630. do
  631. while 1 do
  632. Posit = Plr.Character.HumanoidRootPart.Position
  633. wait(0.1)
  634. if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then
  635. Set = Instance.new("Model", game.Workspace.ShadowFigs)
  636. Set.Name = "ShadowClone"
  637. for i = 1, #Parts do
  638. PartClone = Plr.Character[Parts[i]]:Clone()
  639. RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X)
  640. RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y)
  641. RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z)
  642. PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ)
  643. PartClone.Parent = Set
  644. PartClone.Size = Vector3.new(PartClone.Size.X - 0.2,PartClone.Size.Y - 0.2,PartClone.Size.Z - 0.2)
  645. PartClone.Anchored = true
  646. PartClone.CanCollide = false
  647. PartClone.Transparency = 0.7
  648. PartClone.Material = "Neon"
  649. PartClone.BrickColor = BrickColor.new("White")
  650. Delete = Instance.new("BlockMesh",PartClone)
  651. Delete.Scale = Vector3.new(0,0,0)
  652. if PartClone.Name == "Head" or PartClone.Name == "Torso" then
  653. PartClone:Remove()
  654. Children = PartClone:GetChildren()
  655. for i = 1, #Children do
  656. if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then
  657. Children[i]:remove()
  658. end
  659. end
  660. end
  661. end
  662. end
  663. end
  664. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement