Advertisement
PotatoSaiyan

Sanik Script

Mar 25th, 2017
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. player=game.Players.LocalPlayer
  2. char=player.Character
  3. super=false
  4. mesh=true
  5. ball=false
  6. for i,v in pairs(char:GetChildren()) do
  7. if v:IsA("CharacterMesh") then v:Remove() end
  8. if v:IsA("Hat") or v:IsA("Accessory") then v:Remove() end
  9. end
  10. if char:FindFirstChild("Head") then
  11. char:FindFirstChild("Head").BrickColor=BrickColor.new("Deep blue")
  12. char:FindFirstChild("Head").Transparency=1
  13. end
  14. if char:FindFirstChild("Torso") then
  15. char:FindFirstChild("Torso").BrickColor=BrickColor.new("Deep blue")
  16. if char:FindFirstChild("Torso"):FindFirstChild("roblox") then
  17. char:FindFirstChild("Torso"):FindFirstChild("roblox"):Remove()
  18. end
  19. mmmme=Instance.new("SpecialMesh", char:FindFirstChild("Torso"))
  20. mmmme.MeshId='rbxassetid://464515774'
  21. mmmme.TextureId='rbxassetid://464515783'
  22. mmmme.Scale=Vector3.new(.5,.5,.5)
  23. end
  24. if char:FindFirstChild("Left Arm") then
  25. char:FindFirstChild("Left Arm").BrickColor=BrickColor.new("Deep blue")
  26. char:FindFirstChild("Left Arm").Transparency=1
  27. end
  28. if char:FindFirstChild("Right Arm") then
  29. char:FindFirstChild("Right Arm").BrickColor=BrickColor.new("Deep blue")
  30. char:FindFirstChild("Right Arm").Transparency=1
  31. end
  32. if char:FindFirstChild("Left Leg") then
  33. char:FindFirstChild("Left Leg").BrickColor=BrickColor.new("Deep blue")
  34. char:FindFirstChild("Left Leg").Transparency=1
  35. end
  36. if char:FindFirstChild("Right Leg") then
  37. char:FindFirstChild("Right Leg").BrickColor=BrickColor.new("Deep blue")
  38. char:FindFirstChild("Right Leg").Transparency=1
  39. end
  40. char.Humanoid.WalkSpeed=100
  41. audio=Instance.new("Sound", char.Head)
  42. audio.SoundId='rbxassetid://145542130'--[[149779810]]
  43. audio.Pitch=1
  44. audio.Looped=true
  45. audio:Play()
  46. audio.Volume=.4
  47. char.Head.face.Texture=211729162
  48. local animatio = Instance.new("Animation")
  49. animatio.AnimationId = "http://www.roblox.com/Asset?ID=252557606"--infiniterunnerrun for the infinite runner
  50. local animTack = char.Humanoid:LoadAnimation(animatio)
  51. animTack:Play()
  52. ready=true
  53. char.Torso.Touched:connect(function(part)
  54. if ready==true then
  55. ready=false
  56. if part.Parent:FindFirstChild("Humanoid") then
  57. local audio2=Instance.new("Sound", char.Head)
  58. audio2.SoundId='rbxassetid://135557803'
  59. audio2.Pitch=.6
  60. audio2.Looped=false
  61. audio2:Play()
  62. local speed=part.Parent.Humanoid.Walkspeed
  63. part.Parent.Humanoid.Walkspeed=10
  64. wait(5)
  65. audio:Remove()
  66. part.Parent.Humanoid.Walkspeed=speed
  67. end
  68. wait()
  69. ready=true
  70. end
  71. end)
  72. local m=player:GetMouse()
  73. m.KeyDown:connect(function(key)
  74. if key == 'q' then
  75. if audio.IsPlaying==true then
  76. audio:Stop()
  77. else
  78. audio:Play()
  79. end
  80. elseif key == 'e' then
  81. if audio.SoundId=='rbxassetid://145542130' then
  82. audio.SoundId='rbxassetid://148386453'
  83. audio.Volume=10
  84. super=true
  85. if ball==true then
  86. char:FindFirstChild("Left Leg").BrickColor=BrickColor.new("New Yeller")
  87. end
  88. mmmme.VertexColor=Vector3.new(1,1,0)
  89. else
  90. audio.SoundId='rbxassetid://145542130'
  91. super=false
  92. mmmme.VertexColor=Vector3.new(1,1,1)
  93. audio.Volume=.4
  94. char:FindFirstChild("Left Leg").BrickColor=BrickColor.new("Deep blue")
  95. if mesh==false and ball==false then
  96. decal1.Texture="http://www.roblox.com/asset/?id=206989656"
  97. decal2.Texture="http://www.roblox.com/asset/?id=206989656"
  98. end
  99. end
  100. elseif key=='f' then
  101. if mesh==true and ball==false then
  102. mmmme.Parent=game:GetService("InsertService")
  103. --[[ player.Character.Head.Transparency=0.9
  104. player.Character.Head.Mesh.Scale=Vector3.new(0.01,0.01,0.01)]]
  105. mesh=Instance.new("BlockMesh",player.Character.HumanoidRootPart)
  106. mesh.Scale=Vector3.new(3,3,0.1)
  107. decal1=Instance.new("Decal")
  108. decal1.Face="Back"
  109. decal1.Texture="rbxassetid://206989655"
  110. decal1.Name="doge"
  111. decal2=decal1:clone()
  112. decal2.Face="Front"
  113. decal1.Parent=player.Character.HumanoidRootPart
  114. decal2.Parent=player.Character.HumanoidRootPart
  115. char:FindFirstChild("Torso").Transparency=1
  116. mesh=false
  117. char:FindFirstChild("Left Leg").Transparency=1
  118. elseif ball==false then
  119. char:FindFirstChild("Torso").Transparency=0
  120. mmmme.Parent=char:FindFirstChild("Torso")
  121. mesh=true
  122. if decal1 then
  123. decal1:Remove()
  124. end
  125. if decal2 then
  126. decal2:Remove()
  127. end
  128. char:FindFirstChild("Left Leg").Transparency=1
  129. end
  130. elseif key=='r' then
  131. if mesh==true and ball==false and char:FindFirstChild("Left Leg") then
  132. char:FindFirstChild("Torso").Transparency=1
  133. char:FindFirstChild("Left Leg").Transparency=0
  134. sm=Instance.new("SpecialMesh",char:FindFirstChild("Left Leg"))
  135. sm.MeshType='Sphere'
  136. sm.Scale=Vector3.new(2,1,2)
  137. deca=Instance.new("Decal", char:FindFirstChild("Left Leg"))
  138. deca.Texture='rbxassetid://211729160'
  139. deca.Face='Front'
  140. ball=true
  141. if super==true then
  142. char:FindFirstChild("Left Leg").BrickColor=BrickColor.new("New Yeller")
  143. end
  144. elseif ball==true then
  145. sm:Remove()
  146. deca:Remove()
  147. ball=false
  148. char:FindFirstChild("Torso").Transparency=0
  149. mmmme.Parent=char:FindFirstChild("Torso")
  150. mesh=true
  151. char:FindFirstChild("Left Leg").Transparency=1
  152. end
  153. end
  154. end)
  155. --I would've added the attack doge's text thing but i couldn't find its script. rip
  156. --TJW123456
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement