Advertisement
SlySlixty

Untitled

Feb 20th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 KB | None | 0 0
  1. -- This script has convert to FE by who i don't know?
  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,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. print("FE Compatibility code by Mokiros | Showcase by Bacon Hair!")
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end--Made by N3xul ehehe
  147. --wanna float with us?
  148. --11:15 2017-09-24
  149. --Press 'Q' to go Invisible & 'E' to laugh.
  150.  
  151.  
  152. local runDummyScript = function(f,scri)
  153. local oldenv = getfenv(f)
  154. local newenv = setmetatable({}, {
  155. __index = function(_, k)
  156. if k:lower() == 'script' then
  157. return scri
  158. else
  159. return oldenv[k]
  160. end
  161. end
  162. })
  163. setfenv(f, newenv)
  164. ypcall(function() f() end)
  165. end
  166. cors = {}
  167. mas = Instance.new("Model",game:GetService("Lighting"))
  168. mas.Name = "CompiledModel"
  169. o1 = Instance.new("Tool")
  170. o2 = Instance.new("Part")
  171. o3 = Instance.new("SpecialMesh")
  172. o1.Name = "Pennywise Balloon"
  173. o1.Parent = mas
  174. o1.TextureId = "http://www.roblox.com/asset/?id=26721793"
  175. o1.GripPos = Vector3.new(0, -1.5, 0)
  176. o2.Name = "Handle"
  177. o2.Parent = o1
  178. o2.Position = Vector3.new(8.17007637, 7.24064589, -8.3837471)
  179. o2.Rotation = Vector3.new(-178.5, -33.3099976, -179.169998)
  180. o2.CanCollide = false
  181. o2.FormFactor = Enum.FormFactor.Symmetric
  182. o2.Size = Vector3.new(1, 3, 1)
  183. o2.CFrame = CFrame.new(8.17007637, 7.24064589, -8.3837471, -0.83567065, 0.0120456629, -0.549098849, -1.42323084e-14, 0.999759495, 0.0219318718, 0.549230933, 0.018327821, -0.835469663)
  184. o2.BottomSurface = Enum.SurfaceType.Smooth
  185. o2.TopSurface = Enum.SurfaceType.Smooth
  186. o2.Position = Vector3.new(8.17007637, 7.24064589, -8.3837471)
  187. o2.Orientation = Vector3.new(-1.25999999, -146.690002, 0)
  188. o3.Parent = o2
  189. o3.MeshId = "http://www.roblox.com/asset/?id=25498565"
  190. o3.TextureId = "http://www.roblox.com/asset/?id=26725707"
  191. o3.MeshType = Enum.MeshType.FileMesh
  192. mas.Parent = workspace
  193. mas:MakeJoints()
  194. local mas1 = mas:GetChildren()
  195. for i=1,#mas1 do
  196. mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  197. ypcall(function() mas1[i]:MakeJoints() end)
  198. end
  199. mas:Destroy()
  200. for i=1,#cors do
  201. coroutine.resume(cors[i])
  202. end
  203. p = (game.Players.LocalPlayer.Name)
  204. char = game.Players.LocalPlayer.Character
  205. local player = game.Players.LocalPlayer
  206. repeat wait() until player.Character.Humanoid
  207. local humanoid = player.Character.Humanoid
  208. local mouse = player:GetMouse()
  209. CV="Really black"
  210. p = game.Players.LocalPlayer
  211. char = p.Character
  212. local txt = Instance.new("BillboardGui", char)
  213. txt.Adornee = char.Head
  214. txt.Name = "_status"
  215. txt.Size = UDim2.new(2, 0, 1.2, 0)
  216. txt.StudsOffset = Vector3.new(-9, 8, 0)
  217. local text = Instance.new("TextLabel", txt)
  218. text.Size = UDim2.new(10, 0, 7, 0)
  219. text.FontSize = "Size24"
  220. text.TextScaled = true
  221. text.TextTransparency = 0
  222. text.BackgroundTransparency = 1
  223. text.TextTransparency = 0
  224. text.TextStrokeTransparency = 0
  225. text.Font = "Fantasy"
  226. text.TextStrokeColor3 = Color3.new(0,0,0)
  227. v=Instance.new("Part")
  228. v.Name = "ColorBrick"
  229. v.Parent=p.Character
  230. v.FormFactor="Symmetric"
  231. v.Anchored=true
  232. v.CanCollide=false
  233. v.BottomSurface="Smooth"
  234. v.TopSurface="Smooth"
  235. v.Size=Vector3.new(10,5,3)
  236. v.Transparency=1
  237. v.CFrame=char.Torso.CFrame
  238. v.BrickColor=BrickColor.new(CV)
  239. v.Transparency=1
  240. text.TextColor3 = Color3.new(255, 0, 0)
  241. v.Shape="Block"
  242. text.Text = "Pennywise The Dancing Clown"
  243. char.Shirt.ShirtTemplate = "rbxassetid://794159502"
  244. char.Pants.PantsTemplate = "rbxassetid://792216448"
  245. if char:FindFirstChild('Humanoid') then
  246. char.Humanoid:RemoveAccessories() end
  247. ScarySound1 = Instance.new("Sound")
  248. ScarySound1.Parent = char.Torso
  249. ScarySound1.SoundId = "rbxassetid://1041554412"
  250. ScarySound1.Volume = 2
  251. ScarySound2 = Instance.new("Sound")
  252. ScarySound2.Parent = char.Torso
  253. ScarySound2.SoundId = "rbxassetid://145978092"
  254. ScarySound2.Volume = 1
  255. ScarySound2.Pitch = 1.2
  256. ScarySound2.Looped = true
  257. ScarySound3 = Instance.new("Sound")
  258. ScarySound3.Parent = char.Torso
  259. ScarySound3.SoundId = "rbxassetid://1036327345"
  260. ScarySound3.Volume = 0.1
  261. ScarySound3.Looped = true
  262. Punch = Instance.new("Sound")
  263. Punch.Parent = char.Torso
  264. Punch.SoundId = "rbxassetid://261566877"
  265. Punch.Volume = 1
  266. Punch.Looped = false
  267. hole = Instance.new("Sound")
  268. hole.Parent = char.Torso
  269. hole.SoundId = "rbxassetid://266364769"
  270. hole.Volume = 1
  271. hole.Looped = false
  272. game.Players.LocalPlayer.Character.Sound:Destroy()
  273. function Normal()
  274. ScarySound3:Play()
  275. char.Humanoid.WalkSpeed = 16
  276. char.Head.face.Texture = "rbxassetid://740455053"
  277. char["Left Leg"].Transparency = 0
  278. char["Head"].Transparency = 0
  279. char["Right Leg"].Transparency = 0
  280. char["Torso"].Transparency = 0
  281. char["Left Arm"].Transparency = 0
  282. char["Right Arm"].Transparency = 0
  283. end
  284. function GoInvisible()
  285. ScarySound3:Stop()
  286. ScarySound1:Stop()
  287. char.Humanoid.WalkSpeed = 120
  288. char.Head.face.Transparency = 1
  289. char["Left Leg"].Transparency = 0
  290. char["Head"].Transparency = 0
  291. char["Right Leg"].Transparency = 0
  292. char["Torso"].Transparency = 0
  293. char["Left Arm"].Transparency = 0
  294. char["Right Arm"].Transparency = 0
  295. wait(0.001)
  296. char["Left Leg"].Transparency = 0.6
  297. char["Head"].Transparency = 0.6
  298. char["Right Leg"].Transparency = 0.6
  299. char["Torso"].Transparency = 0.6
  300. char["Left Arm"].Transparency = 0.6
  301. char["Right Arm"].Transparency = 0.6
  302. wait(0.001)
  303. char["Left Leg"].Transparency = 0.7
  304. char["Head"].Transparency = 0.7
  305. char["Right Leg"].Transparency = 0.7
  306. char["Torso"].Transparency = 0.7
  307. char["Left Arm"].Transparency = 0.7
  308. char["Right Arm"].Transparency = 0.7
  309. wait(0.001)
  310. char["Left Leg"].Transparency = 1
  311. char["Head"].Transparency = 1
  312. char["Right Leg"].Transparency = 1
  313. char["Torso"].Transparency = 1
  314. char["Left Arm"].Transparency = 1
  315. char["Right Arm"].Transparency = 1
  316. KLOWN.Transparency = 1
  317. text.TextTransparency = 1
  318. text.TextStrokeTransparency = 1
  319. o2.Transparency = 1
  320. end
  321. function GoVisible()
  322. ScarySound3:Play()
  323. char.Humanoid.WalkSpeed = 16
  324. ScarySound1:Play()
  325. char.Head.face.Transparency = 0
  326. char["Left Leg"].Transparency = 0.9
  327. char["Head"].Transparency = 0.9
  328. char["Right Leg"].Transparency = 9
  329. char["Torso"].Transparency = 0.9
  330. char["Left Arm"].Transparency = 0.9
  331. char["Right Arm"].Transparency = 0.9
  332. wait(0.001)
  333. char["Left Leg"].Transparency = 0.7
  334. char["Head"].Transparency = 0.7
  335. char["Right Leg"].Transparency = 0.7
  336. char["Torso"].Transparency = 0.7
  337. char["Left Arm"].Transparency = 0.7
  338. char["Right Arm"].Transparency = 0.7
  339. wait(0.001)
  340. char["Left Leg"].Transparency = 0
  341. char["Head"].Transparency = 0
  342. char["Right Leg"].Transparency = 0
  343. char["Torso"].Transparency = 0
  344. char["Left Arm"].Transparency = 0
  345. char["Right Arm"].Transparency = 0
  346. KLOWN.Transparency = 0
  347. text.TextTransparency = 0
  348. text.TextStrokeTransparency = 0
  349. o2.Transparency = 0
  350. end
  351. Normal()
  352. mouse.KeyDown:connect(function(key)
  353. if key == "q" then
  354. if char.Head.Transparency == 0 then
  355. GoInvisible()
  356.  
  357. elseif char.Head.Transparency == 1 then
  358. GoVisible()
  359. end
  360. end end)
  361. mouse.KeyDown:connect(function(key)
  362. if key == "e" then
  363. if ScarySound2.IsPlaying == false then
  364. ScarySound2:Play()
  365. elseif ScarySound2.IsPlaying == true then
  366. ScarySound2:Stop()
  367. end
  368. end end)
  369. hat = Instance.new'Accessory'
  370. hat.Name = 'Clown'
  371. hat.AttachmentForward = Vector3.new(0,0,-1)
  372. hat.AttachmentPos = Vector3.new(0, 0.649999976, 0)
  373. hat.AttachmentUp = Vector3.new(0, 1, 0)
  374. hat.AttachmentRight = Vector3.new(1, 0, 0)
  375. handle = Instance.new('Part', hat)
  376. handle.Name = 'Handle'
  377. handle.Locked = true
  378. handle.CanCollide = true
  379. handle.Transparency = 0
  380. handle.BrickColor = BrickColor.new'Medium stone grey'
  381. handle.Size = Vector3.new(2, 2, 2)
  382. mesh = Instance.new('SpecialMesh', handle)
  383. mesh.MeshId = 'http://www.roblox.com/asset/?id=15393031'
  384. mesh.Scale = Vector3.new(1, 1, 1)
  385. mesh.VertexColor = Vector3.new(1, 1, 1)
  386. mesh.TextureId = 'http://www.roblox.com/asset/?id=15393013'
  387. att = Instance.new('Attachment', handle)
  388. att.Name = 'HatAt'
  389. att.Position = Vector3.new(8.65838956e-09, 0.75, -0.000272244215)
  390. att.Axis = Vector3.new(1, -7.87137555e-09, 0)
  391. att.SecondaryAxis = Vector3.new(7.87137555e-09, 1, 4.1444221e-16)
  392. hat.Parent = game:GetService'Players'.LocalPlayer.Character
  393. KLOWN = handle
  394. game:GetService("Lighting").Outlines = false
  395. game:GetService("Lighting").TimeOfDay = "00:00:00"
  396. game:GetService("Lighting").FogColor = Color3.new(0, 0, 0)
  397. game:GetService("Lighting").FogEnd = 160
  398. while wait() do
  399. char["Left Leg"].BrickColor = BrickColor.new("Lily white")
  400. char["Head"].BrickColor = BrickColor.new("Lily white")
  401. char["Right Leg"].BrickColor = BrickColor.new("Lily white")
  402. char["Torso"].BrickColor = BrickColor.new("Lily white")
  403. char["Left Arm"].BrickColor = BrickColor.new("Lily white")
  404. char["Right Arm"].BrickColor = BrickColor.new("Lily white")
  405. end
  406. --What a nice boat. Do you want it back?
  407. --We all float down here. Yes, we do!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement