foxywolf233

Infectious Smile Script

Dec 16th, 2021
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. local m = game.Players.LocalPlayer:GetMouse()
  2. m.KeyDown:connect(function(k)
  3. if k:lower() == "z" then --You change this to whatever you want
  4. local c = game.Players.LocalPlayer.Character
  5. if c then
  6. local h = c:findFirstChild("Humanoid")
  7. if h then h.Sit = not h.Sit
  8. end
  9. end
  10. end
  11. end)
  12. local function chat(message)
  13. game.StarterGui:SetCore("ChatMakeSystemMessage", {Text = message, Colour = Color3.fromRGB(255,255,255), Font = Enum.Font.ArialBold})
  14. end
  15.  
  16.  
  17.  
  18.  
  19. -- Instances:
  20.  
  21. local ScreenGui = Instance.new("ScreenGui")
  22. local Frame = Instance.new("Frame")
  23. local UICorner = Instance.new("UICorner")
  24. local TextLabel = Instance.new("TextLabel")
  25. local UICorner_2 = Instance.new("UICorner")
  26. local ImageButton = Instance.new("ImageButton")
  27. local UICorner_3 = Instance.new("UICorner")
  28. local TextLabel_2 = Instance.new("TextLabel")
  29. local ImageButton_2 = Instance.new("ImageButton")
  30. local UICorner_4 = Instance.new("UICorner")
  31. local TextLabel_3 = Instance.new("TextLabel")
  32. local ImageButton_3 = Instance.new("ImageButton")
  33. local UICorner_5 = Instance.new("UICorner")
  34. local TextLabel_4 = Instance.new("TextLabel")
  35. local ImageButton_4 = Instance.new("ImageButton")
  36. local UICorner_6 = Instance.new("UICorner")
  37. local TextLabel_5 = Instance.new("TextLabel")
  38. local ImageButton_5 = Instance.new("ImageButton")
  39. local UICorner_7 = Instance.new("UICorner")
  40. local TextLabel_6 = Instance.new("TextLabel")
  41. local TextButton = Instance.new("TextButton")
  42. local UICorner_8 = Instance.new("UICorner")
  43.  
  44. --Properties:
  45.  
  46. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  47. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  48. ScreenGui.ResetOnSpawn = false
  49.  
  50. Frame.Parent = ScreenGui
  51. Frame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  52. Frame.Position = UDim2.new(0.634920597, 0, 0.0169109348, 0)
  53. Frame.Size = UDim2.new(0, 403, 0, 455)
  54. Frame.Active = true
  55. Frame.Draggable = true
  56.  
  57. UICorner.Parent = Frame
  58.  
  59. TextLabel.Parent = Frame
  60. TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  61. TextLabel.Size = UDim2.new(0, 403, 0, 50)
  62. TextLabel.Font = Enum.Font.SourceSans
  63. TextLabel.Text = "Infectious Smile Script"
  64. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  65. TextLabel.TextSize = 28.000
  66.  
  67. UICorner_2.Parent = TextLabel
  68.  
  69. ImageButton.Parent = Frame
  70. ImageButton.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  71. ImageButton.Position = UDim2.new(0.0397022329, 0, 0.136263743, 0)
  72. ImageButton.Size = UDim2.new(0, 101, 0, 100)
  73. ImageButton.Image = "http://www.roblox.com/asset/?id=2497467098"
  74.  
  75. UICorner_3.Parent = ImageButton
  76.  
  77. TextLabel_2.Parent = Frame
  78. TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  79. TextLabel_2.BackgroundTransparency = 1.000
  80. TextLabel_2.Position = UDim2.new(0.0397022329, 0, 0.316483527, 0)
  81. TextLabel_2.Size = UDim2.new(0, 101, 0, 18)
  82. TextLabel_2.Font = Enum.Font.SourceSans
  83. TextLabel_2.Text = "House"
  84. TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  85. TextLabel_2.TextSize = 28.000
  86. TextLabel_2.TextWrapped = true
  87.  
  88. ImageButton_2.Parent = Frame
  89. ImageButton_2.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  90. ImageButton_2.Position = UDim2.new(0.374689817, 0, 0.136263743, 0)
  91. ImageButton_2.Size = UDim2.new(0, 101, 0, 100)
  92. ImageButton_2.Image = "http://www.roblox.com/asset/?id=2497467098"
  93.  
  94. UICorner_4.Parent = ImageButton_2
  95.  
  96. TextLabel_3.Parent = Frame
  97. TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. TextLabel_3.BackgroundTransparency = 1.000
  99. TextLabel_3.Position = UDim2.new(0.374689817, 0, 0.316483527, 0)
  100. TextLabel_3.Size = UDim2.new(0, 101, 0, 8)
  101. TextLabel_3.Font = Enum.Font.SourceSans
  102. TextLabel_3.Text = "Spawn"
  103. TextLabel_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  104. TextLabel_3.TextSize = 28.000
  105. TextLabel_3.TextWrapped = true
  106.  
  107. ImageButton_3.Parent = Frame
  108. ImageButton_3.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  109. ImageButton_3.Position = UDim2.new(0.707195997, 0, 0.136263743, 0)
  110. ImageButton_3.Size = UDim2.new(0, 101, 0, 100)
  111. ImageButton_3.Image = "http://www.roblox.com/asset/?id=2497467098"
  112.  
  113. UICorner_5.Parent = ImageButton_3
  114.  
  115. TextLabel_4.Parent = Frame
  116. TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  117. TextLabel_4.BackgroundTransparency = 1.000
  118. TextLabel_4.Position = UDim2.new(0.707195997, 0, 0.327472538, 0)
  119. TextLabel_4.Size = UDim2.new(0, 101, 0, 8)
  120. TextLabel_4.Font = Enum.Font.SourceSans
  121. TextLabel_4.Text = "Infect"
  122. TextLabel_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  123. TextLabel_4.TextSize = 28.000
  124. TextLabel_4.TextWrapped = true
  125.  
  126. ImageButton_4.Parent = Frame
  127. ImageButton_4.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  128. ImageButton_4.Position = UDim2.new(0.0397022329, 0, 0.408791244, 0)
  129. ImageButton_4.Size = UDim2.new(0, 101, 0, 100)
  130. ImageButton_4.Image = "http://www.roblox.com/asset/?id=2497467098"
  131.  
  132. UICorner_6.Parent = ImageButton_4
  133.  
  134. TextLabel_5.Parent = Frame
  135. TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. TextLabel_5.BackgroundTransparency = 1.000
  137. TextLabel_5.Position = UDim2.new(0.0397022329, 0, 0.600000024, 0)
  138. TextLabel_5.Size = UDim2.new(0, 101, 0, 7)
  139. TextLabel_5.Font = Enum.Font.SourceSans
  140. TextLabel_5.Text = "Die"
  141. TextLabel_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  142. TextLabel_5.TextSize = 28.000
  143. TextLabel_5.TextWrapped = true
  144.  
  145. ImageButton_5.Parent = Frame
  146. ImageButton_5.BackgroundColor3 = Color3.fromRGB(80, 80, 80)
  147. ImageButton_5.Position = UDim2.new(0.374689817, 0, 0.408791244, 0)
  148. ImageButton_5.Size = UDim2.new(0, 101, 0, 100)
  149. ImageButton_5.Image = "http://www.roblox.com/asset/?id=2497467098"
  150.  
  151. UICorner_7.Parent = ImageButton_5
  152.  
  153. TextLabel_6.Parent = Frame
  154. TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  155. TextLabel_6.BackgroundTransparency = 1.000
  156. TextLabel_6.Position = UDim2.new(0.374689817, 0, 0.600000024, 0)
  157. TextLabel_6.Size = UDim2.new(0, 101, 0, 7)
  158. TextLabel_6.Font = Enum.Font.SourceSans
  159. TextLabel_6.Text = "Office"
  160. TextLabel_6.TextColor3 = Color3.fromRGB(0, 0, 0)
  161. TextLabel_6.TextSize = 28.000
  162. TextLabel_6.TextWrapped = true
  163.  
  164. TextButton.Parent = Frame
  165. TextButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  166. TextButton.Position = UDim2.new(0.863523602, 0, 0, 0)
  167. TextButton.Size = UDim2.new(0, 55, 0, 50)
  168. TextButton.Font = Enum.Font.SourceSansBold
  169. TextButton.Text = "X"
  170. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  171. TextButton.TextScaled = true
  172. TextButton.TextSize = 14.000
  173. TextButton.TextWrapped = true
  174.  
  175. UICorner_8.Parent = TextButton
  176.  
  177. -- Scripts:
  178.  
  179. local function AYCHBXV_fake_script() -- ImageButton.LocalScript
  180. local script = Instance.new('LocalScript', ImageButton)
  181.  
  182. script.Parent.MouseButton1Click:Connect(function()
  183. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-192, -48, -52)
  184. end)
  185. end
  186. coroutine.wrap(AYCHBXV_fake_script)()
  187. local function BTWL_fake_script() -- ImageButton_2.LocalScript
  188. local script = Instance.new('LocalScript', ImageButton_2)
  189.  
  190. script.Parent.MouseButton1Click:Connect(function()
  191. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-7, 3, -3)
  192. end)
  193. end
  194. coroutine.wrap(BTWL_fake_script)()
  195. local function WFTMN_fake_script() -- ImageButton_3.LocalScript
  196. local script = Instance.new('LocalScript', ImageButton_3)
  197.  
  198. script.Parent.MouseButton1Click:Connect(function()
  199. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-40, 3, -34)
  200. end)
  201. end
  202. coroutine.wrap(WFTMN_fake_script)()
  203. local function NCLL_fake_script() -- ImageButton_4.LocalScript
  204. local script = Instance.new('LocalScript', ImageButton_4)
  205.  
  206. script.Parent.MouseButton1Click:Connect(function()
  207. game.Players.LocalPlayer.Character.Head:Destroy()
  208.  
  209. end)
  210. end
  211. coroutine.wrap(NCLL_fake_script)()
  212. local function XNOM_fake_script() -- ImageButton_5.LocalScript
  213. local script = Instance.new('LocalScript', ImageButton_5)
  214.  
  215. script.Parent.MouseButton1Click:Connect(function()
  216. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-35, 3, 27)
  217. end)
  218. end
  219. coroutine.wrap(XNOM_fake_script)()
  220. local function JTRP_fake_script() -- TextButton.LocalScript
  221. local script = Instance.new('LocalScript', TextButton)
  222.  
  223. script.Parent.MouseButton1Click:Connect(function()
  224. script.Parent.Parent.Visible = false
  225. end)
  226.  
  227. end
  228. coroutine.wrap(JTRP_fake_script)()
  229.  
Add Comment
Please, Sign In to add comment