Advertisement
okban

hmm

Jan 16th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. -- unganda shall not fall
  2. --[[
  3. Uganda knuckles
  4. By: KYLETHORNTON
  5.  
  6. --]]
  7.  
  8. local p = game.Players.LocalPlayer.Character
  9. local weld = Instance.new("Weld",p.Torso)
  10. weld.Part0 = p.Torso
  11.  
  12. local train = Instance.new("Part",p.Torso)
  13. train.Orientation = Vector3.new(0, -100, 0)
  14. train.Anchored = true
  15. train.CanCollide = false
  16. train.Size = Vector3.new(1,1,1)
  17. train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  18. weld.Part1 = train
  19. weld.C1 = CFrame.new(0,2,0) * CFrame.Angles(0,math.rad(-360),0)
  20. train.Anchored = false
  21. local TrainMesh = Instance.new("SpecialMesh",train)
  22. TrainMesh.MeshType = Enum.MeshType.FileMesh
  23. TrainMesh.Scale = Vector3.new(0.0359999985, 0.0359999985, 0.0359999985)
  24. TrainMesh.MeshId = "rbxassetid://1300136843"
  25. TrainMesh.TextureId = "rbxassetid://1300137893"
  26.  
  27.  
  28. local weld2 = Instance.new("Weld",p.Torso)
  29. weld2.Part0 = p.Torso
  30. local Smoke = Instance.new("Part",p.Torso)
  31. Smoke.Orientation = Vector3.new(0, -100, 0)
  32. Smoke.Anchored = true
  33. Smoke.CanCollide = false
  34. Smoke.Size = Vector3.new(1,1,1)
  35. Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  36. weld2.Part1 = Smoke
  37. weld2.C1 = CFrame.new(0.01,1.55,0.25)-- * CFrame.Angles(0,math.rad(180),0)
  38. Smoke.Anchored = false
  39. local SmokeMesh = Instance.new("SpecialMesh",Smoke)
  40. SmokeMesh.MeshType = Enum.MeshType.FileMesh
  41. SmokeMesh.Scale = Vector3.new(0.0390000008, 0.0390000008, 0.0390000008)
  42. SmokeMesh.MeshId = "rbxassetid://1300138314"
  43. SmokeMesh.TextureId = "rbxassetid://1300129774"
  44.  
  45. local Particle = Instance.new("ParticleEmitter",Smoke)
  46. Particle.Rate = 50;
  47. Particle.Speed = NumberRange.new(30,60);
  48. Particle.VelocitySpread = 4;
  49. Particle.Texture = "rbxassetid://0"
  50.  
  51. local Light = Instance.new("SpotLight",train)
  52. Light.Angle = 45;
  53. Light.Brightness = 0;
  54. Light.Face = Enum.NormalId.Back;
  55. Light.Range = 30;
  56.  
  57. p.Humanoid.WalkSpeed = 60;
  58.  
  59.  
  60. for i,v in pairs(p:GetChildren()) do
  61. if v:IsA("Part") then
  62. v.Transparency = 1;
  63. elseif v:IsA("Hat") then
  64. v:Destroy()
  65. elseif v:IsA("Model") then
  66. v:Destroy()
  67. end
  68. end
  69.  
  70. local function SFX(id) local s=Instance.new("Sound",p.Torso); s.SoundId = "rbxassetid://"..id; s.Volume = 1; return s; end
  71. train.Touched:connect(function(p)
  72. if p.Parent then
  73. if p.Parent:IsA("Model") then
  74. if game.Players:FindFirstChild(p.Parent.Name) then
  75. if p.Parent.Name ~= game.Players.LocalPlayer.Name then
  76. local Whistle = SFX(0)
  77. Whistle:Play()
  78. end
  79. end
  80. end
  81. end
  82. end)
  83.  
  84. local Music = SFX(0)
  85. Music.Looped = true;
  86. wait(0)
  87. Music:Play();
  88. -- ~CL 2016
  89. wait(0.1)
  90. local Player = game.Players.localPlayer
  91. local Character = Player.Character
  92. local Humanoid = Character.Humanoid
  93. local Mouse = Player:GetMouse()
  94. local LeftArm = Character["Left Arm"]
  95. local RightArm = Character["Right Arm"]
  96. local LeftLeg = Character["Left Leg"]
  97. local RightLeg = Character["Right Leg"]
  98. local Head = Character.Head
  99. local Torso = Character.Torso
  100. local Camera = game.Workspace.CurrentCamera
  101. local RootPart = Character.HumanoidRootPart
  102. local RootJoint = RootPart.RootJoint
  103. local attack = false
  104. local Anim = 'Idle'
  105. local attacktype = 1
  106. local delays = false
  107. local play = true
  108. local targetted = nil
  109. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  110. local velocity = RootPart.Velocity.y
  111. local sine = 0
  112. local change = 1
  113. local doe = 0
  114. local Create = LoadLibrary("RbxUtility").Create
  115. Humanoid.WalkSpeed = 60
  116.  
  117. local Orin = "rbxassetid://0"
  118. Head.face.Texture = Orin
  119. spawn(function()
  120. while wait() do
  121. Head.BrickColor = BrickColor.new("Bright yellow")
  122. RightArm.BrickColor = BrickColor.new("Bright yellow")
  123. LeftArm.BrickColor = BrickColor.new("Bright yellow")
  124. Torso.BrickColor = BrickColor.new("Bright blue")
  125. RightLeg.BrickColor = BrickColor.new("Br. yellowish green")
  126. LeftLeg.BrickColor = BrickColor.new("Br. yellowish green")
  127. end
  128. end)
  129. for i,v in pairs(Character:children()) do
  130. if v:IsA("Hat") then
  131. v:Destroy()
  132. end
  133. end
  134. for i,v in pairs(Character:children()) do
  135. if v:IsA("Accessory") then
  136. v:Destroy()
  137. end
  138. end
  139. for i,v in pairs(Character:children()) do
  140. if v:IsA("Hair") then
  141. v:Destroy()
  142. end
  143. end
  144. for i,v in pairs(Character:children()) do
  145. if v:IsA("Shirt") then
  146. v:Destroy()
  147. end
  148. end
  149. for i,v in pairs(Character:children()) do
  150. if v:IsA("Pants") then
  151. v:Destroy()
  152. end
  153. end
  154. for i,v in pairs(Character:children()) do
  155. if v:IsA("Graphic Shirt") then
  156. v:Destroy()
  157. end
  158. end
  159. wait(0.1)
  160. function sandbox(var,func)
  161. local env = getfenv(func)
  162. local newenv = setmetatable({},{
  163. __index = function(self,k)
  164. if k=="script" then
  165. return var
  166. else
  167. return env[k]
  168. end
  169. end,
  170. })
  171. setfenv(func,newenv)
  172. return func
  173. end
  174. cors = {}
  175. mas = Instance.new("Model",game:GetService("Lighting"))
  176. Script0 = Instance.new("Script")
  177. Sound1 = Instance.new("Sound")
  178. Sound2 = Instance.new("Sound")
  179. Sound3 = Instance.new("Sound")
  180. Sound4 = Instance.new("Sound")
  181. Sound5 = Instance.new("Sound")
  182. Script0.Name = "sound's"
  183. Script0.Parent = mas
  184. table.insert(cors,sandbox(Script0,function()
  185. --Uganda sound--
  186.  
  187. function onKeyPress(inputObject, gameProcessedEvent)
  188. if inputObject.KeyCode == Enum.KeyCode.R then
  189. script.Sound:Play()
  190. end
  191. end
  192. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  193.  
  194. function onKeyPress(inputObject, gameProcessedEvent)
  195. if inputObject.KeyCode == Enum.KeyCode.E then
  196. script.Sound2:Play()
  197. end
  198. end
  199. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  200.  
  201. function onKeyPress(inputObject, gameProcessedEvent)
  202. if inputObject.KeyCode == Enum.KeyCode.T then
  203. script.Sound3:Play()
  204. end
  205. end
  206. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  207.  
  208. function onKeyPress(inputObject, gameProcessedEvent)
  209. if inputObject.KeyCode == Enum.KeyCode.Y then
  210. script.Sound4:Play()
  211. end
  212. end
  213. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  214.  
  215. function onKeyPress(inputObject, gameProcessedEvent)
  216. if inputObject.KeyCode == Enum.KeyCode.U then
  217. script.Sound5:Play()
  218. end
  219. end
  220. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  221. end))
  222. Sound1.Parent = Script0
  223. Sound1.SoundId = "rbxassetid://1320393438"
  224. Sound1.Volume = 1
  225. Sound2.Name = "Sound2"
  226. Sound2.Parent = Script0
  227. Sound2.SoundId = "rbxassetid://1295525558"
  228. Sound2.Volume = 1
  229. Sound3.Name = "Sound3"
  230. Sound3.Parent = Script0
  231. Sound3.SoundId = "rbxassetid://1322795266"
  232. Sound3.Volume = 5
  233. Sound4.Name = "Sound4"
  234. Sound4.Parent = Script0
  235. Sound4.SoundId = "rbxassetid://1311432465"
  236. Sound5.Name = "Sound5"
  237. Sound5.Parent = Script0
  238. Sound5.SoundId = "rbxassetid://1316278479"
  239. for i,v in pairs(mas:GetChildren()) do
  240. v.Parent = game:GetService("Players").LocalPlayer.Character
  241. pcall(function() v:MakeJoints() end)
  242. end
  243. mas:Destroy()
  244. for i,v in pairs(cors) do
  245. spawn(function()
  246. pcall(v)
  247. end)
  248. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement