HansCSia320

Star wars temple on illum script non loadstring

Jul 5th, 2019
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.65 KB | None | 0 0
  1. -- Instances:
  2. local Ilum = Instance.new("ScreenGui")
  3. local frame = Instance.new("Frame")
  4. local open = Instance.new("TextButton")
  5. local main = Instance.new("ImageLabel")
  6. local Lbar = Instance.new("ImageLabel")
  7. local doub = Instance.new("TextButton")
  8. local elite = Instance.new("TextButton")
  9. local dual = Instance.new("TextButton")
  10. local backh = Instance.new("TextButton")
  11. local adv = Instance.new("TextButton")
  12. local loadO = Instance.new("TextButton")
  13. local closeO = Instance.new("TextButton")
  14. local close = Instance.new("TextButton")
  15. local tpc = Instance.new("TextButton")
  16. local name = Instance.new("TextLabel")
  17. local credit = Instance.new("TextLabel")
  18. local del = Instance.new("TextButton")
  19. local tps = Instance.new("TextButton")
  20. local tpbar = Instance.new("ImageLabel")
  21. local tpsC = Instance.new("TextButton")
  22. local host = Instance.new("TextButton")
  23. local tempE = Instance.new("TextButton")
  24. local tempT = Instance.new("TextButton")
  25. local vadS = Instance.new("TextButton")
  26. local cross = Instance.new("TextButton")
  27. local tgs = Instance.new("TextButton")
  28. local gath = Instance.new("TextButton")
  29. local infF = Instance.new("TextButton")
  30. local god = Instance.new("TextButton")
  31. --Properties:
  32. Ilum.Name = "Ilum"
  33. Ilum.Parent = game.CoreGui
  34.  
  35. frame.Name = "frame"
  36. frame.Parent = Ilum
  37. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  38. frame.BackgroundTransparency = 1
  39. frame.Position = UDim2.new(0, 0, 0.690036893, 0)
  40. frame.Size = UDim2.new(0, 118, 0, 39)
  41.  
  42. open.Name = "open"
  43. open.Parent = frame
  44. open.BackgroundColor3 = Color3.new(0, 0, 1)
  45. open.BackgroundTransparency = 0.80000001192093
  46. open.Position = UDim2.new(0, 0, -0.00227081776, 0)
  47. open.Size = UDim2.new(0, 118, 0, 39)
  48. open.AutoButtonColor = false
  49. open.Font = Enum.Font.SourceSans
  50. open.Text = "Open"
  51. open.TextColor3 = Color3.new(0, 0, 0)
  52. open.TextSize = 14
  53. open.MouseButton1Click:connect(function()
  54. main.Visible = true
  55. frame.Visible = false
  56. end)
  57.  
  58.  
  59. main.Name = "main"
  60. main.Parent = Ilum
  61. main.BackgroundColor3 = Color3.new(255, 255, 255)
  62. main.Position = UDim2.new(0.384915501, 0, 0.252767533, 0)
  63. main.Size = UDim2.new(0, 177, 0, 267)
  64. main.Image = "rbxassetid://425877831"
  65. main.Visible = false
  66. main.Active = true
  67. main.Draggable = true
  68.  
  69. Lbar.Name = "Lbar"
  70. Lbar.Parent = main
  71. Lbar.BackgroundColor3 = Color3.new(0, 0, 1)
  72. Lbar.Position = UDim2.new(1, 0, 0.0736210793, 0)
  73. Lbar.Size = UDim2.new(0, 247, 0, 136)
  74. Lbar.Image = "rbxassetid://425877831"
  75. Lbar.Visible = false
  76.  
  77. doub.Name = "doub"
  78. doub.Parent = Lbar
  79. doub.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  80. doub.Position = UDim2.new(0.0407388657, 0, 0.0961538032, 0)
  81. doub.Size = UDim2.new(0, 100, 0, 42)
  82. doub.Font = Enum.Font.SourceSans
  83. doub.Text = "Double Saber"
  84. doub.TextColor3 = Color3.new(0, 0, 0)
  85. doub.TextSize = 14
  86. doub.MouseButton1Click:connect(function()
  87. local A_1 = "Double"
  88. local A_2 = "Lightsaber"
  89. local A_3 =
  90. {
  91. [1] = 0
  92. }
  93. local Event = game:GetService("ReplicatedStorage").Remotes.GiveLoadout
  94. Event:InvokeServer(A_1, A_2, A_3)
  95. game.Players.LocalPlayer.Character.Torso:Remove()
  96. end)
  97.  
  98. elite.Name = "elite"
  99. elite.Parent = Lbar
  100. elite.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  101. elite.Position = UDim2.new(0.32818827, 0, 0.544333041, 0)
  102. elite.Size = UDim2.new(0, 72, 0, 42)
  103. elite.Font = Enum.Font.SourceSans
  104. elite.Text = "Elite Trooper"
  105. elite.TextColor3 = Color3.new(0, 0, 0)
  106. elite.TextSize = 14
  107. elite.MouseButton1Click:connect(function()
  108. local A_1 = "Elite Trooper"
  109. local A_2 = "Blaster"
  110. local A_3 =
  111. {
  112. [1] = 0
  113. }
  114. local Event = game:GetService("ReplicatedStorage").Remotes.GiveLoadout
  115. Event:InvokeServer(A_1, A_2, A_3)
  116. game.Players.LocalPlayer.Character.Torso:Remove()
  117. end)
  118.  
  119. dual.Name = "dual"
  120. dual.Parent = Lbar
  121. dual.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  122. dual.Position = UDim2.new(0.0407388806, 0, 0.5443331, 0)
  123. dual.Size = UDim2.new(0, 64, 0, 42)
  124. dual.Font = Enum.Font.SourceSans
  125. dual.Text = "Dual Sabers"
  126. dual.TextColor3 = Color3.new(0, 0, 0)
  127. dual.TextSize = 14
  128. dual.MouseButton1Click:connect(function()
  129. local A_1 = "Dual"
  130. local A_2 = "Lightsaber"
  131. local A_3 =
  132. {
  133. [1] = 0
  134. }
  135. local Event = game:GetService("ReplicatedStorage").Remotes.GiveLoadout
  136. Event:InvokeServer(A_1, A_2, A_3)
  137. game.Players.LocalPlayer.Character.Torso:Remove()
  138. end)
  139.  
  140. backh.Name = "backh"
  141. backh.Parent = Lbar
  142. backh.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  143. backh.Position = UDim2.new(0.514423072, 0, 0.0961538032, 0)
  144. backh.Size = UDim2.new(0, 100, 0, 42)
  145. backh.Font = Enum.Font.SourceSans
  146. backh.Text = "Backhand Saber"
  147. backh.TextColor3 = Color3.new(0, 0, 0)
  148. backh.TextSize = 14
  149. backh.MouseButton1Click:connect(function()
  150. local A_1 = "Backhand"
  151. local A_2 = "Lightsaber"
  152. local A_3 =
  153. {
  154. [1] = 0
  155. }
  156. local Event = game:GetService("ReplicatedStorage").Remotes.GiveLoadout
  157. Event:InvokeServer(A_1, A_2, A_3)
  158. game.Players.LocalPlayer.Character.Torso:Remove()
  159. end)
  160.  
  161. adv.Name = "adv"
  162. adv.Parent = Lbar
  163. adv.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  164. adv.Position = UDim2.new(0.652074873, 0, 0.544333041, 0)
  165. adv.Size = UDim2.new(0, 72, 0, 42)
  166. adv.Font = Enum.Font.SourceSans
  167. adv.Text = "Adv. Trooper"
  168. adv.TextColor3 = Color3.new(0, 0, 0)
  169. adv.TextSize = 14
  170. adv.MouseButton1Click:connect(function()
  171. local A_1 = "Advanced Trooper"
  172. local A_2 = "Blaster"
  173. local A_3 =
  174. {
  175. [1] = 0
  176. }
  177. local Event = game:GetService("ReplicatedStorage").Remotes.GiveLoadout
  178. Event:InvokeServer(A_1, A_2, A_3)
  179. game.Players.LocalPlayer.Character.Torso:Remove()
  180. end)
  181.  
  182. loadO.Name = "loadO"
  183. loadO.Parent = main
  184. loadO.BackgroundColor3 = Color3.new(0, 0, 1)
  185. loadO.Position = UDim2.new(0.137, 0, 0.104, 0)
  186. loadO.Size = UDim2.new(0, 127, 0, 42)
  187. loadO.Font = Enum.Font.SourceSans
  188. loadO.Text = "Change Loadout"
  189. loadO.TextColor3 = Color3.new(0, 0, 0)
  190. loadO.TextSize = 14
  191. loadO.MouseButton1Click:connect(function()
  192. Lbar.Visible = true
  193. loadO.Visible = false
  194. closeO.Visible = true
  195. tpbar.Visible = false
  196. tps.Visible = true
  197. tpsC.Visible = false
  198. end)
  199.  
  200. closeO.Name = "closeO"
  201. closeO.Parent = main
  202. closeO.BackgroundColor3 = Color3.new(0, 0, 1)
  203. closeO.Position = UDim2.new(0.137, 0, 0.104, 0)
  204. closeO.Size = UDim2.new(0, 127, 0, 42)
  205. closeO.Font = Enum.Font.SourceSans
  206. closeO.Text = "Close"
  207. closeO.TextColor3 = Color3.new(0, 0, 0)
  208. closeO.TextSize = 14
  209. closeO.Visible = false
  210. closeO.MouseButton1Click:connect(function()
  211. Lbar.Visible = false
  212. loadO.Visible = true
  213. closeO.Visible = false
  214. end)
  215.  
  216. close.Name = "close"
  217. close.Parent = main
  218. close.BackgroundColor3 = Color3.new(170, 255, 255)
  219. close.Position = UDim2.new(0.893, 0, 0, 0)
  220. close.Size = UDim2.new(0, 19, 0, 20)
  221. close.Font = Enum.Font.SourceSans
  222. close.Text = "X"
  223. close.TextColor3 = Color3.new(0, 0, 0)
  224. close.TextSize = 14
  225. close.MouseButton1Click:connect(function()
  226. main.Visible = false
  227. frame.Visible = true
  228. tpbar.Visible = false
  229. tpsC.Visible = false
  230. tps.Visible = true
  231. loadO.Visible = true
  232. closeO.Visible = false
  233. Lbar.Visible = false
  234. end)
  235.  
  236. tpc.Name = "tpc"
  237. tpc.Parent = main
  238. tpc.BackgroundColor3 = Color3.new(0, 0, 1)
  239. tpc.Position = UDim2.new(0.137, 0, 0.328, 0)
  240. tpc.Size = UDim2.new(0, 127, 0, 42)
  241. tpc.Font = Enum.Font.SourceSans
  242. tpc.Text = "TP To All Crystals"
  243. tpc.TextColor3 = Color3.new(0, 0, 0)
  244. tpc.TextSize = 14
  245. tpc.MouseButton1Click:connect(function()
  246. man = game.Players.LocalPlayer.Character.HumanoidRootPart
  247. while true do
  248. for i,v in pairs(game.Workspace.Crystals:GetChildren()) do
  249. lol = game.Players.LocalPlayer.CrystalFolder:FindFirstChild(v.Name)
  250. if lol ~= nil and lol.Value == false then
  251. man.CFrame = v.CFrame
  252. end
  253. end
  254. wait(2)
  255. end
  256. end)
  257.  
  258. name.Name = "name"
  259. name.Parent = main
  260. name.BackgroundColor3 = Color3.new(0, 0, 255)
  261. name.Position = UDim2.new(-0.111, 0, -0.081, 0)
  262. name.Size = UDim2.new(0, 216, 0, 21)
  263. name.Font = Enum.Font.SourceSans
  264. name.Text = "Jedi Temple on Ilum"
  265. name.TextColor3 = Color3.new(0, 0, 0)
  266. name.TextSize = 14
  267.  
  268. credit.Name = "credit"
  269. credit.Parent = main
  270. credit.BackgroundColor3 = Color3.new(0, 0, 255)
  271. credit.Position = UDim2.new(-0.111, 0, 0.997, 0)
  272. credit.Size = UDim2.new(0, 216, 0, 21)
  273. credit.Font = Enum.Font.SourceSans
  274. credit.Text = "Made By: IrOn_KiT"
  275. credit.TextColor3 = Color3.new(0, 0, 0)
  276. credit.TextSize = 14
  277.  
  278. del.Name = "del"
  279. del.Parent = main
  280. del.BackgroundColor3 = Color3.new(170, 255, 255)
  281. del.Position = UDim2.new(0, 0, 0, 0)
  282. del.Size = UDim2.new(0, 19, 0, 20)
  283. del.Font = Enum.Font.SourceSans
  284. del.Text = "Del"
  285. del.TextColor3 = Color3.new(0, 0, 0)
  286. del.TextSize = 14
  287. del.MouseButton1Click:connect(function()
  288. main.Visible = false
  289. frame.Visible = false
  290. end)
  291.  
  292. tps.Name = "tps"
  293. tps.Parent = main
  294. tps.BackgroundColor3 = Color3.new(0, 0, 1)
  295. tps.Position = UDim2.new(0.544, 0, 0.546, 0)
  296. tps.Size = UDim2.new(0, 55, 0, 42)
  297. tps.Font = Enum.Font.SourceSans
  298. tps.Text = "Teleports"
  299. tps.TextColor3 = Color3.new(0, 0, 0)
  300. tps.TextSize = 14
  301. tps.MouseButton1Click:connect(function()
  302. Lbar.Visible = false
  303. loadO.Visible = true
  304. closeO.Visible = false
  305. tpbar.Visible = true
  306. tps.Visible = false
  307. tpsC.Visible = true
  308. end)
  309.  
  310. tpsC.Name = "tpsC"
  311. tpsC.Parent = main
  312. tpsC.BackgroundColor3 = Color3.new(0, 0, 1)
  313. tpsC.Position = UDim2.new(0.544, 0, 0.546, 0)
  314. tpsC.Size = UDim2.new(0, 55, 0, 42)
  315. tpsC.Font = Enum.Font.SourceSans
  316. tpsC.Text = "Close"
  317. tpsC.TextColor3 = Color3.new(0, 0, 0)
  318. tpsC.TextSize = 14
  319. tpsC.Visible = false
  320. tpsC.MouseButton1Click:connect(function()
  321. Lbar.Visible = false
  322. loadO.Visible = true
  323. closeO.Visible = false
  324. tpbar.Visible = false
  325. tps.Visible = true
  326. tpsC.Visible = false
  327. end)
  328.  
  329. tpbar.Name = "tpbar"
  330. tpbar.Parent = main
  331. tpbar.BackgroundColor3 = Color3.new(0, 0, 1)
  332. tpbar.Position = UDim2.new(1, 0, 0.351, 0)
  333. tpbar.Size = UDim2.new(0, 247, 0, 166)
  334. tpbar.Image = "rbxassetid://425877831"
  335. tpbar.Visible = false
  336.  
  337. host.Name = "host"
  338. host.Parent = tpbar
  339. host.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  340. host.Position = UDim2.new(0.041, 0, 0.373, 0)
  341. host.Size = UDim2.new(0, 77, 0, 42)
  342. host.Font = Enum.Font.SourceSans
  343. host.Text = "Hostile Spawn"
  344. host.TextColor3 = Color3.new(0, 0, 0)
  345. host.TextSize = 14
  346. host.TextWrapped = true
  347. host.MouseButton1Click:connect(function()
  348. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(116, 89, -786)
  349. end)
  350.  
  351. tempE.Name = "tempE"
  352. tempE.Parent = tpbar
  353. tempE.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  354. tempE.Position = UDim2.new(0.381, 0, 0.373, 0)
  355. tempE.Size = UDim2.new(0, 77, 0, 42)
  356. tempE.Font = Enum.Font.SourceSans
  357. tempE.Text = "Temple Entrance"
  358. tempE.TextColor3 = Color3.new(0, 0, 0)
  359. tempE.TextWrapped = true
  360. tempE.TextSize = 14
  361. tempE.MouseButton1Click:connect(function()
  362. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-96, 23, 72)
  363. end)
  364.  
  365. tempT.Name = "tempT"
  366. tempT.Parent = tpbar
  367. tempT.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  368. tempT.Position = UDim2.new(0.041, 0, 0.692, 0)
  369. tempT.Size = UDim2.new(0, 77, 0, 42)
  370. tempT.Font = Enum.Font.SourceSans
  371. tempT.Text = "Top of Temple"
  372. tempT.TextColor3 = Color3.new(0, 0, 0)
  373. tempT.TextSize = 14
  374. tempT.MouseButton1Click:connect(function()
  375. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-61, 121, 78)
  376. end)
  377.  
  378. vadS.Name = "vadS"
  379. vadS.Parent = tpbar
  380. vadS.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  381. vadS.Position = UDim2.new(0.381, 0, 0.692, 0)
  382. vadS.Size = UDim2.new(0, 77, 0, 42)
  383. vadS.Font = Enum.Font.SourceSans
  384. vadS.Text = "Vader's Saber"
  385. vadS.TextColor3 = Color3.new(0, 0, 0)
  386. vadS.TextSize = 14
  387. vadS.MouseButton1Click:connect(function()
  388. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-3819, 1596, 942)
  389. end)
  390.  
  391. cross.Name = "cross"
  392. cross.Parent = tpbar
  393. cross.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  394. cross.Position = UDim2.new(0.725, 0, 0.692, 0)
  395. cross.Size = UDim2.new(0, 61, 0, 42)
  396. cross.Font = Enum.Font.SourceSans
  397. cross.Text = "Crossguard"
  398. cross.TextColor3 = Color3.new(0, 0, 0)
  399. cross.TextSize = 14
  400. cross.MouseButton1Click:connect(function()
  401. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-527, -125, -16)
  402. end)
  403.  
  404. tgs.Name = "tgs"
  405. tgs.Parent = tpbar
  406. tgs.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  407. tgs.Position = UDim2.new(0.725, 0, 0.373, 0)
  408. tgs.Size = UDim2.new(0, 61, 0, 42)
  409. tgs.Font = Enum.Font.SourceSans
  410. tgs.Text = "Temple Guard Spawn"
  411. tgs.TextColor3 = Color3.new(0, 0, 0)
  412. tgs.TextWrapped = true
  413. tgs.TextSize = 14
  414. tgs.MouseButton1Click:connect(function()
  415. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-111, 147, 922)
  416. end)
  417.  
  418. gath.Name = "gath"
  419. gath.Parent = tpbar
  420. gath.BackgroundColor3 = Color3.new(0.607843, 0.666667, 1)
  421. gath.Position = UDim2.new(0.381, 0, 0.066, 0)
  422. gath.Size = UDim2.new(0, 77, 0, 42)
  423. gath.Font = Enum.Font.SourceSans
  424. gath.Text = "Gathering Room"
  425. gath.TextColor3 = Color3.new(0, 0, 0)
  426. gath.TextWrapped = true
  427. gath.TextSize = 14
  428. gath.MouseButton1Click:connect(function()
  429. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-440, 28, 430)
  430. end)
  431.  
  432. infF.Name = "infF"
  433. infF.Parent = main
  434. infF.BackgroundColor3 = Color3.new(0, 0, 1)
  435. infF.Position = UDim2.new(0.137, 0, 0.768, 0)
  436. infF.Size = UDim2.new(0, 127, 0, 42)
  437. infF.Font = Enum.Font.SourceSans
  438. infF.Text = "Infinite Force"
  439. infF.TextColor3 = Color3.new(0, 0, 0)
  440. infF.TextSize = 14
  441. infF.MouseButton1Click:connect(function()
  442. while true do
  443.     wait(0.0001)
  444.     game.Players.LocalPlayer.Force.Value = 100
  445. end
  446. end)
  447.  
  448. god.Name = "god"
  449. god.Parent = main
  450. god.BackgroundColor3 = Color3.new(0, 0, 255)
  451. god.Position = UDim2.new(0.132, 0, 0.542, 0)
  452. god.Size = UDim2.new(0, 55, 0, 42)
  453. god.Font = Enum.Font.SourceSans
  454. god.Text = "Godmode"
  455. god.TextColor3 = Color3.new(0, 0, 0)
  456. god.TextSize = 14
  457. god.MouseButton1Click:connect(function()
  458. local p=game.Players.LocalPlayer;
  459. local oldcframe;
  460. local holdingfoil=false;
  461. p.Character.Humanoid:SetStateEnabled(15,false);
  462. p.Character.Humanoid:SetStateEnabled(16,false);
  463. -- p.Character.Humanoid:SetStateEnabled(18,false);
  464. p.CharacterRemoving:Connect(function()
  465.     if (p.Character) then
  466.         local t=p.Character:FindFirstChild("Torso")
  467.         if (t ~= nil) then oldcframe=t.CFrame end
  468.         if (p.Character:findFirstChild("Foil")) then holdingfoil=true end
  469.     end
  470. end)
  471. p.CharacterAdded:Connect(function()
  472.     while p.Character==nil do wait() end
  473.     while p.Character.Parent==nil do wait() end
  474.     local h=p.Character:WaitForChild("Humanoid")
  475.     local rp=p.Character:WaitForChild("HumanoidRootPart")
  476.     --[[ created by static / "Des" ]]
  477.     if (h ~= nil and rp ~= nil) then
  478.         h:SetStateEnabled(15,false);
  479.         h:SetStateEnabled(16,false);
  480.         -- h:SetStateEnabled(18,false);
  481.         for i=1,10 do
  482.             rp.CFrame=oldcframe;
  483.         end
  484.         if (holdingfoil) then
  485.             holdingfoil=false
  486.             local foil=p.Backpack:FindFirstChild("Foil")
  487.             if (foil ~= nil) then
  488.                 foil.Parent=p.Character
  489.             end
  490.         end
  491.     end
  492. end)
  493. end)
Add Comment
Please, Sign In to add comment