Advertisement
Guest User

Untitled

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