loleristhegoat

Untitled

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