Advertisement
Robloxian_Scripter

Untitled

Mar 31st, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153.  
  154.  
  155. --[[
  156. Jump in the CAAC
  157. by EthanHong0407
  158.  
  159. why the hell did i make this
  160. i dont even know anymore
  161. ]]
  162.  
  163. local plr = game.Players.LocalPlayer
  164. local char = plr.Character
  165. local hum = char:FindFirstChildOfClass("Humanoid")
  166. local t = tick()
  167. local action = ""
  168. local torsorot = 0
  169. if hum:FindFirstChild("Animator") then
  170. hum.Animator:Destroy()
  171. end
  172.  
  173. hum.WalkSpeed = 0
  174.  
  175.  
  176. local song = Instance.new("Sound", char)
  177. song.SoundId = "rbxassetid://1883633498"
  178. song.Volume = 1
  179. song.TimePosition = 3
  180. song:Play()
  181. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  182. local joint = Instance.new("Motor6D", wp0)
  183. joint.Part0 = wp0
  184. joint.Part1 = wp1
  185. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  186. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  187. joint.Name = name
  188. return joint
  189. end
  190.  
  191. local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
  192. local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint")
  193. local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
  194. local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip")
  195. local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip")
  196. local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck")
  197.  
  198. local rsc0 = RS.C0
  199. local lsc0 = LS.C0
  200. local tsc0 = TS.C0
  201. local rhc0 = RH.C0
  202. local lhc0 = LH.C0
  203. local nkc0 = NK.C0
  204.  
  205. local gun = Instance.new("Part", char)
  206. gun.Size = Vector3.new(1, 1, 1)
  207. gun.Anchored = false
  208. gun.CFrame = CFrame.new(0, 10, 0)
  209. gun.BrickColor = BrickColor.new("Black")
  210. gun:BreakJoints()
  211. local gunMesh = Instance.new("SpecialMesh", gun)
  212. gunMesh.MeshId = "rbxassetid://430697201"
  213. gunMesh.Scale = Vector3.new(1, 1, 1)
  214.  
  215. local gunWeld = Instance.new("Weld", gun)
  216. gunWeld.Part0 = char["Right Arm"]
  217. gunWeld.Part1 = gun
  218. gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90))
  219. * CFrame.Angles(math.rad(-90), 0, 0)
  220. * CFrame.Angles(0, math.rad(180), 0)
  221.  
  222.  
  223. TS.C0 = CFrame.new(0, 10000, 0)
  224. game:GetService("RunService").RenderStepped:connect(function()
  225. t = t + 0.5
  226. if action == "IGotAGun" then
  227. local speed = 0.3
  228. torsorot = torsorot + 45
  229. NK.C0 = NK.C0:lerp(nkc0, speed)
  230. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0)
  231. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  232. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  233. * CFrame.Angles(math.rad(90), 0, 0), speed)
  234. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  235. * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
  236. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  237. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  238. elseif action == "IGotAGun2" then
  239. local speed = 0.3
  240.  
  241. NK.C0 = NK.C0:lerp(nkc0, speed)
  242. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
  243. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  244. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  245. * CFrame.Angles(math.rad(90), 0, 0), speed)
  246. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  247. * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
  248. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  249. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  250. elseif action == "CoufCouf" then
  251. local speed = 1
  252. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  253. math.rad(math.random(-360, 360)),
  254. math.rad(math.random(-360, 360))), speed)
  255. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  256. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  257. math.rad(math.random(-360, 360)),
  258. math.rad(math.random(-360, 360))), speed)
  259. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  260. math.rad(math.random(-360, 360)),
  261. math.rad(math.random(-360, 360))), speed)
  262. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  263. math.rad(math.random(-360, 360)),
  264. math.rad(math.random(-360, 360))), speed)
  265. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  266. math.rad(math.random(-360, 360)),
  267. math.rad(math.random(-360, 360))), speed)
  268. elseif action == "Sleep" then
  269. local speed = 1
  270. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed)
  271. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1)
  272. * CFrame.Angles(math.rad(90), 0, 0), speed)
  273. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed)
  274. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed)
  275. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
  276. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed)
  277. elseif action == "WakeUp" then
  278. local speed = 0.3
  279. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed)
  280. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
  281. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed)
  282. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
  283. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  284. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
  285. elseif action == "Whehw" then
  286. local speed = 1
  287. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  288. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
  289. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  290. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  291. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  292. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
  293. elseif action == "Julioliolio" then
  294. local speed = 1
  295. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  296. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  297. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  298. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  299. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  300. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  301. elseif action == "ICan" then
  302. local speed = 1
  303. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  304. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  305. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  306. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  307. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  308. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  309. * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
  310. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  311. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  312. elseif action == "ICan2" then
  313. local speed = 0.4
  314. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  315. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  316. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  317. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  318. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  319. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  320. * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
  321. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  322. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  323. elseif action == "ICant" then
  324. local speed = 0.4
  325. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  326. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  327. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  328. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  329. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  330. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  331. * CFrame.Angles(math.rad(90), 0, math.rad(-70)), speed)
  332. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  333. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  334. elseif action == "BabyJeans" then
  335. NK.C0 = nkc0
  336. TS.C0 = tsc0 * CFrame.new(0, 8, 0)
  337. LS.C0 = lsc0
  338. RS.C0 = rsc0
  339. LH.C0 = lhc0
  340. RH.C0 = rhc0
  341. elseif action == "YouAndYour" then
  342. local speed = 1
  343. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed)
  344. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0)
  345. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  346. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  347. * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  348. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed)
  349. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  350. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  351. elseif action == "Painis" then
  352. local speed = 0.4
  353. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
  354. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
  355. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  356. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0)
  357. * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed)
  358. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0)
  359. * CFrame.Angles(math.rad(10), 0, math.rad(45)), speed)
  360. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  361. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  362. elseif action == "Impoopments" then
  363. local speed = 1
  364. NK.C0 = NK.C0:lerp(nkc0, speed)
  365. TS.C0 = TS.C0:lerp(tsc0, speed)
  366. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  367. math.rad(math.random(-360, 360)),
  368. math.rad(math.random(-360, 360))), speed)
  369. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  370. math.rad(math.random(-360, 360)),
  371. math.rad(math.random(-360, 360))), speed)
  372. RH.C0 = RH.C0:lerp(rhc0, speed)
  373. LH.C0 = LH.C0:lerp(lhc0, speed)
  374. elseif action == "Normal" then
  375. local speed = 1
  376. NK.C0 = nkc0
  377. TS.C0 = tsc0
  378. LS.C0 = lsc0
  379. RS.C0 = rsc0
  380. LH.C0 = lhc0
  381. RH.C0 = rhc0
  382. elseif action == "Jooj" then
  383. NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  384. TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  385. LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  386. LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  387. RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  388. RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  389. elseif action == "Upsidedown" then
  390. local speed = 1
  391. NK.C0 = nkc0
  392. TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180))
  393. LS.C0 = lsc0
  394. RS.C0 = rsc0
  395. LH.C0 = lhc0
  396. RH.C0 = rhc0
  397. elseif action == "CAAC" then
  398. local speed = 0.1
  399. NK.C0 = nkc0
  400. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed)
  401. LS.C0 = lsc0
  402. RS.C0 = rsc0
  403. LH.C0 = lhc0
  404. RH.C0 = rhc0
  405. end
  406. end)
  407.  
  408.  
  409. action = "IGotAGun"
  410. wait(0.5)
  411. action = "IGotAGun2"
  412. wait(2.9)
  413. action = "CoufCouf"
  414. local part = Instance.new("Part", char)
  415. part.Anchored = true
  416. part.Material = "Neon"
  417. part.BrickColor = BrickColor.new("New Yeller")
  418. part.CanCollide = false
  419. part.Size = Vector3.new(0.1, 0.1, 10000)
  420. for i = 1, 16 do
  421.  
  422.  
  423. part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100)))
  424. wait(0.5/16)
  425.  
  426. end
  427. part:Destroy()
  428. gun:Destroy()
  429. local bed = Instance.new("Part", char)
  430. bed.Anchored = false
  431. bed.CanCollide = false
  432. bed.Size = Vector3.new(4, 8, 2)
  433. bed:BreakJoints()
  434. local bedmesh = Instance.new("SpecialMesh", bed)
  435. bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4)
  436. bedmesh.MeshId = "rbxassetid://473508427"
  437. bedmesh.TextureId = "rbxassetid://473508936"
  438. local bedweld = Instance.new("Weld", bed)
  439. bedweld.Part0 = char.HumanoidRootPart
  440. bedweld.Part1 = bed
  441. bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
  442. * CFrame.Angles(math.rad(-90), 0, 0)
  443. action = "Sleep"
  444. wait(0.25)
  445. action = "WakeUp"
  446. wait(0.5)
  447. action = "Whehw"
  448. wait(0.7)
  449. action = "Julioliolio"
  450. for i = 1, 16 do
  451. bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
  452. * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
  453. wait(1/16)
  454. end
  455. bed:Destroy()
  456. action = "ICan"
  457. wait(0.2)
  458. action = "ICant"
  459. wait(0.25)
  460. action = "ICan2"
  461. wait(0.2)
  462. action = "ICant"
  463. wait(0.35)
  464. action = "BabyJeans"
  465. local baby = Instance.new("Part", char)
  466. baby.Size = Vector3.new(2, 2, 1)
  467. baby.Anchored = false
  468. baby.CanCollide = false
  469. baby:BreakJoints()
  470.  
  471. local baby2 = Instance.new("SpecialMesh", baby)
  472. baby2.MeshId = "rbxassetid://430300723"
  473. baby2.Scale = Vector3.new(5, 5, 5)
  474. baby2.TextureId = "rbxassetid://430300725"
  475.  
  476. local babyweld = Instance.new("Weld", baby)
  477. babyweld.Part0 = char.Torso
  478. babyweld.Part1 = baby
  479. babyweld.C0 = CFrame.new(0, -1, 0)
  480. * CFrame.Angles(0, math.rad(180), 0)
  481. wait(0.5)
  482. baby2.TextureId = "rbxassetid://140688857"
  483. wait(1.1)
  484. baby:Destroy()
  485. action = "YouAndYour"
  486. wait(0.5)
  487. action = "Painis"
  488. wait(0.4)
  489. action = "Impoopments"
  490. wait(1)
  491.  
  492. local pp = Instance.new("Part", char)
  493. pp.Size = Vector3.new(1, 1, 1)
  494. pp.Anchored = true
  495. pp.CanCollide = false
  496. pp.BrickColor = char.Torso.BrickColor
  497. pp:BreakJoints()
  498. pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
  499.  
  500. for i = 1, 20 do
  501. pp.Size = pp.Size + Vector3.new(0, 0, 2)
  502. pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i)
  503. wait(0.5/20)
  504. end
  505. pp:Destroy()
  506. action = "Jooj"
  507. wait(1.7)
  508. action = "Normal"
  509. wait(0.5)
  510. action = "Upsidedown"
  511. wait(0.5)
  512. action = "Normal"
  513. TS.C0 = tsc0 * CFrame.new(0, 10, 0)
  514. local caac = Instance.new("Part", char)
  515. caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
  516. caac.Anchored = true
  517. caac.CanCollide = true
  518. caac.Size = Vector3.new(8, 4, 1)
  519. caac:BreakJoints()
  520. local caactext = Instance.new("SurfaceGui", caac)
  521. caactext.Adornee = caac
  522. local caactext2 = Instance.new("TextLabel", caactext)
  523. caactext2.Size = UDim2.new(1, 0, 1, 0)
  524. caactext2.TextScaled = true
  525. caactext2.Text = "CAAC"
  526. caactext2.Font = "Legacy"
  527. action = "CAAC"
  528. wait(1.7)
  529. coroutine.resume(coroutine.create(function()
  530. for i = 1, 100 do
  531. if char.Head ~= nil then
  532. char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1)
  533. end
  534. wait(0.5/100)
  535. end
  536. end))
  537. wait(1)
  538. caac.Anchored = false
  539. char.Head:Destroy()
  540. local sound = Instance.new("Sound", char.Torso)
  541. sound.SoundId = "rbxassetid://440431180"
  542. sound.Volume = 1
  543. sound:Play()
  544.  
  545. local explosion = Instance.new("Explosion", char)
  546. explosion.BlastRadius = 1
  547. explosion.BlastPressure = 9000
  548. explosion.Position = char.Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement