Advertisement
samuelrichter66

CAAC

May 29th, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.19 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 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. --[[
  157. Jump in the CAAC
  158. by EthanHong0407
  159.  
  160. why the hell did i make this
  161. i dont even know anymore
  162. ]]
  163.  
  164. local plr = game.Players.LocalPlayer
  165. local char = plr.Character
  166. local hum = char:FindFirstChildOfClass("Humanoid")
  167. local t = tick()
  168. local action = ""
  169. local torsorot = 0
  170. if hum:FindFirstChild("Animator") then
  171. hum.Animator:Destroy()
  172. end
  173.  
  174. hum.WalkSpeed = 0
  175.  
  176.  
  177. local song = Instance.new("Sound", char)
  178. song.SoundId = "rbxassetid://1883633498"
  179. song.Volume = 1
  180. song.TimePosition = 3
  181. song:Play()
  182. function createJoint(wp0, wp1, wc0x, wc0y, wc0z, wc1x, wc1y, wc1z, name)
  183. local joint = Instance.new("Motor6D", wp0)
  184. joint.Part0 = wp0
  185. joint.Part1 = wp1
  186. joint.C0 = CFrame.new(wc0x, wc0y, wc0z)
  187. joint.C1 = CFrame.new(wc1x, wc1y, wc1z)
  188. joint.Name = name
  189. return joint
  190. end
  191.  
  192. local RS = createJoint(char.Torso, char["Right Arm"], 1.5, 0.5, 0, 0, 0.5, 0, "Right Shoulder")
  193. local TS = createJoint(char.HumanoidRootPart, char.Torso, 0, 0, 0, 0, 0, 0, "RootJoint")
  194. local LS = createJoint(char.Torso, char["Left Arm"], -1.5, 0.5, 0, 0, 0.5, 0, "Left Shoulder")
  195. local RH = createJoint(char.Torso, char["Right Leg"], 0.5, -1, 0, 0, 1, 0, "Right Hip")
  196. local LH = createJoint(char.Torso, char["Left Leg"], -0.5, -1, 0, 0, 1, 0, "Left Hip")
  197. local NK = createJoint(char.Torso, char.Head, 0, 1, 0, 0, -1/2, 0, "Neck")
  198.  
  199. local rsc0 = RS.C0
  200. local lsc0 = LS.C0
  201. local tsc0 = TS.C0
  202. local rhc0 = RH.C0
  203. local lhc0 = LH.C0
  204. local nkc0 = NK.C0
  205.  
  206. local gun = Instance.new("Part", char)
  207. gun.Size = Vector3.new(1, 1, 1)
  208. gun.Anchored = false
  209. gun.CFrame = CFrame.new(0, 10, 0)
  210. gun.BrickColor = BrickColor.new("Black")
  211. gun:BreakJoints()
  212. local gunMesh = Instance.new("SpecialMesh", gun)
  213. gunMesh.MeshId = "rbxassetid://430697201"
  214. gunMesh.Scale = Vector3.new(1, 1, 1)
  215.  
  216. local gunWeld = Instance.new("Weld", gun)
  217. gunWeld.Part0 = char["Right Arm"]
  218. gunWeld.Part1 = gun
  219. gunWeld.C0 = CFrame.new(0, -1.2, -0.3) * CFrame.Angles(0, 0, math.rad(90))
  220. * CFrame.Angles(math.rad(-90), 0, 0)
  221. * CFrame.Angles(0, math.rad(180), 0)
  222.  
  223.  
  224. TS.C0 = CFrame.new(0, 10000, 0)
  225. game:GetService("RunService").RenderStepped:connect(function()
  226. t = t + 0.5
  227. if action == "IGotAGun" then
  228. local speed = 0.3
  229. torsorot = torsorot + 45
  230. NK.C0 = NK.C0:lerp(nkc0, speed)
  231. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.rad(torsorot), 0, 0)
  232. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  233. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  234. * CFrame.Angles(math.rad(90), 0, 0), speed)
  235. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  236. * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
  237. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  238. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  239. elseif action == "IGotAGun2" then
  240. local speed = 0.3
  241.  
  242. NK.C0 = NK.C0:lerp(nkc0, speed)
  243. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
  244. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  245. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  246. * CFrame.Angles(math.rad(90), 0, 0), speed)
  247. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  248. * CFrame.Angles(math.rad(-5), 0, math.rad(5)), speed)
  249. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  250. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  251. elseif action == "CoufCouf" then
  252. local speed = 1
  253. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  254. math.rad(math.random(-360, 360)),
  255. math.rad(math.random(-360, 360))), speed)
  256. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  257. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  258. math.rad(math.random(-360, 360)),
  259. math.rad(math.random(-360, 360))), speed)
  260. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  261. math.rad(math.random(-360, 360)),
  262. math.rad(math.random(-360, 360))), speed)
  263. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  264. math.rad(math.random(-360, 360)),
  265. math.rad(math.random(-360, 360))), speed)
  266. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  267. math.rad(math.random(-360, 360)),
  268. math.rad(math.random(-360, 360))), speed)
  269. elseif action == "Sleep" then
  270. local speed = 1
  271. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(10), 0), speed)
  272. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, -0.5, 1)
  273. * CFrame.Angles(math.rad(90), 0, 0), speed)
  274. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(60)), speed)
  275. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(-45)), speed)
  276. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
  277. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(0, 0, math.rad(-40)), speed)
  278. elseif action == "WakeUp" then
  279. local speed = 0.3
  280. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-10), 0, 0), speed)
  281. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
  282. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(0, 0, math.rad(-20)), speed)
  283. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(0, 0, math.rad(20)), speed)
  284. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  285. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
  286. elseif action == "Whehw" then
  287. local speed = 1
  288. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  289. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 0, 0.5), speed)
  290. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  291. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  292. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  293. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.rad(90), 0, math.rad(-20)), speed)
  294. elseif action == "Julioliolio" then
  295. local speed = 1
  296. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  297. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  298. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  299. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  300. RH.C0 = RH.C0:lerp(rhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  301. LH.C0 = LH.C0:lerp(lhc0 * CFrame.Angles(math.random(-360, 360),math.random(-360, 360), math.random(-360, 360)), speed)
  302. elseif action == "ICan" then
  303. local speed = 1
  304. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  305. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  306. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  307. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  308. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  309. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  310. * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
  311. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  312. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  313. elseif action == "ICan2" then
  314. local speed = 0.4
  315. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  316. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  317. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  318. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  319. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  320. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  321. * CFrame.Angles(math.rad(90), 0, math.rad(-5)), speed)
  322. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  323. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  324. elseif action == "ICant" then
  325. local speed = 0.4
  326. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, math.rad(20), 0), speed)
  327. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(-20), 0)
  328. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  329. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  330. * CFrame.Angles(math.rad(-5), 0, 0), speed)
  331. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  332. * CFrame.Angles(math.rad(90), 0, math.rad(-70)), speed)
  333. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  334. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  335. elseif action == "BabyJeans" then
  336. NK.C0 = nkc0
  337. TS.C0 = tsc0 * CFrame.new(0, 8, 0)
  338. LS.C0 = lsc0
  339. RS.C0 = rsc0
  340. LH.C0 = lhc0
  341. RH.C0 = rhc0
  342. elseif action == "YouAndYour" then
  343. local speed = 1
  344. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(0, -math.rad(20), 0), speed)
  345. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, math.rad(20), 0)
  346. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  347. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0)
  348. * CFrame.Angles(math.rad(90), 0, math.rad(20)), speed)
  349. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0, math.sin(t/5)/10/2, 0), speed)
  350. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  351. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  352. elseif action == "Painis" then
  353. local speed = 0.4
  354. NK.C0 = NK.C0:lerp(nkc0 * CFrame.Angles(math.rad(-20), 0, 0), speed)
  355. TS.C0 = TS.C0:lerp(tsc0 * CFrame.Angles(0, 0, 0)
  356. * CFrame.new(0, -math.cos(t/5)/10/2, 0), speed)
  357. RS.C0 = RS.C0:lerp(rsc0 * CFrame.new(-0.5, -0.1, 0)
  358. * CFrame.Angles(math.rad(10), 0, math.rad(-45)), speed)
  359. LS.C0 = LS.C0:lerp(lsc0 * CFrame.new(0.5, -0.1, 0)
  360. * CFrame.Angles(math.rad(10), 0, math.rad(45)), speed)
  361. RH.C0 = RH.C0:lerp(rhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  362. LH.C0 = LH.C0:lerp(lhc0 * CFrame.new(0, math.cos(t/5)/10/2, 0), speed)
  363. elseif action == "Impoopments" then
  364. local speed = 1
  365. NK.C0 = NK.C0:lerp(nkc0, speed)
  366. TS.C0 = TS.C0:lerp(tsc0, speed)
  367. RS.C0 = RS.C0:lerp(rsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  368. math.rad(math.random(-360, 360)),
  369. math.rad(math.random(-360, 360))), speed)
  370. LS.C0 = LS.C0:lerp(lsc0 * CFrame.Angles(math.rad(math.random(-360, 360)),
  371. math.rad(math.random(-360, 360)),
  372. math.rad(math.random(-360, 360))), speed)
  373. RH.C0 = RH.C0:lerp(rhc0, speed)
  374. LH.C0 = LH.C0:lerp(lhc0, speed)
  375. elseif action == "Normal" then
  376. local speed = 1
  377. NK.C0 = nkc0
  378. TS.C0 = tsc0
  379. LS.C0 = lsc0
  380. RS.C0 = rsc0
  381. LH.C0 = lhc0
  382. RH.C0 = rhc0
  383. elseif action == "Jooj" then
  384. NK.C0 = nkc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  385. TS.C0 = tsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  386. LS.C0 = lsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  387. LH.C0 = lhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  388. RS.C0 = rsc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  389. RH.C0 = rhc0 * CFrame.new(math.random(-10, 10)/10, math.random(-10, 10)/10, math.random(-10, 10)/10)
  390. elseif action == "Upsidedown" then
  391. local speed = 1
  392. NK.C0 = nkc0
  393. TS.C0 = tsc0 * CFrame.Angles(0, 0, math.rad(180))
  394. LS.C0 = lsc0
  395. RS.C0 = rsc0
  396. LH.C0 = lhc0
  397. RH.C0 = rhc0
  398. elseif action == "CAAC" then
  399. local speed = 0.1
  400. NK.C0 = nkc0
  401. TS.C0 = TS.C0:lerp(tsc0 * CFrame.new(0, 4, 0), speed)
  402. LS.C0 = lsc0
  403. RS.C0 = rsc0
  404. LH.C0 = lhc0
  405. RH.C0 = rhc0
  406. end
  407. end)
  408.  
  409.  
  410. action = "IGotAGun"
  411. wait(0.5)
  412. action = "IGotAGun2"
  413. wait(2.9)
  414. action = "CoufCouf"
  415. local part = Instance.new("Part", char)
  416. part.Anchored = true
  417. part.Material = "Neon"
  418. part.BrickColor = BrickColor.new("New Yeller")
  419. part.CanCollide = false
  420. part.Size = Vector3.new(0.1, 0.1, 10000)
  421. for i = 1, 16 do
  422.  
  423.  
  424. part.CFrame = CFrame.new(char.HumanoidRootPart.Position, Vector3.new(math.random(-100, 100), math.random(-100, 100),math.random(-100, 100)))
  425. wait(0.5/16)
  426.  
  427. end
  428. part:Destroy()
  429. gun:Destroy()
  430. local bed = Instance.new("Part", char)
  431. bed.Anchored = false
  432. bed.CanCollide = false
  433. bed.Size = Vector3.new(4, 8, 2)
  434. bed:BreakJoints()
  435. local bedmesh = Instance.new("SpecialMesh", bed)
  436. bedmesh.Scale = Vector3.new(0.4, 0.5, 0.4)
  437. bedmesh.MeshId = "rbxassetid://473508427"
  438. bedmesh.TextureId = "rbxassetid://473508936"
  439. local bedweld = Instance.new("Weld", bed)
  440. bedweld.Part0 = char.HumanoidRootPart
  441. bedweld.Part1 = bed
  442. bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
  443. * CFrame.Angles(math.rad(-90), 0, 0)
  444. action = "Sleep"
  445. wait(0.25)
  446. action = "WakeUp"
  447. wait(0.5)
  448. action = "Whehw"
  449. wait(0.7)
  450. action = "Julioliolio"
  451. for i = 1, 16 do
  452. bedweld.C0 = CFrame.new(0, -1.35, 1) * CFrame.Angles(0, math.rad(-180), 0)
  453. * CFrame.Angles(math.rad(-90) + math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
  454. wait(1/16)
  455. end
  456. bed:Destroy()
  457. action = "ICan"
  458. wait(0.2)
  459. action = "ICant"
  460. wait(0.25)
  461. action = "ICan2"
  462. wait(0.2)
  463. action = "ICant"
  464. wait(0.35)
  465. action = "BabyJeans"
  466. local baby = Instance.new("Part", char)
  467. baby.Size = Vector3.new(2, 2, 1)
  468. baby.Anchored = false
  469. baby.CanCollide = false
  470. baby:BreakJoints()
  471.  
  472. local baby2 = Instance.new("SpecialMesh", baby)
  473. baby2.MeshId = "rbxassetid://430300723"
  474. baby2.Scale = Vector3.new(5, 5, 5)
  475. baby2.TextureId = "rbxassetid://430300725"
  476.  
  477. local babyweld = Instance.new("Weld", baby)
  478. babyweld.Part0 = char.Torso
  479. babyweld.Part1 = baby
  480. babyweld.C0 = CFrame.new(0, -1, 0)
  481. * CFrame.Angles(0, math.rad(180), 0)
  482. wait(0.5)
  483. baby2.TextureId = "rbxassetid://140688857"
  484. wait(1.1)
  485. baby:Destroy()
  486. action = "YouAndYour"
  487. wait(0.5)
  488. action = "Painis"
  489. wait(0.4)
  490. action = "Impoopments"
  491. wait(1)
  492.  
  493. local pp = Instance.new("Part", char)
  494. pp.Size = Vector3.new(1, 1, 1)
  495. pp.Anchored = true
  496. pp.CanCollide = false
  497. pp.BrickColor = char.Torso.BrickColor
  498. pp:BreakJoints()
  499. pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
  500.  
  501. for i = 1, 20 do
  502. pp.Size = pp.Size + Vector3.new(0, 0, 2)
  503. pp.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, -i)
  504. wait(0.5/20)
  505. end
  506. pp:Destroy()
  507. action = "Jooj"
  508. wait(1.7)
  509. action = "Normal"
  510. wait(0.5)
  511. action = "Upsidedown"
  512. wait(0.5)
  513. action = "Normal"
  514. TS.C0 = tsc0 * CFrame.new(0, 10, 0)
  515. local caac = Instance.new("Part", char)
  516. caac.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0, -1, 0)
  517. caac.Anchored = true
  518. caac.CanCollide = true
  519. caac.Size = Vector3.new(8, 4, 1)
  520. caac:BreakJoints()
  521. local caactext = Instance.new("SurfaceGui", caac)
  522. caactext.Adornee = caac
  523. local caactext2 = Instance.new("TextLabel", caactext)
  524. caactext2.Size = UDim2.new(1, 0, 1, 0)
  525. caactext2.TextScaled = true
  526. caactext2.Text = "CAAC"
  527. caactext2.Font = "Legacy"
  528. action = "CAAC"
  529. wait(1.7)
  530. coroutine.resume(coroutine.create(function()
  531. for i = 1, 100 do
  532. if char.Head ~= nil then
  533. char.Head.Mesh.Scale = char.Head.Mesh.Scale + Vector3.new(1, 1, 1)
  534. end
  535. wait(0.5/100)
  536. end
  537. end))
  538. wait(1)
  539. caac.Anchored = false
  540. char.Head:Destroy()
  541. local sound = Instance.new("Sound", char.Torso)
  542. sound.SoundId = "rbxassetid://440431180"
  543. sound.Volume = 1
  544. sound:Play()
  545.  
  546. local explosion = Instance.new("Explosion", char)
  547. explosion.BlastRadius = 1
  548. explosion.BlastPressure = 9000
  549. explosion.Position = char.Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement