Advertisement
ManlyMemeScripter

I still know you’re high,harambe

Mar 14th, 2018
565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. --{{Made by Strazos}}--
  85.  
  86. local p = game.Players.THECREATOR200291
  87. local char = p.Character
  88. local larm = char["Left Arm"]
  89. local rarm = char["Right Arm"]
  90. local lleg = char["Left Leg"]
  91. local rleg = char["Right Leg"]
  92. local hed = char.Head
  93. local torso = char.Torso
  94. local hum = char.Humanoid
  95. local weld = Instance.new("Weld",torso)
  96. weld.Part0 = torso
  97.  
  98. larm.Transparency = 1
  99. rarm.Transparency = 1
  100. lleg.Transparency = 1
  101. rleg.Transparency = 1
  102. hed.Transparency = 1
  103. torso.Transparency = 1
  104.  
  105.  
  106. local train = Instance.new("Part",torso)
  107. train.Anchored = true
  108. train.CanCollide = false
  109. train.Size = Vector3.new(5,5,5)
  110. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  111. weld.Part1 = train
  112. weld.C1 = CFrame.new(0,-0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  113. train.Anchored = false
  114. local TrainMesh = Instance.new("SpecialMesh",train)
  115. TrainMesh.MeshType = Enum.MeshType.FileMesh
  116. TrainMesh.Scale = Vector3.new(0.01, 0.01, 0.01)
  117. TrainMesh.MeshId = "rbxassetid://430330296"
  118. TrainMesh.TextureId = "rbxassetid://430330316"
  119.  
  120. hum.WalkSpeed = 60;
  121.  
  122.  
  123. for i,v in pairs(char:GetChildren()) do
  124. if v:IsA("Part") then
  125. v.Transparency = 1;
  126. elseif v:IsA("Hat") then
  127. v:Destroy()
  128. elseif v:IsA("Model") then
  129. v:Destroy()
  130. end
  131. end
  132.  
  133.  
  134. local function SFX(id) local s=Instance.new("Sound",torso); s.SoundId = "rbxassetid://"..id; s.Volume = 999; return s; end
  135. train.Touched:connect(function(p)
  136. if p.Parent then
  137. if p.Parent:IsA("Model") then
  138. if game.Players:FindFirstChild(p.Parent.Name) then
  139. if p.Parent.Name ~= game.Players.THECREATOR200291.Name then
  140. game.Players:FindFirstChild(p.Parent.Name).Character:BreakJoints()
  141. local Whistle = SFX(360007673)
  142. Whistle:Play()
  143. end
  144. end
  145. end
  146. end
  147. end)
  148.  
  149. local Music = SFX(468954972)
  150. Music.Looped = true;
  151. wait(1)
  152. Music:Play();
  153.  
  154. local particleemitter = Instance.new("ParticleEmitter", torso)
  155. particleemitter.Texture = "http://www.roblox.com/asset/?id=0"
  156. particleemitter.VelocitySpread = 180
  157. particleemitter.Lifetime = NumberRange.new(5)
  158. particleemitter.Speed = NumberRange.new(6)
  159. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5)})
  160. particleemitter.RotSpeed = NumberRange.new(-55, 55)
  161. particleemitter.Rate = 150
  162. particleemitter.Rotation = NumberRange.new(-55, 55)
  163. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.7, 0.9), NumberSequenceKeypoint.new(1, 1)})
  164. particleemitter.LightEmission = 0
  165. particleemitter.Color = ColorSequence.new(Color3.new(255,255,255), Color3.new(255,255,255)) --Color here
  166.  
  167.  
  168.  
  169. local plr = game.Players.THECREATOR200291
  170. local chr = plr.Character
  171. local maus = plr:GetMouse()
  172. local PGui=plr.PlayerGui
  173. local lleg = chr["Left Leg"]
  174. local rleg = chr["Right Leg"]
  175. local larm = chr["Left Arm"]
  176. local rarm = chr["Right Arm"]
  177. local hed = chr.Head
  178. local rutprt = chr.HumanoidRootPart
  179. local torso = chr.Torso
  180. local pseudohead=hed:Clone()
  181. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  182. pseudohead.Name='PseudoHead'
  183. pseudohead.Parent=chr.Head
  184. local pseudoweld=Instance.new('Weld',torso)
  185. pseudoweld.Part0=hed
  186. pseudoweld.Name='PseudoHeadWeld'
  187. pseudoweld.Part1=pseudohead
  188. hed.Transparency=1
  189. for i,x in pairs(chr:GetChildren()) do
  190. if x:IsA'HHat' then x:destroy'' end end
  191. for i,x in pairs(chr:GetChildren()) do
  192. for a,v in pairs(x:GetChildren()) do
  193. if v:IsA'CharacterMesh' then v:destroy''
  194. end
  195. end
  196. end
  197.  
  198. -- Objects
  199.  
  200. local ScreenGui = Instance.new("ScreenGui")
  201. local TextButton = Instance.new("TextButton")
  202.  
  203. -- Properties
  204.  
  205. ScreenGui.Parent = game.Players.THECREATOR200291.PlayerGui
  206.  
  207. TextButton.Parent = ScreenGui
  208. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  209. TextButton.Size = UDim2.new(0, 160, 0, 50)
  210. TextButton.Font = Enum.Font.SourceSans
  211. TextButton.FontSize = Enum.FontSize.Size14
  212. TextButton.Text = "have a bowl,faggot"
  213. TextButton.TextSize = 14
  214.  
  215. --[[Function/s being made!]]
  216. function PlayMusic(ID)
  217. for i, v in pairs (game.Workspace:GetChildren()) do
  218. if v:IsA("Sound") then
  219. end
  220. end
  221. local music = Instance.new("Sound")
  222. local asset = "rbxassetid://"
  223. music.SoundId = asset .. ID
  224. music.Parent = workspace
  225. music.Volume = 999
  226. music.Looped = false
  227. music:Play()
  228. end
  229. --[[Connecting functions!]]
  230. TextButton.MouseButton1Down:connect(function()
  231. PlayMusic(000)
  232. end)
  233.  
  234. --This is a localscript; you will need to have access to using scripts wherever you want this
  235. p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement