Advertisement
yougotoof

Untitled

Dec 22nd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.11 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
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.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,Functions={},Connect=function(self,f)table.insert(self.Functions,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(),Button2Up=fakeEvent(),Button2Down=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 then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  52. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then
  98. return typeof(s[k])=="function"
  99. and function(_,...)return s[k](s,...)end or s[k]
  100. end
  101. end,
  102. __newindex = function(self,k,v)
  103. local s = rawget(self,"_RealService")
  104. if s then s[k]=v 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 rawget(self,s) or _rg:GetService(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. RunService = FakeService({
  123. _btrs = {},
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132. }
  133. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  134. g.service = g.GetService
  135. FakeService(g,game)
  136. --Changing owner to fake player object to support owner:GetMouse()
  137. game,owner = g,g.Players.LocalPlayer
  138. end
  139.  
  140. Gui = Instance.new("ScreenGui")
  141. Frame = Instance.new("Frame")
  142. Close = Instance.new("TextButton")
  143. Open = Instance.new("TextButton")
  144. Clown = Instance.new("TextButton")
  145. Chainsaw = Instance.new("TextButton")
  146. Title = Instance.new("TextLabel")
  147. Credits = Instance.new("TextLabel")
  148. -----------------------------GUI Stuff-----------------------------
  149. Gui.Name = "KillerClownV1"
  150. Gui.Parent = game.CoreGui
  151. ------------------------------GUI
  152. Frame.Name = "Frame"
  153. Frame.Parent = Gui
  154. Frame.BackgroundColor3 = Color3.new(0,0,0)
  155. Frame.Position = UDim2.new(-0.023, 0,-0.015, 0)
  156. Frame.Size = UDim2.new(0, 216,0, 154)
  157. ----------------------------------------Frame
  158. Title.Name = "Clown"
  159. Title.Parent = Gui
  160. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  161. Title.Position = UDim2.new(0, 0,0, 0)
  162. Title.Size = UDim2.new(0, 258,0, 50)
  163. Title.Font = Enum.Font.Legacy
  164. Title.FontSize = Enum.FontSize.Size24
  165. Title.Text = "Clown GUI"
  166. Title.TextColor3 = Color3.new(0,0,0)
  167. Title.TextScaled = true
  168. ------------------------------------------------------Title
  169. Close.Name = "Close"
  170. Close.Parent = Frame
  171. Close.BackgroundColor3 = Color3.new(1,0,0)
  172. Close.Position = UDim2.new(0.074, 0,1, 0)
  173. Close.Size = UDim2.new(0, 200,0, 50)
  174. Close.Font = Enum.Font.Cartoon
  175. Close.TextColor3 = Color3.new(0,0,0)
  176. Close.TextScaled = true
  177. Close.Text = "X"
  178. ------------------------------------------------------Close
  179. Open.Name = "Open"
  180. Open.Parent = Frame
  181. Open.BackgroundColor3 = Color3.new(0,1,0)
  182. Open.Position = UDim2.new(0.074, 0,1.325, 0)
  183. Open.Size = UDim2.new(0, 200,0, 50)
  184. Open.Font = Enum.Font.Cartoon
  185. Open.TextColor3 = Color3.new(0,0,0)
  186. Open.TextScaled = true
  187. Open.Text = "Open"
  188. ---------------------------------------------------------Open
  189. Clown.Name = "Clown"
  190. Clown.Parent = Gui
  191. Clown.BackgroundColor3 = Color3.new(1, 0, 0)
  192. Clown.Position = UDim2.new(0.083, 0,0.162, 0)
  193. Clown.Size = UDim2.new(0, 198,0, 61)
  194. Clown.Font = Enum.Font.Legacy
  195. Clown.FontSize = Enum.FontSize.Size24
  196. Clown.Text = "Clown"
  197. Clown.TextColor3 = Color3.new(0,0,0)
  198. Clown.TextScaled = true
  199. ---------------------------------------------------------Clown
  200. Chainsaw.Name = "Chainsaw"
  201. Chainsaw.Parent = Gui
  202. Chainsaw.BackgroundColor3 = Color3.new(1, 0, 0)
  203. Chainsaw.Position = UDim2.new(0.083, 0,0.597, 0)
  204. Chainsaw.Size = UDim2.new(0, 198,0, 61)
  205. Chainsaw.Font = Enum.Font.Legacy
  206. Chainsaw.FontSize = Enum.FontSize.Size24
  207. Chainsaw.Text = "Chainsaw"
  208. Chainsaw.TextColor3 = Color3.new(0,0,0)
  209. Chainsaw.TextScaled = true
  210. ---------------------------------------------------------Chainsaw
  211. Title.Name = "Clown"
  212. Title.Parent = Frame
  213. Title.BackgroundColor3 = Color3.new(1, 0, 0)
  214. Title.Position = UDim2.new(0.083, 0,0.597, 0)
  215. Title.Size = UDim2.new(0, 198,0, 61)
  216. Title.Font = Enum.Font.Legacy
  217. Title.FontSize = Enum.FontSize.Size24
  218. Title.Text = "Clown Gui"
  219. Title.TextColor3 = Color3.new(0,0,0)
  220. Title.TextScaled = true
  221. ------------------------------------------------------------------Title
  222. Credits.Name = "Credits"
  223. Credits.Parent = Frame
  224. Credits.BackgroundColor3 = Color3.new(0, 0, 0)
  225. Credits.Position = UDim2.new(1, 0,0.039, 0)
  226. Credits.Size = UDim2.new(0, 216,0, 54)
  227. Credits.Font = Enum.Font.Legacy
  228. Credits.FontSize = Enum.FontSize.Size24
  229. Credits.Text = "Credits Go to MLG HAMSTER#3455 Discord."
  230. Credits.TextColor3 = Color3.new(1,1,1)
  231. Credits.TextScaled = true
  232. ------------------------------------------------------------------------Credits
  233. Close.MouseButton1Click:connect(function()
  234. Frame.Visible = false
  235. Open.Visible = true
  236. end)
  237.  
  238. Open.MouseButton1Click:connect(function()
  239. Frame.Visible = true
  240. Open.Visible = false
  241. end)
  242. Chainsaw.MouseButton1Click:connect(function()
  243. local hehah = Instance.new('ScreenGui')
  244. local lele = game.Players.LocalPlayer
  245. hehah.Parent = lele.PlayerGui
  246. local scr = Instance.new('TextLabel')
  247. scr.Parent = hehah
  248. scr.Text = "Created by mustardfoot for Raindrop users. Enjoy!"
  249. scr.TextScaled = true
  250. scr.Font = Enum.Font.SciFi
  251. scr.TextColor = BrickColor.new(1001)
  252. scr.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  253. scr.BorderColor3 = Color3.new(0, 0, 0)
  254. scr.Position = UDim2.new(0.2, 0, 0.2, 0)
  255. scr.Size = UDim2.new(0.7, 0, 0.7, 0)
  256. wait(3)
  257. hehah:Destroy()
  258.  
  259. local plr = game.Players.LocalPlayer
  260. local chr = plr.Character
  261. local hum = chr:FindFirstChildOfClass('Humanoid')
  262. local Tool = nil
  263. Gibs = game.Workspace
  264.  
  265. function Kill(Character)
  266. Character.Humanoid.Health = 0
  267. local poo = Instance.new("IntValue",Character)
  268. poo.Name = "haha nope"
  269. local svch = Character
  270. local hum = Character:findFirstChild("Humanoid")
  271. Character.Archivable = true
  272. local chrclone = Character:clone()
  273. Character.Archivable = false
  274.  
  275. local ch = chrclone:GetChildren()
  276. local i
  277. for i = 1,#ch do
  278. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  279. ch[i]:remove()
  280. end
  281. end
  282. local function Scan(ch)
  283. local e
  284. for e = 1,#ch do
  285. Scan(ch[e]:GetChildren())
  286. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  287. ch[e]:remove()
  288. end
  289. end
  290. end
  291. Scan(chrclone:GetChildren())
  292.  
  293. local hum2 = chrclone:findFirstChild("Humanoid")
  294.  
  295.  
  296. if hum2 ~= nil then
  297. hum2.Name = "Humanoid2"
  298. hum2.PlatformStand = true
  299. hum2.Sit = true
  300. hum2.MaxHealth = 0
  301. hum2.Health = 0
  302. end
  303.  
  304. local ch = Character:GetChildren()
  305. local i
  306. for i = 1,#ch do
  307. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  308. ch[i]:remove()
  309. end
  310. end
  311.  
  312. wait(0.2)
  313.  
  314. local ch = Character:GetChildren()
  315. local i
  316. for i = 1,#ch do
  317. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  318. ch[i]:remove()
  319. end
  320. end
  321. Character = chrclone
  322. local Torso = Character.Torso
  323. local movevector = Vector3.new()
  324.  
  325. if Torso then
  326. local Head = Character:FindFirstChild("Head")
  327. local Limb = Character:FindFirstChild("Right Arm")
  328. if Limb then
  329.  
  330. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  331. local Joint = Instance.new("Glue")
  332. Joint.Name = "RightShoulder"
  333. Joint.Part0 = Torso
  334. Joint.Part1 = Limb
  335. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  336. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  337. Joint.Parent = Torso
  338.  
  339. local B = Instance.new("Part")
  340. B.TopSurface = 0
  341. B.BottomSurface = 0
  342. B.formFactor = "Symmetric"
  343. B.Size = Vector3.new(1, 1, 1)
  344. B.Transparency = 1
  345. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  346. B.Parent = Character
  347. local W = Instance.new("Weld")
  348. W.Part0 = Limb
  349. W.Part1 = B
  350. W.C0 = CFrame.new(0, -0.5, 0)
  351. W.Parent = Limb
  352.  
  353. end
  354. local Limb = Character:FindFirstChild("Left Arm")
  355. if Limb then
  356.  
  357. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  358. local Joint = Instance.new("Glue")
  359. Joint.Name = "LeftShoulder"
  360. Joint.Part0 = Torso
  361. Joint.Part1 = Limb
  362. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  363. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  364. Joint.Parent = Torso
  365.  
  366. local B = Instance.new("Part")
  367. B.TopSurface = 0
  368. B.BottomSurface = 0
  369. B.formFactor = "Symmetric"
  370. B.Size = Vector3.new(1, 1, 1)
  371. B.Transparency = 1
  372. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  373. B.Parent = Character
  374. local W = Instance.new("Weld")
  375. W.Part0 = Limb
  376. W.Part1 = B
  377. W.C0 = CFrame.new(0, -0.5, 0)
  378. W.Parent = Limb
  379.  
  380. end
  381. local Limb = Character:FindFirstChild("Right Leg")
  382. if Limb then
  383.  
  384. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  385. local Joint = Instance.new("Glue")
  386. Joint.Name = "RightHip"
  387. Joint.Part0 = Torso
  388. Joint.Part1 = Limb
  389. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  390. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  391. Joint.Parent = Torso
  392.  
  393. local B = Instance.new("Part")
  394. B.TopSurface = 0
  395. B.BottomSurface = 0
  396. B.formFactor = "Symmetric"
  397. B.Size = Vector3.new(1, 1, 1)
  398. B.Transparency = 1
  399. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  400. B.Parent = Character
  401. local W = Instance.new("Weld")
  402. W.Part0 = Limb
  403. W.Part1 = B
  404. W.C0 = CFrame.new(0, -0.5, 0)
  405. W.Parent = Limb
  406.  
  407. end
  408. local Limb = Character:FindFirstChild("Left Leg")
  409. if Limb then
  410.  
  411. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  412. local Joint = Instance.new("Glue")
  413. Joint.Name = "LeftHip"
  414. Joint.Part0 = Torso
  415. Joint.Part1 = Limb
  416. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  417. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  418. Joint.Parent = Torso
  419.  
  420. local B = Instance.new("Part")
  421. B.TopSurface = 0
  422. B.BottomSurface = 0
  423. B.formFactor = "Symmetric"
  424. B.Size = Vector3.new(1, 1, 1)
  425. B.Transparency = 1
  426. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  427. B.Parent = Character
  428. local W = Instance.new("Weld")
  429. W.Part0 = Limb
  430. W.Part1 = B
  431. W.C0 = CFrame.new(0, -0.5, 0)
  432. W.Parent = Limb
  433.  
  434. end
  435. --[
  436. local Bar = Instance.new("Part")
  437. Bar.TopSurface = 0
  438. Bar.BottomSurface = 0
  439. Bar.formFactor = "Symmetric"
  440. Bar.Size = Vector3.new(1, 1, 1)
  441. Bar.Transparency = 1
  442. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  443. Bar.Parent = Character
  444. local Weld = Instance.new("Weld")
  445. Weld.Part0 = Torso
  446. Weld.Part1 = Bar
  447. Weld.C0 = CFrame.new(0, 0.5, 0)
  448. Weld.Parent = Torso
  449. --]]
  450. end
  451. Character.Parent = Gibs
  452. game.Debris:AddItem(Character, 12)
  453. if movevector ~= Vector3.new() then
  454. for i = 1,10 do
  455. wait()
  456. Torso.Velocity = Vector3.new(0,0,-100)
  457. Head.Velocity = movevector * 200
  458. end
  459. end
  460. local duh = Torso
  461. ee = Instance.new("Part")
  462. ee.Anchored = false
  463. ee.CanCollide = false
  464. ee.Parent = duh
  465. ee.Transparency =1
  466. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  467. wee = Instance.new("Weld")
  468. wee.Parent = duh
  469. wee.Part0 = duh
  470. wee.Part1 = ee
  471. wee.C0 = CFrame.new(0, 1, 0)
  472. ge = Instance.new('ParticleEmitter')
  473. ge.Parent = ee
  474. ge.Texture = "rbxassetid://29712167"
  475. ge.Size = NumberSequence.new(0.2,0.05)
  476. ge.Acceleration = Vector3.new(0, -20, 0)
  477. ge.Rate = 100000
  478. ge.Speed = NumberRange.new(7,8)
  479. ge.Lifetime = NumberRange.new(3,4)
  480. ge.VelocitySpread = 10
  481. ge.VelocityInheritance = 0.3
  482. ea = Instance.new("Part")
  483. ea.Anchored = false
  484. ea.CanCollide = false
  485. ea.Parent = Character.Head
  486. ea.Transparency =1
  487. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  488. wea = Instance.new("Weld")
  489. wea.Parent = Character.Head
  490. wea.Part0 = Character.Head
  491. wea.Part1 = ea
  492. wea.C0 = CFrame.new(0, -0.7, 0)
  493. ga = Instance.new('ParticleEmitter')
  494. ga.Parent = ea
  495. ga.Texture = "rbxassetid://29712167"
  496. ga.Size = NumberSequence.new(0.2,0.05)
  497. ga.Acceleration = Vector3.new(0, -20, 0)
  498. ga.Rate = 100000
  499. ga.Speed = NumberRange.new(7,8)
  500. ga.Lifetime = NumberRange.new(3,4)
  501. ga.VelocitySpread = 10
  502. ga.VelocityInheritance = 0.3
  503. ga.EmissionDirection = Enum.NormalId.Bottom
  504. end
  505. if plr.Backpack:FindFirstChild('Chainsaw') then
  506. plr.Backpack.Chainsaw:Destroy()
  507. elseif plr.Character:FindFirstChild('Chainsaw') then
  508. plr.Character.Chainsaw:Destroy()
  509. end
  510. wait()
  511. local hee = Instance.new('Tool',plr.Backpack)
  512. hee.Name = "Chainsaw"
  513. hee.CanBeDropped = false
  514. hee.GripPos = Vector3.new(0,0,1.5)
  515. hee.GripForward = Vector3.new(1,0,0)
  516. hee.GripRight = Vector3.new(1,0,0)
  517. hee.GripUp = Vector3.new(0,0,-1)
  518. local hee2 = Instance.new('Part',hee)
  519. hee2.Name = 'Handle'
  520. hee2.Size = Vector3.new(0.2,0.7,2.5)
  521. local hee3 = Instance.new('FileMesh',hee2)
  522. hee3.MeshId = 'rbxassetid://2766469'
  523. hee3.TextureId = 'rbxassetid://2766467'
  524. Tool = hee
  525. local haha = false
  526. Tool.Activated:connect(function()
  527. haha = true
  528. local anim = Instance.new("StringValue")
  529. anim.Name = "toolanim"
  530. anim.Value = "Slash"
  531. anim.Parent = Tool
  532. local sound = Instance.new("Sound",hee2)
  533. sound.SoundId = 'rbxassetid://248088589'
  534. sound:Play()
  535. wait(0.5)
  536. haha = false
  537. anim:Destroy()
  538. sound:Destroy()
  539. end)
  540.  
  541. hee2.Touched:connect(function(hit)
  542. if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChild('Torso') and hit.Parent:FindFirstChild('Head') and hit.Parent:FindFirstChild('haha nope') == nil and haha == true then
  543. Kill(hit.Parent)
  544. end
  545. end)
  546. end)
  547.  
  548. Clown.MouseButton1Click:connect(function()
  549. --Made by N3xul ehehe
  550. --wanna float with us?
  551. --11:15 2017-09-24
  552. --Press 'Q' to go Invisible & 'E' to laugh.
  553.  
  554.  
  555. local runDummyScript = function(f,scri)
  556. local oldenv = getfenv(f)
  557. local newenv = setmetatable({}, {
  558. __index = function(_, k)
  559. if k:lower() == 'script' then
  560. return scri
  561. else
  562. return oldenv[k]
  563. end
  564. end
  565. })
  566. setfenv(f, newenv)
  567. ypcall(function() f() end)
  568. end
  569. cors = {}
  570. mas = Instance.new("Model",game:GetService("Lighting"))
  571. mas.Name = "CompiledModel"
  572. o1 = Instance.new("Tool")
  573. o2 = Instance.new("Part")
  574. o3 = Instance.new("SpecialMesh")
  575. o1.Name = "Pennywise Balloon"
  576. o1.Parent = mas
  577. o1.TextureId = "http://www.roblox.com/asset/?id=26721793"
  578. o1.GripPos = Vector3.new(0, -1.5, 0)
  579. o2.Name = "Handle"
  580. o2.Parent = o1
  581. o2.Position = Vector3.new(8.17007637, 7.24064589, -8.3837471)
  582. o2.Rotation = Vector3.new(-178.5, -33.3099976, -179.169998)
  583. o2.CanCollide = false
  584. o2.FormFactor = Enum.FormFactor.Symmetric
  585. o2.Size = Vector3.new(1, 3, 1)
  586. 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)
  587. o2.BottomSurface = Enum.SurfaceType.Smooth
  588. o2.TopSurface = Enum.SurfaceType.Smooth
  589. o2.Position = Vector3.new(8.17007637, 7.24064589, -8.3837471)
  590. o2.Orientation = Vector3.new(-1.25999999, -146.690002, 0)
  591. o3.Parent = o2
  592. o3.MeshId = "http://www.roblox.com/asset/?id=25498565"
  593. o3.TextureId = "http://www.roblox.com/asset/?id=26725707"
  594. o3.MeshType = Enum.MeshType.FileMesh
  595. mas.Parent = workspace
  596. mas:MakeJoints()
  597. local mas1 = mas:GetChildren()
  598. for i=1,#mas1 do
  599. mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  600. ypcall(function() mas1[i]:MakeJoints() end)
  601. end
  602. mas:Destroy()
  603. for i=1,#cors do
  604. coroutine.resume(cors[i])
  605. end
  606. p = (game.Players.LocalPlayer.Name)
  607. char = game.Players.LocalPlayer.Character
  608. local player = game.Players.LocalPlayer
  609. repeat wait() until player.Character.Humanoid
  610. local humanoid = player.Character.Humanoid
  611. local mouse = player:GetMouse()
  612. CV="Really black"
  613. p = game.Players.LocalPlayer
  614. char = p.Character
  615. local txt = Instance.new("BillboardGui", char)
  616. txt.Adornee = char.Head
  617. txt.Name = "_status"
  618. txt.Size = UDim2.new(2, 0, 1.2, 0)
  619. txt.StudsOffset = Vector3.new(-9, 8, 0)
  620. local text = Instance.new("TextLabel", txt)
  621. text.Size = UDim2.new(10, 0, 7, 0)
  622. text.FontSize = "Size24"
  623. text.TextScaled = true
  624. text.TextTransparency = 0
  625. text.BackgroundTransparency = 1
  626. text.TextTransparency = 0
  627. text.TextStrokeTransparency = 0
  628. text.Font = "Fantasy"
  629. text.TextStrokeColor3 = Color3.new(0,0,0)
  630. v=Instance.new("Part")
  631. v.Name = "ColorBrick"
  632. v.Parent=p.Character
  633. v.FormFactor="Symmetric"
  634. v.Anchored=true
  635. v.CanCollide=false
  636. v.BottomSurface="Smooth"
  637. v.TopSurface="Smooth"
  638. v.Size=Vector3.new(10,5,3)
  639. v.Transparency=1
  640. v.CFrame=char.Torso.CFrame
  641. v.BrickColor=BrickColor.new(CV)
  642. v.Transparency=1
  643. text.TextColor3 = Color3.new(255, 0, 0)
  644. v.Shape="Block"
  645. text.Text = "Pennywise The Dancing Clown"
  646. char.Shirt.ShirtTemplate = "rbxassetid://794159502"
  647. char.Pants.PantsTemplate = "rbxassetid://792216448"
  648. if char:FindFirstChild('Humanoid') then
  649. char.Humanoid:RemoveAccessories() end
  650. ScarySound1 = Instance.new("Sound")
  651. ScarySound1.Parent = char.Torso
  652. ScarySound1.SoundId = "rbxassetid://1041554412"
  653. ScarySound1.Volume = 2
  654. ScarySound2 = Instance.new("Sound")
  655. ScarySound2.Parent = char.Torso
  656. ScarySound2.SoundId = "rbxassetid://145978092"
  657. ScarySound2.Volume = 1
  658. ScarySound2.Pitch = 1.2
  659. ScarySound2.Looped = true
  660. ScarySound3 = Instance.new("Sound")
  661. ScarySound3.Parent = char.Torso
  662. ScarySound3.SoundId = "rbxassetid://1036327345"
  663. ScarySound3.Volume = 0.1
  664. ScarySound3.Looped = true
  665. Punch = Instance.new("Sound")
  666. Punch.Parent = char.Torso
  667. Punch.SoundId = "rbxassetid://261566877"
  668. Punch.Volume = 1
  669. Punch.Looped = false
  670. hole = Instance.new("Sound")
  671. hole.Parent = char.Torso
  672. hole.SoundId = "rbxassetid://266364769"
  673. hole.Volume = 1
  674. hole.Looped = false
  675. game.Players.LocalPlayer.Character.Sound:Destroy()
  676. function Normal()
  677. ScarySound3:Play()
  678. char.Humanoid.WalkSpeed = 16
  679. char.Head.face.Texture = "rbxassetid://740455053"
  680. char["Left Leg"].Transparency = 0
  681. char["Head"].Transparency = 0
  682. char["Right Leg"].Transparency = 0
  683. char["Torso"].Transparency = 0
  684. char["Left Arm"].Transparency = 0
  685. char["Right Arm"].Transparency = 0
  686. end
  687. function GoInvisible()
  688. ScarySound3:Stop()
  689. ScarySound1:Stop()
  690. char.Humanoid.WalkSpeed = 120
  691. char.Head.face.Transparency = 1
  692. char["Left Leg"].Transparency = 0
  693. char["Head"].Transparency = 0
  694. char["Right Leg"].Transparency = 0
  695. char["Torso"].Transparency = 0
  696. char["Left Arm"].Transparency = 0
  697. char["Right Arm"].Transparency = 0
  698. wait(0.001)
  699. char["Left Leg"].Transparency = 0.6
  700. char["Head"].Transparency = 0.6
  701. char["Right Leg"].Transparency = 0.6
  702. char["Torso"].Transparency = 0.6
  703. char["Left Arm"].Transparency = 0.6
  704. char["Right Arm"].Transparency = 0.6
  705. wait(0.001)
  706. char["Left Leg"].Transparency = 0.7
  707. char["Head"].Transparency = 0.7
  708. char["Right Leg"].Transparency = 0.7
  709. char["Torso"].Transparency = 0.7
  710. char["Left Arm"].Transparency = 0.7
  711. char["Right Arm"].Transparency = 0.7
  712. wait(0.001)
  713. char["Left Leg"].Transparency = 1
  714. char["Head"].Transparency = 1
  715. char["Right Leg"].Transparency = 1
  716. char["Torso"].Transparency = 1
  717. char["Left Arm"].Transparency = 1
  718. char["Right Arm"].Transparency = 1
  719. KLOWN.Transparency = 1
  720. text.TextTransparency = 1
  721. text.TextStrokeTransparency = 1
  722. o2.Transparency = 1
  723. end
  724. function GoVisible()
  725. ScarySound3:Play()
  726. char.Humanoid.WalkSpeed = 16
  727. ScarySound1:Play()
  728. char.Head.face.Transparency = 0
  729. char["Left Leg"].Transparency = 0.9
  730. char["Head"].Transparency = 0.9
  731. char["Right Leg"].Transparency = 9
  732. char["Torso"].Transparency = 0.9
  733. char["Left Arm"].Transparency = 0.9
  734. char["Right Arm"].Transparency = 0.9
  735. wait(0.001)
  736. char["Left Leg"].Transparency = 0.7
  737. char["Head"].Transparency = 0.7
  738. char["Right Leg"].Transparency = 0.7
  739. char["Torso"].Transparency = 0.7
  740. char["Left Arm"].Transparency = 0.7
  741. char["Right Arm"].Transparency = 0.7
  742. wait(0.001)
  743. char["Left Leg"].Transparency = 0
  744. char["Head"].Transparency = 0
  745. char["Right Leg"].Transparency = 0
  746. char["Torso"].Transparency = 0
  747. char["Left Arm"].Transparency = 0
  748. char["Right Arm"].Transparency = 0
  749. KLOWN.Transparency = 0
  750. text.TextTransparency = 0
  751. text.TextStrokeTransparency = 0
  752. o2.Transparency = 0
  753. end
  754. Normal()
  755. mouse.KeyDown:connect(function(key)
  756. if key == "q" then
  757. if char.Head.Transparency == 0 then
  758. GoInvisible()
  759.  
  760. elseif char.Head.Transparency == 1 then
  761. GoVisible()
  762. end
  763. end end)
  764. mouse.KeyDown:connect(function(key)
  765. if key == "e" then
  766. if ScarySound2.IsPlaying == false then
  767. ScarySound2:Play()
  768. elseif ScarySound2.IsPlaying == true then
  769. ScarySound2:Stop()
  770. end
  771. end end)
  772. hat = Instance.new'Accessory'
  773. hat.Name = 'Clown'
  774. hat.AttachmentForward = Vector3.new(0,0,-1)
  775. hat.AttachmentPos = Vector3.new(0, 0.649999976, 0)
  776. hat.AttachmentUp = Vector3.new(0, 1, 0)
  777. hat.AttachmentRight = Vector3.new(1, 0, 0)
  778. handle = Instance.new('Part', hat)
  779. handle.Name = 'Handle'
  780. handle.Locked = true
  781. handle.CanCollide = true
  782. handle.Transparency = 0
  783. handle.BrickColor = BrickColor.new'Medium stone grey'
  784. handle.Size = Vector3.new(2, 2, 2)
  785. mesh = Instance.new('SpecialMesh', handle)
  786. mesh.MeshId = 'http://www.roblox.com/asset/?id=15393031'
  787. mesh.Scale = Vector3.new(1, 1, 1)
  788. mesh.VertexColor = Vector3.new(1, 1, 1)
  789. mesh.TextureId = 'http://www.roblox.com/asset/?id=15393013'
  790. att = Instance.new('Attachment', handle)
  791. att.Name = 'HatAt'
  792. att.Position = Vector3.new(8.65838956e-09, 0.75, -0.000272244215)
  793. att.Axis = Vector3.new(1, -7.87137555e-09, 0)
  794. att.SecondaryAxis = Vector3.new(7.87137555e-09, 1, 4.1444221e-16)
  795. hat.Parent = game:GetService'Players'.LocalPlayer.Character
  796. KLOWN = handle
  797. game:GetService("Lighting").Outlines = false
  798. game:GetService("Lighting").TimeOfDay = "00:00:00"
  799. game:GetService("Lighting").FogColor = Color3.new(0, 0, 0)
  800. game:GetService("Lighting").FogEnd = 160
  801. while wait() do
  802. char["Left Leg"].BrickColor = BrickColor.new("Lily white")
  803. char["Head"].BrickColor = BrickColor.new("Lily white")
  804. char["Right Leg"].BrickColor = BrickColor.new("Lily white")
  805. char["Torso"].BrickColor = BrickColor.new("Lily white")
  806. char["Left Arm"].BrickColor = BrickColor.new("Lily white")
  807. char["Right Arm"].BrickColor = BrickColor.new("Lily white")
  808. end
  809. --What a nice boat. Do you want it back?
  810. --We all float down here. Yes, we do!
  811. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement