refrop

mario odyssey v2

Mar 1st, 2018 (edited)
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.85 KB | None | 0 0
  1. --Ok :V
  2.  
  3. local s = Instance.new("Sound")
  4.  
  5. s.Name = "Sound"
  6. s.SoundId = "http://www.roblox.com/asset/?id=898506256"
  7. s.Volume = 1
  8. s.Looped = false
  9. s.archivable = false
  10.  
  11. s.Parent = game.Workspace.refrop.Torso
  12.  
  13. wait(3)
  14.  
  15. s:play()
  16. --ok :V
  17. local part = game.Players.LocalPlayer.Character
  18. local basetemplate = "http://www.roblox.com/asset/?id="
  19. local shirt = 2725574
  20. local pants = 35491101
  21. local h = part:findFirstChild("Shirt")
  22. if h ~= nil then
  23. h.ShirtTemplate = basetemplate..shirt
  24. else
  25. local i = Instance.new("Shirt")
  26. i.Name = "Shirt"
  27. i.ShirtTemplate = basetemplate..shirt
  28. i.Parent = part
  29. end
  30. local p = part:findFirstChild("Pants")
  31. if p ~= nil then
  32. p.PantsTemplate = basetemplate..pants
  33. else
  34. local np = Instance.new("Pants")
  35. np.PantsTemplate = basetemplate..pants
  36. np.Name = "Pants"
  37. np.Parent = part
  38. end
  39. p = game.Players.LocalPlayer
  40. char = p.Character
  41. des = false
  42. fling = true
  43. dot = false
  44. falling = false
  45. jump = true
  46. --char.Shirt:Remove()
  47. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  48. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  49. wait()--shirt = Instance.new("Shirt", char)
  50. --shirt.Name = "Shirt"
  51. --pants = Instance.new("Pants", char)
  52. --pants.Name = "Pants"
  53.  
  54. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=22287244"
  55. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=22287352"
  56. tp = true
  57. shoot = true
  58. hum = char.Humanoid
  59. punch = true
  60. neckp = char.Torso.Neck.C0
  61. neck = char.Torso.Neck
  62. hum.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  63. wait()
  64. hum.Health =hum.MaxHealth
  65. des = false
  66. root=char.HumanoidRootPart
  67. torso = char.Torso
  68. char.Head.face.Texture = "rbxassetid://86157358"
  69. local ChatService = game:GetService("Chat")
  70. local player = game.Players.LocalPlayer
  71. lig = Instance.new("PointLight",player.Character.Torso)
  72. lig.Color=Color3.new(255,0,0)
  73. m=player:GetMouse()
  74. bb = Instance.new("BillboardGui",player.Character.Head)
  75. bb.Enabled = true
  76. function newRay(start,face,range,wat)
  77. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  78. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  79. return rey,hit,pos
  80. end
  81. -- Objects
  82. plr = game.Players.LocalPlayer
  83. ControlGui = Instance.new("ScreenGui")
  84. Frame = Instance.new("Frame")
  85. TextButton = Instance.new("TextButton")
  86. TextBox = Instance.new("TextBox")
  87.  
  88. -- Properties
  89.  
  90. ControlGui.Name = "ControlGui"
  91. ControlGui.Parent = plr.PlayerGui
  92.  
  93. Frame.Parent = ControlGui
  94. Frame.BackgroundColor3 = Color3.new(255, 0, 0)
  95. Frame.BorderColor3 = Color3.new(0, 0, 0)
  96. Frame.BorderSizePixel = 5
  97. Frame.BackgroundTransparency = 0.5
  98. Frame.Position = UDim2.new(0, 300, 0, 200)
  99. Frame.Size = UDim2.new(0, 300, 0, 150)
  100. Frame.Active = true
  101. Frame.Draggable = true
  102.  
  103. TextButton.Parent = Frame
  104. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  105. TextButton.BorderColor3 = Color3.new(0, 0, 0)
  106. TextButton.BorderSizePixel = 5
  107. TextButton.Position = UDim2.new(0, 50, 0, 90)
  108. TextButton.Size = UDim2.new(0, 200, 0, 50)
  109. TextButton.BackgroundTransparency = 0.5
  110. TextButton.Font = Enum.Font.SourceSans
  111. TextButton.FontSize = Enum.FontSize.Size32
  112. TextButton.Text = "Control"
  113. TextButton.TextSize = 30
  114. TextButton.MouseButton1Down:connect(function()
  115. if TextButton.Text == "Control" then
  116. TextButton.Text = "UnControl"
  117. workspace[TextBox.Text].Humanoid.PlatformStand = true
  118. W1 = Instance.new("Weld",workspace)
  119. W1.Name = "Weld1"
  120. W1.Part0 = plr.Character.Torso
  121. W1.Part1 = workspace[TextBox.Text].Torso
  122. W2 = Instance.new("Weld",workspace)
  123. W2.Name = "Weld2"
  124. W2.Part0 = plr.Character.Head
  125. W2.Part1 = workspace[TextBox.Text].Head
  126. W3 = Instance.new("Weld",workspace)
  127. W3.Name = "Weld3"
  128. W3.Part0 = plr.Character.HumanoidRootPart
  129. W3.Part1 = workspace[TextBox.Text].HumanoidRootPart
  130. W4 = Instance.new("Weld",workspace)
  131. W4.Name = "Weld4"
  132. W4.Part0 = plr.Character["Left Arm"]
  133. W4.Part1 = workspace[TextBox.Text]["Left Arm"]
  134. W5 = Instance.new("Weld",workspace)
  135. W5.Name = "Weld5"
  136. W5.Part0 = plr.Character["Left Leg"]
  137. W5.Part1 = workspace[TextBox.Text]["Left Leg"]
  138. W6 = Instance.new("Weld",workspace)
  139. W6.Name = "Weld6"
  140. W6.Part0 = plr.Character["Right Arm"]
  141. W6.Part1 = workspace[TextBox.Text]["Right Arm"]
  142. W7 = Instance.new("Weld",workspace)
  143. W7.Name = "Weld7"
  144. W7.Part0 = plr.Character["Right Leg"]
  145. W7.Part1 = workspace[TextBox.Text]["Right Leg"]
  146. for i,v in pairs(plr.Character:GetChildren()) do
  147. if v.ClassName == "Part" then
  148. v.Transparency = 1
  149. end
  150. plr.Character.HumanoidRootPart.Transparency = 1
  151. if v.ClassName == "Accessory" then
  152. v.Handle.Transparency = 1
  153. end
  154. plr.Character.Humanoid.NameOcclusion = "NoOcclusion"
  155. end
  156. elseif TextButton.Text == "UnControl" then
  157. TextButton.Text = "Control"
  158. workspace[TextBox.Text].Humanoid.PlatformStand = false
  159. workspace.Weld1:Remove()
  160. workspace.Weld2:Remove()
  161. workspace.Weld3:Remove()
  162. workspace.Weld4:Remove()
  163. workspace.Weld5:Remove()
  164. workspace.Weld6:Remove()
  165. workspace.Weld7:Remove()
  166. for i,v in pairs(plr.Character:GetChildren()) do
  167. if v.ClassName == "Part" then
  168. v.Transparency = 0
  169. end
  170. plr.Character.HumanoidRootPart.Transparency = 1
  171. if v.ClassName == "Accessory" then
  172. v.Handle.Transparency = 0
  173. end
  174. plr.Character.Humanoid.NameOcclusion = "OccludeAll"
  175. end
  176. end
  177. end)
  178.  
  179. TextBox.Parent = Frame
  180. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  181. TextBox.BorderColor3 = Color3.new(0, 0, 0)
  182. TextBox.BorderSizePixel = 5
  183. TextBox.BackgroundTransparency = 0.5
  184. TextBox.Position = UDim2.new(0, 50, 0, 20)
  185. TextBox.Size = UDim2.new(0, 200, 0, 30)
  186. TextBox.Font = Enum.Font.SourceSans
  187. TextBox.FontSize = Enum.FontSize.Size28
  188. TextBox.Text = "Name"
  189. TextBox.TextSize = 25
Add Comment
Please, Sign In to add comment