13242

Untitled

Dec 8th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.24 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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7.  
  8.  
  9.  
  10. local player = game:GetService('Players').LocalPlayer
  11. reyna peralta
  12. 2 месяца назад
  13. local player = game:GetService('Players').LocalPlayer
  14. local rightclone = Instance.new('Motor6D')
  15. rightclone.Name = "Right Shoulder"
  16. rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  17. rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  18. local leftclone = Instance.new('Motor6D')
  19. leftclone.Name = "Left Shoulder"
  20. leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  21. leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  22. local leftlegclone = Instance.new('Motor6D')
  23. leftlegclone.Name = "Left Hip"
  24. leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  25. leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  26. local rightlegclone = Instance.new('Motor6D')
  27. rightlegclone.Name = "Right Hip"
  28. rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  29. rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  30. local torsoclone = Instance.new('Motor6D')
  31. torsoclone.Name = "RootJoint"
  32. torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  34. local mouse = player:GetMouse()
  35. local rag1 = false
  36. local rag2 = false
  37. local firsttime = true
  38. local firsttime2 = true
  39. local firsttime3 = true
  40. local firsttime4 = true
  41. local firsttime5 = true
  42. local childlock = true
  43. local math1 = math.random(1,5)
  44. math1 = math1+(math.random(0,9)/10)
  45. local math2 = math.random(1,15)
  46. math2 = math2+(math.random(0,9)/10)
  47. local math3 = math.random(1,10)
  48. math3 = math3+(math.random(0,9)/10)
  49. local math4 = math.random(5,100)
  50. math4 = math4+(math.random(0,9)/10)
  51. local answer = (math4+(math1*math3))/(math1*math2)
  52. answer = math.floor((answer*10)+0.5)
  53. answer = answer/10
  54. print([[To be fair, you have to have a very high IQ to understand Rick and Morty.
  55. The humor is extremely subtle, and without a solid grasp of theoretical physics most of the jokes will go over a typical viewer's head.
  56. There's also Rick's nihilistic outlook, which is deftly woven into his characterisation -
  57. his personal philosophy draws heavily from Narodnaya Volya literature, for instance.
  58. The fans understand this stuff;
  59. they have the intellectual capacity to truly appreciate the depths of these jokes, to realize that they're not just funny- they say something deep about LIFE.
  60. As a consequence people who dislike Rick and Morty truly ARE idiots-
  61. of course they wouldn't appreciate, for instance, the humour in Rick's existencial catchphrase "Wubba Lubba Dub Dub," which itself is a cryptic reference to Turgenev's Russian epic Fathers and Sons.
  62. I'm smirking right now just imagining one of those addlepated simpletons scratching their heads in confusion as Dan Harmon's genius unfolds itself on their television screens.
  63. What fools... how I pity them.
  64. And yes by the way, I DO have a Rick and Morty tattoo.
  65. And no, you cannot see it.
  66. It's for the ladies' eyes only-
  67. And even they have to demonstrate that they're within ]]..answer..[[ IQ points of my own (preferably lower) beforehand.]])
  68. local rekt = {}
  69.  
  70. -- Objects
  71.  
  72. local MainGUI = Instance.new("ScreenGui")
  73. local Customize = Instance.new("TextButton")
  74. local Frame = Instance.new("Frame")
  75. local TextLabel = Instance.new("TextLabel")
  76. local Frame_2 = Instance.new("Frame")
  77. local Frame_3 = Instance.new("Frame")
  78. local ImageLabel = Instance.new("ImageLabel")
  79. local R = Instance.new("TextBox")
  80. local G = Instance.new("TextBox")
  81. local B = Instance.new("TextBox")
  82. local TextLabel_2 = Instance.new("TextLabel")
  83. local TextLabel_3 = Instance.new("TextLabel")
  84. local TextLabel_4 = Instance.new("TextLabel")
  85. local Slider = Instance.new("Frame")
  86. local Slidee = Instance.new("ImageButton")
  87. local ChildLock = Instance.new("Frame")
  88. local TextLabel_5 = Instance.new("TextLabel")
  89. local mathz = Instance.new("TextLabel")
  90. local TextBox = Instance.new("TextBox")
  91. local Black = Instance.new('Frame')
  92. local fps = Instance.new('TextLabel')
  93.  
  94. -- Properties
  95.  
  96. MainGUI.Name = "MainGUI"
  97. MainGUI.ResetOnSpawn = false
  98. pcall(function()
  99. MainGUI.Parent = player.PlayerGui
  100. end)
  101. pcall(function()
  102. MainGUI.Parent = game.CoreGui
  103. game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5)
  104. game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0)
  105. end)
  106.  
  107.  
  108. Customize.Name = "Customize"
  109. Customize.Parent = MainGUI
  110. Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353)
  111. Customize.BorderSizePixel = 0
  112. Customize.Position = UDim2.new(0.15, 0, 0.9, 0)
  113. Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0)
  114. Customize.Font = Enum.Font.SourceSans
  115. Customize.FontSize = Enum.FontSize.Size14
  116. Customize.Text = "Customize V4"
  117. Customize.TextColor3 = Color3.new(1, 1, 1)
  118. Customize.TextScaled = true
  119. Customize.TextSize = 14
  120. Customize.TextWrapped = true
  121.  
  122. Frame.Parent = Customize
  123. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  124. Frame.BorderSizePixel = 0
  125. Frame.Position = UDim2.new(0, 0, 1, 0)
  126. Frame.Size = UDim2.new(1, 0, 6.5, 0)
  127.  
  128. TextLabel.Parent = Frame
  129. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  130. TextLabel.BackgroundTransparency = 1
  131. TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0)
  132. TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0)
  133. TextLabel.Font = Enum.Font.SourceSansLight
  134. TextLabel.FontSize = Enum.FontSize.Size14
  135. TextLabel.Text = "Blood Color: [255, 255, 255]"
  136. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  137. TextLabel.TextScaled = true
  138. TextLabel.TextSize = 14
  139. TextLabel.TextWrapped = true
  140. TextLabel.TextXAlignment = Enum.TextXAlignment.Right
  141.  
  142. Frame_2.Parent = TextLabel
  143. Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0)
  144. Frame_2.BorderSizePixel = 0
  145. Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0)
  146. Frame_2.Size = UDim2.new(1, 0, 1, 0)
  147. Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY
  148.  
  149. Frame_3.Parent = Frame
  150. Frame_3.BackgroundColor3 = Color3.new(1, 1, 1)
  151. Frame_3.BackgroundTransparency = 1
  152. Frame_3.BorderSizePixel = 0
  153. Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0)
  154. Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0)
  155. Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY
  156.  
  157. ImageLabel.Parent = Frame_3
  158. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  159. ImageLabel.BackgroundTransparency = 1
  160. ImageLabel.Size = UDim2.new(1, 0, 1, 0)
  161. ImageLabel.Image = "rbxassetid://328298876"
  162.  
  163. R.Name = "R"
  164. R.Parent = Frame_3
  165. R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  166. R.BorderSizePixel = 0
  167. R.Position = UDim2.new(1.39999998, 0, 0, 0)
  168. R.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  169. R.Font = Enum.Font.SourceSans
  170. R.FontSize = Enum.FontSize.Size14
  171. R.Text = "Input"
  172. R.TextColor3 = Color3.new(1, 1, 1)
  173. R.TextScaled = true
  174. R.TextSize = 14
  175. R.TextWrapped = true
  176. R.TextXAlignment = Enum.TextXAlignment.Left
  177.  
  178. G.Name = "G"
  179. G.Parent = Frame_3
  180. G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  181. G.BorderSizePixel = 0
  182. G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0)
  183. G.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  184. G.Font = Enum.Font.SourceSans
  185. G.FontSize = Enum.FontSize.Size14
  186. G.Text = "Input"
  187. G.TextColor3 = Color3.new(1, 1, 1)
  188. G.TextScaled = true
  189. G.TextSize = 14
  190. G.TextWrapped = true
  191. G.TextXAlignment = Enum.TextXAlignment.Left
  192.  
  193. B.Name = "B"
  194. B.Parent = Frame_3
  195. B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  196. B.BorderSizePixel = 0
  197. B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0)
  198. B.Size = UDim2.new(0.75, 0, 0.300000012, 0)
  199. B.Font = Enum.Font.SourceSans
  200. B.FontSize = Enum.FontSize.Size14
  201. B.Text = "Input"
  202. B.TextColor3 = Color3.new(1, 1, 1)
  203. B.TextScaled = true
  204. B.TextSize = 14
  205. B.TextWrapped = true
  206. B.TextXAlignment = Enum.TextXAlignment.Left
  207.  
  208. TextLabel_2.Parent = Frame_3
  209. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  210. TextLabel_2.BackgroundTransparency = 1
  211. TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0)
  212. TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  213. TextLabel_2.Font = Enum.Font.SourceSansLight
  214. TextLabel_2.FontSize = Enum.FontSize.Size14
  215. TextLabel_2.Text = "R"
  216. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  217. TextLabel_2.TextScaled = true
  218. TextLabel_2.TextSize = 14
  219. TextLabel_2.TextWrapped = true
  220.  
  221. TextLabel_3.Parent = Frame_3
  222. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  223. TextLabel_3.BackgroundTransparency = 1
  224. TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0)
  225. TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  226. TextLabel_3.Font = Enum.Font.SourceSansLight
  227. TextLabel_3.FontSize = Enum.FontSize.Size14
  228. TextLabel_3.Text = "G"
  229. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  230. TextLabel_3.TextScaled = true
  231. TextLabel_3.TextSize = 14
  232. TextLabel_3.TextWrapped = true
  233.  
  234. TextLabel_4.Parent = Frame_3
  235. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  236. TextLabel_4.BackgroundTransparency = 1
  237. TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0)
  238. TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0)
  239. TextLabel_4.Font = Enum.Font.SourceSansLight
  240. TextLabel_4.FontSize = Enum.FontSize.Size14
  241. TextLabel_4.Text = "B"
  242. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  243. TextLabel_4.TextScaled = true
  244. TextLabel_4.TextSize = 14
  245. TextLabel_4.TextWrapped = true
  246.  
  247. Slider.Name = "Slider"
  248. Slider.Parent = Frame
  249. Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  250. Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0)
  251. Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0)
  252.  
  253. Slidee.Name = "Slidee"
  254. Slidee.Parent = Slider
  255. Slidee.AnchorPoint = Vector2.new(0.5, 0.5)
  256. Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177)
  257. Slidee.BorderSizePixel = 0
  258. Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0)
  259. Slidee.ImageTransparency = 1
  260.  
  261. ChildLock.Name = "ChildLock"
  262. ChildLock.Parent = Frame
  263. ChildLock.Active = true
  264. ChildLock.BackgroundColor3 = Color3.new(0, 0, 0)
  265. ChildLock.BackgroundTransparency = 0.60000002384186
  266. ChildLock.BorderSizePixel = 0
  267. ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0)
  268. ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0)
  269. ChildLock.ZIndex = 2
  270.  
  271. TextLabel_5.Parent = ChildLock
  272. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  273. TextLabel_5.BackgroundTransparency = 1
  274. TextLabel_5.BorderSizePixel = 0
  275. TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0)
  276. TextLabel_5.Size = UDim2.new(0.7
Add Comment
Please, Sign In to add comment