RodrihidenX

Troll Morph Gui [Only Works in RoCitizens]

Jan 14th, 2020
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BibTeX 14.09 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local TextLabel = Instance.new("TextLabel")
  7. local TextButton = Instance.new("TextButton")
  8. local TextButton_2 = Instance.new("TextButton")
  9. local TextButton_3 = Instance.new("TextButton")
  10. local TextButton_4 = Instance.new("TextButton")
  11. local TextButton_5 = Instance.new("TextButton")
  12. local TextButton_6 = Instance.new("TextButton")
  13. local TextButton_7 = Instance.new("TextButton")
  14. local TextButton_8 = Instance.new("TextButton")
  15. --Properties:
  16. ScreenGui.Parent = game.CoreGui
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Frame.Parent = ScreenGui
  20. Frame.Active = true
  21. Frame.Draggable = true
  22. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  23. Frame.BackgroundTransparency = 0.30000001192093
  24. Frame.BorderSizePixel = 3
  25. Frame.Position = UDim2.new(0.373831779, 0, 0.392744482, 0)
  26. Frame.Size = UDim2.new(0, 310, 0, 218)
  27.  
  28. TextLabel.Parent = Frame
  29. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  30. TextLabel.BackgroundTransparency = 0.10000000149012
  31. TextLabel.BorderSizePixel = 2
  32. TextLabel.Size = UDim2.new(0, 310, 0, 29)
  33. TextLabel.Font = Enum.Font.SourceSans
  34. TextLabel.Text = "RoCitizens Morphs by ScriptX#3145"
  35. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  36. TextLabel.TextSize = 14
  37.  
  38. TextButton.Parent = Frame
  39. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  40. TextButton.BackgroundTransparency = 0.30000001192093
  41. TextButton.BorderSizePixel = 2
  42. TextButton.Position = UDim2.new(0.0468553118, 0, 0.161507562, 0)
  43. TextButton.Size = UDim2.new(0, 126, 0, 36)
  44. TextButton.Font = Enum.Font.SourceSans
  45. TextButton.Text = "Despactio Spider"
  46. TextButton.TextColor3 = Color3.new(0, 0, 0)
  47. TextButton.TextSize = 14
  48. TextButton.MouseButton1Click:connect(function()
  49.    
  50. local hatid = 3810469355
  51.  
  52. local xsize = 20
  53. local ysize = 20
  54. local zsize = 20
  55.  
  56. local xpos_offset = 0
  57. local ypos_offset = 0
  58. local zpos_offset = 0
  59.  
  60. local lp = game.Players.LocalPlayer
  61.  
  62. lp.Character.Humanoid.HipHeight = 30
  63.  
  64. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  65.  
  66. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  67.  
  68. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  69.  
  70. local tbl_0x03c7098b19029ca6 = {1,1,1}
  71. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 7.99500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  72. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  73. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  74.  
  75. local tbl_main =
  76. {
  77.      game.Workspace[lp.Name],
  78.      "Hat3",
  79.      tbl_0xf29bdcb8592cfac6
  80. }
  81. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  82. lp.CameraMaxZoomDistance = 600
  83. end)
  84.  
  85. TextButton_2.Parent = Frame
  86. TextButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
  87. TextButton_2.BackgroundTransparency = 0.30000001192093
  88. TextButton_2.BorderSizePixel = 2
  89. TextButton_2.Position = UDim2.new(0.527734756, 0, 0.161507562, 0)
  90. TextButton_2.Size = UDim2.new(0, 129, 0, 36)
  91. TextButton_2.Font = Enum.Font.SourceSans
  92. TextButton_2.Text = "LOL Moon"
  93. TextButton_2.TextColor3 = Color3.new(0, 0, 0)
  94. TextButton_2.TextSize = 14
  95. TextButton_2.MouseButton1Click:connect(function()
  96.    
  97. local hatid = 162372650
  98.  
  99. local xsize = 20
  100. local ysize = 20
  101. local zsize = 20
  102.  
  103. local xpos_offset = 0
  104. local ypos_offset = 0
  105. local zpos_offset = 0
  106.  
  107. local lp = game.Players.LocalPlayer
  108.  
  109. lp.Character.Humanoid.HipHeight = 10
  110.  
  111. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  112.  
  113. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  114.  
  115. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  116.  
  117. local tbl_0x03c7098b19029ca6 = {1,1,1}
  118. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 7.99500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  119. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  120. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  121.  
  122. local tbl_main =
  123. {
  124.      game.Workspace[lp.Name],
  125.      "Hat3",
  126.      tbl_0xf29bdcb8592cfac6
  127. }
  128. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  129. lp.CameraMaxZoomDistance = 600
  130. end)
  131.  
  132. TextButton_3.Parent = Frame
  133. TextButton_3.BackgroundColor3 = Color3.new(1, 1, 1)
  134. TextButton_3.BackgroundTransparency = 0.30000001192093
  135. TextButton_3.BorderSizePixel = 2
  136. TextButton_3.Position = UDim2.new(0.0468553118, 0, 0.373278975, 0)
  137. TextButton_3.Size = UDim2.new(0, 126, 0, 34)
  138. TextButton_3.Font = Enum.Font.SourceSans
  139. TextButton_3.Text = "Fairy"
  140. TextButton_3.TextColor3 = Color3.new(0, 0, 0)
  141. TextButton_3.TextSize = 14
  142. TextButton_3.MouseButton1Click:connect(function()
  143.    
  144. local hatid = 150381051
  145.  
  146. local xsize = 100
  147. local ysize = 100
  148. local zsize = 100
  149.  
  150. local xpos_offset = 0
  151. local ypos_offset = 0
  152. local zpos_offset = -5
  153.  
  154. local lp = game.Players.LocalPlayer
  155.  
  156. lp.Character.Humanoid.HipHeight = 40
  157.  
  158. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  159.  
  160. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  161.  
  162. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  163.  
  164. local tbl_0x03c7098b19029ca6 = {1,1,1}
  165. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 4.09500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  166. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  167. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  168.  
  169. local tbl_main =
  170. {
  171.      game.Workspace[lp.Name],
  172.      "Hat3",
  173.      tbl_0xf29bdcb8592cfac6
  174. }
  175. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  176. lp.CameraMaxZoomDistance = 600
  177. end)
  178.  
  179. TextButton_4.Parent = Frame
  180. TextButton_4.BackgroundColor3 = Color3.new(1, 1, 1)
  181. TextButton_4.BackgroundTransparency = 0.30000001192093
  182. TextButton_4.BorderSizePixel = 2
  183. TextButton_4.Position = UDim2.new(0.527734756, 0, 0.373278975, 0)
  184. TextButton_4.Size = UDim2.new(0, 129, 0, 34)
  185. TextButton_4.Font = Enum.Font.SourceSans
  186. TextButton_4.Text = "Wolf"
  187. TextButton_4.TextColor3 = Color3.new(0, 0, 0)
  188. TextButton_4.TextSize = 14
  189. TextButton_4.MouseButton1Click:connect(function()
  190.  
  191. local hatid = 2588167399
  192.  
  193. local xsize = 20
  194. local ysize = 20
  195. local zsize = 20
  196.  
  197. local xpos_offset = -2.6
  198. local ypos_offset = 0
  199. local zpos_offset = 0
  200.  
  201. local lp = game.Players.LocalPlayer
  202.  
  203. lp.Character.Humanoid.HipHeight = 15
  204.  
  205. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  206.  
  207. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  208.  
  209. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  210.  
  211. local tbl_0x03c7098b19029ca6 = {1,1,1}
  212. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 0.19500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  213. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  214. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  215.  
  216. local tbl_main =
  217. {
  218.      game.Workspace[lp.Name],
  219.      "Hat3",
  220.      tbl_0xf29bdcb8592cfac6
  221. }
  222. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  223. lp.CameraMaxZoomDistance = 600
  224. end)
  225.  
  226. TextButton_5.Parent = Frame
  227. TextButton_5.BackgroundColor3 = Color3.new(1, 1, 1)
  228. TextButton_5.BackgroundTransparency = 0.30000001192093
  229. TextButton_5.BorderSizePixel = 2
  230. TextButton_5.Position = UDim2.new(0.527734756, 0, 0.571882546, 0)
  231. TextButton_5.Size = UDim2.new(0, 129, 0, 31)
  232. TextButton_5.Font = Enum.Font.SourceSans
  233. TextButton_5.Text = "Unicorn"
  234. TextButton_5.TextColor3 = Color3.new(0, 0, 0)
  235. TextButton_5.TextSize = 14
  236. TextButton_5.MouseButton1Click:connect(function()
  237.  
  238. local hatid = 2620481131
  239.  
  240. local xsize = 20
  241. local ysize = 20
  242. local zsize = 20
  243.  
  244. local xpos_offset = -2.6
  245. local ypos_offset = 0
  246. local zpos_offset = 0
  247.  
  248. local lp = game.Players.LocalPlayer
  249.  
  250. lp.Character.Humanoid.HipHeight = 14
  251.  
  252. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  253.  
  254. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  255.  
  256. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  257.  
  258. local tbl_0x03c7098b19029ca6 = {1,1,1}
  259. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 0.59500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  260. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  261. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  262.  
  263. local tbl_main =
  264. {
  265.      game.Workspace[lp.Name],
  266.      "Hat3",
  267.      tbl_0xf29bdcb8592cfac6
  268. }
  269. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  270. lp.CameraMaxZoomDistance = 600
  271. end)
  272.  
  273. TextButton_6.Parent = Frame
  274. TextButton_6.BackgroundColor3 = Color3.new(1, 1, 1)
  275. TextButton_6.BackgroundTransparency = 0.30000001192093
  276. TextButton_6.BorderSizePixel = 2
  277. TextButton_6.Position = UDim2.new(0.0468553118, 0, 0.571882546, 0)
  278. TextButton_6.Size = UDim2.new(0, 126, 0, 31)
  279. TextButton_6.Font = Enum.Font.SourceSans
  280. TextButton_6.Text = "Reindeer"
  281. TextButton_6.TextColor3 = Color3.new(0, 0, 0)
  282. TextButton_6.TextSize = 14
  283. TextButton_6.MouseButton1Click:connect(function()
  284. local hatid = 2620418275
  285.  
  286. local xsize = 20
  287. local ysize = 20
  288. local zsize = 20
  289.  
  290. local xpos_offset = -2.6
  291. local ypos_offset = 0
  292. local zpos_offset = 0
  293.  
  294. local lp = game.Players.LocalPlayer
  295.  
  296. lp.Character.Humanoid.HipHeight = 13
  297.  
  298. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  299.  
  300. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  301.  
  302. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  303.  
  304. local tbl_0x03c7098b19029ca6 = {1,1,1}
  305. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 0.79500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  306. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  307. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  308.  
  309. local tbl_main =
  310. {
  311.      game.Workspace[lp.Name],
  312.      "Hat3",
  313.      tbl_0xf29bdcb8592cfac6
  314. }
  315. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  316. lp.CameraMaxZoomDistance = 600
  317. end)
  318.  
  319. TextButton_7.Parent = Frame
  320. TextButton_7.BackgroundColor3 = Color3.new(1, 1, 1)
  321. TextButton_7.BackgroundTransparency = 0.30000001192093
  322. TextButton_7.BorderSizePixel = 2
  323. TextButton_7.Position = UDim2.new(0.0423320159, 0, 0.76294589, 0)
  324. TextButton_7.Size = UDim2.new(0, 127, 0, 35)
  325. TextButton_7.Font = Enum.Font.SourceSans
  326. TextButton_7.Text = "Lion"
  327. TextButton_7.TextColor3 = Color3.new(0, 0, 0)
  328. TextButton_7.TextSize = 14
  329. TextButton_7.MouseButton1Click:connect(function()
  330.  
  331. local hatid = 2620480034
  332.  
  333. local xsize = 20
  334. local ysize = 20
  335. local zsize = 20
  336.  
  337. local xpos_offset = -2.6
  338. local ypos_offset = 0
  339. local zpos_offset = -5
  340.  
  341. local lp = game.Players.LocalPlayer
  342.  
  343. lp.Character.Humanoid.HipHeight = 19
  344.  
  345. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  346.  
  347. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  348.  
  349. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  350.  
  351. local tbl_0x03c7098b19029ca6 = {1,1,1}
  352. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 0.19500417709351, 2.59983342140913, 0, 1., 0.29500417709351}
  353. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  354. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  355.  
  356. local tbl_main =
  357. {
  358.      game.Workspace[lp.Name],
  359.      "Hat3",
  360.      tbl_0xf29bdcb8592cfac6
  361. }
  362. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  363. lp.CameraMaxZoomDistance = 600
  364. end)
  365.  
  366. TextButton_8.Parent = Frame
  367. TextButton_8.BackgroundColor3 = Color3.new(1, 1, 1)
  368. TextButton_8.BackgroundTransparency = 0.30000001192093
  369. TextButton_8.BorderSizePixel = 2
  370. TextButton_8.Position = UDim2.new(0.527734756, 0, 0.76294589, 0)
  371. TextButton_8.Size = UDim2.new(0, 129, 0, 35)
  372. TextButton_8.Font = Enum.Font.SourceSans
  373. TextButton_8.Text = "Giraffe"
  374. TextButton_8.TextColor3 = Color3.new(0, 0, 0)
  375. TextButton_8.TextSize = 14
  376. TextButton_8.MouseButton1Click:connect(function()
  377. local hatid = 430064625
  378.  
  379. local xsize = 10
  380. local ysize = 10
  381. local zsize = 10
  382.  
  383. local xpos_offset = 0
  384. local ypos_offset = -10
  385. local zpos_offset = 10
  386.  
  387. local lp = game.Players.LocalPlayer
  388.  
  389.  
  390. local tbl_main = {game:GetService("Workspace")[lp.Name],hatid,"Hat3"}
  391.  
  392. game:GetService("Workspace").CommunicationRelays.Character.EquipAccessory:InvokeServer(unpack(tbl_main))
  393.  
  394. game:GetService("Workspace")[lp.Name]:WaitForChild("Hat3")
  395.  
  396. local tbl_0x03c7098b19029ca6 = {1,1,1}
  397. local tbl_0xe63d7777d0e415a6 = {xpos_offset,ypos_offset,zpos_offset, 2, 0, 0, 0, 0.99500417709351, 0.09983342140913, 0, -0.09983342140913, 0.99500417709351}
  398. local tbl_0x5d9ceb8185ad8c06 = {xsize,ysize,zsize}
  399. local tbl_0xf29bdcb8592cfac6 = {["Scale"] = tbl_0x5d9ceb8185ad8c06, ["CFrame"] = tbl_0xe63d7777d0e415a6, ["Color"] = tbl_0x03c7098b19029ca6}
  400.  
  401. local tbl_main =
  402. {
  403.      game.Workspace[lp.Name],
  404.      "Hat3",
  405.      tbl_0xf29bdcb8592cfac6
  406. }
  407. game:GetService("Workspace").CommunicationRelays.Character.UpdateAttachment:FireServer(unpack(tbl_main))
  408. lp.CameraMaxZoomDistance = 600
  409.  
  410. end)
  411.  
  412.  
  413. local function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  414.  
  415. spawn(function()
  416.     for i,v in pairs(ScreenGui:GetDescendants()) do
  417.         v.BorderSizePixel = 1
  418.         spawn(function()
  419.            
  420. local counter = 0
  421.  
  422. wait()
  423.  
  424. while wait() do
  425.    
  426.  v.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  427.  
  428.  counter = counter + 0.0126
  429.  
  430. end
  431.         end)
  432.        
  433.         end
  434. end)
Add Comment
Please, Sign In to add comment