Advertisement
cooljeremy1234

CRinated

Sep 11th, 2019
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.05 KB | None | 0 0
  1.  
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. script.Parent = Player.Character
  7.  
  8. --RemoteEvent for communicating
  9. local Event = Instance.new("RemoteEvent")
  10. Event.Name = "UserInput_Event"
  11.  
  12. --Fake event to make stuff like Mouse.KeyDown work
  13. local function fakeEvent()
  14. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  15. t.connect = t.Connect
  16. return t
  17. end
  18.  
  19. --Creating fake input objects with fake variables
  20. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24. end}
  25. --Merged 2 functions into one by checking amount of arguments
  26. CAS.UnbindAction = CAS.BindAction
  27.  
  28. --This function will trigger the events that have been :Connect()'ed
  29. local function te(self,ev,...)
  30. local t = m[ev]
  31. if t and t._fakeEvent and t.Function then
  32. t.Function(...)
  33. end
  34. end
  35. m.TrigEvent = te
  36. UIS.TrigEvent = te
  37.  
  38. Event.OnServerEvent:Connect(function(plr,io)
  39. if plr~=Player then return end
  40. if io.isMouse then
  41. m.Target = io.Target
  42. m.Hit = io.Hit
  43. else
  44. local b = io.UserInputState == Enum.UserInputState.Begin
  45. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  46. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  47. end
  48. for _,t in pairs(CAS.Actions) do
  49. for _,k in pairs(t.Keys) do
  50. if k==io.KeyCode then
  51. t.Function(t.Name,io.UserInputState,io)
  52. end
  53. end
  54. end
  55. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  57. end
  58. end)
  59. Event.Parent = NLS([==[
  60. local Player = game:GetService("Players").LocalPlayer
  61. local Event = script:WaitForChild("UserInput_Event")
  62.  
  63. local UIS = game:GetService("UserInputService")
  64. local input = function(io,a)
  65. if a then return end
  66. --Since InputObject is a client-side instance, we create and pass table instead
  67. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  68. end
  69. UIS.InputBegan:Connect(input)
  70. UIS.InputEnded:Connect(input)
  71.  
  72. local Mouse = Player:GetMouse()
  73. local h,t
  74. --Give the server mouse data 30 times every second, but only if the values changed
  75. --If player is not moving their mouse, client won't fire events
  76. while wait(1/30) do
  77. if h~=Mouse.Hit or t~=Mouse.Target then
  78. h,t=Mouse.Hit,Mouse.Target
  79. Event:FireServer({isMouse=true,Target=t,Hit=h})
  80. end
  81. end]==],Player.Character)
  82. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  83. end
  84.  
  85. local ArtificialHB = Instance.new("BindableEvent", script)
  86. ArtificialHB.Name = "Heartbeat"
  87.  
  88. script:WaitForChild("Heartbeat")
  89.  
  90. local tf = 0
  91. local allowframeloss = false
  92. local tossremainder = false
  93. local lastframe = tick()
  94. local frame = 1/60
  95. ArtificialHB:Fire()
  96.  
  97. game:GetService("RunService").Heartbeat:connect(function(s, p)
  98. tf = tf + s
  99. if tf >= frame then
  100. if allowframeloss then
  101. script.Heartbeat:Fire()
  102. lastframe = tick()
  103. else
  104. for i = 1, math.floor(tf / frame) do
  105. ArtificialHB:Fire()
  106. end
  107. lastframe = tick()
  108. end
  109. if tossremainder then
  110. tf = 0
  111. else
  112. tf = tf - frame * math.floor(tf / frame)
  113. end
  114. end
  115. end)
  116.  
  117. function swait(num)
  118. if num == 0 or num == nil then
  119. ArtificialHB.Event:wait()
  120. else
  121. for i = 0, num do
  122. ArtificialHB.Event:wait()
  123. end
  124. end
  125. end
  126.  
  127.  
  128. local r = 255
  129. local g = 0
  130. local b = 0
  131. coroutine.resume(coroutine.create(function()
  132. while wait() do
  133. for i = 0, 254/5 do
  134. swait()
  135. g = g + 5
  136. end
  137. for i = 0, 254/5 do
  138. swait()
  139. r = r - 5
  140. end
  141. for i = 0, 254/5 do
  142. swait()
  143. b = b + 5
  144. end
  145. for i = 0, 254/5 do
  146. swait()
  147. g = g - 5
  148. end
  149. for i = 0, 254/5 do
  150. swait()
  151. r = r + 5
  152. end
  153. for i = 0, 254/5 do
  154. swait()
  155. b = b - 5
  156. end
  157. end
  158. end))
  159. local loudnesses={}
  160. script.Parent = owner.Character
  161. local CoAS = {Actions={}}
  162. local Event = Instance.new("RemoteEvent")
  163. Event.Name = "UserInputEvent"
  164. Event.Parent = owner.Character
  165. local Func = Instance.new("RemoteFunction")
  166. Func.Name = "GetClientProperty"
  167. Func.Parent = owner.Character
  168. local fakeEvent = function()
  169. local t = {_fakeEvent=true,Waited={}}
  170. t.Connect = function(self,f)
  171. local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
  172. ft.Disconnect=ft.disconnect
  173.  
  174. ft.Func=function(...)
  175. for id,_ in next, t.Waited do
  176. t.Waited[id] = true
  177. end
  178. return f(...)
  179. end;
  180. self.Function=ft;
  181. return ft;
  182. end
  183. t.connect = t.Connect
  184. t.Wait = function()
  185. local guid = GUID:new(25)
  186. local waitingId = guid:Get()
  187. t.Waited[waitingId]=false
  188. repeat swait() until t.Waited[waitingId]==true
  189. t.Waited[waitingId]=nil;
  190. guid:Trash()
  191. end
  192. t.wait = t.Wait
  193. return t
  194. end
  195. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  196. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  197.  
  198. function CoAS:BindAction(name,fun,touch,...)
  199. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  200. end
  201. function CoAS:UnbindAction(name)
  202. CoAS.Actions[name] = nil
  203. end
  204. local function te(self,ev,...)
  205. local t = self[ev]
  206. if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
  207. t.Function.Func(...)
  208. elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
  209. self[ev].Function=nil
  210. end
  211. end
  212. m.TrigEvent = te
  213. UsIS.TrigEvent = te
  214. Event.OnServerEvent:Connect(function(plr,io)
  215. if plr~=owner then return end
  216. if io.Mouse then
  217. m.Target = io.Target
  218. m.Hit = io.Hit
  219. elseif io.KeyEvent then
  220. print('Key'..io.KeyEvent,io.Key)
  221. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  222. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  223. if io.UserInputState == Enum.UserInputState.Begin then
  224. print'down'
  225. m:TrigEvent("Button1Down")
  226. else
  227. print'up'
  228. m:TrigEvent("Button1Up")
  229. end
  230. end
  231. if(not io.KeyEvent and not io.Mouse)then
  232. for n,t in pairs(CoAS.Actions) do
  233. for _,k in pairs(t.Keys) do
  234. if k==io.KeyCode then
  235. t.Function(t.Name,io.UserInputState,io)
  236. end
  237. end
  238. end
  239. if io.UserInputState == Enum.UserInputState.Begin then
  240. UsIS:TrigEvent("InputBegan",io,false)
  241. else
  242. UsIS:TrigEvent("InputEnded",io,false)
  243. end
  244. end
  245. end)
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252. function Dod()
  253. local Jayer = Instance.new("BillboardGui")
  254. local Karma = Instance.new("TextLabel")
  255. Jayer.Name = "Jayer"
  256. Jayer.Parent = owner.Character.Head
  257. Jayer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  258. Jayer.Active = true
  259. Jayer.AlwaysOnTop = false
  260. Jayer.ExtentsOffset = Vector3.new(0, 5, 0)
  261. Jayer.LightInfluence = 1
  262. Jayer.MaxDistance = 2000
  263. Jayer.Size = UDim2.new(0, 250, 0, 50)
  264. Karma.Name = "Karma"
  265. Karma.Parent = Jayer
  266. Karma.Active = true
  267. Karma.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  268. Karma.BackgroundTransparency = 1
  269. Karma.BorderSizePixel = 10
  270. Karma.Size = UDim2.new(0, 250, 0, 50)
  271. Karma.Font = Enum.Font.Arcade
  272. Karma.Text = "Chill"
  273. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  274. Karma.TextScaled = true
  275. Karma.TextSize = 40
  276. Karma.TextWrapped = true
  277. Jayer.Enabled = true
  278. local booler1 = true
  279. local FONTS = {
  280. Enum.Font.Antique,
  281. Enum.Font.Arcade,
  282. Enum.Font.Arial,
  283. Enum.Font.ArialBold,
  284. Enum.Font.Bodoni,
  285. Enum.Font.Cartoon,
  286. Enum.Font.Code,
  287. Enum.Font.Fantasy,
  288. Enum.Font.Garamond,
  289. Enum.Font.Highway,
  290. Enum.Font.Legacy,
  291. Enum.Font.SciFi,
  292. Enum.Font.SourceSans,
  293. Enum.Font.SourceSansBold,
  294. Enum.Font.SourceSansItalic,
  295. Enum.Font.SourceSansLight,
  296. Enum.Font.SourceSansSemibold
  297. }
  298. spawn(function()
  299. while true do
  300. if booler1 == true then
  301. booler1 = false
  302. for i = 0, 5, 0.1 do
  303. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  304.  
  305.  
  306.  
  307. wait()
  308. Karma.Rotation = i
  309. end
  310.  
  311.  
  312. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  313. for i = 5, -5, -0.1 do
  314. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  315. wait()
  316.  
  317.  
  318.  
  319. Karma.Rotation = i
  320. end
  321.  
  322. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  323. else
  324. for i = -5, 5, 0.1 do
  325. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  326. wait()
  327.  
  328.  
  329.  
  330. Karma.Rotation = i
  331. end
  332.  
  333. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  334. for i = 5, -5, -0.1 do
  335. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  336. wait()
  337.  
  338.  
  339.  
  340. Karma.Rotation = i
  341. end
  342.  
  343.  
  344. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  345.  
  346.  
  347. end
  348. end
  349. end)
  350. end
  351.  
  352. function Drool()
  353. if owner.Character.Head:FindFirstChild('Jayer')
  354. then
  355. owner.Character.Head.Jayer:Destroy()
  356. if workspace:FindFirstChild('donkey') then
  357. workspace.donkey:Destroy()
  358. end
  359. end
  360. end
  361. donkey = Instance.new("Sound", owner.Character)
  362. donkey.Volume = 5
  363. donkey.Looped = true
  364. donkey.Name = "donkey"
  365. function songchange(id)
  366. donkey.SoundId = ("rbxassetid://" .. id)
  367. donkey:Play()
  368. end
  369.  
  370.  
  371.  
  372.  
  373.  
  374. function Goder()
  375. local Jayer = Instance.new("BillboardGui")
  376. local Karma = Instance.new("TextLabel")
  377. Jayer.Name = "Jayer"
  378. Jayer.Parent = owner.Character.Head
  379. Jayer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  380. Jayer.Active = true
  381. Jayer.AlwaysOnTop = false
  382. Jayer.ExtentsOffset = Vector3.new(0, 5, 0)
  383. Jayer.LightInfluence = 1
  384. Jayer.MaxDistance = 2000
  385. Jayer.Size = UDim2.new(0, 250, 0, 50)
  386. Karma.Name = "Karma"
  387. Karma.Parent = Jayer
  388. Karma.Active = true
  389. Karma.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  390. Karma.BackgroundTransparency = 1
  391. Karma.BorderSizePixel = 10
  392. Karma.Size = UDim2.new(0, 250, 0, 50)
  393. Karma.Font = Enum.Font.Arcade
  394. Karma.Text = "My life turns in slow motion"
  395. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  396. Karma.TextScaled = true
  397. Karma.TextSize = 40
  398. Karma.TextWrapped = true
  399. Jayer.Enabled = true
  400. local booler1 = true
  401. local FONTS = {
  402. Enum.Font.Antique,
  403. Enum.Font.Arcade,
  404. Enum.Font.Arial,
  405. Enum.Font.ArialBold,
  406. Enum.Font.Bodoni,
  407. Enum.Font.Cartoon,
  408. Enum.Font.Code,
  409. Enum.Font.Fantasy,
  410. Enum.Font.Garamond,
  411. Enum.Font.Highway,
  412. Enum.Font.Legacy,
  413. Enum.Font.SciFi,
  414. Enum.Font.SourceSans,
  415. Enum.Font.SourceSansBold,
  416. Enum.Font.SourceSansItalic,
  417. Enum.Font.SourceSansLight,
  418. Enum.Font.SourceSansSemibold
  419. }
  420. local lop = 0
  421. spawn(function()
  422. lop = lop + 1
  423. while true do
  424. if booler1 == true then
  425. booler1 = false
  426. for i = 0, 100, 0.05 do
  427. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  428.  
  429. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  430. wait()
  431. Karma.Rotation = i
  432. end
  433. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  434.  
  435. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  436. for i = 100, -100, -0.05 do
  437. wait()
  438. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  439.  
  440. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  441. Karma.Rotation = i
  442. end
  443.  
  444. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  445. else
  446. for i = -100, 100, 0.05 do
  447. wait()
  448. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  449.  
  450. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  451. Karma.Rotation = i
  452. end
  453.  
  454. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  455. for i = 100, -100, -0.05 do
  456. wait()
  457. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  458.  
  459. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  460. Karma.Rotation = i
  461. end
  462. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  463.  
  464. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  465.  
  466. Karma.TextColor3 = Color3.fromRGB(1, 18, 54)
  467. end
  468. owner.Character.Head:Destroy()
  469. end
  470. end)
  471. end
  472.  
  473.  
  474.  
  475.  
  476. function God()
  477. local Jayer = Instance.new("BillboardGui")
  478. local Karma = Instance.new("TextLabel")
  479. Jayer.Name = "Jayer"
  480. Jayer.Parent = owner.Character.Head
  481. Jayer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  482. Jayer.Active = true
  483. Jayer.AlwaysOnTop = false
  484. Jayer.ExtentsOffset = Vector3.new(0, 5, 0)
  485. Jayer.LightInfluence = 1
  486. Jayer.MaxDistance = 2000
  487. Jayer.Size = UDim2.new(0, 250, 0, 50)
  488. Karma.Name = "Karma"
  489. Karma.Parent = Jayer
  490. Karma.Active = true
  491. Karma.BackgroundColor3 = Color3.new(r/255,g/255,b/255)
  492. Karma.BackgroundTransparency = 1
  493. Karma.BorderSizePixel = 10
  494. Karma.Size = UDim2.new(0, 250, 0, 50)
  495. Karma.Font = Enum.Font.Arcade
  496. Karma.Text = "I try to keep my Chill but I have to do this"
  497. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  498. Karma.TextScaled = true
  499. Karma.TextSize = 40
  500. Karma.TextWrapped = true
  501. Jayer.Enabled = true
  502. local booler1 = true
  503. local FONTS = {
  504. Enum.Font.Antique,
  505. Enum.Font.Arcade,
  506. Enum.Font.Arial,
  507. Enum.Font.ArialBold,
  508. Enum.Font.Bodoni,
  509. Enum.Font.Cartoon,
  510. Enum.Font.Code,
  511. Enum.Font.Fantasy,
  512. Enum.Font.Garamond,
  513. Enum.Font.Highway,
  514. Enum.Font.Legacy,
  515. Enum.Font.SciFi,
  516. Enum.Font.SourceSans,
  517. Enum.Font.SourceSansBold,
  518. Enum.Font.SourceSansItalic,
  519. Enum.Font.SourceSansLight,
  520. Enum.Font.SourceSansSemibold
  521. }
  522. local lop = 0
  523. spawn(function()
  524. lop = lop + 1
  525. while true do
  526. if booler1 == true then
  527. booler1 = false
  528. for i = 0, 100, 5 do
  529. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  530.  
  531. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  532. wait()
  533. Karma.Rotation = i
  534. end
  535. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  536.  
  537. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  538. for i = 100, -100, -5 do
  539. wait()
  540. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  541.  
  542. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  543. Karma.Rotation = i
  544. end
  545.  
  546. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  547. else
  548. for i = -100, 100, 5 do
  549. wait()
  550. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  551.  
  552. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  553. Karma.Rotation = i
  554. end
  555.  
  556. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  557. for i = 100, -100, -5 do
  558. wait()
  559. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  560.  
  561. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  562. Karma.Rotation = i
  563. end
  564. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  565.  
  566. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  567.  
  568. Karma.TextColor3 = Color3.new(r/255,g/255,b/255)
  569. end
  570. owner.Character:ClearAllChildren()
  571. end
  572. end)
  573. end
  574.  
  575.  
  576.  
  577. local vt = Vector3.new
  578. local NOKEYS = false
  579. local Color3d = Color3.new(0,0,0)
  580. function UnderLeg(Person, Color3P)
  581. spawn(function()
  582. local blocker1 = Instance.new("Part")
  583. blocker1.Parent = workspace
  584. blocker1.Anchored = true
  585. blocker1.Position = game.Players:FindFirstChild(Person).Character.Torso.Position + vt(0, -3, 0)
  586. blocker1.Size = Vector3.new(8,1,8)
  587. blocker1.Transparency = 0
  588. blocker1.Color = Color3P
  589. blocker1.Material = "Neon"
  590. blocker1.CanCollide = false
  591. blocker1.Color = Color3P
  592. local loopya1 = 0
  593. local mather = math.random(0,90)
  594. local mather2 = math.random(0,90)
  595. local mather3 = math.random(0,90)
  596. repeat
  597. mather2 = math.random(0,90)
  598. mather = math.random(0,90)
  599. mather3 = math.random(0,90)
  600. loopya1 = loopya1 + 1
  601. wait()
  602. blocker1.Color = Color3P
  603. blocker1.Transparency = blocker1.Transparency + 0.06
  604. blocker1.Size = blocker1.Size + Vector3.new(0.1,0.01,0.1)
  605. blocker1.Rotation = blocker1.Rotation + Vector3.new(0,mather3,0)
  606. until loopya1 == 20
  607. blocker1:Destroy()
  608. end)
  609. end
  610. local jugger = false
  611.  
  612. function huher()
  613. while jugger == true do
  614. wait()
  615. Color3d = Color3.new(r/255,g/255,b/255)
  616. end
  617. end
  618. spawn(function()
  619. while wait() do
  620. UnderLeg(owner.Name, Color3d)
  621. end
  622. end)
  623. Mouse.KeyDown:connect(function(KEY)
  624. if KEY == "p" then
  625. God()
  626. jugger = false
  627. Color3d = Color3.Random()
  628. elseif KEY == "f" then
  629. Drool()
  630. jugger = false
  631. elseif KEY == "k" then
  632. Dod()
  633. songchange(3739309600)
  634. jugger = true
  635. huher()
  636.  
  637. elseif KEY == "g" then
  638. Goder()
  639. jugger = false
  640. Color3d = Color3.fromRGB(1, 18, 54)
  641. end
  642. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement