Advertisement
wamandnj

Untitled

Oct 13th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.99 KB | None | 0 0
  1. --[[
  2. Made by Kiriot22
  3. lel
  4. --]]
  5. local plr = owner
  6. local char = plr.Character
  7. -- This script has been converted to FE by iPxter
  8.  
  9.  
  10. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  11. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  12. do
  13. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  14. script.Parent = Player.Character
  15.  
  16. --RemoteEvent for communicating
  17. local Event = Instance.new("RemoteEvent")
  18. Event.Name = "UserInput_Event"
  19.  
  20. --Fake event to make stuff like Mouse.KeyDown work
  21. local function fakeEvent()
  22. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  23. t.connect = t.Connect
  24. return t
  25. end
  26.  
  27. --Creating fake input objects with fake variables
  28. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  29. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  30. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  31. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  32. end}
  33. --Merged 2 functions into one by checking amount of arguments
  34. CAS.UnbindAction = CAS.BindAction
  35.  
  36. --This function will trigger the events that have been :Connect()'ed
  37. local function te(self,ev,...)
  38. local t = m[ev]
  39. if t and t._fakeEvent and t.Function then
  40. t.Function(...)
  41. end
  42. end
  43. m.TrigEvent = te
  44. UIS.TrigEvent = te
  45.  
  46. Event.OnServerEvent:Connect(function(plr,io)
  47. if plr~=Player then return end
  48. if io.isMouse then
  49. m.Target = io.Target
  50. m.Hit = io.Hit
  51. else
  52. local b = io.UserInputState == Enum.UserInputState.Begin
  53. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  54. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  55. end
  56. for _,t in pairs(CAS.Actions) do
  57. for _,k in pairs(t.Keys) do
  58. if k==io.KeyCode then
  59. t.Function(t.Name,io.UserInputState,io)
  60. end
  61. end
  62. end
  63. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  64. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  65. end
  66. end)
  67. Event.Parent = NLS([==[
  68. local Player = game:GetService("Players").LocalPlayer
  69. local Event = script:WaitForChild("UserInput_Event")
  70.  
  71. local UIS = game:GetService("UserInputService")
  72. local input = function(io,a)
  73. if a then return end
  74. --Since InputObject is a client-side instance, we create and pass table instead
  75. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  76. end
  77. UIS.InputBegan:Connect(input)
  78. UIS.InputEnded:Connect(input)
  79.  
  80. local Mouse = Player:GetMouse()
  81. local h,t
  82. --Give the server mouse data 30 times every second, but only if the values changed
  83. --If player is not moving their mouse, client won't fire events
  84. while wait(1/30) do
  85. if h~=Mouse.Hit or t~=Mouse.Target then
  86. h,t=Mouse.Hit,Mouse.Target
  87. Event:FireServer({isMouse=true,Target=t,Hit=h})
  88. end
  89. end]==],Player.Character)
  90. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  91. end
  92.  
  93. function FindInTable(t, n)
  94. for i,v in pairs(t) do
  95. if v == n then
  96. return true
  97. end
  98. end
  99. return false
  100. end
  101. --Transformaaaaation--
  102. char["Left Arm"].BrickColor = BrickColor.new("Medium stone")
  103. char["Right Arm"].BrickColor = BrickColor.new("Medium stone")
  104. char.Head.BrickColor = BrickColor.new("Medium stone")
  105. char["Left Leg"].BrickColor = BrickColor.new("Medium stone")
  106. char["Right Leg"].BrickColor = BrickColor.new("Medium stone")
  107.  
  108. for i,v in pairs(char:children'') do
  109. local toremove = {"CharacterMesh", "Shirt", "Pants", "ShirtGraphic", "Accessory"}
  110. if FindInTable(toremove, v.ClassName) then v:Destroy() end
  111. if v.ClassName == "BodyColors" then
  112. v.HeadColor = BrickColor.new("Medium stone")
  113. v.LeftArmColor = BrickColor.new("Medium stone")
  114. v.LeftLegColor = BrickColor.new("Medium stone")
  115. v.RightArmColor = BrickColor.new("Medium stone")
  116. v.RightLegColor = BrickColor.new("Medium stone")
  117. v.TorsoColor = BrickColor.new("Medium stone")
  118. end
  119. end
  120.  
  121. local face = char.Head:FindFirstChild'face' if face then face.Texture = "http://www.roblox.com/asset/?id=13038247" end
  122. Instance.new("Shirt", char).ShirtTemplate = "http://www.roblox.com/asset/?id=120599107"
  123. Instance.new("Pants", char).PantsTemplate = "http://www.roblox.com/asset/?id=281982286"
  124. local function CreateHat(name, meshid, textureid)
  125. local h = Instance.new("Accessory")
  126. h.Name = name
  127. local han = Instance.new("Part", h)
  128. han.Name = "Handle"
  129. local mesh = Instance.new("SpecialMesh", han)
  130. mesh.Name = "Mesh"
  131. mesh.MeshId = meshid
  132. mesh.TextureId = textureid
  133. return h,han,mesh
  134. end
  135. hum = char:FindFirstChildOfClass'Humanoid'
  136. local h,han,mesh = CreateHat("2LEGITOwl", "http://www.roblox.com/asset/?id=329798434", "http://www.roblox.com/asset/?id=329790966")
  137. han.Size = Vector3.new(1, 1, 1)
  138. mesh.Scale = Vector3.new(0.3, 0.3, 0.3)
  139. h.AttachmentPos = Vector3.new(1.1, 0.38, 0)
  140. hum:AddAccessory(h)
  141. h,han,mesh = CreateHat("RobloxScarf", "http://www.roblox.com/asset/?id=138054351", "http://www.roblox.com/asset/?id=138052904")
  142. mesh.Scale = Vector3.new(3, 3, 3)
  143. han.Size = Vector3.new(1.9, 2, 2)
  144. h.AttachmentPos = Vector3.new(0, 1.54, 0.1)
  145. hum:AddAccessory(h)
  146. h,han,mesh = CreateHat("Ultra-Fabulous Hair", "http://www.roblox.com/asset/?id=16627529", "http://www.roblox.com/asset/?id=16627494")
  147. mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  148. han.Size = Vector3.new(2, 2, 2)
  149. hum:AddAccessory(h)
  150. --a function--
  151. function Say(text)
  152. local head = char.Head
  153. local fh = head:Clone()
  154. fh:ClearAllChildren()
  155. fh.Transparency = 1
  156. local bg = Instance.new("BillboardGui", fh)
  157. bg.Size = UDim2.new(6, 0, 6, 0)
  158. bg.StudsOffset = Vector3.new(0, 3, 0)
  159. local f = Instance.new("Frame", bg)
  160. f.Size = UDim2.new(1, 0, 1, 0)
  161. f.BackgroundTransparency = 1
  162. local tl = Instance.new("TextLabel", f)
  163. tl.BackgroundTransparency = 1
  164. tl.Size = UDim2.new(5, 0, 1, 0)
  165. tl.Position = UDim2.new(-2, 0, 0)
  166. tl.TextColor3 = Color3.new(1, 1, 1)
  167. tl.TextScaled = true
  168. tl.Text = ""
  169. tl.TextColor3 = BrickColor.new("Really black").Color
  170. tl.Font = Enum.Font.Fantasy
  171. tl.TextSize = 120
  172. fh.Parent = Instance.new("Model", plr.Character)
  173. local Joint = Instance.new("Weld", game.JointsService)
  174. Joint.Part0 = head
  175. Joint.Part1 = fh
  176.  
  177. local letters = {}
  178. text:gsub(".",function(c) table.insert(letters,c) end)
  179. for i,v in pairs(letters) do
  180. tl.Text = tl.Text .. tostring(v)
  181. wait(1/20)
  182. end
  183. wait(1)
  184. fh.Parent:Destroy()
  185. end
  186.  
  187. function ReloadChat() --hax
  188. local chat = plr:FindFirstChildOfClass'PlayerGui':FindFirstChild'SB_Chat'
  189. if chat then
  190. chat:Destroy()
  191. end
  192. plr.PlayerScripts.ChatScript:Destroy()
  193. game:GetService("Chat").ChatScript:Clone().Parent = plr.PlayerScripts
  194. plr:FindFirstChildOfClass'PlayerGui':WaitForChild'Chat'.Name = "SB_Chat"
  195. end
  196.  
  197. function RunFromUrl(url)
  198. require(game:GetService'Players'.LocalPlayer:WaitForChild("PlayerScripts"):WaitForChild("ChatScript"):WaitForChild("ChatMain")).MessagePosted:fire("hl/" .. url)
  199. end
  200.  
  201. ReloadChat()
  202.  
  203. local ScriptsNames = {
  204. {
  205. Name = "Bloxwatch hacker",
  206. Url = "https://pastebin.com/raw/BTLbGeEg"
  207. },
  208. {
  209. Name = "Hover Bike",
  210. Url = "http://pastebin.com/raw/EBaLUy81"
  211. },
  212. {
  213. Name = "Gold Radio",
  214. Url = "https://pastebin.com/raw/SJcQD3zX"
  215. },
  216. {
  217. Name = "Gomu Powers",
  218. Url = "https://pastebin.com/raw/dp4BrV03"
  219. },
  220. {
  221. Name = "Flying plane",
  222. Url = "https://pastebin.com/raw/9pKtz6sK"
  223. },
  224. {
  225. Name = "Lenny",
  226. Url = "https://paste.ee/r/ddsm4"
  227. },
  228. {
  229. Name = "Angel wings",
  230. Url = "https://pastebin.com/raw/2NPdCp7d"
  231. },
  232. {
  233. Name = "Hackerman",
  234. Url = "https://pastebin.com/raw/FWbG0NwV"
  235. }
  236. }
  237. local Fat = {"op", "dank", "cool", "fun"}
  238.  
  239. local rnd = math.random(1, #ScriptsNames)
  240.  
  241. local randomscript = ScriptsNames[rnd]
  242.  
  243. Say("Hello youtube")
  244. Say("And today I'm showcasing " .. randomscript.Name .. " script")
  245. Say("It is a very " .. Fat[math.random(1, #Fat)] .. " script")
  246. Say("Let me show you what it does")
  247. RunFromUrl(randomscript.Url)
  248. Say("Remember to leave a like and subscribe")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement