Advertisement
ManlyMemeScripter

MoonLotf

Apr 14th, 2018
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local hopperbintwo = Instance.new("HopperBin")
  2. hopperbintwo.BinType = "Hammer"
  3. hopperbintwo.Parent = game.Players.THECREATOR20029.Backpack
  4.  
  5. gui1=Instance.new("BillboardGui")
  6. gui1.Parent= game.Workspace.THECREATOR20029.Head
  7. gui1.Adornee= game.Workspace.THECREATOR20029.Head
  8. gui1.Size=UDim2.new(100,100,100,100)
  9. gui1.StudsOffset=Vector3.new(0,0,0)
  10. gui1.AlwaysOnTop = true
  11. text1=Instance.new("ImageLabel")
  12. text1.Image = "http://www.roblox.com/asset/?id=314412658" --[[Face Image Source (If you wish to change the face to a different decal put it in there]]
  13. text1.Size=UDim2.new(1,0,1,0)
  14. text1.Position=UDim2.new(0,0,0,0)
  15. text1.BackgroundTransparency = 1
  16. text1.Parent=gui1
  17.  
  18. --{{Made by Strazos}}--
  19.  
  20. local p = game.Players.LocalPlayer
  21. local char = p.Character
  22. local larm = char["Left Arm"]
  23. local rarm = char["Right Arm"]
  24. local lleg = char["Left Leg"]
  25. local rleg = char["Right Leg"]
  26. local hed = char.Head
  27. local torso = char.Torso
  28. local hum = char.Humanoid
  29. local weld = Instance.new("Weld",torso)
  30. weld.Part0 = torso
  31.  
  32. larm.Transparency = 1
  33. rarm.Transparency = 1
  34. lleg.Transparency = 1
  35. rleg.Transparency = 1
  36. hed.Transparency = 1
  37. torso.Transparency = 1
  38.  
  39.  
  40. local train = Instance.new("Part",torso)
  41. train.Anchored = true
  42. train.CanCollide = false
  43. train.Size = Vector3.new(5,5,5)
  44. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  45. weld.Part1 = train
  46. weld.C1 = CFrame.new(0,-4.5,0) * CFrame.Angles(0,math.rad(0),0)
  47. train.Anchored = false
  48. local TrainMesh = Instance.new("SpecialMesh",train)
  49. TrainMesh.MeshType = Enum.MeshType.FileMesh
  50. TrainMesh.Scale = Vector3.new(0.60, 0.60, 0.60)
  51. TrainMesh.MeshId = "rbxassetid://1"
  52. TrainMesh.TextureId = "rbxassetid://1"
  53.  
  54. hum.WalkSpeed = 420;
  55.  
  56.  
  57. for i,v in pairs(char:GetChildren()) do
  58. if v:IsA("Part") then
  59. v.Transparency = 1;
  60. elseif v:IsA("Hat") then
  61. v:Destroy()
  62. elseif v:IsA("Model") then
  63. v:Destroy()
  64. end
  65. end
  66.  
  67.  
  68. local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 999; return s; end
  69. train.Touched:connect(function(p)
  70. if p.Parent then
  71. if p.Parent:IsA("Model") then
  72. if game.Players:FindFirstChild(p.Parent.Name) then
  73. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  74. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  75. local Whistle = SFX(1)
  76. Whistle:Play()
  77. end
  78. end
  79. end
  80. end
  81. end)
  82.  
  83. local Music = SFX(281194387)
  84. Music.Looped = true;
  85. wait(1)
  86. Music:Play();
  87.  
  88.  
  89.  
  90.  
  91.  
  92. local plr = game.Players.LocalPlayer
  93. local chr = plr.Character
  94. local maus = plr:GetMouse()
  95. local PGui=plr.PlayerGui
  96. local lleg = chr["Left Leg"]
  97. local rleg = chr["Right Leg"]
  98. local larm = chr["Left Arm"]
  99. local rarm = chr["Right Arm"]
  100. local hed = chr.Head
  101. local rutprt = chr.HumanoidRootPart
  102. local torso = chr.Torso
  103. local pseudohead=hed:Clone()
  104. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  105. pseudohead.Name='PseudoHead'
  106. pseudohead.Parent=chr.Head
  107. local pseudoweld=Instance.new('Weld',torso)
  108. pseudoweld.Part0=hed
  109. pseudoweld.Name='PseudoHeadWeld'
  110. pseudoweld.Part1=pseudohead
  111. hed.Transparency=1
  112. for i,x in pairs(chr:GetChildren()) do
  113. if x:IsA'HHat' then x:destroy'' end end
  114. for i,x in pairs(chr:GetChildren()) do
  115. for a,v in pairs(x:GetChildren()) do
  116. if v:IsA'CharacterMesh' then v:destroy''
  117. end
  118. end
  119. end
  120.  
  121. -- Objects
  122.  
  123. local ScreenGui = Instance.new("ScreenGui")
  124. local TextButton = Instance.new("TextButton")
  125.  
  126. -- Properties
  127.  
  128. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  129.  
  130. TextButton.Parent = ScreenGui
  131. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  132. TextButton.Size = UDim2.new(0, 200, 0, 50)
  133. TextButton.Font = Enum.Font.SourceSans
  134. TextButton.FontSize = Enum.FontSize.Size14
  135. TextButton.Text = "Roar"
  136. TextButton.TextSize = 14
  137.  
  138. --[[Function/s being made!]]
  139. function PlayMusic(ID)
  140. for i, v in pairs (game.Workspace:GetChildren()) do
  141. if v:IsA("Sound") then
  142. end
  143. end
  144. local music = Instance.new("Sound")
  145. local asset = "rbxassetid://"
  146. music.SoundId = asset .. ID
  147. music.Parent = workspace
  148. music.Volume = 999
  149. music.Looped = false
  150. music:Play()
  151. end
  152. --[[Connecting functions!]]
  153. TextButton.MouseButton1Down:connect(function()
  154. PlayMusic(430616210)
  155. end)
  156.  
  157. --This is a localscript; you will need to have access to using scripts wherever you want this
  158. p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
  159.  
  160. repeat wait()
  161. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  162. local mouse = game.Players.LocalPlayer:GetMouse()
  163. repeat wait() until mouse
  164. local plr = game.Players.LocalPlayer
  165. local torso = plr.Character.Torso
  166. local flying = true
  167. local deb = true
  168. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  169. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  170. local maxspeed = 50
  171. local speed = 0
  172.  
  173. function Fly()
  174. local bg = Instance.new("BodyGyro", torso)
  175. bg.P = 9e4
  176. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  177. bg.cframe = torso.CFrame
  178. local bv = Instance.new("BodyVelocity", torso)
  179. bv.velocity = Vector3.new(0,0.1,0)
  180. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  181. repeat wait()
  182. plr.Character.Humanoid.PlatformStand = true
  183. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  184. speed = speed+.5+(speed/maxspeed)
  185. if speed > maxspeed then
  186. speed = maxspeed
  187. end
  188. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  189. speed = speed-1
  190. if speed < 0 then
  191. speed = 0
  192. end
  193. end
  194. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  195. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  196. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  197. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  198. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  199. else
  200. bv.velocity = Vector3.new(0,0.1,0)
  201. end
  202. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  203. until not flying
  204. ctrl = {f = 0, b = 0, l = 0, r = 0}
  205. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  206. speed = 0
  207. bg:Destroy()
  208. bv:Destroy()
  209. plr.Character.Humanoid.PlatformStand = false
  210. end
  211. mouse.KeyDown:connect(function(key)
  212. if key:lower() == "e" then
  213. if flying then flying = false
  214. else
  215. flying = true
  216. Fly()
  217. end
  218. elseif key:lower() == "w" then
  219. ctrl.f = 1
  220. elseif key:lower() == "s" then
  221. ctrl.b = -1
  222. elseif key:lower() == "a" then
  223. ctrl.l = -1
  224. elseif key:lower() == "d" then
  225. ctrl.r = 1
  226. end
  227. end)
  228. mouse.KeyUp:connect(function(key)
  229. if key:lower() == "w" then
  230. ctrl.f = 0
  231. elseif key:lower() == "s" then
  232. ctrl.b = 0
  233. elseif key:lower() == "a" then
  234. ctrl.l = 0
  235. elseif key:lower() == "d" then
  236. ctrl.r = 0
  237. end
  238. end)
  239. Fly()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement