UiiN2IPCEO

hackerman

Jul 26th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.26 KB | None | 0 0
  1.  
  2. -- RBX.Lua LocalScript | Hackerman | xDarkScripter
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. local Players = owner
  88. local UserInputService = game:GetService("UserInputService")
  89. local RunService = game:GetService("RunService")
  90.  
  91. local Player = owner
  92. local Camera = workspace.CurrentCamera
  93.  
  94. local Character = Player.Character
  95. local Torso = Character.Torso
  96.  
  97. local Typing = false
  98. local TypingSub = 1
  99. local TypingSub2 = 1
  100.  
  101. local Neck = Torso.Neck
  102.  
  103. Neck.C1 = CFrame.new(0, -0.5, 0)
  104.  
  105. local RightArm = Character["Right Arm"]
  106. local LeftArm = Character["Left Arm"]
  107.  
  108. local RightShoulder = Instance.new("Weld", Torso)
  109. RightShoulder.Part0 = Torso
  110. RightShoulder.Part1 = RightArm
  111.  
  112. local LeftShoulder = Instance.new("Weld", Torso)
  113. LeftShoulder.Part0 = Torso
  114. LeftShoulder.Part1 = LeftArm
  115.  
  116. RightShoulder.C1 = CFrame.new(-0.5, 0.5, 0)
  117. LeftShoulder.C1 = CFrame.new(0.5, 0.5, 0)
  118.  
  119.  
  120. local Code = [[
  121. error-261 resolved0
  122. error-340903-3455-34-5-749353230935-3095-234-9102-33-34-3-2349-02394-02934-0-2
  123. error-934-03---04966-049-5060-609-4-604-60945-9604--09-60459-045-694-43
  124. error--5-96-450---45096-4056-09-04-596-049-0956-094-0956-049-59-096-49-564-5-4506-9-045-69-094-69-04
  125. error-606904-596-00-45-69-05-96090-54-6904956094596-0495-0-9-049-49-095-96096-49
  126. error-324--9053-95-09-09-6-94056-3094-2934-092-209-409-34490-2
  127. error--4305--0906-59-0694-5064-95-394-034-93-4955-05496-239-2309-069-40965-34923043-39
  128. error-055-330904-023904-02934-09429034-09-09-29-3049-23094-0293-9-4092-3094-20934-02
  129. error-350-395-09-595-0394-509-34095-09-0304590-09-395-485-405-35093-45093495-039405
  130. error--59034-50-3095-039-09-5903-495-039-509-03094-5093-4059-03945-904-3095-3590-
  131. error-3-09-3950-39-50394-59-3409-093-09-095-0349-509359-3095-0395-093-4095-03945-0934-5
  132. error--350-0-04569-096-6409-694-06-409-0496-049-69-49-6904-9506-49069-495-6
  133. end
  134.  
  135.  
  136.  
  137.  
  138. ]]
  139.  
  140.  
  141. local Argument = [[
  142. -Enagaging Aero Power-dislocating hacks-error:3366-revamping error.Value.Deleted
  143. error-kill:PenguinFred-False-Shutdown-True-error
  144. error=3990-390-030-80-359-305934----3485-34503-409-0964-5049-345
  145. error--456-459640---95-96--96-5456-045-090-4095-05946-
  146. error-5-64560460985645640689-46-45-6-4305-34509-359-039-4905-093-409-09-509-340
  147. localscript=true-4-54-5-3345--3405934-5-03945-09-09-394-509
  148. error-34-3-45-3-93-09-50-340-30459-95-03495---3495-039049-3-59-359-0395-
  149. fixed-true-error-4309584-684-9-6-495-0-9-0496-099-6049-609-4-96-49-
  150. error-340903-3455-34-5-749353230935-3095-234-9102-33-34-3-2349-02394-02934-0-2
  151. error-934-03---04966-049-5060-609-4-604-60945-9604--09-60459-045-694-43
  152. error--5-96-450---45096-4056-09-04-596-049-0956-094-0956-049-59-096-49-564-5-4506-9-045-69-094-69-04
  153. error-606904-596-00-45-69-05-96090-54-6904956094596-0495-0-9-049-49-095-96096-49
  154. error-324--9053-95-09-09-6-94056-3094-2934-092-209-409-34490-2
  155. error--4305--0906-59-0694-5064-95-394-034-93-4955-05496-239-2309-069-40965-34923043-39
  156. error-055-330904-023904-02934-09429034-09-09-29-3049-23094-0293-9-4092-3094-20934-02
  157. error-350-395-09-595-0394-509-34095-09-0304590-09-395-485-405-35093-45093495-039405
  158. error--59034-50-3095-039-09-5903-495-039-509-03094-5093-4059-03945-904-3095-3590-
  159. error-3-09-3950-39-50394-59-3409-093-09-095-0349-509359-3095-0395-093-4095-03945-0934-5
  160. error--350-0-04569-096-6409-694-06-409-0496-049-69-49-6904-9506-49069-495-6
  161. ]]
  162.  
  163.  
  164.  
  165. game.Lighting.GlobalShadows = false
  166. game.Lighting.Brightness = 0.25
  167.  
  168.  
  169. local function Smooth(Part)
  170. Part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  171. Part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  172. Part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  173. Part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  174. Part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  175. Part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  176. end
  177.  
  178.  
  179. local function SetLine(Line, Alpha, Beta)
  180. local dx = Alpha.Position.X.Scale - Beta.Position.X.Scale
  181. local dy = Alpha.Position.Y.Scale - Beta.Position.Y.Scale
  182. local Magnitude = math.sqrt(dx^2 + dy^2)
  183.  
  184. Line.Size = UDim2.new(Magnitude, 0, 0, 8)
  185. Line.Position = Alpha.Position:Lerp(Beta.Position, 0.5)
  186. Line.Rotation = math.deg(math.atan2(dy, dx))
  187. end
  188.  
  189.  
  190. local Keyboard = Instance.new("Part")
  191. Keyboard.BrickColor = BrickColor.new("Really black")
  192. Keyboard.Material = Enum.Material.Neon
  193. Keyboard.Transparency = 0.1
  194. Keyboard.Size = Vector3.new(5, 0, 2)
  195. Keyboard.CanCollide = false
  196. Keyboard.Locked = true
  197.  
  198. Smooth(Keyboard)
  199.  
  200. local KeyboardWeld = Instance.new("Weld")
  201. KeyboardWeld.Part0 = Torso
  202. KeyboardWeld.Part1 = Keyboard
  203. KeyboardWeld.C0 = CFrame.new(0, 0.2, -2) * CFrame.Angles(0.3, 0, 0)
  204.  
  205. KeyboardWeld.Parent = Keyboard
  206. Keyboard.Parent = Character
  207.  
  208.  
  209. local Light = Instance.new("PointLight")
  210. Light.Brightness = 1.5
  211. Light.Range = 12
  212. Light.Parent = Keyboard
  213.  
  214.  
  215. local Screen = Instance.new("Part")
  216. Screen.BrickColor = BrickColor.new("Really black")
  217. Screen.Material = Enum.Material.Neon
  218. Screen.Transparency = 0.3
  219. Screen.Size = Vector3.new(6, 4, 0)
  220. Screen.CanCollide = false
  221. Screen.Locked = true
  222.  
  223. Smooth(Screen)
  224.  
  225. local ScreenWeld = Instance.new("Weld")
  226. ScreenWeld.Part0 = Torso
  227. ScreenWeld.Part1 = Screen
  228. ScreenWeld.C0 = CFrame.new(0, 3.5, -4.5) * CFrame.Angles(0.1, 0, 0)
  229.  
  230. local Gui = Instance.new("SurfaceGui")
  231. Gui.Face = "Back"
  232. Gui.Adornee = Screen
  233. Gui.Parent = Screen
  234.  
  235. local Text = Instance.new("TextBox")
  236. Text.BackgroundTransparency = 1
  237. Text.Position = UDim2.new(0, 0, 0, 0)
  238. Text.Size = UDim2.new(1, 0, 1, 0)
  239. Text.TextColor3 = Color3.new(1, 1, 1)
  240. Text.Font = Enum.Font.Code
  241. Text.Active = false
  242. Text.MultiLine = true
  243. Text.TextWrapped = true
  244. Text.FontSize = Enum.FontSize.Size32
  245. Text.TextXAlignment = Enum.TextXAlignment.Left
  246. Text.TextYAlignment = Enum.TextYAlignment.Top
  247. Text.Text = ""
  248.  
  249. Text.Parent = Gui
  250.  
  251. ScreenWeld.Parent = Screen
  252. Screen.Parent = Character
  253.  
  254.  
  255.  
  256. local Screen2 = Instance.new("Part")
  257. Screen2.BrickColor = BrickColor.new("Really black")
  258. Screen2.Material = Enum.Material.Neon
  259. Screen2.Transparency = 0.3
  260. Screen2.Size = Vector3.new(6, 4, 0)
  261. Screen2.CanCollide = false
  262. Screen2.Locked = true
  263.  
  264. Smooth(Screen2)
  265.  
  266. local Screen2Weld = Instance.new("Weld")
  267. Screen2Weld.Part0 = Torso
  268. Screen2Weld.Part1 = Screen2
  269. Screen2Weld.C0 = CFrame.new(5.4, 3.4, -1.5) * CFrame.Angles(0.1, -0.9, 0)
  270.  
  271. local Gui2 = Instance.new("SurfaceGui")
  272. Gui2.Face = "Back"
  273. Gui2.Adornee = Screen2
  274. Gui2.Parent = Screen2
  275.  
  276. local Text2 = Instance.new("TextBox")
  277. Text2.BackgroundTransparency = 1
  278. Text2.Position = UDim2.new(0, 0, 0, 0)
  279. Text2.Size = UDim2.new(1, 0, 1, 0)
  280. Text2.TextColor3 = Color3.new(0, 1, 0)
  281. Text2.Font = Enum.Font.Code
  282. Text2.Active = false
  283. Text2.MultiLine = true
  284. Text2.TextWrapped = true
  285. Text2.FontSize = Enum.FontSize.Size32
  286. Text2.TextXAlignment = Enum.TextXAlignment.Left
  287. Text2.TextYAlignment = Enum.TextYAlignment.Top
  288. Text2.Text = ""
  289.  
  290. Text2.Parent = Gui2
  291.  
  292. local ImageKey = Instance.new("ImageLabel")
  293. ImageKey.BackgroundTransparency = 1
  294. ImageKey.Size = UDim2.new(0.2, 0, 0.2, 0)
  295. ImageKey.Position = UDim2.new(0.4, 0, 0.4, 0)
  296. ImageKey.Image = "http://www.roblox.com/asset/?id=697224414"
  297. ImageKey.ImageTransparency = 1
  298. ImageKey.Parent = Gui2
  299.  
  300. Screen2Weld.Parent = Screen2
  301. Screen2.Parent = Character
  302.  
  303.  
  304.  
  305. local Screen3 = Instance.new("Part")
  306. Screen3.BrickColor = BrickColor.new("Really black")
  307. Screen3.Material = Enum.Material.Neon
  308. Screen3.Transparency = 0.3
  309. Screen3.Size = Vector3.new(6, 4, 0)
  310. Screen3.CanCollide = false
  311. Screen3.Locked = true
  312.  
  313. Smooth(Screen3)
  314.  
  315. local Screen3Weld = Instance.new("Weld")
  316. Screen3Weld.Part0 = Torso
  317. Screen3Weld.Part1 = Screen3
  318. Screen3Weld.C0 = CFrame.new(-5.4, 3.4, -1.5) * CFrame.Angles(0.1, 0.9, 0)
  319.  
  320. local Gui3 = Instance.new("SurfaceGui")
  321. Gui3.Face = "Back"
  322. Gui3.Adornee = Screen3
  323. Gui3.Parent = Screen3
  324.  
  325. local Map = Instance.new("ImageLabel")
  326. Map.BackgroundTransparency = 1
  327. Map.Position = UDim2.new(0, 0, 0, 0)
  328. Map.Size = UDim2.new(1, 0, 1, 0)
  329. Map.Image = "http://www.roblox.com/asset/?id=121661614"
  330.  
  331. Map.Parent = Gui3
  332.  
  333. Screen3Weld.Parent = Screen3
  334. Screen3.Parent = Character
  335.  
  336. local Points = {}
  337. local Lines = {}
  338.  
  339. for i = 1, 10 do
  340. if i > 1 then
  341. local Line = Instance.new("Frame")
  342. Line.BorderSizePixel = 0
  343. Line.BackgroundColor3 = Color3.new(0.8, 0, 0)
  344. Line.AnchorPoint = Vector2.new(0.5, 0.5)
  345. Line.Parent = Gui3
  346.  
  347. Lines[i] = Line
  348. end
  349.  
  350. local Point = Instance.new("Frame")
  351. Point.BorderSizePixel = 0
  352. Point.BackgroundColor3 = Color3.new(1, 0, 0)
  353. Point.Size = UDim2.new(0, 40, 0, 40)
  354. Point.Position = UDim2.new(math.random(), 0, math.random(), 0)
  355. Point.AnchorPoint = Vector2.new(0.5, 0.5)
  356. Point.Parent = Gui3
  357.  
  358. Points[i] = {Point = Point, Position = Point.Position}
  359. end
  360.  
  361.  
  362.  
  363.  
  364. UserInputService.InputBegan:Connect(function(Input, Processed)
  365. if Processed then return end
  366.  
  367. if Input.UserInputType == Enum.UserInputType.Keyboard then
  368. local KeyCode = Input.KeyCode
  369.  
  370. if KeyCode == Enum.KeyCode.E then
  371. Typing = not Typing
  372. end
  373. end
  374. end)
  375.  
  376.  
  377.  
  378. RunService.Heartbeat:Connect(function()
  379. local Sine = math.sin(tick() * 8) / 8
  380.  
  381. for Key, Value in next, Points do
  382. Value.Point.Size = UDim2.new(0, 25 + Sine * 40, 0, 25 + Sine * 40)
  383. Value.Point.Position = Value.Point.Position:Lerp(Value.Position, 0.1)
  384.  
  385. if Key > 1 then
  386. SetLine(Lines[Key], Value.Point, Points[1].Point)
  387. end
  388. end
  389.  
  390. if math.random(100) == 1 then
  391. for _, Value in next, Points do
  392. Value.Position = UDim2.new(math.random(), 0, math.random(), 0)
  393. end
  394. end
  395.  
  396. ImageKey.ImageTransparency = math.abs(math.sin(tick()))
  397.  
  398. if Typing then
  399. if math.random(5) == 1 then
  400. local PressSound = Instance.new("Sound")
  401. PressSound.SoundId = "rbxassetid://265970978"
  402. PressSound.Pitch = 0.5 + math.random() / 5
  403. PressSound.Volume = 3
  404. PressSound.Parent = Keyboard
  405. PressSound:Play()
  406.  
  407. game:GetService("Debris"):AddItem(PressSound, 1 / 2)
  408. end
  409.  
  410. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(-0.2 + Sine / 4, (math.random() - 0.5) / 2, 0)
  411.  
  412. RightShoulder.C0 = CFrame.new(1, 0.6 + math.random() / 4, -math.random() * 0.7)
  413. * CFrame.Angles(1.5 + Sine * math.random(), -Sine / 4, -(0.5 + 2 * Sine * math.random()))
  414.  
  415. LeftShoulder.C0 = CFrame.new(-1, 0.6 + math.random() / 4, -math.random() * 0.7)
  416. * CFrame.Angles(1.5 - Sine * math.random(), Sine / 4, 0.5 + 2 * Sine * math.random())
  417.  
  418. if math.random(2) == 1 then
  419. if TypingSub < #Argument then
  420. TypingSub = TypingSub + 1
  421. Text.Text = Text.Text..Argument:sub(TypingSub, TypingSub)
  422.  
  423. local nl = Text.Text:find("\n")
  424.  
  425. if nl and #Text.Text > 400 then
  426. Text.Text = Text.Text:sub(nl + 1)
  427. end
  428.  
  429. else
  430. TypingSub = 1
  431. end
  432. end
  433.  
  434. if math.random(3) == 1 then
  435. if TypingSub2 < #Code then
  436. TypingSub2 = TypingSub2 + 1
  437. Text2.Text = Text2.Text..Code:sub(TypingSub2, TypingSub2)
  438.  
  439. local nl = Text2.Text:find("\n")
  440.  
  441. if nl and #Text2.Text > 400 then
  442. Text2.Text = Text2.Text:sub(nl + 1)
  443. end
  444.  
  445. else
  446. TypingSub2 = 1
  447. end
  448. end
  449.  
  450. else
  451. Neck.C0 = CFrame.new(0, 1, 0)
  452.  
  453. RightShoulder.C0 = CFrame.new(1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  454. LeftShoulder.C0 = CFrame.new(-1, 0.5, 0) * CFrame.Angles(1.5, 0, 0)
  455. end
  456. end)
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482. plr = owner
  483. part = nil
  484. bp = nil
  485. particles = nil
  486. function clerp(a,b,c,d)
  487. for i = 0,d,.01 do
  488. a.CFrame = CFrame.new(b:lerp(c,i))
  489. wait()
  490. end
  491. end
  492. function slerp(a2,b2,c2,d2)
  493. for i2 = 0,d2,.01 do
  494. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  495. wait()
  496. end
  497. end
  498. mouse.KeyDown:connect(function(key)
  499. if key == "e" and plr.Character.Parent == workspace then
  500. plr.Character.Parent = workspace.Camera
  501. plr.Character.Archivable = true
  502. Instance.new("ForceField",plr.Character).Visible = false
  503. for y,t in pairs(plr.Character:GetChildren()) do
  504. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  505. t.Transparency = 1
  506. if t.Name == "Head" and t:FindFirstChild("face") then
  507. t.face.Transparency = 1
  508. end
  509. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  510. t.Handle.Transparency = 1
  511. end
  512. end
  513. elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then
  514. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  515. elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then
  516. if plr.Character.Torso.Anchored == true then
  517. for y,t in pairs(plr.Character:GetChildren()) do
  518. if t:IsA("Part") then
  519. t.Anchored = false
  520. end
  521. end
  522. else
  523. for y,t in pairs(plr.Character:GetChildren()) do
  524. if t:IsA("Part") then
  525. t.Anchored = true
  526. end
  527. end
  528. end
  529. elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then
  530. local clone = part:Clone()
  531. clone.Parent = workspace
  532. clone.Anchored = false
  533. clone:ClearAllChildren()
  534. clone.CanCollide = true
  535. bp.Parent = clone
  536. particles.Parent = clone
  537. if part.Parent:FindFirstChildOfClass("Humanoid") then
  538. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false
  539. end
  540. part:Destroy()
  541. part = clone
  542. elseif key == "q" and plr.Character.Parent == workspace.Camera and part == nil then
  543. plr.Character.Parent = workspace
  544. plr.Character.Archivable = false
  545. plr.Character:FindFirstChildOfClass("ForceField"):Remove()
  546. for y,t in pairs(plr.Character:GetChildren()) do
  547. if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then
  548. t.Transparency = 0
  549. if t.Name == "Head" and t:FindFirstChild("face") then
  550. t.face.Transparency = 0
  551. end
  552. elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then
  553. t.Handle.Transparency = 0
  554. end
  555. end
  556. end
  557. end)
  558. mouse.Button1Down:connect(function()
  559. if plr.Character.Parent == workspace.Camera then
  560. if mouse ~= nil then
  561. if mouse.Target ~= nil then
  562. part = mouse.Target
  563. bp = Instance.new("BodyPosition",part)
  564. bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  565. bp.Position = part.Position
  566. particles = Instance.new("ParticleEmitter",part)
  567. particles.Color = ColorSequence.new(Color3.new(0,0,0))
  568. particles.Size = NumberSequence.new(1)
  569. particles.Texture = "rbxassetid://292289455"
  570. particles.VelocitySpread = 360
  571. particles.Speed = NumberRange.new(0)
  572. particles.RotSpeed = NumberRange.new(0)
  573. particles.Rotation = NumberRange.new(0)
  574. particles.Rate = 250
  575. particles.Lifetime = NumberRange.new(.2,.4)
  576. particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)})
  577. dwn = true
  578. end
  579. end
  580. while dwn == true do
  581. wait()
  582. bp.Position = mouse.hit.p
  583. if part then
  584. if part.Parent:FindFirstChildOfClass("Humanoid") then
  585. part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true
  586. end
  587. end
  588. end
  589. end
  590. end)
  591. mouse.Button1Up:connect(function()
  592. dwn = false
  593. if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end
  594. if bp then bp:Destroy() end
  595. if particles then particles:Destroy() end
  596. end)
  597. base = Instance.new("ScreenGui",plr.PlayerGui)
  598. bbg = Instance.new("BillboardGui",plr.Character.Head)
  599. bbg.Size = UDim2.new(0,200,0,50)
  600. bbg.StudsOffset = Vector3.new(0,3,0)
  601. bbgTl = Instance.new("TextLabel",bbg)
  602. bbgTl.BackgroundTransparency = 1
  603. bbgTl.Size = UDim2.new(10,0,1,0)
  604. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  605. bbgTl.Font = "Code"
  606. bbgTl.Text = " "
  607. bbgTl.TextSize = 25
  608. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  609. bbgTl.TextColor3 = Color3.new(0,0,0)
  610. bbgTl.TextStrokeTransparency = 0
  611. bbgTl.TextWrapped = true
  612. plr.Chatted:connect(function(msg)
  613. bbgTl.Text = msg
  614. wait(5)
  615. if bbgTl.Text == msg then
  616. bbgTl.Text = " "
  617. end
  618. end)
  619. touchCounter = 0
  620. while wait() do
  621. if plr.Character.Parent == workspace.Camera then
  622. local c = plr.Character:Clone()
  623. c:MakeJoints()
  624. for y,t in pairs(c:GetChildren()) do
  625. if t:IsA("Part") then
  626. t.CanCollide = false
  627. t.Anchored = true
  628. t.Transparency = .5
  629. t.TopSurface = "Smooth"
  630. t.BottomSurface = "Smooth"
  631. t.RightSurface = "Smooth"
  632. t.LeftSurface = "Smooth"
  633. t.FrontSurface = "Smooth"
  634. t.BackSurface = "Smooth"
  635. t.BrickColor = BrickColor.new("Really black")
  636. if t.Name == "Head" and t:FindFirstChild("face") then
  637. t.face:Remove()
  638. elseif t.Name == "Torso" and t:FindFirstChild("roblox") then
  639. t.roblox:Remove()
  640. elseif t.Name == "HumanoidRootPart" then
  641. t:Remove()
  642. end
  643. else
  644. t:Remove()
  645. end
  646. end
  647. c.Parent = workspace
  648. game.Debris:AddItem(c,.05)
  649. end
  650. end
Add Comment
Please, Sign In to add comment